linear-grab 0.16.2 → 0.16.4
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 +1 -1
- package/dist/index.global.js +5 -5
- package/dist/linear-grab.js +428 -338
- package/package.json +1 -1
package/dist/linear-grab.js
CHANGED
|
@@ -42947,15 +42947,15 @@ function XQ(e) {
|
|
|
42947
42947
|
//#endregion
|
|
42948
42948
|
//#region src/panel/views/ActivityView.tsx
|
|
42949
42949
|
Rr();
|
|
42950
|
-
var ZQ = /*#__PURE__*/ N("<div class=\"lg-md text-text text-[12px] leading-relaxed break-words\">"), QQ = /*#__PURE__*/ N("<div class=\"flex h-full flex-col\">"), $Q = /*#__PURE__*/ N("<span class=\"tabular-nums text-[10.5px] text-text-faint\">live · updated "), e$ = /*#__PURE__*/ N("<svg aria-hidden width=11 height=11 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d=\"M1 4.5A7 7 0 0 1 13.5 3\"></path><path d=\"M15 11.5A7 7 0 0 1 2.5 13\"></path><polyline points=\"1 1 1 5 5 5\"></polyline><polyline points=\"15 11 15 15 11 15\">"), t$ = /*#__PURE__*/ N("<div class=\"flex-1 overflow-y-auto\">"), n$ = /*#__PURE__*/ N("<div class=\"min-h-0 flex-1 overflow-y-auto pl-2 pr-3\"><div style=position:relative>"), r$ = /*#__PURE__*/ N("<div class=\"flex h-full flex-col\"><div class=\"border-border flex shrink-0 items-center justify-between border-b px-3 py-2\"><span class=\"text-text text-[12px] font-semibold\">My issues</span><div class=\"flex items-center gap-2\">"), i$ = /*#__PURE__*/ N("<div style=position:absolute;top:0;left:0;width:100%>"), a$ = /*#__PURE__*/ N("<button class=\"w-full cursor-pointer rounded-md px-2 py-1.5 text-left hover:bg-surface-2 transition-colors\"><div class=\"flex items-center gap-1.5 min-w-0\"><span class=\"font-mono text-[11px] text-text-dim shrink-0\"></span><span class=\"truncate text-[12.5px] text-text\"></span></div><div class=\"mt-0.5 flex items-center gap-1.5\"><span class=\"ml-auto tabular-nums text-[10.5px] text-text-faint\">"), o$ = /*#__PURE__*/ N("<span class=\"inline-block min-w-[6ch] text-left\">← Back"), s$ = /*#__PURE__*/ N("<span class=\"font-mono text-[11px] text-text-dim shrink-0\">"), c$ = /*#__PURE__*/ N("<span class=\"truncate text-[12px] font-medium text-text\">"), l$ = /*#__PURE__*/ N("<span class=\"text-[11.5px] text-text-faint\">Loading…"), u$ = /*#__PURE__*/ N("<div class=\"flex items-center gap-2\"><span class=\"text-[11px] text-text-dim\">"), d$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-2\">"), f$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1\"><span class=\"text-[10.5px] font-semibold uppercase tracking-wide text-text-dim\">Attachments</span><div class=\"flex flex-col gap-1\">"), p$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-2.5\"><span class=\"text-[10.5px] font-semibold uppercase tracking-wide text-text-dim\">Comments"), m$ = /*#__PURE__*/ N("<option value=local>Message local Claude Code session"), h$ = /*#__PURE__*/ N("<option value=new>Start NEW agent (@<!>)"), g$ = /*#__PURE__*/ N("<option value=comment>Comment only"), _$ = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round aria-hidden><circle cx=8 cy=8 r=2.2></circle><path d=\"M8 1v3M8 12v3M1 8h3M12 8h3\">"), v$ = /*#__PURE__*/ N("<svg width=11 height=11 viewBox=\"0 0 16 16\"fill=currentColor aria-hidden><rect x=3 y=3 width=10 height=10 rx=1.5>"), y$ = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden><path d=\"M13 7.5 8.2 12.3a3.2 3.2 0 0 1-4.5-4.5L8.9 2.6a2.1 2.1 0 0 1 3 3L7.1 10.4a1 1 0 0 1-1.5-1.5l4.3-4.3\">"), b$ = /*#__PURE__*/ N("<span class=\"inline-block min-w-[4ch] text-left\">Send"), x$ = /*#__PURE__*/ N("<div class=\"flex h-full flex-col\"><div class=\"border-border flex shrink-0 flex-col gap-1 border-b px-3 py-2\"><div class=\"flex items-center gap-2\"></div></div><div class=\"min-h-0 flex-1 overflow-y-auto pl-3 pr-4 py-3 flex flex-col gap-3\"></div><div class=\"border-border shrink-0 border-t p-2.5 flex flex-col gap-1.5\"><div class=\"flex items-center gap-2\">"), S$ = /*#__PURE__*/ N("<div class=\"bg-surface border-border overflow-clip rounded-lg border\"><div class=\"border-border flex h-9 min-w-0 items-center justify-between gap-2 border-b px-3\"><div class=\"flex min-w-0 items-center gap-1.5 text-[11.5px] font-medium\"><span aria-hidden class=\"text-text-dim inline-flex\"></span><span class=\"text-text shrink-0\">Local Claude Code</span><span class=\"text-text-dim shrink-0\">started by you</span><span class=\"text-text-faint shrink-0 tabular-nums\">· </span></div></div><button class=\"hover:bg-surface-2 flex h-9 w-full min-w-0 cursor-pointer items-center gap-2 px-3 text-left transition-colors\"title=\"Open the live thread in the Local tab\"><span></span><span class=\"text-text-faint min-w-0 flex-1 truncate text-[11.5px]\"></span><svg width=14 height=14 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden class=\"text-text-dim shrink-0\"><path d=\"m6 3.5 4.5 4.5L6 12.5\">"),
|
|
42951
|
-
function
|
|
42950
|
+
var ZQ = /*#__PURE__*/ N("<div class=\"lg-md text-text text-[12px] leading-relaxed break-words\">"), QQ = /*#__PURE__*/ N("<div class=\"flex h-full flex-col\">"), $Q = /*#__PURE__*/ N("<span class=\"tabular-nums text-[10.5px] text-text-faint\">live · updated "), e$ = /*#__PURE__*/ N("<svg aria-hidden width=11 height=11 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d=\"M1 4.5A7 7 0 0 1 13.5 3\"></path><path d=\"M15 11.5A7 7 0 0 1 2.5 13\"></path><polyline points=\"1 1 1 5 5 5\"></polyline><polyline points=\"15 11 15 15 11 15\">"), t$ = /*#__PURE__*/ N("<div class=\"flex-1 overflow-y-auto\">"), n$ = /*#__PURE__*/ N("<div class=\"min-h-0 flex-1 overflow-y-auto pl-2 pr-3\"><div style=position:relative>"), r$ = /*#__PURE__*/ N("<div class=\"flex h-full flex-col\"><div class=\"border-border flex shrink-0 items-center justify-between border-b px-3 py-2\"><span class=\"text-text text-[12px] font-semibold\">My issues</span><div class=\"flex items-center gap-2\">"), i$ = /*#__PURE__*/ N("<div style=position:absolute;top:0;left:0;width:100%>"), a$ = /*#__PURE__*/ N("<button class=\"w-full cursor-pointer rounded-md px-2 py-1.5 text-left hover:bg-surface-2 transition-colors\"><div class=\"flex items-center gap-1.5 min-w-0\"><span class=\"font-mono text-[11px] text-text-dim shrink-0\"></span><span class=\"truncate text-[12.5px] text-text\"></span></div><div class=\"mt-0.5 flex items-center gap-1.5\"><span class=\"ml-auto tabular-nums text-[10.5px] text-text-faint\">"), o$ = /*#__PURE__*/ N("<span class=\"inline-block min-w-[6ch] text-left\">← Back"), s$ = /*#__PURE__*/ N("<span class=\"font-mono text-[11px] text-text-dim shrink-0\">"), c$ = /*#__PURE__*/ N("<span class=\"truncate text-[12px] font-medium text-text\">"), l$ = /*#__PURE__*/ N("<span class=\"text-[11.5px] text-text-faint\">Loading…"), u$ = /*#__PURE__*/ N("<div class=\"flex items-center gap-2\"><span class=\"text-[11px] text-text-dim\">"), d$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-2\">"), f$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1\"><span class=\"text-[10.5px] font-semibold uppercase tracking-wide text-text-dim\">Attachments</span><div class=\"flex flex-col gap-1\">"), p$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-2.5\"><span class=\"text-[10.5px] font-semibold uppercase tracking-wide text-text-dim\">Comments"), m$ = /*#__PURE__*/ N("<option value=local>Message local Claude Code session"), h$ = /*#__PURE__*/ N("<option value=new>Start NEW agent (@<!>)"), g$ = /*#__PURE__*/ N("<option value=comment>Comment only"), _$ = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round aria-hidden><circle cx=8 cy=8 r=2.2></circle><path d=\"M8 1v3M8 12v3M1 8h3M12 8h3\">"), v$ = /*#__PURE__*/ N("<svg width=11 height=11 viewBox=\"0 0 16 16\"fill=currentColor aria-hidden><rect x=3 y=3 width=10 height=10 rx=1.5>"), y$ = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden><path d=\"M13 7.5 8.2 12.3a3.2 3.2 0 0 1-4.5-4.5L8.9 2.6a2.1 2.1 0 0 1 3 3L7.1 10.4a1 1 0 0 1-1.5-1.5l4.3-4.3\">"), b$ = /*#__PURE__*/ N("<span class=\"inline-block min-w-[4ch] text-left\">Send"), x$ = /*#__PURE__*/ N("<div class=\"flex h-full flex-col\"><div class=\"border-border flex shrink-0 flex-col gap-1 border-b px-3 py-2\"><div class=\"flex items-center gap-2\"></div></div><div class=\"min-h-0 flex-1 overflow-y-auto pl-3 pr-4 py-3 flex flex-col gap-3\"></div><div class=\"border-border shrink-0 border-t p-2.5 flex flex-col gap-1.5\"><div class=\"flex items-center gap-2\">"), S$ = /*#__PURE__*/ N("<option selected>"), C$ = /*#__PURE__*/ N("<div class=\"bg-surface border-border overflow-clip rounded-lg border\"><div class=\"border-border flex h-9 min-w-0 items-center justify-between gap-2 border-b px-3\"><div class=\"flex min-w-0 items-center gap-1.5 text-[11.5px] font-medium\"><span aria-hidden class=\"text-text-dim inline-flex\"></span><span class=\"text-text shrink-0\">Local Claude Code</span><span class=\"text-text-dim shrink-0\">started by you</span><span class=\"text-text-faint shrink-0 tabular-nums\">· </span></div></div><button class=\"hover:bg-surface-2 flex h-9 w-full min-w-0 cursor-pointer items-center gap-2 px-3 text-left transition-colors\"title=\"Open the live thread in the Local tab\"><span></span><span class=\"text-text-faint min-w-0 flex-1 truncate text-[11.5px]\"></span><svg width=14 height=14 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden class=\"text-text-dim shrink-0\"><path d=\"m6 3.5 4.5 4.5L6 12.5\">"), w$ = /*#__PURE__*/ N("<option>"), T$ = /*#__PURE__*/ N("<span class=\"inline-block min-w-[6ch] text-center\">Merge"), E$ = /*#__PURE__*/ N("<div class=\"flex min-w-0 items-center gap-1.5\"><a target=_blank rel=noreferrer class=\"text-accent min-w-0 truncate text-[11.5px] hover:underline\">"), D$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-0.5\"><div class=\"flex items-center gap-1.5\"><span class=\"text-[11px] font-medium text-text-dim\"></span><span class=\"ml-auto tabular-nums text-[10.5px] text-text-faint\">"), O$ = /*#__PURE__*/ N("<option>Steer running agent<!> · "), k$ = /*#__PURE__*/ N("<span class=\"bg-danger inline-block size-2.5 rounded-full\"aria-hidden>"), A$ = /*#__PURE__*/ N("<span class=\"text-[11px] text-text-dim\">"), j$ = /*#__PURE__*/ N("<p class=\"text-[12px] text-text leading-relaxed whitespace-pre-wrap break-words\">"), M$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-0.5 border-t border-border pt-1.5 mt-0.5\">"), N$ = /*#__PURE__*/ N("<div class=\"bg-surface border-border rounded-lg border p-2.5 flex flex-col gap-1.5\"><div class=\"flex items-center gap-1.5 flex-wrap\"><span class=\"ml-auto tabular-nums text-[10.5px] text-text-faint\">"), P$ = /*#__PURE__*/ N("<div class=\"flex items-start gap-1.5\"><span class=\"tabular-nums text-[10px] text-text-faint shrink-0 mt-px\"></span><span class=\"text-[11px] text-text-dim break-words min-w-0\">");
|
|
42951
|
+
function F$(e) {
|
|
42952
42952
|
let t = k(() => XQ(e.text));
|
|
42953
42953
|
return (() => {
|
|
42954
42954
|
var e = ZQ();
|
|
42955
42955
|
return D(() => e.innerHTML = t()), e;
|
|
42956
42956
|
})();
|
|
42957
42957
|
}
|
|
42958
|
-
function
|
|
42958
|
+
function I$() {
|
|
42959
42959
|
let [e, t] = T(null);
|
|
42960
42960
|
return O(() => {
|
|
42961
42961
|
let e = qA();
|
|
@@ -42967,7 +42967,7 @@ function P$() {
|
|
|
42967
42967
|
return e() === null;
|
|
42968
42968
|
},
|
|
42969
42969
|
get fallback() {
|
|
42970
|
-
return j(
|
|
42970
|
+
return j(z$, {
|
|
42971
42971
|
get issueId() {
|
|
42972
42972
|
return e();
|
|
42973
42973
|
},
|
|
@@ -42975,12 +42975,12 @@ function P$() {
|
|
|
42975
42975
|
});
|
|
42976
42976
|
},
|
|
42977
42977
|
get children() {
|
|
42978
|
-
return j(
|
|
42978
|
+
return j(L$, { onSelect: (e) => t(e) });
|
|
42979
42979
|
}
|
|
42980
42980
|
})), n;
|
|
42981
42981
|
})();
|
|
42982
42982
|
}
|
|
42983
|
-
function
|
|
42983
|
+
function L$(e) {
|
|
42984
42984
|
let t, n = _r(() => ({
|
|
42985
42985
|
queryKey: ["my-issues"],
|
|
42986
42986
|
queryFn: uO,
|
|
@@ -43052,7 +43052,7 @@ function F$(e) {
|
|
|
43052
43052
|
let n = k(() => r()[t.index]);
|
|
43053
43053
|
return (() => {
|
|
43054
43054
|
var r = i$();
|
|
43055
|
-
return P(r, j(
|
|
43055
|
+
return P(r, j(R$, {
|
|
43056
43056
|
get issue() {
|
|
43057
43057
|
return n();
|
|
43058
43058
|
},
|
|
@@ -43067,7 +43067,7 @@ function F$(e) {
|
|
|
43067
43067
|
}), null), a;
|
|
43068
43068
|
})();
|
|
43069
43069
|
}
|
|
43070
|
-
function
|
|
43070
|
+
function R$(e) {
|
|
43071
43071
|
return (() => {
|
|
43072
43072
|
var t = a$(), n = t.firstChild, r = n.firstChild, i = r.nextSibling, a = n.nextSibling, o = a.firstChild;
|
|
43073
43073
|
return t.$$click = () => e.onSelect(e.issue.id), P(n, j(kj, { get color() {
|
|
@@ -43103,7 +43103,7 @@ function I$(e) {
|
|
|
43103
43103
|
}), o), P(o, () => Nj(e.issue.updatedAt)), t;
|
|
43104
43104
|
})();
|
|
43105
43105
|
}
|
|
43106
|
-
function
|
|
43106
|
+
function z$(e) {
|
|
43107
43107
|
let t = sr(), n = _r(() => ({
|
|
43108
43108
|
queryKey: ["issue", e.issueId],
|
|
43109
43109
|
queryFn: () => dO(e.issueId),
|
|
@@ -43122,10 +43122,36 @@ function L$(e) {
|
|
|
43122
43122
|
queryFn: DO,
|
|
43123
43123
|
refetchInterval: 5e3,
|
|
43124
43124
|
retry: 0
|
|
43125
|
-
})), o =
|
|
43125
|
+
})), o = [
|
|
43126
|
+
{
|
|
43127
|
+
id: "",
|
|
43128
|
+
label: "Default model"
|
|
43129
|
+
},
|
|
43130
|
+
{
|
|
43131
|
+
id: "fable",
|
|
43132
|
+
label: "Fable 5"
|
|
43133
|
+
},
|
|
43134
|
+
{
|
|
43135
|
+
id: "opus",
|
|
43136
|
+
label: "Opus"
|
|
43137
|
+
},
|
|
43138
|
+
{
|
|
43139
|
+
id: "sonnet",
|
|
43140
|
+
label: "Sonnet"
|
|
43141
|
+
},
|
|
43142
|
+
{
|
|
43143
|
+
id: "haiku",
|
|
43144
|
+
label: "Haiku"
|
|
43145
|
+
}
|
|
43146
|
+
], s = vr(() => ({
|
|
43147
|
+
mutationFn: (e) => jO(e.id, e.model),
|
|
43148
|
+
onSuccess: (e) => {
|
|
43149
|
+
t.setQueryData(["bridge-tasks"], (t) => t?.map((t) => t.id === e.id ? e : t));
|
|
43150
|
+
}
|
|
43151
|
+
})), c = k(() => {
|
|
43126
43152
|
let e = n.data?.identifier;
|
|
43127
43153
|
return e ? a.data?.find((t) => t.title.startsWith(e)) : void 0;
|
|
43128
|
-
}),
|
|
43154
|
+
}), l = (e) => e.status === "running" ? {
|
|
43129
43155
|
word: "Working…",
|
|
43130
43156
|
cls: "text-accent"
|
|
43131
43157
|
} : e.status === "done" ? {
|
|
@@ -43137,76 +43163,76 @@ function L$(e) {
|
|
|
43137
43163
|
} : {
|
|
43138
43164
|
word: "Error",
|
|
43139
43165
|
cls: "text-danger"
|
|
43140
|
-
}, [
|
|
43166
|
+
}, [u, d] = T(""), [f, p] = T(null), [m, h] = T(0), g = _r(() => ({
|
|
43141
43167
|
queryKey: ["grab"],
|
|
43142
43168
|
queryFn: Tr,
|
|
43143
43169
|
enabled: ZA() === "composer"
|
|
43144
|
-
})), [
|
|
43145
|
-
|
|
43170
|
+
})), [_, v] = T(!1), y = async () => {
|
|
43171
|
+
v(!0), p(null);
|
|
43146
43172
|
try {
|
|
43147
43173
|
let e = await BQ();
|
|
43148
|
-
e ?
|
|
43174
|
+
e ? d((t) => `${t ? `${t}\n` : ""}${e}\n`) : p("Nothing captured yet — pick an element, capture a region, or record first.");
|
|
43149
43175
|
} catch (e) {
|
|
43150
|
-
|
|
43176
|
+
p(e instanceof Error ? e.message : "Attach failed.");
|
|
43151
43177
|
} finally {
|
|
43152
|
-
|
|
43178
|
+
v(!1);
|
|
43153
43179
|
}
|
|
43154
|
-
},
|
|
43180
|
+
}, b = () => {
|
|
43155
43181
|
if (ZA() === "composer") {
|
|
43156
43182
|
$A("capture");
|
|
43157
43183
|
return;
|
|
43158
43184
|
}
|
|
43159
|
-
|
|
43185
|
+
h(Date.now()), $A("composer"), FZ().catch(() => $A("capture"));
|
|
43160
43186
|
};
|
|
43161
43187
|
O(() => {
|
|
43162
43188
|
if (ZA() !== "composer") return;
|
|
43163
|
-
let e = (
|
|
43189
|
+
let e = (g.data ?? []).filter((e) => e.grabbedAt > m());
|
|
43164
43190
|
if (!e.length) return;
|
|
43165
43191
|
let t = e.map((e) => {
|
|
43166
43192
|
let t = e.source?.filePath ? ` — \`${e.source.filePath}${e.source.lineNumber == null ? "" : `:${e.source.lineNumber}`}\`` : "";
|
|
43167
43193
|
return `- \`<${e.componentName ?? e.tagName ?? "element"}>\`${t}`;
|
|
43168
43194
|
}).join("\n");
|
|
43169
|
-
|
|
43195
|
+
d((e) => `${e ? `${e}\n` : ""}${t}\n`), h(Math.max(...e.map((e) => e.grabbedAt)));
|
|
43170
43196
|
});
|
|
43171
|
-
let [
|
|
43172
|
-
ae(VD(
|
|
43173
|
-
let
|
|
43197
|
+
let [x, S] = T(BD());
|
|
43198
|
+
ae(VD(S));
|
|
43199
|
+
let C = !1;
|
|
43174
43200
|
O(() => {
|
|
43175
|
-
|
|
43201
|
+
x().phase === "ready" && C && (C = !1, y());
|
|
43176
43202
|
});
|
|
43177
|
-
let
|
|
43178
|
-
|
|
43179
|
-
},
|
|
43180
|
-
queryKey: ["pr-status",
|
|
43181
|
-
queryFn: () => IO(
|
|
43203
|
+
let w = () => {
|
|
43204
|
+
x().phase === "recording" ? QD() : (C = !0, ZD());
|
|
43205
|
+
}, E = /github\.com\/[^/]+\/[^/]+\/pull\/\d+/i, ee = k(() => (n.data?.attachments ?? []).map((e) => e.url).filter((e) => E.test(e))), te = _r(() => ({
|
|
43206
|
+
queryKey: ["pr-status", ee().sort().join("|")],
|
|
43207
|
+
queryFn: () => IO(ee()),
|
|
43182
43208
|
refetchInterval: 3e4,
|
|
43183
43209
|
retry: 0,
|
|
43184
|
-
enabled:
|
|
43185
|
-
})),
|
|
43186
|
-
|
|
43210
|
+
enabled: ee().length > 0
|
|
43211
|
+
})), A = (e) => ie().has(e) ? "MERGED" : te.data?.[e], [ne, re] = T(null), [ie, oe] = T(/* @__PURE__ */ new Set()), [se, ce] = T(null), le = async (n) => {
|
|
43212
|
+
ce(null), re(n);
|
|
43187
43213
|
try {
|
|
43188
|
-
await LO(n),
|
|
43214
|
+
await LO(n), oe((e) => new Set(e).add(n)), t.invalidateQueries({ queryKey: ["issue", e.issueId] }), t.invalidateQueries({ queryKey: ["my-issues"] }), IQ();
|
|
43189
43215
|
} catch (e) {
|
|
43190
|
-
|
|
43216
|
+
ce(e instanceof Error ? `${e.message} (bridge must be running; gh needs merge rights)` : "Merge failed.");
|
|
43191
43217
|
} finally {
|
|
43192
|
-
|
|
43218
|
+
re(null);
|
|
43193
43219
|
}
|
|
43194
|
-
},
|
|
43220
|
+
}, ue = k(() => n.data ? yO(n.data.comments) : []), [de, fe] = T("comment"), pe = !1, me = !1;
|
|
43195
43221
|
O(() => {
|
|
43196
|
-
if (
|
|
43197
|
-
|
|
43198
|
-
let e =
|
|
43199
|
-
e.length ?
|
|
43222
|
+
if (me || !n.data || !i.data) return;
|
|
43223
|
+
me = !0;
|
|
43224
|
+
let e = ue();
|
|
43225
|
+
e.length ? fe(`thread:${e[0].id}`) : n.data.delegate && i.data.cursorAgentId && fe("new");
|
|
43200
43226
|
}), O(() => {
|
|
43201
|
-
|
|
43227
|
+
pe || c() && (de() === "comment" || de() === "new") && fe("local");
|
|
43202
43228
|
});
|
|
43203
|
-
let
|
|
43229
|
+
let he = vr(() => ({
|
|
43204
43230
|
mutationFn: async () => {
|
|
43205
|
-
let t =
|
|
43231
|
+
let t = u().trim();
|
|
43206
43232
|
if (!t) throw Error("Message is empty");
|
|
43207
|
-
let n = i.data ?? {}, r =
|
|
43233
|
+
let n = i.data ?? {}, r = de();
|
|
43208
43234
|
if (r === "local") {
|
|
43209
|
-
let n =
|
|
43235
|
+
let n = c();
|
|
43210
43236
|
if (!n) throw Error("Local session not found — is the bridge running?");
|
|
43211
43237
|
await AO(n.id, t), await _O(e.issueId, `🖥️ **→ local agent:** ${t}`).catch(() => {});
|
|
43212
43238
|
} else r.startsWith("thread:") ? await _O(e.issueId, t, r.slice(7)) : r === "new" && n.cursorAgentId ? await vO(e.issueId, t, {
|
|
@@ -43216,14 +43242,14 @@ function L$(e) {
|
|
|
43216
43242
|
}) : await _O(e.issueId, t);
|
|
43217
43243
|
},
|
|
43218
43244
|
onSuccess: () => {
|
|
43219
|
-
|
|
43245
|
+
d(""), p(null), $A("capture"), t.invalidateQueries({ queryKey: ["issue", e.issueId] }), IQ();
|
|
43220
43246
|
},
|
|
43221
43247
|
onError: (e) => {
|
|
43222
|
-
|
|
43248
|
+
p(e.message ?? "Failed to send");
|
|
43223
43249
|
}
|
|
43224
|
-
})),
|
|
43250
|
+
})), ge = k(() => n.data), _e = k(() => r.data ?? []);
|
|
43225
43251
|
return (() => {
|
|
43226
|
-
var t = x$(), r = t.firstChild, a = r.firstChild,
|
|
43252
|
+
var t = x$(), r = t.firstChild, a = r.firstChild, p = r.nextSibling, m = p.nextSibling, h = m.firstChild;
|
|
43227
43253
|
return P(a, j(vj, {
|
|
43228
43254
|
class: "min-w-[68px] shrink-0 text-[11px]",
|
|
43229
43255
|
get onClick() {
|
|
@@ -43234,123 +43260,148 @@ function L$(e) {
|
|
|
43234
43260
|
}
|
|
43235
43261
|
}), null), P(a, j(M, {
|
|
43236
43262
|
get when() {
|
|
43237
|
-
return
|
|
43263
|
+
return ge();
|
|
43238
43264
|
},
|
|
43239
43265
|
get children() {
|
|
43240
43266
|
return [(() => {
|
|
43241
43267
|
var e = s$();
|
|
43242
|
-
return P(e, () =>
|
|
43268
|
+
return P(e, () => ge().identifier), e;
|
|
43243
43269
|
})(), (() => {
|
|
43244
43270
|
var e = c$();
|
|
43245
|
-
return P(e, () =>
|
|
43271
|
+
return P(e, () => ge().title), e;
|
|
43246
43272
|
})()];
|
|
43247
43273
|
}
|
|
43248
43274
|
}), null), P(a, j(M, {
|
|
43249
43275
|
get when() {
|
|
43250
|
-
return $e(() => !!n.isPending)() && !
|
|
43276
|
+
return $e(() => !!n.isPending)() && !ge();
|
|
43251
43277
|
},
|
|
43252
43278
|
get children() {
|
|
43253
43279
|
return l$();
|
|
43254
43280
|
}
|
|
43255
43281
|
}), null), P(r, j(M, {
|
|
43256
43282
|
get when() {
|
|
43257
|
-
return
|
|
43283
|
+
return ge();
|
|
43258
43284
|
},
|
|
43259
43285
|
get children() {
|
|
43260
43286
|
var e = u$(), t = e.firstChild;
|
|
43261
43287
|
return P(e, j(kj, { get color() {
|
|
43262
|
-
return
|
|
43263
|
-
} }), t), P(t, () =>
|
|
43288
|
+
return ge().state.color;
|
|
43289
|
+
} }), t), P(t, () => ge().state.name), P(e, j(Tj, {
|
|
43264
43290
|
get href() {
|
|
43265
|
-
return
|
|
43291
|
+
return ge().url;
|
|
43266
43292
|
},
|
|
43267
43293
|
class: "ml-auto shrink-0",
|
|
43268
43294
|
children: "Open in Linear"
|
|
43269
43295
|
}), null), e;
|
|
43270
43296
|
}
|
|
43271
|
-
}), null), P(
|
|
43297
|
+
}), null), P(p, j(M, {
|
|
43272
43298
|
get when() {
|
|
43273
|
-
return
|
|
43299
|
+
return c();
|
|
43274
43300
|
},
|
|
43275
43301
|
children: (e) => {
|
|
43276
|
-
let t = () =>
|
|
43302
|
+
let t = () => l(e());
|
|
43277
43303
|
return (() => {
|
|
43278
|
-
var n =
|
|
43304
|
+
var n = C$(), r = n.firstChild, i = r.firstChild.firstChild, a = i.nextSibling.nextSibling.nextSibling;
|
|
43279
43305
|
a.firstChild;
|
|
43280
|
-
var
|
|
43281
|
-
return P(i, j(wj, { size: 12 })), P(a, () => Nj(e().startedAt), null), P(r, j(
|
|
43282
|
-
|
|
43283
|
-
|
|
43306
|
+
var c = r.nextSibling, l = c.firstChild, u = l.nextSibling;
|
|
43307
|
+
return P(i, j(wj, { size: 12 })), P(a, () => Nj(e().startedAt), null), P(r, j(Sj, {
|
|
43308
|
+
class: "h-6 w-auto max-w-[40%] shrink-0 text-[10.5px]",
|
|
43309
|
+
get value() {
|
|
43310
|
+
return e().pendingModel ?? e().model ?? "";
|
|
43311
|
+
},
|
|
43312
|
+
onChange: (t) => s.mutate({
|
|
43313
|
+
id: e().id,
|
|
43314
|
+
model: t.currentTarget.value
|
|
43315
|
+
}),
|
|
43316
|
+
title: "Model — applies from the next message",
|
|
43317
|
+
get children() {
|
|
43318
|
+
return [j(We, {
|
|
43319
|
+
each: o,
|
|
43320
|
+
children: (t) => (() => {
|
|
43321
|
+
var n = w$();
|
|
43322
|
+
return P(n, () => t.label), D(() => n.selected = (e().pendingModel ?? e().model ?? "") === t.id), D(() => n.value = t.id), n;
|
|
43323
|
+
})()
|
|
43324
|
+
}), j(M, {
|
|
43325
|
+
get when() {
|
|
43326
|
+
return !o.some((t) => t.id === (e().pendingModel ?? e().model ?? ""));
|
|
43327
|
+
},
|
|
43328
|
+
get children() {
|
|
43329
|
+
var t = S$();
|
|
43330
|
+
return P(t, () => e().pendingModel ?? e().model), D(() => t.value = e().pendingModel ?? e().model ?? ""), t;
|
|
43331
|
+
}
|
|
43332
|
+
})];
|
|
43333
|
+
}
|
|
43334
|
+
}), null), c.$$click = () => YA("local"), P(c, j(M, {
|
|
43284
43335
|
get when() {
|
|
43285
43336
|
return e().status === "running";
|
|
43286
43337
|
},
|
|
43287
43338
|
get children() {
|
|
43288
43339
|
return j(yj, { size: 12 });
|
|
43289
43340
|
}
|
|
43290
|
-
}),
|
|
43341
|
+
}), l), P(l, () => t().word), P(u, (() => {
|
|
43291
43342
|
var t = $e(() => e().status === "done");
|
|
43292
43343
|
return () => t() ? e().result ?? e().lastText : e().lastText;
|
|
43293
|
-
})()), D(() => st(
|
|
43344
|
+
})()), D(() => st(l, `shrink-0 text-[11.5px] font-medium ${t().cls}`)), n;
|
|
43294
43345
|
})();
|
|
43295
43346
|
}
|
|
43296
|
-
}), null), P(
|
|
43347
|
+
}), null), P(p, j(M, {
|
|
43297
43348
|
get when() {
|
|
43298
|
-
return
|
|
43349
|
+
return _e().length > 0;
|
|
43299
43350
|
},
|
|
43300
43351
|
get children() {
|
|
43301
43352
|
var e = d$();
|
|
43302
43353
|
return P(e, j(We, {
|
|
43303
43354
|
get each() {
|
|
43304
|
-
return
|
|
43355
|
+
return _e();
|
|
43305
43356
|
},
|
|
43306
|
-
children: (e) => j(
|
|
43357
|
+
children: (e) => j(B$, { session: e })
|
|
43307
43358
|
})), e;
|
|
43308
43359
|
}
|
|
43309
|
-
}), null), P(
|
|
43360
|
+
}), null), P(p, j(M, {
|
|
43310
43361
|
get when() {
|
|
43311
|
-
return $e(() => !!
|
|
43362
|
+
return $e(() => !!ge())() && ge().attachments.length > 0;
|
|
43312
43363
|
},
|
|
43313
43364
|
get children() {
|
|
43314
43365
|
var e = f$(), t = e.firstChild.nextSibling;
|
|
43315
43366
|
return P(t, j(We, {
|
|
43316
43367
|
get each() {
|
|
43317
|
-
return
|
|
43368
|
+
return ge().attachments;
|
|
43318
43369
|
},
|
|
43319
43370
|
children: (e) => {
|
|
43320
43371
|
let t = /github\.com\/[^/]+\/[^/]+\/pull\/\d+/i.test(e.url);
|
|
43321
43372
|
return (() => {
|
|
43322
|
-
var n =
|
|
43373
|
+
var n = E$(), r = n.firstChild;
|
|
43323
43374
|
return P(r, () => e.title), P(n, j(M, {
|
|
43324
43375
|
get when() {
|
|
43325
|
-
return $e(() => !!(t &&
|
|
43376
|
+
return $e(() => !!(t && A(e.url)))() && A(e.url) !== "OPEN";
|
|
43326
43377
|
},
|
|
43327
43378
|
get children() {
|
|
43328
43379
|
return j(Oj, {
|
|
43329
43380
|
get class() {
|
|
43330
|
-
return `ml-auto shrink-0 ${
|
|
43381
|
+
return `ml-auto shrink-0 ${A(e.url) === "MERGED" ? "text-success" : "text-text-faint"}`;
|
|
43331
43382
|
},
|
|
43332
43383
|
get children() {
|
|
43333
|
-
return
|
|
43384
|
+
return A(e.url) === "MERGED" ? "✓ merged" : "closed";
|
|
43334
43385
|
}
|
|
43335
43386
|
});
|
|
43336
43387
|
}
|
|
43337
43388
|
}), null), P(n, j(M, {
|
|
43338
43389
|
get when() {
|
|
43339
|
-
return t && (!
|
|
43390
|
+
return t && (!A(e.url) || A(e.url) === "OPEN");
|
|
43340
43391
|
},
|
|
43341
43392
|
get children() {
|
|
43342
43393
|
return j(vj, {
|
|
43343
43394
|
variant: "primary",
|
|
43344
43395
|
class: "ml-auto h-6 shrink-0 px-2 text-[11px]",
|
|
43345
43396
|
get loading() {
|
|
43346
|
-
return
|
|
43397
|
+
return ne() === e.url;
|
|
43347
43398
|
},
|
|
43348
43399
|
get title() {
|
|
43349
|
-
return
|
|
43400
|
+
return te.isError ? "PR state unknown — restart the bridge (npx linear-grab-bridge) for live merge status" : "Squash-merge this PR via the bridge gh — reviewed the demo? Ship it.";
|
|
43350
43401
|
},
|
|
43351
|
-
onClick: () => void
|
|
43402
|
+
onClick: () => void le(e.url),
|
|
43352
43403
|
get children() {
|
|
43353
|
-
return
|
|
43404
|
+
return T$();
|
|
43354
43405
|
}
|
|
43355
43406
|
});
|
|
43356
43407
|
}
|
|
@@ -43365,29 +43416,29 @@ function L$(e) {
|
|
|
43365
43416
|
}
|
|
43366
43417
|
}), null), P(t, j(M, {
|
|
43367
43418
|
get when() {
|
|
43368
|
-
return
|
|
43419
|
+
return se();
|
|
43369
43420
|
},
|
|
43370
43421
|
get children() {
|
|
43371
43422
|
return j(jj, { get message() {
|
|
43372
|
-
return
|
|
43423
|
+
return se();
|
|
43373
43424
|
} });
|
|
43374
43425
|
}
|
|
43375
43426
|
}), null), e;
|
|
43376
43427
|
}
|
|
43377
|
-
}), null), P(
|
|
43428
|
+
}), null), P(p, j(M, {
|
|
43378
43429
|
get when() {
|
|
43379
|
-
return $e(() => !!
|
|
43430
|
+
return $e(() => !!ge())() && ge().comments.length > 0;
|
|
43380
43431
|
},
|
|
43381
43432
|
get children() {
|
|
43382
43433
|
var e = p$();
|
|
43383
43434
|
return e.firstChild, P(e, j(Ge, {
|
|
43384
43435
|
get each() {
|
|
43385
|
-
return
|
|
43436
|
+
return ge().comments;
|
|
43386
43437
|
},
|
|
43387
43438
|
children: (e) => {
|
|
43388
43439
|
let t = e();
|
|
43389
43440
|
return (() => {
|
|
43390
|
-
var e =
|
|
43441
|
+
var e = D$(), n = e.firstChild, r = n.firstChild, i = r.nextSibling;
|
|
43391
43442
|
return P(r, () => t.user?.displayName ?? t.user?.name ?? "Unknown"), P(n, j(M, {
|
|
43392
43443
|
get when() {
|
|
43393
43444
|
return t.user?.app;
|
|
@@ -43395,16 +43446,16 @@ function L$(e) {
|
|
|
43395
43446
|
get children() {
|
|
43396
43447
|
return j(Oj, { children: "agent" });
|
|
43397
43448
|
}
|
|
43398
|
-
}), i), P(i, () => Nj(t.createdAt)), P(e, j(
|
|
43449
|
+
}), i), P(i, () => Nj(t.createdAt)), P(e, j(F$, { get text() {
|
|
43399
43450
|
return t.body;
|
|
43400
43451
|
} }), null), e;
|
|
43401
43452
|
})();
|
|
43402
43453
|
}
|
|
43403
43454
|
}), null), e;
|
|
43404
43455
|
}
|
|
43405
|
-
}), null), P(
|
|
43456
|
+
}), null), P(p, j(M, {
|
|
43406
43457
|
get when() {
|
|
43407
|
-
return $e(() => !!(
|
|
43458
|
+
return $e(() => !!(ge() && ge().comments.length === 0))() && _e().length === 0;
|
|
43408
43459
|
},
|
|
43409
43460
|
get children() {
|
|
43410
43461
|
return j(Aj, {
|
|
@@ -43412,9 +43463,9 @@ function L$(e) {
|
|
|
43412
43463
|
children: "Comments and agent sessions will appear here."
|
|
43413
43464
|
});
|
|
43414
43465
|
}
|
|
43415
|
-
}), null), P(
|
|
43466
|
+
}), null), P(p, j(M, {
|
|
43416
43467
|
get when() {
|
|
43417
|
-
return $e(() => !!n.isError)() && !
|
|
43468
|
+
return $e(() => !!n.isError)() && !ge();
|
|
43418
43469
|
},
|
|
43419
43470
|
get children() {
|
|
43420
43471
|
return j(Aj, {
|
|
@@ -43424,54 +43475,54 @@ function L$(e) {
|
|
|
43424
43475
|
}
|
|
43425
43476
|
});
|
|
43426
43477
|
}
|
|
43427
|
-
}), null), P(
|
|
43478
|
+
}), null), P(m, j(M, {
|
|
43428
43479
|
get when() {
|
|
43429
|
-
return
|
|
43480
|
+
return f();
|
|
43430
43481
|
},
|
|
43431
43482
|
get children() {
|
|
43432
43483
|
return j(jj, { get message() {
|
|
43433
|
-
return
|
|
43484
|
+
return f();
|
|
43434
43485
|
} });
|
|
43435
43486
|
}
|
|
43436
|
-
}),
|
|
43487
|
+
}), h), P(m, j(xj, {
|
|
43437
43488
|
rows: 2,
|
|
43438
43489
|
placeholder: "Reply — steer the agent or add context…",
|
|
43439
43490
|
get value() {
|
|
43440
|
-
return
|
|
43491
|
+
return u();
|
|
43441
43492
|
},
|
|
43442
|
-
onInput: (e) =>
|
|
43493
|
+
onInput: (e) => d(e.target.value),
|
|
43443
43494
|
get disabled() {
|
|
43444
|
-
return
|
|
43495
|
+
return he.isPending;
|
|
43445
43496
|
}
|
|
43446
|
-
}),
|
|
43497
|
+
}), h), P(h, j(Sj, {
|
|
43447
43498
|
class: "min-w-0 flex-1",
|
|
43448
43499
|
get value() {
|
|
43449
|
-
return
|
|
43500
|
+
return de();
|
|
43450
43501
|
},
|
|
43451
43502
|
onChange: (e) => {
|
|
43452
|
-
|
|
43503
|
+
pe = !0, fe(e.currentTarget.value);
|
|
43453
43504
|
},
|
|
43454
43505
|
get children() {
|
|
43455
43506
|
return [
|
|
43456
43507
|
j(M, {
|
|
43457
43508
|
get when() {
|
|
43458
|
-
return
|
|
43509
|
+
return c();
|
|
43459
43510
|
},
|
|
43460
43511
|
get children() {
|
|
43461
43512
|
var e = m$();
|
|
43462
|
-
return D(() => e.selected =
|
|
43513
|
+
return D(() => e.selected = de() === "local"), e;
|
|
43463
43514
|
}
|
|
43464
43515
|
}),
|
|
43465
43516
|
j(We, {
|
|
43466
43517
|
get each() {
|
|
43467
|
-
return
|
|
43518
|
+
return ue();
|
|
43468
43519
|
},
|
|
43469
43520
|
children: (e, t) => (() => {
|
|
43470
|
-
var n =
|
|
43521
|
+
var n = O$(), r = n.firstChild.nextSibling;
|
|
43471
43522
|
return r.nextSibling, P(n, (() => {
|
|
43472
|
-
var e = $e(() =>
|
|
43523
|
+
var e = $e(() => ue().length > 1);
|
|
43473
43524
|
return () => e() ? ` #${t() + 1}` : "";
|
|
43474
|
-
})(), r), P(n, () => Nj(e.createdAt), null), D(() => n.selected =
|
|
43525
|
+
})(), r), P(n, () => Nj(e.createdAt), null), D(() => n.selected = de() === `thread:${e.id}`), D(() => n.value = `thread:${e.id}`), n;
|
|
43475
43526
|
})()
|
|
43476
43527
|
}),
|
|
43477
43528
|
j(M, {
|
|
@@ -43480,16 +43531,16 @@ function L$(e) {
|
|
|
43480
43531
|
},
|
|
43481
43532
|
get children() {
|
|
43482
43533
|
var e = h$(), t = e.firstChild.nextSibling;
|
|
43483
|
-
return t.nextSibling, P(e, () => i.data?.cursorAgentName ?? "Cursor", t), D(() => e.selected =
|
|
43534
|
+
return t.nextSibling, P(e, () => i.data?.cursorAgentName ?? "Cursor", t), D(() => e.selected = de() === "new"), e;
|
|
43484
43535
|
}
|
|
43485
43536
|
}),
|
|
43486
43537
|
(() => {
|
|
43487
43538
|
var e = g$();
|
|
43488
|
-
return D(() => e.selected =
|
|
43539
|
+
return D(() => e.selected = de() === "comment"), e;
|
|
43489
43540
|
})()
|
|
43490
43541
|
];
|
|
43491
43542
|
}
|
|
43492
|
-
}), null), P(
|
|
43543
|
+
}), null), P(h, j(vj, {
|
|
43493
43544
|
variant: "ghost",
|
|
43494
43545
|
get class() {
|
|
43495
43546
|
return `size-7 shrink-0 px-0 ${ZA() === "composer" ? "text-accent" : ""}`;
|
|
@@ -43498,68 +43549,68 @@ function L$(e) {
|
|
|
43498
43549
|
return ZA() === "composer" ? "Pick mode ON — every pick appends here. Click to stop." : "Pick elements — refs append to this reply (stays on until toggled off or sent)";
|
|
43499
43550
|
},
|
|
43500
43551
|
"aria-label": "Pick element for reply",
|
|
43501
|
-
onClick:
|
|
43552
|
+
onClick: b,
|
|
43502
43553
|
get children() {
|
|
43503
43554
|
return _$();
|
|
43504
43555
|
}
|
|
43505
|
-
}), null), P(
|
|
43556
|
+
}), null), P(h, j(vj, {
|
|
43506
43557
|
variant: "ghost",
|
|
43507
43558
|
get class() {
|
|
43508
|
-
return `size-7 shrink-0 px-0 ${
|
|
43559
|
+
return `size-7 shrink-0 px-0 ${x().phase === "recording" ? "text-danger" : ""}`;
|
|
43509
43560
|
},
|
|
43510
43561
|
get title() {
|
|
43511
|
-
return
|
|
43562
|
+
return x().phase === "recording" ? "Stop recording — the GIF auto-attaches to this reply" : "Record a GIF from this thread (auto-attaches when done)";
|
|
43512
43563
|
},
|
|
43513
43564
|
"aria-label": "Record GIF",
|
|
43514
|
-
onClick:
|
|
43565
|
+
onClick: w,
|
|
43515
43566
|
get children() {
|
|
43516
43567
|
return j(M, {
|
|
43517
43568
|
get when() {
|
|
43518
|
-
return
|
|
43569
|
+
return x().phase === "recording";
|
|
43519
43570
|
},
|
|
43520
43571
|
get fallback() {
|
|
43521
|
-
return
|
|
43572
|
+
return k$();
|
|
43522
43573
|
},
|
|
43523
43574
|
get children() {
|
|
43524
43575
|
return v$();
|
|
43525
43576
|
}
|
|
43526
43577
|
});
|
|
43527
43578
|
}
|
|
43528
|
-
}), null), P(
|
|
43579
|
+
}), null), P(h, j(vj, {
|
|
43529
43580
|
variant: "ghost",
|
|
43530
43581
|
class: "size-7 shrink-0 px-0",
|
|
43531
43582
|
get loading() {
|
|
43532
|
-
return
|
|
43583
|
+
return _();
|
|
43533
43584
|
},
|
|
43534
43585
|
title: "Attach captures — element refs, screenshots, region shots, recording GIF",
|
|
43535
43586
|
"aria-label": "Attach captures",
|
|
43536
|
-
onClick: () => void
|
|
43587
|
+
onClick: () => void y(),
|
|
43537
43588
|
get children() {
|
|
43538
43589
|
return y$();
|
|
43539
43590
|
}
|
|
43540
|
-
}), null), P(
|
|
43591
|
+
}), null), P(h, j(vj, {
|
|
43541
43592
|
class: "min-w-[52px] shrink-0",
|
|
43542
43593
|
variant: "primary",
|
|
43543
43594
|
get loading() {
|
|
43544
|
-
return
|
|
43595
|
+
return he.isPending;
|
|
43545
43596
|
},
|
|
43546
43597
|
get disabled() {
|
|
43547
|
-
return
|
|
43598
|
+
return u().trim().length === 0;
|
|
43548
43599
|
},
|
|
43549
|
-
onClick: () =>
|
|
43600
|
+
onClick: () => he.mutate(),
|
|
43550
43601
|
get children() {
|
|
43551
43602
|
return b$();
|
|
43552
43603
|
}
|
|
43553
43604
|
}), null), t;
|
|
43554
43605
|
})();
|
|
43555
43606
|
}
|
|
43556
|
-
function
|
|
43607
|
+
function B$(e) {
|
|
43557
43608
|
let t = k(() => {
|
|
43558
43609
|
let t = e.session.status;
|
|
43559
43610
|
return /complete|done/i.test(t) ? "var(--color-success)" : /await|pending|elicit/i.test(t) ? "var(--color-warn)" : "var(--color-accent)";
|
|
43560
43611
|
}), n = k(() => e.session.activities.slice(-10));
|
|
43561
43612
|
return (() => {
|
|
43562
|
-
var r =
|
|
43613
|
+
var r = N$(), i = r.firstChild, a = i.firstChild;
|
|
43563
43614
|
return P(i, j(Oj, {
|
|
43564
43615
|
get color() {
|
|
43565
43616
|
return t();
|
|
@@ -43572,7 +43623,7 @@ function R$(e) {
|
|
|
43572
43623
|
return e.session.appUser?.displayName;
|
|
43573
43624
|
},
|
|
43574
43625
|
get children() {
|
|
43575
|
-
var t =
|
|
43626
|
+
var t = A$();
|
|
43576
43627
|
return P(t, () => e.session.appUser.displayName), t;
|
|
43577
43628
|
}
|
|
43578
43629
|
}), a), P(a, () => Nj(e.session.updatedAt)), P(r, j(M, {
|
|
@@ -43580,7 +43631,7 @@ function R$(e) {
|
|
|
43580
43631
|
return e.session.summary;
|
|
43581
43632
|
},
|
|
43582
43633
|
get children() {
|
|
43583
|
-
var t =
|
|
43634
|
+
var t = j$();
|
|
43584
43635
|
return P(t, () => e.session.summary), t;
|
|
43585
43636
|
}
|
|
43586
43637
|
}), null), P(r, j(M, {
|
|
@@ -43588,7 +43639,7 @@ function R$(e) {
|
|
|
43588
43639
|
return n().length > 0;
|
|
43589
43640
|
},
|
|
43590
43641
|
get children() {
|
|
43591
|
-
var e =
|
|
43642
|
+
var e = M$();
|
|
43592
43643
|
return P(e, j(We, {
|
|
43593
43644
|
get each() {
|
|
43594
43645
|
return n();
|
|
@@ -43596,7 +43647,7 @@ function R$(e) {
|
|
|
43596
43647
|
children: (e) => {
|
|
43597
43648
|
let t = e.content, n = String(t?.body ?? t?.text ?? t?.type ?? JSON.stringify(t)).slice(0, 300);
|
|
43598
43649
|
return (() => {
|
|
43599
|
-
var t =
|
|
43650
|
+
var t = P$(), r = t.firstChild, i = r.nextSibling;
|
|
43600
43651
|
return P(r, () => Nj(e.createdAt)), P(i, n), t;
|
|
43601
43652
|
})();
|
|
43602
43653
|
}
|
|
@@ -43608,7 +43659,7 @@ function R$(e) {
|
|
|
43608
43659
|
//#endregion
|
|
43609
43660
|
//#region src/panel/views/LocalView.tsx
|
|
43610
43661
|
rt(["click"]), Rr();
|
|
43611
|
-
var
|
|
43662
|
+
var V$ = /*#__PURE__*/ N("<div class=\"border-accent/40 bg-accent-soft self-end rounded-lg border px-2.5 py-1.5\"><p class=\"text-accent mb-0.5 text-[9.5px] font-semibold tracking-wide uppercase\">You</p><div class=\"lg-md text-text text-[11.5px] leading-relaxed break-words\">"), H$ = /*#__PURE__*/ N("<div><p></p><div class=\"lg-md text-text text-[11.5px] leading-relaxed break-words\">"), U$ = /*#__PURE__*/ N("<p>"), W$ = /*#__PURE__*/ N("<span class=\"text-text-faint max-w-[55%] truncate text-[10.5px] tabular-nums\"> running · "), G$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1.5\">"), K$ = /*#__PURE__*/ N("<div class=\"flex h-full flex-col\"><div class=\"border-border flex shrink-0 items-center justify-between border-b px-3 py-2\"><span class=\"text-text text-[12px] font-semibold\">Local Claude Code</span></div><div class=\"min-h-0 flex-1 overflow-y-auto pt-2 pb-3 pl-2 pr-3\">"), q$ = /*#__PURE__*/ N("<span class=\"bg-surface-2 border-border font-mono mt-2 block rounded-md border px-2 py-1.5 text-[11px] select-all\">npx linear-grab-bridge"), J$ = /*#__PURE__*/ N("<span class=\"text-text-faint text-[10.5px] tabular-nums\">ctx <!> · out "), Y$ = /*#__PURE__*/ N("<div class=\"flex min-w-0 items-center gap-1.5\"><span class=\"font-mono text-text-faint min-w-0 truncate text-[10.5px]\">"), X$ = /*#__PURE__*/ N("<option selected>"), Z$ = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=currentColor aria-hidden><path d=\"M4.5 2.8a.8.8 0 0 1 1.22-.68l8 5.2a.8.8 0 0 1 0 1.36l-8 5.2a.8.8 0 0 1-1.22-.68V2.8Z\">"), Q$ = /*#__PURE__*/ N("<span class=\"text-success text-[12px] leading-none\">✓"), $$ = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linejoin=round aria-hidden><path d=\"M14 10a2 2 0 0 1-2 2H6l-3.5 2.5V4a2 2 0 0 1 2-2H12a2 2 0 0 1 2 2v6Z\">"), e1 = /*#__PURE__*/ N("<svg width=11 height=11 viewBox=\"0 0 16 16\"fill=currentColor aria-hidden><rect x=3 y=3 width=10 height=10 rx=1.5>"), t1 = /*#__PURE__*/ N("<span class=\"font-mono text-text-faint min-w-0 truncate text-[10.5px]\">"), n1 = /*#__PURE__*/ N("<div class=\"border-border bg-bg flex flex-col gap-1 rounded-md border p-2\"><div class=\"flex min-w-0 items-center gap-1.5\"><span class=\"text-text-dim text-[10.5px] font-semibold tracking-wide uppercase\">Changes</span><span class=\"ml-auto shrink-0 text-[10.5px] tabular-nums\"><span class=text-success>+</span> <span class=text-danger>−"), r1 = /*#__PURE__*/ N("<div class=\"border-border bg-bg flex max-h-80 flex-col gap-1.5 overflow-y-auto rounded-md border py-2 pl-2 pr-3\">"), i1 = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round aria-hidden><circle cx=8 cy=8 r=2.2></circle><path d=\"M8 1v3M8 12v3M1 8h3M12 8h3\">"), a1 = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden><path d=\"M13 7.5 8.2 12.3a3.2 3.2 0 0 1-4.5-4.5L8.9 2.6a2.1 2.1 0 0 1 3 3L7.1 10.4a1 1 0 0 1-1.5-1.5l4.3-4.3\">"), o1 = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round aria-hidden><path d=\"M8 2v4M8 10v4M2 8h4M10 8h4M4.5 4.5 6 6M11.5 11.5 10 10M11.5 4.5 10 6M4.5 11.5 6 10\">"), s1 = /*#__PURE__*/ N("<span class=\"inline-block min-w-[4ch] text-center\">Send"), c1 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1.5\"><div class=\"flex items-center gap-1\"><span class=\"text-text-faint min-w-0 flex-1 truncate text-[10.5px]\">"), l1 = /*#__PURE__*/ N("<div class=\"bg-surface border-border flex flex-col gap-1.5 rounded-lg border p-2.5\"><div class=\"flex min-w-0 items-center gap-1.5\"><span class=\"text-text min-w-0 truncate text-[12.5px] font-medium\"></span><span class=\"text-text-faint ml-auto shrink-0 text-[10.5px] tabular-nums\"></span></div><p class=\"text-text-dim text-[11.5px] leading-snug break-words\"></p><div class=\"flex flex-wrap items-center gap-1.5\"></div><div class=\"flex items-center gap-1\">"), u1 = /*#__PURE__*/ N("<span aria-hidden class=\"size-2 shrink-0 rounded-full\">"), d1 = /*#__PURE__*/ N("<div class=\"flex min-w-0 items-center gap-1.5\">"), f1 = /*#__PURE__*/ N("<option>"), p1 = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 aria-hidden><circle cx=8 cy=8 r=6></circle><circle cx=8 cy=8 r=1.6 fill=currentColor stroke=none>"), m1 = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden><path d=\"M2.5 3.5 6 7 2.5 10.5M7.5 12.5h6\">"), h1 = /*#__PURE__*/ N("<span class=text-success>+"), g1 = /*#__PURE__*/ N("<span class=text-danger>−"), _1 = /*#__PURE__*/ N("<div class=\"flex min-w-0 items-center gap-1.5\"><span class=\"font-mono text-text-dim min-w-0 flex-1 truncate text-[10.5px]\"></span><span class=\"shrink-0 text-[10px] tabular-nums\">"), v1 = /*#__PURE__*/ N("<span class=text-text-faint>bin"), y1 = /*#__PURE__*/ N("<div class=\"flex min-w-0 items-center gap-1.5\"><span class=\"font-mono text-text-dim min-w-0 flex-1 truncate text-[10.5px]\"></span><span class=\"text-success shrink-0 text-[10px]\">new"), b1 = /*#__PURE__*/ N("<div class=\"flex min-w-0 items-center gap-1.5 pt-0.5\"><a target=_blank rel=noreferrer class=\"text-accent min-w-0 truncate text-[11px] hover:underline\">"), x1 = /*#__PURE__*/ N("<p class=\"text-text-faint text-[11px]\">Waiting for output…"), S1 = [
|
|
43612
43663
|
{
|
|
43613
43664
|
id: "",
|
|
43614
43665
|
label: "Default model"
|
|
@@ -43630,13 +43681,13 @@ var z$ = /*#__PURE__*/ N("<div class=\"border-accent/40 bg-accent-soft self-end
|
|
|
43630
43681
|
label: "Haiku"
|
|
43631
43682
|
}
|
|
43632
43683
|
];
|
|
43633
|
-
function
|
|
43684
|
+
function C1(e, t) {
|
|
43634
43685
|
let n = e.split(".").map(Number), r = t.split(".").map(Number);
|
|
43635
43686
|
for (let e = 0; e < 3; e++) if ((n[e] ?? 0) !== (r[e] ?? 0)) return (n[e] ?? 0) < (r[e] ?? 0);
|
|
43636
43687
|
return !1;
|
|
43637
43688
|
}
|
|
43638
|
-
var
|
|
43639
|
-
function
|
|
43689
|
+
var w1 = (e) => e == null ? "–" : e >= 1e3 ? `${(e / 1e3).toFixed(e >= 1e5 ? 0 : 1)}k` : String(e);
|
|
43690
|
+
function T1() {
|
|
43640
43691
|
let e = sr(), t = _r(() => ({
|
|
43641
43692
|
queryKey: ["bridge-health"],
|
|
43642
43693
|
queryFn: EO,
|
|
@@ -43701,7 +43752,9 @@ function x1() {
|
|
|
43701
43752
|
}
|
|
43702
43753
|
})), x = vr(() => ({
|
|
43703
43754
|
mutationFn: (e) => jO(e.id, e.model),
|
|
43704
|
-
onSuccess:
|
|
43755
|
+
onSuccess: (t) => {
|
|
43756
|
+
e.setQueryData(["bridge-tasks"], (e) => e?.map((e) => e.id === t.id ? t : e)), l();
|
|
43757
|
+
}
|
|
43705
43758
|
})), S = vr(() => ({
|
|
43706
43759
|
mutationFn: (e) => NO(e),
|
|
43707
43760
|
onSuccess: l
|
|
@@ -43721,18 +43774,18 @@ function x1() {
|
|
|
43721
43774
|
}, ne = (e) => e === "running" ? "var(--color-accent)" : e === "done" ? "var(--color-success)" : e === "stopped" ? "var(--color-warn)" : "var(--color-danger)", re = (e) => {
|
|
43722
43775
|
let t = e.line.kind, n = k(() => XQ(e.line.text));
|
|
43723
43776
|
return t === "user" ? (() => {
|
|
43724
|
-
var e =
|
|
43777
|
+
var e = V$(), t = e.firstChild.nextSibling;
|
|
43725
43778
|
return D(() => t.innerHTML = n()), e;
|
|
43726
43779
|
})() : t === "assistant" || t === "result" ? (() => {
|
|
43727
|
-
var e =
|
|
43780
|
+
var e = H$(), r = e.firstChild, i = r.nextSibling;
|
|
43728
43781
|
return st(e, `bg-surface rounded-lg border px-2.5 py-1.5 ${t === "result" ? "border-success/40" : "border-border"}`), st(r, `mb-0.5 text-[9.5px] font-semibold tracking-wide uppercase ${t === "result" ? "text-success" : "text-text-faint"}`), P(r, t === "result" ? "Result" : "Claude"), D(() => i.innerHTML = n()), e;
|
|
43729
43782
|
})() : (() => {
|
|
43730
|
-
var n =
|
|
43783
|
+
var n = U$();
|
|
43731
43784
|
return st(n, `font-mono px-1 text-[10px] leading-relaxed break-words ${t === "subagent" ? "text-warn" : t === "stderr" ? "text-danger" : "text-text-faint"}`), P(n, () => e.line.text), n;
|
|
43732
43785
|
})();
|
|
43733
43786
|
};
|
|
43734
43787
|
return (() => {
|
|
43735
|
-
var e =
|
|
43788
|
+
var e = K$(), a = e.firstChild;
|
|
43736
43789
|
a.firstChild;
|
|
43737
43790
|
var l = a.nextSibling;
|
|
43738
43791
|
return P(a, j(M, {
|
|
@@ -43748,7 +43801,7 @@ function x1() {
|
|
|
43748
43801
|
get children() {
|
|
43749
43802
|
return [j(M, {
|
|
43750
43803
|
get when() {
|
|
43751
|
-
return
|
|
43804
|
+
return C1(t.data.version, "0.15.1");
|
|
43752
43805
|
},
|
|
43753
43806
|
get children() {
|
|
43754
43807
|
return j(Oj, {
|
|
@@ -43764,7 +43817,7 @@ function x1() {
|
|
|
43764
43817
|
});
|
|
43765
43818
|
}
|
|
43766
43819
|
}), (() => {
|
|
43767
|
-
var e =
|
|
43820
|
+
var e = W$(), n = e.firstChild;
|
|
43768
43821
|
return P(e, () => t.data.active, n), P(e, () => t.data.cwd.split("/").slice(-2).join("/"), null), D(() => it(e, "title", t.data?.cwd)), e;
|
|
43769
43822
|
})()];
|
|
43770
43823
|
}
|
|
@@ -43778,7 +43831,7 @@ function x1() {
|
|
|
43778
43831
|
get children() {
|
|
43779
43832
|
return [
|
|
43780
43833
|
"Start it in your repo's terminal:",
|
|
43781
|
-
|
|
43834
|
+
q$(),
|
|
43782
43835
|
"Then delegate from the Draft tab (\"Local Claude Code\") or watch tasks here. Sessions stay interactive — send follow-ups, switch models, interrupt, resume in your terminal. History persists across restarts."
|
|
43783
43836
|
];
|
|
43784
43837
|
}
|
|
@@ -43796,38 +43849,38 @@ function x1() {
|
|
|
43796
43849
|
});
|
|
43797
43850
|
},
|
|
43798
43851
|
get children() {
|
|
43799
|
-
var e =
|
|
43800
|
-
return P(e, j(
|
|
43852
|
+
var e = G$();
|
|
43853
|
+
return P(e, j(Ge, {
|
|
43801
43854
|
get each() {
|
|
43802
43855
|
return n.data;
|
|
43803
43856
|
},
|
|
43804
43857
|
children: (e) => (() => {
|
|
43805
|
-
var t =
|
|
43858
|
+
var t = l1(), n = t.firstChild, a = n.firstChild, l = a.nextSibling, m = n.nextSibling, h = m.nextSibling, g = h.nextSibling;
|
|
43806
43859
|
return P(n, j(M, {
|
|
43807
43860
|
get when() {
|
|
43808
|
-
return e.status === "running";
|
|
43861
|
+
return e().status === "running";
|
|
43809
43862
|
},
|
|
43810
43863
|
get fallback() {
|
|
43811
43864
|
return (() => {
|
|
43812
|
-
var t =
|
|
43813
|
-
return D((n) => dt(t, "background", ne(e.status))), t;
|
|
43865
|
+
var t = u1();
|
|
43866
|
+
return D((n) => dt(t, "background", ne(e().status))), t;
|
|
43814
43867
|
})();
|
|
43815
43868
|
},
|
|
43816
43869
|
get children() {
|
|
43817
43870
|
return j(yj, {});
|
|
43818
43871
|
}
|
|
43819
|
-
}), a), P(a, () => e.title), P(l, () => Nj(e.startedAt)), P(m, () => e.lastText), P(h, j(Oj, {
|
|
43872
|
+
}), a), P(a, () => e().title), P(l, () => Nj(e().startedAt)), P(m, () => e().lastText), P(h, j(Oj, {
|
|
43820
43873
|
get color() {
|
|
43821
|
-
return ne(e.status);
|
|
43874
|
+
return ne(e().status);
|
|
43822
43875
|
},
|
|
43823
43876
|
get children() {
|
|
43824
|
-
return e.status;
|
|
43877
|
+
return e().status;
|
|
43825
43878
|
}
|
|
43826
43879
|
}), null), P(h, j(Oj, { get children() {
|
|
43827
|
-
return e.model ?? "default model";
|
|
43880
|
+
return e().model ?? "default model";
|
|
43828
43881
|
} }), null), P(h, j(M, {
|
|
43829
43882
|
get when() {
|
|
43830
|
-
return e.pendingModel;
|
|
43883
|
+
return e().pendingModel;
|
|
43831
43884
|
},
|
|
43832
43885
|
get children() {
|
|
43833
43886
|
return j(Oj, {
|
|
@@ -43835,7 +43888,7 @@ function x1() {
|
|
|
43835
43888
|
get children() {
|
|
43836
43889
|
return [
|
|
43837
43890
|
"→ ",
|
|
43838
|
-
$e(() => e.pendingModel),
|
|
43891
|
+
$e(() => e().pendingModel),
|
|
43839
43892
|
" next msg"
|
|
43840
43893
|
];
|
|
43841
43894
|
}
|
|
@@ -43843,7 +43896,7 @@ function x1() {
|
|
|
43843
43896
|
}
|
|
43844
43897
|
}), null), P(h, j(M, {
|
|
43845
43898
|
get when() {
|
|
43846
|
-
return e.subagents > 0;
|
|
43899
|
+
return e().subagents > 0;
|
|
43847
43900
|
},
|
|
43848
43901
|
get children() {
|
|
43849
43902
|
return j(Oj, {
|
|
@@ -43851,7 +43904,7 @@ function x1() {
|
|
|
43851
43904
|
get children() {
|
|
43852
43905
|
return [
|
|
43853
43906
|
"⛓ ",
|
|
43854
|
-
$e(() => e.subagents),
|
|
43907
|
+
$e(() => e().subagents),
|
|
43855
43908
|
" subagents"
|
|
43856
43909
|
];
|
|
43857
43910
|
}
|
|
@@ -43859,21 +43912,21 @@ function x1() {
|
|
|
43859
43912
|
}
|
|
43860
43913
|
}), null), P(h, j(M, {
|
|
43861
43914
|
get when() {
|
|
43862
|
-
return e.usage;
|
|
43915
|
+
return e().usage;
|
|
43863
43916
|
},
|
|
43864
43917
|
get children() {
|
|
43865
|
-
var t =
|
|
43866
|
-
return n.nextSibling, P(t, () =>
|
|
43867
|
-
var t = $e(() => !!e.usage.costUsd);
|
|
43868
|
-
return () => t() ? ` · $${e.usage.costUsd.toFixed(2)}` : "";
|
|
43918
|
+
var t = J$(), n = t.firstChild.nextSibling;
|
|
43919
|
+
return n.nextSibling, P(t, () => w1(e().usage.contextTokens), n), P(t, () => w1(e().usage.outputTokens), null), P(t, (() => {
|
|
43920
|
+
var t = $e(() => !!e().usage.costUsd);
|
|
43921
|
+
return () => t() ? ` · $${e().usage.costUsd.toFixed(2)}` : "";
|
|
43869
43922
|
})(), null), t;
|
|
43870
43923
|
}
|
|
43871
43924
|
}), null), P(t, j(M, {
|
|
43872
43925
|
get when() {
|
|
43873
|
-
return o(e);
|
|
43926
|
+
return o(e());
|
|
43874
43927
|
},
|
|
43875
43928
|
children: (e) => (() => {
|
|
43876
|
-
var t =
|
|
43929
|
+
var t = d1();
|
|
43877
43930
|
return P(t, j(Oj, { get children() {
|
|
43878
43931
|
return e().state.name;
|
|
43879
43932
|
} }), null), P(t, j(Tj, {
|
|
@@ -43885,16 +43938,16 @@ function x1() {
|
|
|
43885
43938
|
})()
|
|
43886
43939
|
}), g), P(t, j(M, {
|
|
43887
43940
|
get when() {
|
|
43888
|
-
return $e(() => !!e.worktree)() && !e.worktree.removed;
|
|
43941
|
+
return $e(() => !!e().worktree)() && !e().worktree.removed;
|
|
43889
43942
|
},
|
|
43890
43943
|
get children() {
|
|
43891
|
-
var t =
|
|
43944
|
+
var t = Y$(), n = t.firstChild;
|
|
43892
43945
|
return P(t, j(Oj, {
|
|
43893
43946
|
class: "text-warn",
|
|
43894
43947
|
children: "⎇ worktree"
|
|
43895
|
-
}), n), P(n, () => e.worktree.branch), P(t, j(M, {
|
|
43948
|
+
}), n), P(n, () => e().worktree.branch), P(t, j(M, {
|
|
43896
43949
|
get when() {
|
|
43897
|
-
return e.status !== "running";
|
|
43950
|
+
return e().status !== "running";
|
|
43898
43951
|
},
|
|
43899
43952
|
get children() {
|
|
43900
43953
|
return j(vj, {
|
|
@@ -43904,36 +43957,68 @@ function x1() {
|
|
|
43904
43957
|
return S.isPending;
|
|
43905
43958
|
},
|
|
43906
43959
|
get title() {
|
|
43907
|
-
return `Remove the worktree at ${e.worktree.path} — the branch (and PR) survive`;
|
|
43960
|
+
return `Remove the worktree at ${e().worktree.path} — the branch (and PR) survive`;
|
|
43908
43961
|
},
|
|
43909
|
-
onClick: () => S.mutate(e.id),
|
|
43962
|
+
onClick: () => S.mutate(e().id),
|
|
43910
43963
|
children: "Remove"
|
|
43911
43964
|
});
|
|
43912
43965
|
}
|
|
43913
|
-
}), null), D(() => it(n, "title", e.worktree.path)), t;
|
|
43966
|
+
}), null), D(() => it(n, "title", e().worktree.path)), t;
|
|
43914
43967
|
}
|
|
43915
43968
|
}), g), P(g, j(Sj, {
|
|
43916
43969
|
class: "h-7 w-auto min-w-0 flex-1 text-[11px]",
|
|
43917
43970
|
get value() {
|
|
43918
|
-
return e.pendingModel ?? e.model ?? "";
|
|
43971
|
+
return e().pendingModel ?? e().model ?? "";
|
|
43919
43972
|
},
|
|
43920
43973
|
onChange: (t) => x.mutate({
|
|
43921
|
-
id: e.id,
|
|
43974
|
+
id: e().id,
|
|
43922
43975
|
model: t.currentTarget.value
|
|
43923
43976
|
}),
|
|
43924
43977
|
title: "Model — applies from the next message",
|
|
43925
43978
|
get children() {
|
|
43926
|
-
return j(We, {
|
|
43927
|
-
each:
|
|
43979
|
+
return [j(We, {
|
|
43980
|
+
each: S1,
|
|
43928
43981
|
children: (t) => (() => {
|
|
43929
|
-
var n =
|
|
43930
|
-
return P(n, () => t.label), D(() => n.selected = (e.pendingModel ?? e.model ?? "") === t.id), D(() => n.value = t.id), n;
|
|
43982
|
+
var n = f1();
|
|
43983
|
+
return P(n, () => t.label), D(() => n.selected = (e().pendingModel ?? e().model ?? "") === t.id), D(() => n.value = t.id), n;
|
|
43931
43984
|
})()
|
|
43985
|
+
}), j(M, {
|
|
43986
|
+
get when() {
|
|
43987
|
+
return !S1.some((t) => t.id === (e().pendingModel ?? e().model ?? ""));
|
|
43988
|
+
},
|
|
43989
|
+
get children() {
|
|
43990
|
+
var t = X$();
|
|
43991
|
+
return P(t, () => e().pendingModel ?? e().model), D(() => t.value = e().pendingModel ?? e().model ?? ""), t;
|
|
43992
|
+
}
|
|
43993
|
+
})];
|
|
43994
|
+
}
|
|
43995
|
+
}), null), P(g, j(M, {
|
|
43996
|
+
get when() {
|
|
43997
|
+
return $e(() => e().status !== "running")() && e().sessionId;
|
|
43998
|
+
},
|
|
43999
|
+
get children() {
|
|
44000
|
+
return j(vj, {
|
|
44001
|
+
variant: "ghost",
|
|
44002
|
+
class: "size-7 px-0",
|
|
44003
|
+
get loading() {
|
|
44004
|
+
return b.isPending;
|
|
44005
|
+
},
|
|
44006
|
+
get title() {
|
|
44007
|
+
return `Resume — continues this session${e().pendingModel ? ` on ${e().pendingModel}` : ""}`;
|
|
44008
|
+
},
|
|
44009
|
+
"aria-label": "Resume session",
|
|
44010
|
+
onClick: () => b.mutate({
|
|
44011
|
+
id: e().id,
|
|
44012
|
+
text: "Continue where you left off. If the work is already complete, finish any remaining closeout steps (PR, Linear update, announcement)."
|
|
44013
|
+
}),
|
|
44014
|
+
get children() {
|
|
44015
|
+
return Z$();
|
|
44016
|
+
}
|
|
43932
44017
|
});
|
|
43933
44018
|
}
|
|
43934
44019
|
}), null), P(g, j(M, {
|
|
43935
44020
|
get when() {
|
|
43936
|
-
return o(e);
|
|
44021
|
+
return o(e());
|
|
43937
44022
|
},
|
|
43938
44023
|
children: (e) => j(vj, {
|
|
43939
44024
|
variant: "ghost",
|
|
@@ -43941,29 +44026,29 @@ function x1() {
|
|
|
43941
44026
|
title: "Open the issue's Activity thread",
|
|
43942
44027
|
onClick: () => YA("activity", e().id),
|
|
43943
44028
|
get children() {
|
|
43944
|
-
return
|
|
44029
|
+
return p1();
|
|
43945
44030
|
}
|
|
43946
44031
|
})
|
|
43947
44032
|
}), null), P(g, j(vj, {
|
|
43948
44033
|
variant: "ghost",
|
|
43949
44034
|
class: "size-7 px-0",
|
|
43950
44035
|
get disabled() {
|
|
43951
|
-
return !e.sessionId;
|
|
44036
|
+
return !e().sessionId;
|
|
43952
44037
|
},
|
|
43953
44038
|
get title() {
|
|
43954
|
-
return $e(() => !!e.sessionId)() ? `Copy resume command · session ${e.sessionId.slice(0, 8)}…` : "No session yet";
|
|
44039
|
+
return $e(() => !!e().sessionId)() ? `Copy resume command · session ${e().sessionId.slice(0, 8)}…` : "No session yet";
|
|
43955
44040
|
},
|
|
43956
|
-
onClick: () => void A(e),
|
|
44041
|
+
onClick: () => void A(e()),
|
|
43957
44042
|
get children() {
|
|
43958
44043
|
return j(M, {
|
|
43959
44044
|
get when() {
|
|
43960
|
-
return ee() === e.id;
|
|
44045
|
+
return ee() === e().id;
|
|
43961
44046
|
},
|
|
43962
44047
|
get fallback() {
|
|
43963
|
-
return
|
|
44048
|
+
return m1();
|
|
43964
44049
|
},
|
|
43965
44050
|
get children() {
|
|
43966
|
-
return
|
|
44051
|
+
return Q$();
|
|
43967
44052
|
}
|
|
43968
44053
|
});
|
|
43969
44054
|
}
|
|
@@ -43971,15 +44056,15 @@ function x1() {
|
|
|
43971
44056
|
variant: "ghost",
|
|
43972
44057
|
class: "size-7 px-0",
|
|
43973
44058
|
get title() {
|
|
43974
|
-
return r() === e.id ? "Hide thread" : "Open thread — chat & changes";
|
|
44059
|
+
return r() === e().id ? "Hide thread" : "Open thread — chat & changes";
|
|
43975
44060
|
},
|
|
43976
|
-
onClick: () => i(r() === e.id ? null : e.id),
|
|
44061
|
+
onClick: () => i(r() === e().id ? null : e().id),
|
|
43977
44062
|
get children() {
|
|
43978
|
-
return
|
|
44063
|
+
return $$();
|
|
43979
44064
|
}
|
|
43980
44065
|
}), null), P(g, j(M, {
|
|
43981
44066
|
get when() {
|
|
43982
|
-
return e.status === "running";
|
|
44067
|
+
return e().status === "running";
|
|
43983
44068
|
},
|
|
43984
44069
|
get children() {
|
|
43985
44070
|
return j(vj, {
|
|
@@ -43989,15 +44074,15 @@ function x1() {
|
|
|
43989
44074
|
return u.isPending;
|
|
43990
44075
|
},
|
|
43991
44076
|
title: "Interrupt — the session stays resumable",
|
|
43992
|
-
onClick: () => u.mutate(e.id),
|
|
44077
|
+
onClick: () => u.mutate(e().id),
|
|
43993
44078
|
get children() {
|
|
43994
|
-
return
|
|
44079
|
+
return e1();
|
|
43995
44080
|
}
|
|
43996
44081
|
});
|
|
43997
44082
|
}
|
|
43998
44083
|
}), null), P(t, j(M, {
|
|
43999
44084
|
get when() {
|
|
44000
|
-
return r() === e.id;
|
|
44085
|
+
return r() === e().id;
|
|
44001
44086
|
},
|
|
44002
44087
|
get children() {
|
|
44003
44088
|
return [
|
|
@@ -44006,7 +44091,7 @@ function x1() {
|
|
|
44006
44091
|
return $e(() => !!c.data)() && (c.data.files.length || c.data.untracked.length || c.data.prs.length);
|
|
44007
44092
|
},
|
|
44008
44093
|
get children() {
|
|
44009
|
-
var e =
|
|
44094
|
+
var e = n1(), t = e.firstChild, n = t.firstChild.nextSibling, r = n.firstChild;
|
|
44010
44095
|
r.firstChild;
|
|
44011
44096
|
var i = r.nextSibling.nextSibling;
|
|
44012
44097
|
return i.firstChild, P(t, j(M, {
|
|
@@ -44014,7 +44099,7 @@ function x1() {
|
|
|
44014
44099
|
return c.data.branch;
|
|
44015
44100
|
},
|
|
44016
44101
|
get children() {
|
|
44017
|
-
var e =
|
|
44102
|
+
var e = t1();
|
|
44018
44103
|
return P(e, () => c.data.branch), e;
|
|
44019
44104
|
}
|
|
44020
44105
|
}), n), P(r, () => c.data.totalAdded, null), P(i, () => c.data.totalDeleted, null), P(e, j(We, {
|
|
@@ -44022,23 +44107,23 @@ function x1() {
|
|
|
44022
44107
|
return c.data.files;
|
|
44023
44108
|
},
|
|
44024
44109
|
children: (e) => (() => {
|
|
44025
|
-
var t =
|
|
44110
|
+
var t = _1(), n = t.firstChild, r = n.nextSibling;
|
|
44026
44111
|
return P(n, () => e.path), P(r, j(M, {
|
|
44027
44112
|
get when() {
|
|
44028
44113
|
return !e.binary;
|
|
44029
44114
|
},
|
|
44030
44115
|
get fallback() {
|
|
44031
|
-
return
|
|
44116
|
+
return v1();
|
|
44032
44117
|
},
|
|
44033
44118
|
get children() {
|
|
44034
44119
|
return [
|
|
44035
44120
|
(() => {
|
|
44036
|
-
var t =
|
|
44121
|
+
var t = h1();
|
|
44037
44122
|
return t.firstChild, P(t, () => e.added, null), t;
|
|
44038
44123
|
})(),
|
|
44039
44124
|
" ",
|
|
44040
44125
|
(() => {
|
|
44041
|
-
var t =
|
|
44126
|
+
var t = g1();
|
|
44042
44127
|
return t.firstChild, P(t, () => e.deleted, null), t;
|
|
44043
44128
|
})()
|
|
44044
44129
|
];
|
|
@@ -44050,7 +44135,7 @@ function x1() {
|
|
|
44050
44135
|
return c.data.untracked;
|
|
44051
44136
|
},
|
|
44052
44137
|
children: (e) => (() => {
|
|
44053
|
-
var t =
|
|
44138
|
+
var t = y1(), n = t.firstChild;
|
|
44054
44139
|
return it(n, "title", e), P(n, e), t;
|
|
44055
44140
|
})()
|
|
44056
44141
|
}), null), P(e, j(We, {
|
|
@@ -44058,7 +44143,7 @@ function x1() {
|
|
|
44058
44143
|
return c.data.prs;
|
|
44059
44144
|
},
|
|
44060
44145
|
children: (e) => (() => {
|
|
44061
|
-
var t =
|
|
44146
|
+
var t = b1(), n = t.firstChild;
|
|
44062
44147
|
return P(t, j(Oj, {
|
|
44063
44148
|
class: "text-accent",
|
|
44064
44149
|
get children() {
|
|
@@ -44076,7 +44161,7 @@ function x1() {
|
|
|
44076
44161
|
}
|
|
44077
44162
|
}),
|
|
44078
44163
|
(() => {
|
|
44079
|
-
var e =
|
|
44164
|
+
var e = r1();
|
|
44080
44165
|
return e.addEventListener("scroll", E), pt((e) => {
|
|
44081
44166
|
C = e, w = !0;
|
|
44082
44167
|
}, e), P(e, j(M, {
|
|
@@ -44084,7 +44169,7 @@ function x1() {
|
|
|
44084
44169
|
return (s.data?.tail ?? []).length > 0;
|
|
44085
44170
|
},
|
|
44086
44171
|
get fallback() {
|
|
44087
|
-
return
|
|
44172
|
+
return x1();
|
|
44088
44173
|
},
|
|
44089
44174
|
get children() {
|
|
44090
44175
|
return j(Ge, {
|
|
@@ -44099,19 +44184,19 @@ function x1() {
|
|
|
44099
44184
|
})), e;
|
|
44100
44185
|
})(),
|
|
44101
44186
|
(() => {
|
|
44102
|
-
var t =
|
|
44187
|
+
var t = c1(), n = t.firstChild, r = n.firstChild;
|
|
44103
44188
|
return P(t, j(xj, {
|
|
44104
44189
|
rows: 2,
|
|
44105
44190
|
get placeholder() {
|
|
44106
|
-
return e.status === "running" ? "Message the working agent — it queues into the live session…" : "Follow-up — resumes the session…";
|
|
44191
|
+
return e().status === "running" ? "Message the working agent — it queues into the live session…" : "Follow-up — resumes the session…";
|
|
44107
44192
|
},
|
|
44108
44193
|
get value() {
|
|
44109
44194
|
return d();
|
|
44110
44195
|
},
|
|
44111
44196
|
onInput: (e) => f(e.currentTarget.value)
|
|
44112
44197
|
}), n), P(r, (() => {
|
|
44113
|
-
var t = $e(() => !!e.alive);
|
|
44114
|
-
return () => t() ? "live session" : e.sessionId ? "resumes on send" : "no session";
|
|
44198
|
+
var t = $e(() => !!e().alive);
|
|
44199
|
+
return () => t() ? "live session" : e().sessionId ? "resumes on send" : "no session";
|
|
44115
44200
|
})()), P(n, j(vj, {
|
|
44116
44201
|
variant: "ghost",
|
|
44117
44202
|
class: "size-7 shrink-0 px-0",
|
|
@@ -44119,7 +44204,7 @@ function x1() {
|
|
|
44119
44204
|
"aria-label": "Pick element",
|
|
44120
44205
|
onClick: v,
|
|
44121
44206
|
get children() {
|
|
44122
|
-
return
|
|
44207
|
+
return i1();
|
|
44123
44208
|
}
|
|
44124
44209
|
}), null), P(n, j(vj, {
|
|
44125
44210
|
variant: "ghost",
|
|
@@ -44131,22 +44216,22 @@ function x1() {
|
|
|
44131
44216
|
"aria-label": "Attach captures",
|
|
44132
44217
|
onClick: () => void y(),
|
|
44133
44218
|
get children() {
|
|
44134
|
-
return
|
|
44219
|
+
return a1();
|
|
44135
44220
|
}
|
|
44136
44221
|
}), null), P(n, j(vj, {
|
|
44137
44222
|
variant: "ghost",
|
|
44138
44223
|
class: "size-7 shrink-0 px-0",
|
|
44139
44224
|
get disabled() {
|
|
44140
|
-
return $e(() => !e.alive)() && !e.sessionId;
|
|
44225
|
+
return $e(() => !e().alive)() && !e().sessionId;
|
|
44141
44226
|
},
|
|
44142
44227
|
title: "Compact the session — frees context (sends /compact)",
|
|
44143
44228
|
"aria-label": "Compact session",
|
|
44144
44229
|
onClick: () => b.mutate({
|
|
44145
|
-
id: e.id,
|
|
44230
|
+
id: e().id,
|
|
44146
44231
|
text: "/compact"
|
|
44147
44232
|
}),
|
|
44148
44233
|
get children() {
|
|
44149
|
-
return
|
|
44234
|
+
return o1();
|
|
44150
44235
|
}
|
|
44151
44236
|
}), null), P(n, j(vj, {
|
|
44152
44237
|
variant: "primary",
|
|
@@ -44155,14 +44240,14 @@ function x1() {
|
|
|
44155
44240
|
return b.isPending;
|
|
44156
44241
|
},
|
|
44157
44242
|
get disabled() {
|
|
44158
|
-
return !d().trim() || !e.alive && !e.sessionId;
|
|
44243
|
+
return !d().trim() || !e().alive && !e().sessionId;
|
|
44159
44244
|
},
|
|
44160
44245
|
onClick: () => b.mutate({
|
|
44161
|
-
id: e.id,
|
|
44246
|
+
id: e().id,
|
|
44162
44247
|
text: d().trim()
|
|
44163
44248
|
}),
|
|
44164
44249
|
get children() {
|
|
44165
|
-
return
|
|
44250
|
+
return s1();
|
|
44166
44251
|
}
|
|
44167
44252
|
}), null), t;
|
|
44168
44253
|
})()
|
|
@@ -44179,13 +44264,13 @@ function x1() {
|
|
|
44179
44264
|
}
|
|
44180
44265
|
//#endregion
|
|
44181
44266
|
//#region src/panel/views/PrsView.tsx
|
|
44182
|
-
var
|
|
44183
|
-
function
|
|
44267
|
+
var E1 = /*#__PURE__*/ N("<span class=\"text-text-faint text-[10.5px] tabular-nums\">/<!> from your issues"), D1 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1.5\">"), O1 = /*#__PURE__*/ N("<div class=\"flex h-full flex-col\"><div class=\"border-border flex shrink-0 items-center justify-between border-b px-3 py-2\"><span class=\"text-text text-[12px] font-semibold\">Pull requests</span></div><div class=\"border-border flex shrink-0 items-center gap-1.5 border-b px-3 py-1.5\"><div class=\"bg-surface-2 border-border flex shrink-0 rounded-md border p-0.5\"></div></div><div class=\"min-h-0 flex-1 overflow-y-auto pt-2 pb-3 pl-2 pr-3\">"), k1 = /*#__PURE__*/ N("<span class=\"text-warn text-[10.5px]\"title=\"Merge states come from gh via the bridge\">states unknown — restart the bridge"), A1 = /*#__PURE__*/ N("<button>"), j1 = /*#__PURE__*/ N("<span class=\"text-[12px] leading-none\">✓"), M1 = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round aria-hidden><circle cx=8 cy=8 r=6></circle><circle cx=8 cy=8 r=1.6 fill=currentColor stroke=none>"), N1 = /*#__PURE__*/ N("<span class=\"text-success text-[12px] leading-none\">✓"), P1 = /*#__PURE__*/ N("<div class=\"bg-surface border-border flex flex-col gap-1.5 rounded-lg border p-2.5\"><a target=_blank rel=noreferrer class=\"text-accent truncate text-[12.5px] font-medium hover:underline\"></a><div class=\"flex min-w-0 items-center gap-1.5\"><span class=\"font-mono text-text-dim shrink-0 text-[11px]\"></span><span class=\"text-text-dim truncate text-[11.5px]\"></span><span class=\"text-text-faint ml-auto shrink-0 text-[10.5px] tabular-nums\"></span></div><div class=\"flex min-w-0 flex-wrap items-center gap-1.5\"><div class=\"ml-auto flex shrink-0 items-center gap-1\">"), F1 = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round aria-hidden><circle cx=4 cy=3.5 r=1.5></circle><circle cx=4 cy=12.5 r=1.5></circle><circle cx=12 cy=8 r=1.5></circle><path d=\"M4 5v6M4 6.5c0 2 2 3 4.5 3h2\">"), I1 = /*#__PURE__*/ N("<svg width=13 height=13 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 stroke-linejoin=round aria-hidden><rect x=5.5 y=5.5 width=9 height=9 rx=1.5></rect><path d=\"M10.5 5.5v-2a2 2 0 0 0-2-2h-5a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h2\">"), L1 = /github\.com\/[^/]+\/[^/]+\/pull\/\d+/i;
|
|
44268
|
+
function R1(e) {
|
|
44184
44269
|
let t = _r(() => ({
|
|
44185
44270
|
queryKey: ["my-issues"],
|
|
44186
44271
|
queryFn: uO,
|
|
44187
44272
|
refetchInterval: 15e3
|
|
44188
|
-
})), n = k(() => (t.data ?? []).flatMap((e) => (e.attachments ?? []).filter((e) =>
|
|
44273
|
+
})), n = k(() => (t.data ?? []).flatMap((e) => (e.attachments ?? []).filter((e) => L1.test(e.url)).map((t) => ({
|
|
44189
44274
|
issue: e,
|
|
44190
44275
|
attachment: t
|
|
44191
44276
|
})))), r = _r(() => ({
|
|
@@ -44222,7 +44307,7 @@ function P1(e) {
|
|
|
44222
44307
|
} catch {}
|
|
44223
44308
|
};
|
|
44224
44309
|
return (() => {
|
|
44225
|
-
var r =
|
|
44310
|
+
var r = O1(), p = r.firstChild;
|
|
44226
44311
|
p.firstChild;
|
|
44227
44312
|
var h = p.nextSibling, _ = h.firstChild, b = h.nextSibling;
|
|
44228
44313
|
return P(p, j(M, {
|
|
@@ -44230,10 +44315,10 @@ function P1(e) {
|
|
|
44230
44315
|
return !i.isError;
|
|
44231
44316
|
},
|
|
44232
44317
|
get fallback() {
|
|
44233
|
-
return
|
|
44318
|
+
return k1();
|
|
44234
44319
|
},
|
|
44235
44320
|
get children() {
|
|
44236
|
-
var e =
|
|
44321
|
+
var e = E1(), t = e.firstChild, r = t.nextSibling;
|
|
44237
44322
|
return r.nextSibling, P(e, () => d().length, t), P(e, () => n().length, r), e;
|
|
44238
44323
|
}
|
|
44239
44324
|
}), null), P(_, j(We, {
|
|
@@ -44256,7 +44341,7 @@ function P1(e) {
|
|
|
44256
44341
|
}
|
|
44257
44342
|
],
|
|
44258
44343
|
children: (e) => (() => {
|
|
44259
|
-
var t =
|
|
44344
|
+
var t = A1();
|
|
44260
44345
|
return t.$$click = () => c(e.id), P(t, () => e.label), D(() => st(t, `rounded-[5px] px-2 py-0.5 text-[11px] font-medium transition-colors ${s() === e.id ? "bg-surface-3 text-text" : "text-text-dim hover:text-text cursor-pointer"}`)), t;
|
|
44261
44346
|
})()
|
|
44262
44347
|
})), P(h, j(bj, {
|
|
@@ -44279,13 +44364,13 @@ function P1(e) {
|
|
|
44279
44364
|
});
|
|
44280
44365
|
},
|
|
44281
44366
|
get children() {
|
|
44282
|
-
var t =
|
|
44367
|
+
var t = D1();
|
|
44283
44368
|
return P(t, j(We, {
|
|
44284
44369
|
get each() {
|
|
44285
44370
|
return d();
|
|
44286
44371
|
},
|
|
44287
44372
|
children: (t) => (() => {
|
|
44288
|
-
var n =
|
|
44373
|
+
var n = P1(), r = n.firstChild, i = r.nextSibling, s = i.firstChild, c = s.nextSibling, l = c.nextSibling, u = i.nextSibling, d = u.firstChild;
|
|
44289
44374
|
return P(r, () => t.attachment.title || t.attachment.url), P(i, j(kj, { get color() {
|
|
44290
44375
|
return t.issue.state.color;
|
|
44291
44376
|
} }), s), P(s, () => t.issue.identifier), P(c, () => t.issue.title), P(l, () => Nj(t.issue.updatedAt)), P(u, j(Oj, { get children() {
|
|
@@ -44362,10 +44447,10 @@ function P1(e) {
|
|
|
44362
44447
|
return g().has(t.attachment.url);
|
|
44363
44448
|
},
|
|
44364
44449
|
get fallback() {
|
|
44365
|
-
return
|
|
44450
|
+
return F1();
|
|
44366
44451
|
},
|
|
44367
44452
|
get children() {
|
|
44368
|
-
return
|
|
44453
|
+
return j1();
|
|
44369
44454
|
}
|
|
44370
44455
|
});
|
|
44371
44456
|
}
|
|
@@ -44378,7 +44463,7 @@ function P1(e) {
|
|
|
44378
44463
|
YA("activity", t.issue.id), e.onOpenIssue();
|
|
44379
44464
|
},
|
|
44380
44465
|
get children() {
|
|
44381
|
-
return
|
|
44466
|
+
return M1();
|
|
44382
44467
|
}
|
|
44383
44468
|
}), null), P(d, j(vj, {
|
|
44384
44469
|
variant: "ghost",
|
|
@@ -44392,10 +44477,10 @@ function P1(e) {
|
|
|
44392
44477
|
return f() === t.attachment.id;
|
|
44393
44478
|
},
|
|
44394
44479
|
get fallback() {
|
|
44395
|
-
return
|
|
44480
|
+
return I1();
|
|
44396
44481
|
},
|
|
44397
44482
|
get children() {
|
|
44398
|
-
return
|
|
44483
|
+
return N1();
|
|
44399
44484
|
}
|
|
44400
44485
|
});
|
|
44401
44486
|
}
|
|
@@ -44415,13 +44500,13 @@ function P1(e) {
|
|
|
44415
44500
|
//#endregion
|
|
44416
44501
|
//#region src/lib/linear/auth.ts
|
|
44417
44502
|
rt(["click"]), Rr();
|
|
44418
|
-
function
|
|
44503
|
+
function z1(e) {
|
|
44419
44504
|
let t = "";
|
|
44420
44505
|
for (let n of e) t += String.fromCharCode(n);
|
|
44421
44506
|
return btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
44422
44507
|
}
|
|
44423
|
-
async function
|
|
44424
|
-
let t =
|
|
44508
|
+
async function B1(e) {
|
|
44509
|
+
let t = z1(crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(32))), n = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(t)), r = z1(new Uint8Array(n)), i = z1(crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16))), a = chrome.identity.getRedirectURL(), o = new URL("https://linear.app/oauth/authorize");
|
|
44425
44510
|
o.searchParams.set("client_id", e), o.searchParams.set("redirect_uri", a), o.searchParams.set("response_type", "code"), o.searchParams.set("scope", "read,write"), o.searchParams.set("state", i), o.searchParams.set("code_challenge", r), o.searchParams.set("code_challenge_method", "S256");
|
|
44426
44511
|
let s = await chrome.identity.launchWebAuthFlow({
|
|
44427
44512
|
url: o.toString(),
|
|
@@ -44449,15 +44534,15 @@ async function I1(e) {
|
|
|
44449
44534
|
linearOauthClientId: e
|
|
44450
44535
|
});
|
|
44451
44536
|
}
|
|
44452
|
-
async function
|
|
44537
|
+
async function V1() {
|
|
44453
44538
|
await wr({
|
|
44454
44539
|
linearAccessToken: void 0,
|
|
44455
44540
|
linearApiKey: void 0
|
|
44456
44541
|
});
|
|
44457
44542
|
}
|
|
44458
44543
|
Rr(), br(), Nx(), mD();
|
|
44459
|
-
var
|
|
44460
|
-
function
|
|
44544
|
+
var H1 = /*#__PURE__*/ N("<div class=\"bg-surface-2 border-border flex rounded-md border p-0.5\">"), U1 = /*#__PURE__*/ N("<span class=\"text-text-faint text-[10.5px] leading-snug\">Cloud: picking an element opens the panel to draft & delegate to the Cursor agent. Local (react-grab style): picking auto-copies the element's context — source, stack, and your skills/memory paths — straight to the clipboard for a local Claude Code or Cursor session; the panel stays out of the way. Both share the same picker; switch anytime."), W1 = /*#__PURE__*/ N("<label class=\"flex cursor-pointer items-center gap-2 select-none\"><input type=checkbox class=\"accent-accent rounded\"><span class=\"text-text text-[12px]\">Element screenshots"), G1 = /*#__PURE__*/ N("<span class=\"text-text-faint text-[10.5px] leading-snug\">Captures a highlighted screenshot of each picked element and attaches it to the issue. Costs a beat on huge pages — with this off, picking is instant (pure react-grab speed)."), K1 = /*#__PURE__*/ N("<span class=text-text>Connected as <span class=font-medium></span> · <span class=text-text-dim>"), q1 = /*#__PURE__*/ N("<div class=\"bg-surface border-border flex items-center justify-between rounded-lg border p-2.5\"><span class=\"text-text text-[12px]\">"), J1 = /*#__PURE__*/ N("<option value>Select a team…"), Y1 = /*#__PURE__*/ N("<p class=\"text-text-dim text-[11px]\">No agents found — install the Cursor integration in Linear first."), X1 = /*#__PURE__*/ N("<span class=\"text-text-faint text-[10.5px] leading-snug\">Empty = the default above (computer-use testing, video demo, PR + review babysitting)."), Z1 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1.5\">"), Q1 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1\"><span class=\"text-text-dim text-[11px] font-medium\">Mode</span><div class=\"bg-surface-2 border-border flex rounded-md border p-0.5\"></div><span class=\"text-text-faint text-[10.5px] leading-snug\">Beside page squeezes the app next to the panel, DevTools-style — nothing gets covered. Also toggleable from the dock icon in the panel header."), $1 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1\"><span class=\"text-text-dim text-[11px] font-medium\">Dock side</span><div class=\"bg-surface-2 border-border flex rounded-md border p-0.5\"></div><span class=\"text-text-faint text-[10.5px] leading-snug\">The launcher pill is draggable — park it anywhere it doesn't cover your app."), e0 = /*#__PURE__*/ N("<option value>Select a channel…"), t0 = /*#__PURE__*/ N("<label class=\"flex cursor-pointer items-center gap-2 select-none\"><input type=checkbox class=\"accent-accent rounded\"><span class=\"text-text text-[12px]\">Announce new issues on create"), n0 = /*#__PURE__*/ N("<span class=\"text-text-faint text-[10.5px] leading-snug\">⚠️ Tokens are embedded in issue Agent-instructions so agents can post the finished demo — everyone who can read the issue can read them. Use single-channel-scoped bots."), r0 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1\"><span class=\"text-text-dim text-[11px] font-medium\">Provider preference</span><div class=\"bg-surface-2 border-border flex rounded-md border p-0.5\"><button>Auto</button><button>OpenAI</button><button>Anthropic"), i0 = /*#__PURE__*/ N("<p class=\"text-text-dim text-[11px]\">"), a0 = /*#__PURE__*/ N("<div class=min-h-[2lh]>"), o0 = /*#__PURE__*/ N("<ol class=\"text-text-faint flex list-decimal flex-col gap-1 pl-4 text-[11px] leading-relaxed\"><li>Pick an element on your running dev app.</li><li>Draft the issue (AI optional).</li><li>Create + delegate — Cursor's cloud agent fixes it and opens a PR.</li><li>Track and steer it from Activity."), s0 = /*#__PURE__*/ N("<div class=\"flex h-full flex-col gap-5 overflow-y-auto pt-3 pb-6 pl-3 pr-4\">"), c0 = /*#__PURE__*/ N("<button>"), l0 = /*#__PURE__*/ N("<div class=\"flex gap-1.5\">"), u0 = /*#__PURE__*/ N("<p class=\"text-text-faint text-center text-[10.5px]\">or"), d0 = /*#__PURE__*/ N("<span class=\"text-text-faint text-[10.5px] leading-snug\">Register this callback URL in your Linear OAuth app config:<br><span class=\"font-mono text-[10.5px] break-all\">"), f0 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-3\">"), p0 = /*#__PURE__*/ N("<span class=text-text-dim>Connected — verifying…"), m0 = /*#__PURE__*/ N("<option> (<!>)"), h0 = /*#__PURE__*/ N("<option value>Select the agent…"), g0 = /*#__PURE__*/ N("<option>"), _0 = /*#__PURE__*/ N("<option>#"), v0 = /*#__PURE__*/ N("<p class=\"text-text-dim text-[11px]\">No key set — AI drafting disabled, manual drafting still works.");
|
|
44545
|
+
function y0() {
|
|
44461
44546
|
let e = sr(), t = _r(() => ({
|
|
44462
44547
|
queryKey: ["settings"],
|
|
44463
44548
|
queryFn: Cr,
|
|
@@ -44502,7 +44587,7 @@ function h0() {
|
|
|
44502
44587
|
}
|
|
44503
44588
|
v(!0), b("");
|
|
44504
44589
|
try {
|
|
44505
|
-
await
|
|
44590
|
+
await B1(t), await e.invalidateQueries({ queryKey: ["settings"] }), await e.invalidateQueries({ queryKey: ["viewer"] }), await e.invalidateQueries({ queryKey: ["teams"] }), await e.invalidateQueries({ queryKey: ["agents"] }), await e.invalidateQueries({ queryKey: ["my-issues"] });
|
|
44506
44591
|
} catch (e) {
|
|
44507
44592
|
b(e instanceof Error ? e.message : "OAuth flow failed.");
|
|
44508
44593
|
} finally {
|
|
@@ -44513,7 +44598,7 @@ function h0() {
|
|
|
44513
44598
|
async function w() {
|
|
44514
44599
|
C(!0);
|
|
44515
44600
|
try {
|
|
44516
|
-
await
|
|
44601
|
+
await V1(), await e.invalidateQueries({ queryKey: ["settings"] }), await e.invalidateQueries({ queryKey: ["viewer"] }), await e.invalidateQueries({ queryKey: ["teams"] }), await e.invalidateQueries({ queryKey: ["agents"] }), await e.invalidateQueries({ queryKey: ["my-issues"] });
|
|
44517
44602
|
} finally {
|
|
44518
44603
|
C(!1);
|
|
44519
44604
|
}
|
|
@@ -44529,12 +44614,12 @@ function h0() {
|
|
|
44529
44614
|
return e ? `Drafting with ${e} — ${jx[e].fast} (fast) / ${jx[e].best} (best)` : null;
|
|
44530
44615
|
});
|
|
44531
44616
|
return (() => {
|
|
44532
|
-
var e =
|
|
44617
|
+
var e = s0();
|
|
44533
44618
|
return P(e, j(Dj, {
|
|
44534
44619
|
title: "Workflow",
|
|
44535
44620
|
get children() {
|
|
44536
44621
|
return [(() => {
|
|
44537
|
-
var e =
|
|
44622
|
+
var e = H1();
|
|
44538
44623
|
return P(e, j(We, {
|
|
44539
44624
|
each: [{
|
|
44540
44625
|
id: "cloud",
|
|
@@ -44544,19 +44629,19 @@ function h0() {
|
|
|
44544
44629
|
label: "Local · clipboard"
|
|
44545
44630
|
}],
|
|
44546
44631
|
children: (e) => (() => {
|
|
44547
|
-
var t =
|
|
44632
|
+
var t = c0();
|
|
44548
44633
|
return t.$$click = () => void r({ workflowMode: e.id }), P(t, () => e.label), D(() => st(t, `flex-1 rounded-[5px] px-2 py-1 text-[11.5px] font-medium transition-colors ${(n().workflowMode ?? "cloud") === e.id ? "bg-surface-3 text-text" : "text-text-dim hover:text-text cursor-pointer"}`)), t;
|
|
44549
44634
|
})()
|
|
44550
44635
|
})), e;
|
|
44551
|
-
})(),
|
|
44636
|
+
})(), U1()];
|
|
44552
44637
|
}
|
|
44553
44638
|
}), null), P(e, j(Dj, {
|
|
44554
44639
|
title: "Capture",
|
|
44555
44640
|
get children() {
|
|
44556
44641
|
return [(() => {
|
|
44557
|
-
var e =
|
|
44642
|
+
var e = W1(), t = e.firstChild;
|
|
44558
44643
|
return t.addEventListener("change", (e) => void r({ captureShots: e.currentTarget.checked || void 0 })), D(() => t.checked = !!n().captureShots), e;
|
|
44559
|
-
})(),
|
|
44644
|
+
})(), G1()];
|
|
44560
44645
|
}
|
|
44561
44646
|
}), null), P(e, j(Dj, {
|
|
44562
44647
|
title: "Linear",
|
|
@@ -44567,13 +44652,13 @@ function h0() {
|
|
|
44567
44652
|
},
|
|
44568
44653
|
get fallback() {
|
|
44569
44654
|
return (() => {
|
|
44570
|
-
var e =
|
|
44655
|
+
var e = f0();
|
|
44571
44656
|
return P(e, j(Ej, {
|
|
44572
44657
|
label: "Personal API key",
|
|
44573
44658
|
hint: "Create one at linear.app → Settings → API — fastest path.",
|
|
44574
44659
|
get children() {
|
|
44575
44660
|
return [(() => {
|
|
44576
|
-
var e =
|
|
44661
|
+
var e = l0();
|
|
44577
44662
|
return P(e, j(bj, {
|
|
44578
44663
|
type: "password",
|
|
44579
44664
|
placeholder: "lin_api_…",
|
|
@@ -44610,12 +44695,12 @@ function h0() {
|
|
|
44610
44695
|
}), null), P(e, j(M, {
|
|
44611
44696
|
when: yr,
|
|
44612
44697
|
get children() {
|
|
44613
|
-
return [
|
|
44698
|
+
return [u0(), j(Ej, {
|
|
44614
44699
|
label: "OAuth client ID",
|
|
44615
44700
|
get children() {
|
|
44616
44701
|
return [
|
|
44617
44702
|
(() => {
|
|
44618
|
-
var e =
|
|
44703
|
+
var e = l0();
|
|
44619
44704
|
return P(e, j(bj, {
|
|
44620
44705
|
placeholder: "your-client-id",
|
|
44621
44706
|
get value() {
|
|
@@ -44643,7 +44728,7 @@ function h0() {
|
|
|
44643
44728
|
}
|
|
44644
44729
|
}),
|
|
44645
44730
|
(() => {
|
|
44646
|
-
var e =
|
|
44731
|
+
var e = d0(), t = e.firstChild.nextSibling.nextSibling;
|
|
44647
44732
|
return P(t, E), e;
|
|
44648
44733
|
})()
|
|
44649
44734
|
];
|
|
@@ -44654,13 +44739,13 @@ function h0() {
|
|
|
44654
44739
|
})();
|
|
44655
44740
|
},
|
|
44656
44741
|
get children() {
|
|
44657
|
-
var e =
|
|
44742
|
+
var e = q1(), t = e.firstChild;
|
|
44658
44743
|
return P(t, j(M, {
|
|
44659
44744
|
get when() {
|
|
44660
44745
|
return !a.isLoading;
|
|
44661
44746
|
},
|
|
44662
44747
|
get fallback() {
|
|
44663
|
-
return
|
|
44748
|
+
return p0();
|
|
44664
44749
|
},
|
|
44665
44750
|
get children() {
|
|
44666
44751
|
return j(M, {
|
|
@@ -44673,7 +44758,7 @@ function h0() {
|
|
|
44673
44758
|
return a.isError;
|
|
44674
44759
|
},
|
|
44675
44760
|
get fallback() {
|
|
44676
|
-
return
|
|
44761
|
+
return p0();
|
|
44677
44762
|
},
|
|
44678
44763
|
get children() {
|
|
44679
44764
|
return j(jj, { message: "Key rejected — reconnect" });
|
|
@@ -44681,7 +44766,7 @@ function h0() {
|
|
|
44681
44766
|
});
|
|
44682
44767
|
},
|
|
44683
44768
|
get children() {
|
|
44684
|
-
var e =
|
|
44769
|
+
var e = K1(), t = e.firstChild.nextSibling, n = t.nextSibling.nextSibling;
|
|
44685
44770
|
return P(t, () => a.data.name), P(n, () => a.data.email), e;
|
|
44686
44771
|
}
|
|
44687
44772
|
});
|
|
@@ -44722,7 +44807,7 @@ function h0() {
|
|
|
44722
44807
|
return o.isLoading;
|
|
44723
44808
|
},
|
|
44724
44809
|
get children() {
|
|
44725
|
-
return [
|
|
44810
|
+
return [J1(), j(M, {
|
|
44726
44811
|
get when() {
|
|
44727
44812
|
return o.data;
|
|
44728
44813
|
},
|
|
@@ -44732,7 +44817,7 @@ function h0() {
|
|
|
44732
44817
|
return o.data;
|
|
44733
44818
|
},
|
|
44734
44819
|
children: (e) => (() => {
|
|
44735
|
-
var t =
|
|
44820
|
+
var t = m0(), r = t.firstChild, i = r.nextSibling;
|
|
44736
44821
|
return i.nextSibling, P(t, () => e.name, r), P(t, () => e.key, i), D(() => t.selected = e.id === n().defaultTeamId), D(() => t.value = e.id), t;
|
|
44737
44822
|
})()
|
|
44738
44823
|
});
|
|
@@ -44776,7 +44861,7 @@ function h0() {
|
|
|
44776
44861
|
return s.isLoading;
|
|
44777
44862
|
},
|
|
44778
44863
|
get children() {
|
|
44779
|
-
return [
|
|
44864
|
+
return [h0(), j(M, {
|
|
44780
44865
|
get when() {
|
|
44781
44866
|
return s.data;
|
|
44782
44867
|
},
|
|
@@ -44786,7 +44871,7 @@ function h0() {
|
|
|
44786
44871
|
return s.data;
|
|
44787
44872
|
},
|
|
44788
44873
|
children: (e) => (() => {
|
|
44789
|
-
var t =
|
|
44874
|
+
var t = g0();
|
|
44790
44875
|
return P(t, () => e.displayName), D(() => t.selected = e.id === n().cursorAgentId), D(() => t.value = e.id), t;
|
|
44791
44876
|
})()
|
|
44792
44877
|
});
|
|
@@ -44796,7 +44881,7 @@ function h0() {
|
|
|
44796
44881
|
});
|
|
44797
44882
|
},
|
|
44798
44883
|
get children() {
|
|
44799
|
-
return
|
|
44884
|
+
return Y1();
|
|
44800
44885
|
}
|
|
44801
44886
|
});
|
|
44802
44887
|
}
|
|
@@ -44844,7 +44929,7 @@ function h0() {
|
|
|
44844
44929
|
onBlur: (e) => {
|
|
44845
44930
|
r({ issueTemplate: e.currentTarget.value.trim() || void 0 });
|
|
44846
44931
|
}
|
|
44847
|
-
}),
|
|
44932
|
+
}), X1()];
|
|
44848
44933
|
}
|
|
44849
44934
|
}),
|
|
44850
44935
|
j(Ej, {
|
|
@@ -44901,7 +44986,7 @@ function h0() {
|
|
|
44901
44986
|
label: "Test account",
|
|
44902
44987
|
hint: "The cloud agent logs into the app with this while testing and recording its demo. Added to every issue's Agent instructions. Use a throwaway account — it's visible to everyone who can read the issue.",
|
|
44903
44988
|
get children() {
|
|
44904
|
-
var e =
|
|
44989
|
+
var e = Z1();
|
|
44905
44990
|
return P(e, j(bj, {
|
|
44906
44991
|
placeholder: "Username or email (e.g. demo@yourapp.com)",
|
|
44907
44992
|
get value() {
|
|
@@ -44933,7 +45018,7 @@ function h0() {
|
|
|
44933
45018
|
title: "Panel",
|
|
44934
45019
|
get children() {
|
|
44935
45020
|
return [(() => {
|
|
44936
|
-
var e =
|
|
45021
|
+
var e = Q1(), t = e.firstChild.nextSibling;
|
|
44937
45022
|
return P(t, j(We, {
|
|
44938
45023
|
each: [{
|
|
44939
45024
|
id: "overlay",
|
|
@@ -44943,7 +45028,7 @@ function h0() {
|
|
|
44943
45028
|
label: "Beside page"
|
|
44944
45029
|
}],
|
|
44945
45030
|
children: (e) => (() => {
|
|
44946
|
-
var t =
|
|
45031
|
+
var t = c0();
|
|
44947
45032
|
return t.$$click = () => void r({
|
|
44948
45033
|
panelMode: e.id,
|
|
44949
45034
|
panelPos: void 0
|
|
@@ -44951,11 +45036,11 @@ function h0() {
|
|
|
44951
45036
|
})()
|
|
44952
45037
|
})), e;
|
|
44953
45038
|
})(), (() => {
|
|
44954
|
-
var e =
|
|
45039
|
+
var e = $1(), t = e.firstChild.nextSibling;
|
|
44955
45040
|
return P(t, j(We, {
|
|
44956
45041
|
each: ["left", "right"],
|
|
44957
45042
|
children: (e) => (() => {
|
|
44958
|
-
var t =
|
|
45043
|
+
var t = c0();
|
|
44959
45044
|
return t.$$click = () => void r({ panelSide: e }), P(t, e === "left" ? "Left" : "Right"), D(() => st(t, `flex-1 rounded-[5px] px-2 py-0.5 text-[11.5px] font-medium transition-colors ${(n().panelSide ?? "right") === e ? "bg-surface-3 text-text" : "text-text-dim hover:text-text cursor-pointer"}`)), t;
|
|
44960
45045
|
})()
|
|
44961
45046
|
})), e;
|
|
@@ -45067,12 +45152,12 @@ function h0() {
|
|
|
45067
45152
|
});
|
|
45068
45153
|
},
|
|
45069
45154
|
get children() {
|
|
45070
|
-
return [
|
|
45155
|
+
return [e0(), j(We, {
|
|
45071
45156
|
get each() {
|
|
45072
45157
|
return O.data ?? [];
|
|
45073
45158
|
},
|
|
45074
45159
|
children: (e) => (() => {
|
|
45075
|
-
var t =
|
|
45160
|
+
var t = _0();
|
|
45076
45161
|
return t.firstChild, P(t, () => e.name, null), D(() => t.selected = e.id === n().slackChannelId), D(() => t.value = e.id), t;
|
|
45077
45162
|
})()
|
|
45078
45163
|
})];
|
|
@@ -45123,10 +45208,10 @@ function h0() {
|
|
|
45123
45208
|
}
|
|
45124
45209
|
}),
|
|
45125
45210
|
(() => {
|
|
45126
|
-
var e =
|
|
45211
|
+
var e = t0(), t = e.firstChild;
|
|
45127
45212
|
return t.addEventListener("change", (e) => void r({ notifyOnCreate: e.currentTarget.checked ? void 0 : !1 })), D(() => t.checked = n().notifyOnCreate !== !1), e;
|
|
45128
45213
|
})(),
|
|
45129
|
-
|
|
45214
|
+
n0()
|
|
45130
45215
|
];
|
|
45131
45216
|
}
|
|
45132
45217
|
}), null), P(e, j(Dj, {
|
|
@@ -45164,7 +45249,7 @@ function h0() {
|
|
|
45164
45249
|
}
|
|
45165
45250
|
}),
|
|
45166
45251
|
(() => {
|
|
45167
|
-
var e =
|
|
45252
|
+
var e = r0(), t = e.firstChild.nextSibling.firstChild, i = t.nextSibling, a = i.nextSibling;
|
|
45168
45253
|
return t.$$click = () => void r({ preferredProvider: void 0 }), i.$$click = () => void r({ preferredProvider: "openai" }), a.$$click = () => void r({ preferredProvider: "anthropic" }), D((e) => {
|
|
45169
45254
|
var r = `flex-1 rounded-[5px] px-2 py-0.5 text-[11.5px] font-medium transition-colors ${n().preferredProvider === void 0 ? "bg-surface-3 text-text" : "text-text-dim hover:text-text cursor-pointer"}`, o = `flex-1 rounded-[5px] px-2 py-0.5 text-[11.5px] font-medium transition-colors disabled:cursor-not-allowed ${n().preferredProvider === "openai" ? "bg-surface-3 text-text" : "text-text-dim hover:text-text cursor-pointer disabled:text-text-faint"}`, s = !n().openaiKey, c = `flex-1 rounded-[5px] px-2 py-0.5 text-[11.5px] font-medium transition-colors disabled:cursor-not-allowed ${n().preferredProvider === "anthropic" ? "bg-surface-3 text-text" : "text-text-dim hover:text-text cursor-pointer disabled:text-text-faint"}`, l = !n().anthropicKey;
|
|
45170
45255
|
return r !== e.e && st(t, e.e = r), o !== e.t && st(i, e.t = o), s !== e.a && (i.disabled = e.a = s), c !== e.o && st(a, e.o = c), l !== e.i && (a.disabled = e.i = l), e;
|
|
@@ -45177,16 +45262,16 @@ function h0() {
|
|
|
45177
45262
|
}), e;
|
|
45178
45263
|
})(),
|
|
45179
45264
|
(() => {
|
|
45180
|
-
var e =
|
|
45265
|
+
var e = a0();
|
|
45181
45266
|
return P(e, j(M, {
|
|
45182
45267
|
get when() {
|
|
45183
45268
|
return te();
|
|
45184
45269
|
},
|
|
45185
45270
|
get fallback() {
|
|
45186
|
-
return
|
|
45271
|
+
return v0();
|
|
45187
45272
|
},
|
|
45188
45273
|
get children() {
|
|
45189
|
-
var e =
|
|
45274
|
+
var e = i0();
|
|
45190
45275
|
return P(e, te), e;
|
|
45191
45276
|
}
|
|
45192
45277
|
})), e;
|
|
@@ -45196,7 +45281,7 @@ function h0() {
|
|
|
45196
45281
|
}), null), P(e, j(Dj, {
|
|
45197
45282
|
title: "How it works",
|
|
45198
45283
|
get children() {
|
|
45199
|
-
return
|
|
45284
|
+
return o0();
|
|
45200
45285
|
}
|
|
45201
45286
|
}), null), e;
|
|
45202
45287
|
})();
|
|
@@ -45204,38 +45289,38 @@ function h0() {
|
|
|
45204
45289
|
rt(["click"]);
|
|
45205
45290
|
//#endregion
|
|
45206
45291
|
//#region src/lib/idbCache.ts
|
|
45207
|
-
var
|
|
45292
|
+
var b0 = "linear-grab", x0 = "queries", S0 = [
|
|
45208
45293
|
"my-issues",
|
|
45209
45294
|
"issue",
|
|
45210
45295
|
"sessions",
|
|
45211
45296
|
"teams",
|
|
45212
45297
|
"agents"
|
|
45213
45298
|
];
|
|
45214
|
-
function
|
|
45299
|
+
function C0() {
|
|
45215
45300
|
return new Promise((e) => {
|
|
45216
45301
|
try {
|
|
45217
|
-
let t = indexedDB.open(
|
|
45218
|
-
t.onupgradeneeded = () => t.result.createObjectStore(
|
|
45302
|
+
let t = indexedDB.open(b0, 1);
|
|
45303
|
+
t.onupgradeneeded = () => t.result.createObjectStore(x0), t.onsuccess = () => e(t.result), t.onerror = () => e(null);
|
|
45219
45304
|
} catch {
|
|
45220
45305
|
e(null);
|
|
45221
45306
|
}
|
|
45222
45307
|
});
|
|
45223
45308
|
}
|
|
45224
|
-
function
|
|
45225
|
-
return typeof e[0] == "string" &&
|
|
45309
|
+
function w0(e) {
|
|
45310
|
+
return typeof e[0] == "string" && S0.includes(e[0]);
|
|
45226
45311
|
}
|
|
45227
|
-
async function
|
|
45228
|
-
let t = await
|
|
45312
|
+
async function T0(e) {
|
|
45313
|
+
let t = await C0();
|
|
45229
45314
|
if (!t) return () => {};
|
|
45230
45315
|
await new Promise((n) => {
|
|
45231
45316
|
try {
|
|
45232
|
-
let r = t.transaction(
|
|
45317
|
+
let r = t.transaction(x0, "readonly").objectStore(x0).openCursor();
|
|
45233
45318
|
r.onsuccess = () => {
|
|
45234
45319
|
let t = r.result;
|
|
45235
45320
|
if (!t) return n();
|
|
45236
45321
|
try {
|
|
45237
45322
|
let { queryKey: n, data: r } = t.value;
|
|
45238
|
-
|
|
45323
|
+
w0(n) && e.getQueryData(n) === void 0 && e.setQueryData(n, r, { updatedAt: 0 });
|
|
45239
45324
|
} catch {}
|
|
45240
45325
|
t.continue();
|
|
45241
45326
|
}, r.onerror = () => n();
|
|
@@ -45246,14 +45331,14 @@ async function x0(e) {
|
|
|
45246
45331
|
let n = /* @__PURE__ */ new Map(), r = e.getQueryCache().subscribe((r) => {
|
|
45247
45332
|
if (r.type !== "updated" || r.action.type !== "success") return;
|
|
45248
45333
|
let { queryKey: i, queryHash: a } = r.query;
|
|
45249
|
-
if (!
|
|
45334
|
+
if (!w0(i)) return;
|
|
45250
45335
|
let o = n.get(a);
|
|
45251
45336
|
o && clearTimeout(o), n.set(a, setTimeout(() => {
|
|
45252
45337
|
n.delete(a);
|
|
45253
45338
|
try {
|
|
45254
45339
|
let n = e.getQueryData(i);
|
|
45255
45340
|
if (n === void 0) return;
|
|
45256
|
-
t.transaction(
|
|
45341
|
+
t.transaction(x0, "readwrite").objectStore(x0).put({
|
|
45257
45342
|
queryKey: i,
|
|
45258
45343
|
data: n
|
|
45259
45344
|
}, a);
|
|
@@ -45269,7 +45354,7 @@ async function x0(e) {
|
|
|
45269
45354
|
//#endregion
|
|
45270
45355
|
//#region src/panel/App.tsx
|
|
45271
45356
|
Rr();
|
|
45272
|
-
var
|
|
45357
|
+
var E0 = /*#__PURE__*/ N("<svg viewBox=\"0 0 100 100\"fill=currentColor aria-hidden><path d=\"M1.22541 61.5228c-.2225-.9485.90748-1.5459 1.59638-.857L39.3342 97.1782c.6889.6889.0915 1.8189-.857 1.5964C20.0515 94.4522 5.54779 79.9485 1.22541 61.5228ZM.00189135 46.8891c-.01764375.2833.08887215.5599.28957165.7606L52.3503 99.7085c.2007.2007.4773.3075.7606.2896 2.3692-.1476 4.6938-.46 6.9624-.9259.7645-.157 1.0301-1.0963.4782-1.6481L2.57595 39.4485c-.55186-.5519-1.49117-.2863-1.648174.4782-.465915 2.2686-.77832 4.5932-.92588465 6.9624ZM4.21093 29.7054c-.16649.3738-.08169.8106.20765 1.1l64.77602 64.776c.2894.2894.7262.3742 1.1.2077 1.7861-.7956 3.5171-1.6927 5.1855-2.684.5521-.328.6373-1.0867.1832-1.5407L8.43566 24.3367c-.45409-.4541-1.21271-.3689-1.54074.1832-.99132 1.6684-1.88843 3.3994-2.68399 5.1855ZM12.6587 18.074c-.3701-.3701-.393-.9637-.0443-1.3541C21.7795 6.45931 35.1114 0 49.9519 0 77.5927 0 100 22.4073 100 50.0481c0 14.8405-6.4593 28.1724-16.7199 37.3375-.3903.3487-.984.3258-1.3541-.0443L12.6587 18.074Z\">"), D0 = /*#__PURE__*/ N("<button><svg width=12 height=12 viewBox=\"0 0 16 16\"fill=none stroke=currentColor stroke-width=1.5 aria-hidden><rect x=1.5 y=2.5 width=13 height=11 rx=1.5></rect><path d=\"M10 2.5v11\">"), O0 = /*#__PURE__*/ N("<button aria-label=\"Minimize to launcher\"title=\"Minimize to launcher\"class=\"text-text-dim hover:text-text hover:bg-surface-3 grid size-6 shrink-0 cursor-pointer place-items-center rounded-md text-[15px] leading-none transition-colors\">–"), k0 = /*#__PURE__*/ N("<div class=\"bg-bg text-text flex h-full flex-col\"><header><span class=\"text-accent mr-0.5 inline-flex shrink-0\"title=\"Linear Grab\"></span><div class=\"no-scrollbar flex min-w-0 flex-1 items-center gap-1 overflow-x-auto\"></div></header><main class=\"min-h-0 flex-1\"><div class=h-full></div><div class=h-full></div><div class=h-full></div><div class=h-full></div><div class=h-full></div><div class=h-full>"), A0 = /*#__PURE__*/ N("<button>"), j0 = [
|
|
45273
45358
|
{
|
|
45274
45359
|
id: "draft",
|
|
45275
45360
|
label: "Draft"
|
|
@@ -45294,14 +45379,14 @@ var S0 = /*#__PURE__*/ N("<svg viewBox=\"0 0 100 100\"fill=currentColor aria-hid
|
|
|
45294
45379
|
id: "settings",
|
|
45295
45380
|
label: "Settings"
|
|
45296
45381
|
}
|
|
45297
|
-
],
|
|
45382
|
+
], M0 = new gr({ defaultOptions: { queries: {
|
|
45298
45383
|
retry: 1,
|
|
45299
45384
|
refetchOnWindowFocus: !1,
|
|
45300
45385
|
staleTime: 5e3
|
|
45301
45386
|
} } });
|
|
45302
|
-
function
|
|
45387
|
+
function N0(e) {
|
|
45303
45388
|
return (() => {
|
|
45304
|
-
var t =
|
|
45389
|
+
var t = E0();
|
|
45305
45390
|
return D((n) => {
|
|
45306
45391
|
var r = e.size ?? 14, i = e.size ?? 14;
|
|
45307
45392
|
return r !== n.e && it(t, "width", n.e = r), i !== n.t && it(t, "height", n.t = i), n;
|
|
@@ -45311,32 +45396,32 @@ function k0(e) {
|
|
|
45311
45396
|
}), t;
|
|
45312
45397
|
})();
|
|
45313
45398
|
}
|
|
45314
|
-
function
|
|
45399
|
+
function P0(e) {
|
|
45315
45400
|
let [t, n] = T("draft"), r = () => {
|
|
45316
|
-
|
|
45401
|
+
M0.invalidateQueries({ queryKey: ["grab"] }), ZA() === "capture" && n("capture"), e.onGrab?.();
|
|
45317
45402
|
};
|
|
45318
45403
|
return O(() => {
|
|
45319
45404
|
let e = GA();
|
|
45320
45405
|
e && n(e);
|
|
45321
45406
|
}), ie(() => {
|
|
45322
|
-
let e =
|
|
45407
|
+
let e = T0(M0), t = IZ(r), n = () => {
|
|
45323
45408
|
RO().then(qQ), FO();
|
|
45324
45409
|
};
|
|
45325
45410
|
n();
|
|
45326
45411
|
let i = Ar((e) => {
|
|
45327
|
-
e === "settings" && (
|
|
45412
|
+
e === "settings" && (M0.invalidateQueries({ queryKey: ["settings"] }), n()), e === "grab" && r();
|
|
45328
45413
|
});
|
|
45329
45414
|
ae(() => {
|
|
45330
45415
|
t(), i(), e.then((e) => e());
|
|
45331
45416
|
});
|
|
45332
45417
|
}), j(cr, {
|
|
45333
|
-
client:
|
|
45418
|
+
client: M0,
|
|
45334
45419
|
get children() {
|
|
45335
|
-
var r =
|
|
45336
|
-
return i.$$pointerdown = (t) => e.onHeaderPointerDown?.(t), P(a, j(
|
|
45337
|
-
each:
|
|
45420
|
+
var r = k0(), i = r.firstChild, a = i.firstChild, o = a.nextSibling, s = i.nextSibling.firstChild, c = s.nextSibling, l = c.nextSibling, u = l.nextSibling, d = u.nextSibling, f = d.nextSibling;
|
|
45421
|
+
return i.$$pointerdown = (t) => e.onHeaderPointerDown?.(t), P(a, j(N0, { size: 14 })), P(o, j(We, {
|
|
45422
|
+
each: j0,
|
|
45338
45423
|
children: (e) => (() => {
|
|
45339
|
-
var r =
|
|
45424
|
+
var r = A0();
|
|
45340
45425
|
return r.$$click = () => n(e.id), P(r, () => e.label), D(() => st(r, `h-6 shrink-0 rounded-md px-2 text-[12px] font-medium whitespace-nowrap transition-colors ${t() === e.id ? "bg-surface-3 text-text" : "text-text-dim hover:text-text cursor-pointer"}`)), r;
|
|
45341
45426
|
})()
|
|
45342
45427
|
})), P(i, j(M, {
|
|
@@ -45344,7 +45429,7 @@ function A0(e) {
|
|
|
45344
45429
|
return e.onTogglePin;
|
|
45345
45430
|
},
|
|
45346
45431
|
get children() {
|
|
45347
|
-
var t =
|
|
45432
|
+
var t = D0();
|
|
45348
45433
|
return t.$$click = () => e.onTogglePin?.(), D((n) => {
|
|
45349
45434
|
var r = e.pinned ? "Switch to overlay" : "Dock beside page", i = e.pinned ? "Overlay the page" : "Dock beside page (squeezes the app, DevTools-style)", a = `hover:bg-surface-3 grid size-6 shrink-0 cursor-pointer place-items-center rounded-md transition-colors ${e.pinned ? "text-accent" : "text-text-dim hover:text-text"}`;
|
|
45350
45435
|
return r !== n.e && it(t, "aria-label", n.e = r), i !== n.t && it(t, "title", n.t = i), a !== n.a && st(t, n.a = a), n;
|
|
@@ -45359,10 +45444,10 @@ function A0(e) {
|
|
|
45359
45444
|
return e.onClose;
|
|
45360
45445
|
},
|
|
45361
45446
|
get children() {
|
|
45362
|
-
var t =
|
|
45447
|
+
var t = O0();
|
|
45363
45448
|
return t.$$click = () => e.onClose?.(), t;
|
|
45364
45449
|
}
|
|
45365
|
-
}), null), P(s, j(dM, { onCreated: () => n("activity") })), P(c, j(oQ, {})), P(l, j(
|
|
45450
|
+
}), null), P(s, j(dM, { onCreated: () => n("activity") })), P(c, j(oQ, {})), P(l, j(I$, {})), P(u, j(T1, {})), P(d, j(R1, { onOpenIssue: () => n("activity") })), P(f, j(y0, {})), D((n) => {
|
|
45366
45451
|
var r = `border-border bg-surface flex shrink-0 items-center gap-1 border-b px-2 py-1.5 select-none ${e.onHeaderPointerDown ? "cursor-grab active:cursor-grabbing" : ""}`, a = t() !== "draft", o = t() !== "capture", p = t() !== "activity", m = t() !== "local", h = t() !== "prs", g = t() !== "settings";
|
|
45367
45452
|
return r !== n.e && st(i, n.e = r), a !== n.t && s.classList.toggle("hidden", n.t = a), o !== n.a && c.classList.toggle("hidden", n.a = o), p !== n.o && l.classList.toggle("hidden", n.o = p), m !== n.i && u.classList.toggle("hidden", n.i = m), h !== n.n && d.classList.toggle("hidden", n.n = h), g !== n.s && f.classList.toggle("hidden", n.s = g), n;
|
|
45368
45453
|
}, {
|
|
@@ -45380,30 +45465,35 @@ function A0(e) {
|
|
|
45380
45465
|
rt(["pointerdown", "click"]);
|
|
45381
45466
|
//#endregion
|
|
45382
45467
|
//#region src/styles/app.css?inline
|
|
45383
|
-
var j0 = "/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-contain-size:initial;--tw-contain-layout:initial;--tw-contain-paint:initial;--tw-contain-style:initial}}}@layer theme{:root,:host{--font-sans:\"Inter\", ui-sans-serif, system-ui, -apple-system, sans-serif;--font-serif:ui-serif, Georgia, Cambria, \"Times New Roman\", Times, serif;--font-mono:ui-monospace, \"SF Mono\", Menlo, monospace;--color-red-500:oklch(63.7% .237 25.331);--color-white:#fff;--spacing:.25rem;--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-wide:.025em;--leading-snug:1.375;--leading-relaxed:1.625;--radius-sm:4px;--radius-md:6px;--radius-lg:10px;--radius-xl:.75rem;--ease-out:cubic-bezier(0, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-bg:#0b0c0e;--color-surface:#141517;--color-surface-2:#1c1d21;--color-surface-3:#24262b;--color-border:#26282d;--color-border-strong:#34363d;--color-text:#e8e9eb;--color-text-dim:#8b8e98;--color-text-faint:#5c5f6a;--color-accent:#5e6ad2;--color-accent-hover:#6e79e0;--color-accent-soft:#5e6ad226;--color-success:#4cb782;--color-warn:#f2c94c;--color-danger:#eb5757;--color-danger-soft:#eb575726}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.visible\\!{visibility:visible!important}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-y-0{inset-block:0}.top-0{top:0}.top-0\\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\\/2{top:50%}.top-\\[2px\\]{top:2px}.top-full{top:100%}.right-0{right:0}.right-0\\.5{right:calc(var(--spacing) * .5)}.right-4{right:calc(var(--spacing) * 4)}.right-full{right:100%}.bottom-0{bottom:0}.bottom-4{bottom:calc(var(--spacing) * 4)}.bottom-\\[2px\\]{bottom:2px}.bottom-full{bottom:100%}.left-0{left:0}.left-1{left:var(--spacing)}.left-1\\/2{left:50%}.left-full{left:100%}.z-1{z-index:1}.z-10{z-index:10}.z-\\[2147483645\\]{z-index:2147483645}.z-\\[2147483646\\]{z-index:2147483646}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.container\\!{width:100%!important}@media (width>=40rem){.container\\!{max-width:40rem!important}}@media (width>=48rem){.container\\!{max-width:48rem!important}}@media (width>=64rem){.container\\!{max-width:64rem!important}}@media (width>=80rem){.container\\!{max-width:80rem!important}}@media (width>=96rem){.container\\!{max-width:96rem!important}}.-m-0{margin:0}.-m-0\\.5{margin:calc(var(--spacing) * -.5)}.-m-4{margin:calc(var(--spacing) * -4)}.m-0{margin:0}.-mx-2{margin-inline:calc(var(--spacing) * -2)}.-my-1{margin-block:calc(var(--spacing) * -1)}.-my-1\\.5{margin-block:calc(var(--spacing) * -1.5)}.mt-0{margin-top:0}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-2\\.5{margin-top:calc(var(--spacing) * 2.5)}.mt-px{margin-top:1px}.mr-0{margin-right:0}.mr-0\\.5{margin-right:calc(var(--spacing) * .5)}.mr-1{margin-right:var(--spacing)}.mr-1\\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-2\\.5{margin-right:calc(var(--spacing) * 2.5)}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.mb-0{margin-bottom:0}.mb-0\\.5{margin-bottom:calc(var(--spacing) * .5)}.mb-1{margin-bottom:var(--spacing)}.mb-1\\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-2\\.5{margin-bottom:calc(var(--spacing) * 2.5)}.ml-1{margin-left:var(--spacing)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-2\\.5{margin-left:calc(var(--spacing) * 2.5)}.ml-4{margin-left:calc(var(--spacing) * 4)}.ml-auto{margin-left:auto}.ml-px{margin-left:1px}.line-clamp-5{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.size-0{width:0;height:0}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-\\[12px\\]{width:12px;height:12px}.size-\\[16px\\]{width:16px;height:16px}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-16{height:calc(var(--spacing) * 16)}.h-\\[8px\\]{height:8px}.h-\\[17px\\]{height:17px}.h-\\[18px\\]{height:18px}.h-\\[20px\\]{height:20px}.h-\\[24px\\]{height:24px}.h-fit{height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-32{max-height:calc(var(--spacing) * 32)}.max-h-40{max-height:calc(var(--spacing) * 40)}.max-h-44{max-height:calc(var(--spacing) * 44)}.max-h-56{max-height:calc(var(--spacing) * 56)}.max-h-64{max-height:calc(var(--spacing) * 64)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-\\[var\\(--rg-edit-list-max-h\\)\\]{max-height:var(--rg-edit-list-max-h)}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-\\[2lh\\]{min-height:2lh}.min-h-\\[28px\\]{min-height:28px}.w-1{width:var(--spacing)}.w-3{width:calc(var(--spacing) * 3)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-16{width:calc(var(--spacing) * 16)}.w-72{width:calc(var(--spacing) * 72)}.w-\\[2px\\]{width:2px}.w-\\[calc\\(100\\%\\+16px\\)\\]{width:calc(100% + 16px)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.max-w-\\[55\\%\\]{max-width:55%}.max-w-\\[100vw\\]{max-width:100vw}.max-w-\\[280px\\]{max-width:280px}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-\\[3\\.5ch\\]{min-width:3.5ch}.min-w-\\[4ch\\]{min-width:4ch}.min-w-\\[5ch\\]{min-width:5ch}.min-w-\\[6ch\\]{min-width:6ch}.min-w-\\[12ch\\]{min-width:12ch}.min-w-\\[36px\\]{min-width:36px}.min-w-\\[52px\\]{min-width:52px}.min-w-\\[68px\\]{min-width:68px}.min-w-\\[100px\\]{min-width:100px}.min-w-\\[150px\\]{min-width:150px}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.-rotate-90{rotate:-90deg}.rotate-0{rotate:0deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-col-resize{cursor:col-resize}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.list-decimal{list-style-type:decimal}.grid-cols-\\[0fr\\]{grid-template-columns:0fr}.grid-cols-\\[1fr\\]{grid-template-columns:1fr}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:0}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-\\[5px\\]{gap:5px}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-clip{overflow:clip}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[1px\\]{border-radius:1px}.rounded-\\[3px\\]{border-radius:3px}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[5px\\]{border-radius:5px}.rounded-\\[6px\\]{border-radius:6px}.rounded-\\[13px\\]{border-radius:13px}.rounded-\\[14px\\]{border-radius:14px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-\\[10px\\]{border-top-left-radius:10px;border-top-right-radius:10px}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-l-\\[10px\\]{border-top-left-radius:10px;border-bottom-left-radius:10px}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-r-\\[10px\\]{border-top-right-radius:10px;border-bottom-right-radius:10px}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-\\[6px\\]{border-bottom-right-radius:6px;border-bottom-left-radius:6px}.rounded-b-\\[10px\\]{border-bottom-right-radius:10px;border-bottom-left-radius:10px}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.\\[border-width\\:0\\.5px\\]{border-width:.5px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-4{border-top-style:var(--tw-border-style);border-top-width:4px}.\\[border-top-width\\:0\\.5px\\]{border-top-width:.5px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[var\\(--rg-border-button\\)\\]{border-color:var(--rg-border-button)}.border-accent{border-color:var(--color-accent)}.border-accent\\/40{border-color:#5e6ad266}@supports (color:color-mix(in lab, red, red)){.border-accent\\/40{border-color:color-mix(in oklab, var(--color-accent) 40%, transparent)}}.border-border{border-color:var(--color-border)}.border-success{border-color:var(--color-success)}.border-success\\/40{border-color:#4cb78266}@supports (color:color-mix(in lab, red, red)){.border-success\\/40{border-color:color-mix(in oklab, var(--color-success) 40%, transparent)}}.border-text-dim{border-color:var(--color-text-dim)}.border-transparent{border-color:#0000}.border-warn{border-color:var(--color-warn)}.border-warn\\/40{border-color:#f2c94c66}@supports (color:color-mix(in lab, red, red)){.border-warn\\/40{border-color:color-mix(in oklab, var(--color-warn) 40%, transparent)}}.border-t-\\[var\\(--rg-border-subtle\\)\\]{border-top-color:var(--rg-border-subtle)}.border-t-transparent{border-top-color:#0000}.bg-\\[var\\(--rg-error-bg\\)\\]{background-color:var(--rg-error-bg)}.bg-\\[var\\(--rg-panel-bg\\)\\]{background-color:var(--rg-panel-bg)}.bg-\\[var\\(--rg-submit-bg\\)\\]{background-color:var(--rg-submit-bg)}.bg-\\[var\\(--rg-surface-active\\)\\]{background-color:var(--rg-surface-active)}.bg-\\[var\\(--rg-surface-hover\\)\\]{background-color:var(--rg-surface-hover)}.bg-\\[var\\(--rg-text-primary\\)\\]{background-color:var(--rg-text-primary)}.bg-\\[var\\(--rg-text-secondary\\)\\]{background-color:var(--rg-text-secondary)}.bg-accent{background-color:var(--color-accent)}.bg-accent-soft{background-color:var(--color-accent-soft)}.bg-bg{background-color:var(--color-bg)}.bg-bg\\/80{background-color:#0b0c0ecc}@supports (color:color-mix(in lab, red, red)){.bg-bg\\/80{background-color:color-mix(in oklab, var(--color-bg) 80%, transparent)}}.bg-border{background-color:var(--color-border)}.bg-current{background-color:currentColor}.bg-danger{background-color:var(--color-danger)}.bg-danger-soft{background-color:var(--color-danger-soft)}.bg-red-500{background-color:var(--color-red-500)}.bg-success{background-color:var(--color-success)}.bg-surface{background-color:var(--color-surface)}.bg-surface-2{background-color:var(--color-surface-2)}.bg-surface-3{background-color:var(--color-surface-3)}.bg-text-faint{background-color:var(--color-text-faint)}.bg-transparent{background-color:#0000}.bg-warn{background-color:var(--color-warn)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:var(--spacing)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-6{padding:calc(var(--spacing) * 6)}.px-0{padding-inline:0}.px-0\\.25{padding-inline:calc(var(--spacing) * .25)}.px-1{padding-inline:var(--spacing)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-\\[3px\\]{padding-inline:3px}.py-0{padding-block:0}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-0\\.25{padding-block:calc(var(--spacing) * .25)}.py-1{padding-block:var(--spacing)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-10{padding-block:calc(var(--spacing) * 10)}.py-px{padding-block:1px}.pt-0{padding-top:0}.pt-0\\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-1{padding-right:var(--spacing)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pb-1{padding-bottom:var(--spacing)}.pb-1\\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-2\\.5{padding-left:calc(var(--spacing) * 2.5)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-end{text-align:end}.text-justify{text-align:justify}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.font-serif{font-family:var(--font-serif)}.text-\\[9\\.5px\\]{font-size:9.5px}.text-\\[9px\\]{font-size:9px}.text-\\[10\\.5px\\]{font-size:10.5px}.text-\\[10px\\]{font-size:10px}.text-\\[11\\.5px\\]{font-size:11.5px}.text-\\[11px\\]{font-size:11px}.text-\\[12\\.5px\\]{font-size:12.5px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[15px\\]{font-size:15px}.leading-3{--tw-leading:calc(var(--spacing) * 3);line-height:calc(var(--spacing) * 3)}.leading-3\\.5{--tw-leading:calc(var(--spacing) * 3.5);line-height:calc(var(--spacing) * 3.5)}.leading-4{--tw-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-extralight{--tw-font-weight:var(--font-weight-extralight);font-weight:var(--font-weight-extralight)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.font-thin{--tw-font-weight:var(--font-weight-thin);font-weight:var(--font-weight-thin)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.break-normal{overflow-wrap:normal;word-break:normal}.break-words,.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.break-keep{word-break:keep-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-break-spaces{white-space:break-spaces}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[var\\(--rg-error-text\\)\\]{color:var(--rg-error-text)}.text-\\[var\\(--rg-submit-fg\\)\\]{color:var(--rg-submit-fg)}.text-\\[var\\(--rg-text-primary\\)\\]{color:var(--rg-text-primary)}.text-\\[var\\(--rg-text-primary-85\\)\\]{color:var(--rg-text-primary-85)}.text-\\[var\\(--rg-text-secondary\\)\\]{color:var(--rg-text-secondary)}.text-accent{color:var(--color-accent)}.text-danger{color:var(--color-danger)}.text-success{color:var(--color-success)}.text-text{color:var(--color-text)}.text-text-dim{color:var(--color-text-dim)}.text-text-faint{color:var(--color-text-faint)}.text-warn{color:var(--color-warn)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.accent-accent{accent-color:var(--color-accent)}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.\\[box-shadow\\:var\\(--rg-shadow\\)\\]{box-shadow:var(--rg-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.\\[filter\\:var\\(--rg-drop-shadow\\)\\]{filter:var(--rg-drop-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-columns\\]{transition-property:grid-template-columns;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[opacity\\,transform\\]{transition-property:opacity,transform;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[padding\\,border-radius\\,transform\\]{transition-property:padding,border-radius,transform;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[top\\,left\\,width\\,height\\,opacity\\,border-radius\\]{transition-property:top,left,width,height,opacity,border-radius;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[transform\\,color\\]{transition-property:transform,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[transform\\,opacity\\]{transition-property:transform,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.delay-\\[80ms\\]{transition-delay:80ms}.duration-60{--tw-duration:60ms;transition-duration:60ms}.duration-75{--tw-duration:75ms;transition-duration:75ms}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-120{--tw-duration:.12s;transition-duration:.12s}.duration-140{--tw-duration:.14s;transition-duration:.14s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-180{--tw-duration:.18s;transition-duration:.18s}.duration-220{--tw-duration:.22s;transition-duration:.22s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-400{--tw-duration:.4s;transition-duration:.4s}.ease-\\[cubic-bezier\\(0\\,0\\,0\\.2\\,1\\)\\]{--tw-ease:cubic-bezier(0,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.will-change-\\[opacity\\,transform\\]{will-change:opacity,transform}.will-change-transform{will-change:transform}.contain-layout{--tw-contain-layout:layout;contain:var(--tw-contain-size,) var(--tw-contain-layout,) var(--tw-contain-paint,) var(--tw-contain-style,)}.outline-none{--tw-outline-style:none;outline-style:none}.select-all{-webkit-user-select:all;user-select:all}.select-none{-webkit-user-select:none;user-select:none}.\\[corner-shape\\:superellipse\\(1\\.25\\)\\]{corner-shape:superellipse(1.25)}.\\[font-synthesis\\:none\\]{font-synthesis:none}.group-open\\:rotate-90:is(:where(.group):is([open],:popover-open,:open) *){rotate:90deg}@media (hover:hover){.group-hover\\:text-\\[var\\(--rg-text-primary\\)\\]:is(:where(.group):hover *){color:var(--rg-text-primary)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.placeholder\\:text-text-faint::placeholder{color:var(--color-text-faint)}@media (hover:hover){.hover\\:bg-\\[var\\(--rg-error-bg-hover\\)\\]:hover{background-color:var(--rg-error-bg-hover)}.hover\\:bg-\\[var\\(--rg-surface-active\\)\\]:hover{background-color:var(--rg-surface-active)}.hover\\:bg-\\[var\\(--rg-surface-hover\\)\\]:hover{background-color:var(--rg-surface-hover)}.hover\\:bg-accent-hover:hover{background-color:var(--color-accent-hover)}.hover\\:bg-accent\\/50:hover{background-color:#5e6ad280}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/50:hover{background-color:color-mix(in oklab, var(--color-accent) 50%, transparent)}}.hover\\:bg-danger\\/30:hover{background-color:#eb57574d}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-danger\\/30:hover{background-color:color-mix(in oklab, var(--color-danger) 30%, transparent)}}.hover\\:bg-surface-2:hover{background-color:var(--color-surface-2)}.hover\\:bg-surface-3:hover{background-color:var(--color-surface-3)}.hover\\:text-\\[var\\(--rg-text-primary\\)\\]:hover{color:var(--rg-text-primary)}.hover\\:text-danger:hover{color:var(--color-danger)}.hover\\:text-text:hover{color:var(--color-text)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-80:hover{opacity:.8}}.focus\\:border-accent:focus{border-color:var(--color-accent)}.active\\:cursor-grabbing:active{cursor:grabbing}.active\\:bg-accent:active{background-color:var(--color-accent)}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-surface-3:disabled{background-color:var(--color-surface-3)}.disabled\\:text-text-faint:disabled{color:var(--color-text-faint)}.disabled\\:opacity-40:disabled{opacity:.4}@media (hover:hover){.disabled\\:hover\\:bg-surface-2:disabled:hover{background-color:var(--color-surface-2)}}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-theme=light],:host([data-theme=light]){--color-bg:#fbfbfc;--color-surface:#fff;--color-surface-2:#f4f4f6;--color-surface-3:#e9e9ee;--color-border:#e2e2e8;--color-border-strong:#cfcfd8;--color-text:#1b1c20;--color-text-dim:#5c5f6a;--color-text-faint:#9a9da8;--color-accent-soft:#5e6ad21f;--color-danger-soft:#eb57571a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:light){:root:not([data-theme=dark]){--color-bg:#fbfbfc;--color-surface:#fff;--color-surface-2:#f4f4f6;--color-surface-3:#e9e9ee;--color-border:#e2e2e8;--color-border-strong:#cfcfd8;--color-text:#1b1c20;--color-text-dim:#5c5f6a;--color-text-faint:#9a9da8;--color-accent-soft:#5e6ad21f;--color-danger-soft:#eb57571a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}body{background-color:var(--color-bg);font-family:var(--font-sans);color:var(--color-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-width:320px;margin:0;font-size:13px}@keyframes geist-spinner-fade{0%{opacity:1}to{opacity:.15}}[data-tip]{position:relative}[data-tip]:hover:after{content:attr(data-tip);color:#fff;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;z-index:60;background:#1b1c20;border-radius:6px;max-width:260px;padding:3px 8px;font-size:10.5px;font-weight:500;line-height:1.35;position:absolute;bottom:calc(100% + 6px);left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 4px 12px #0000004d}.no-scrollbar{scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}.lg-md p{margin:0 0 6px}.lg-md p:last-child{margin-bottom:0}.lg-md a{color:var(--color-accent);word-break:break-all;text-decoration:none}.lg-md a:hover{text-decoration:underline}.lg-md code{background:var(--color-surface-2);border:1px solid var(--color-border);font-family:var(--font-mono);border-radius:4px;padding:0 4px;font-size:11px}.lg-md pre{background:var(--color-surface-2);border:1px solid var(--color-border);border-radius:6px;margin:6px 0;padding:8px;overflow-x:auto}.lg-md pre code{white-space:pre;background:0 0;border:none;padding:0;font-size:11px}.lg-md ul,.lg-md ol{flex-direction:column;gap:2px;margin:4px 0 6px;padding-left:18px;display:flex}.lg-md ul{list-style:outside}.lg-md ol{list-style:decimal}.lg-md h4{margin:8px 0 4px;font-size:12px;font-weight:600}.lg-md lg-media{display:block}.lg-md lg-media img,.lg-md lg-media video{border:1px solid var(--color-border);border-radius:6px;max-width:100%;margin:4px 0}.lg-md video{border:1px solid var(--color-border);background:#000;border-radius:6px;max-width:100%;margin:4px 0}.lg-md img{border:1px solid var(--color-border);border-radius:6px;max-width:100%;margin:4px 0}.lg-md strong{font-weight:600}*{scrollbar-width:thin;scrollbar-color:var(--color-border-strong) transparent}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:var(--color-border-strong);border-radius:4px}::-webkit-scrollbar-track{background:0 0}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@property --tw-contain-size{syntax:\"*\";inherits:false}@property --tw-contain-layout{syntax:\"*\";inherits:false}@property --tw-contain-paint{syntax:\"*\";inherits:false}@property --tw-contain-style{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}";
|
|
45468
|
+
var F0 = "/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-contain-size:initial;--tw-contain-layout:initial;--tw-contain-paint:initial;--tw-contain-style:initial}}}@layer theme{:root,:host{--font-sans:\"Inter\", ui-sans-serif, system-ui, -apple-system, sans-serif;--font-serif:ui-serif, Georgia, Cambria, \"Times New Roman\", Times, serif;--font-mono:ui-monospace, \"SF Mono\", Menlo, monospace;--color-red-500:oklch(63.7% .237 25.331);--color-white:#fff;--spacing:.25rem;--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-wide:.025em;--leading-snug:1.375;--leading-relaxed:1.625;--radius-sm:4px;--radius-md:6px;--radius-lg:10px;--radius-xl:.75rem;--ease-out:cubic-bezier(0, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-bg:#0b0c0e;--color-surface:#141517;--color-surface-2:#1c1d21;--color-surface-3:#24262b;--color-border:#26282d;--color-border-strong:#34363d;--color-text:#e8e9eb;--color-text-dim:#8b8e98;--color-text-faint:#5c5f6a;--color-accent:#5e6ad2;--color-accent-hover:#6e79e0;--color-accent-soft:#5e6ad226;--color-success:#4cb782;--color-warn:#f2c94c;--color-danger:#eb5757;--color-danger-soft:#eb575726}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.visible\\!{visibility:visible!important}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-y-0{inset-block:0}.top-0{top:0}.top-0\\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\\/2{top:50%}.top-\\[2px\\]{top:2px}.top-full{top:100%}.right-0{right:0}.right-0\\.5{right:calc(var(--spacing) * .5)}.right-4{right:calc(var(--spacing) * 4)}.right-full{right:100%}.bottom-0{bottom:0}.bottom-4{bottom:calc(var(--spacing) * 4)}.bottom-\\[2px\\]{bottom:2px}.bottom-full{bottom:100%}.left-0{left:0}.left-1{left:var(--spacing)}.left-1\\/2{left:50%}.left-full{left:100%}.z-1{z-index:1}.z-10{z-index:10}.z-\\[2147483645\\]{z-index:2147483645}.z-\\[2147483646\\]{z-index:2147483646}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.container\\!{width:100%!important}@media (width>=40rem){.container\\!{max-width:40rem!important}}@media (width>=48rem){.container\\!{max-width:48rem!important}}@media (width>=64rem){.container\\!{max-width:64rem!important}}@media (width>=80rem){.container\\!{max-width:80rem!important}}@media (width>=96rem){.container\\!{max-width:96rem!important}}.-m-0{margin:0}.-m-0\\.5{margin:calc(var(--spacing) * -.5)}.-m-4{margin:calc(var(--spacing) * -4)}.m-0{margin:0}.-mx-2{margin-inline:calc(var(--spacing) * -2)}.-my-1{margin-block:calc(var(--spacing) * -1)}.-my-1\\.5{margin-block:calc(var(--spacing) * -1.5)}.mt-0{margin-top:0}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-2\\.5{margin-top:calc(var(--spacing) * 2.5)}.mt-px{margin-top:1px}.mr-0{margin-right:0}.mr-0\\.5{margin-right:calc(var(--spacing) * .5)}.mr-1{margin-right:var(--spacing)}.mr-1\\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-2\\.5{margin-right:calc(var(--spacing) * 2.5)}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.mb-0{margin-bottom:0}.mb-0\\.5{margin-bottom:calc(var(--spacing) * .5)}.mb-1{margin-bottom:var(--spacing)}.mb-1\\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-2\\.5{margin-bottom:calc(var(--spacing) * 2.5)}.ml-1{margin-left:var(--spacing)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-2\\.5{margin-left:calc(var(--spacing) * 2.5)}.ml-4{margin-left:calc(var(--spacing) * 4)}.ml-auto{margin-left:auto}.ml-px{margin-left:1px}.line-clamp-5{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.size-0{width:0;height:0}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-\\[12px\\]{width:12px;height:12px}.size-\\[16px\\]{width:16px;height:16px}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-16{height:calc(var(--spacing) * 16)}.h-\\[8px\\]{height:8px}.h-\\[17px\\]{height:17px}.h-\\[18px\\]{height:18px}.h-\\[20px\\]{height:20px}.h-\\[24px\\]{height:24px}.h-fit{height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-32{max-height:calc(var(--spacing) * 32)}.max-h-40{max-height:calc(var(--spacing) * 40)}.max-h-44{max-height:calc(var(--spacing) * 44)}.max-h-56{max-height:calc(var(--spacing) * 56)}.max-h-64{max-height:calc(var(--spacing) * 64)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-\\[var\\(--rg-edit-list-max-h\\)\\]{max-height:var(--rg-edit-list-max-h)}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-\\[2lh\\]{min-height:2lh}.min-h-\\[28px\\]{min-height:28px}.w-1{width:var(--spacing)}.w-3{width:calc(var(--spacing) * 3)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-16{width:calc(var(--spacing) * 16)}.w-72{width:calc(var(--spacing) * 72)}.w-\\[2px\\]{width:2px}.w-\\[calc\\(100\\%\\+16px\\)\\]{width:calc(100% + 16px)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.max-w-\\[40\\%\\]{max-width:40%}.max-w-\\[55\\%\\]{max-width:55%}.max-w-\\[100vw\\]{max-width:100vw}.max-w-\\[280px\\]{max-width:280px}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-\\[3\\.5ch\\]{min-width:3.5ch}.min-w-\\[4ch\\]{min-width:4ch}.min-w-\\[5ch\\]{min-width:5ch}.min-w-\\[6ch\\]{min-width:6ch}.min-w-\\[12ch\\]{min-width:12ch}.min-w-\\[36px\\]{min-width:36px}.min-w-\\[52px\\]{min-width:52px}.min-w-\\[68px\\]{min-width:68px}.min-w-\\[100px\\]{min-width:100px}.min-w-\\[150px\\]{min-width:150px}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.-rotate-90{rotate:-90deg}.rotate-0{rotate:0deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-col-resize{cursor:col-resize}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.list-decimal{list-style-type:decimal}.grid-cols-\\[0fr\\]{grid-template-columns:0fr}.grid-cols-\\[1fr\\]{grid-template-columns:1fr}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:0}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-\\[5px\\]{gap:5px}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-clip{overflow:clip}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[1px\\]{border-radius:1px}.rounded-\\[3px\\]{border-radius:3px}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[5px\\]{border-radius:5px}.rounded-\\[6px\\]{border-radius:6px}.rounded-\\[13px\\]{border-radius:13px}.rounded-\\[14px\\]{border-radius:14px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-\\[10px\\]{border-top-left-radius:10px;border-top-right-radius:10px}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-l-\\[10px\\]{border-top-left-radius:10px;border-bottom-left-radius:10px}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-r-\\[10px\\]{border-top-right-radius:10px;border-bottom-right-radius:10px}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-\\[6px\\]{border-bottom-right-radius:6px;border-bottom-left-radius:6px}.rounded-b-\\[10px\\]{border-bottom-right-radius:10px;border-bottom-left-radius:10px}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.\\[border-width\\:0\\.5px\\]{border-width:.5px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-4{border-top-style:var(--tw-border-style);border-top-width:4px}.\\[border-top-width\\:0\\.5px\\]{border-top-width:.5px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[var\\(--rg-border-button\\)\\]{border-color:var(--rg-border-button)}.border-accent{border-color:var(--color-accent)}.border-accent\\/40{border-color:#5e6ad266}@supports (color:color-mix(in lab, red, red)){.border-accent\\/40{border-color:color-mix(in oklab, var(--color-accent) 40%, transparent)}}.border-border{border-color:var(--color-border)}.border-success{border-color:var(--color-success)}.border-success\\/40{border-color:#4cb78266}@supports (color:color-mix(in lab, red, red)){.border-success\\/40{border-color:color-mix(in oklab, var(--color-success) 40%, transparent)}}.border-text-dim{border-color:var(--color-text-dim)}.border-transparent{border-color:#0000}.border-warn{border-color:var(--color-warn)}.border-warn\\/40{border-color:#f2c94c66}@supports (color:color-mix(in lab, red, red)){.border-warn\\/40{border-color:color-mix(in oklab, var(--color-warn) 40%, transparent)}}.border-t-\\[var\\(--rg-border-subtle\\)\\]{border-top-color:var(--rg-border-subtle)}.border-t-transparent{border-top-color:#0000}.bg-\\[var\\(--rg-error-bg\\)\\]{background-color:var(--rg-error-bg)}.bg-\\[var\\(--rg-panel-bg\\)\\]{background-color:var(--rg-panel-bg)}.bg-\\[var\\(--rg-submit-bg\\)\\]{background-color:var(--rg-submit-bg)}.bg-\\[var\\(--rg-surface-active\\)\\]{background-color:var(--rg-surface-active)}.bg-\\[var\\(--rg-surface-hover\\)\\]{background-color:var(--rg-surface-hover)}.bg-\\[var\\(--rg-text-primary\\)\\]{background-color:var(--rg-text-primary)}.bg-\\[var\\(--rg-text-secondary\\)\\]{background-color:var(--rg-text-secondary)}.bg-accent{background-color:var(--color-accent)}.bg-accent-soft{background-color:var(--color-accent-soft)}.bg-bg{background-color:var(--color-bg)}.bg-bg\\/80{background-color:#0b0c0ecc}@supports (color:color-mix(in lab, red, red)){.bg-bg\\/80{background-color:color-mix(in oklab, var(--color-bg) 80%, transparent)}}.bg-border{background-color:var(--color-border)}.bg-current{background-color:currentColor}.bg-danger{background-color:var(--color-danger)}.bg-danger-soft{background-color:var(--color-danger-soft)}.bg-red-500{background-color:var(--color-red-500)}.bg-success{background-color:var(--color-success)}.bg-surface{background-color:var(--color-surface)}.bg-surface-2{background-color:var(--color-surface-2)}.bg-surface-3{background-color:var(--color-surface-3)}.bg-text-faint{background-color:var(--color-text-faint)}.bg-transparent{background-color:#0000}.bg-warn{background-color:var(--color-warn)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:var(--spacing)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-6{padding:calc(var(--spacing) * 6)}.px-0{padding-inline:0}.px-0\\.25{padding-inline:calc(var(--spacing) * .25)}.px-1{padding-inline:var(--spacing)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-\\[3px\\]{padding-inline:3px}.py-0{padding-block:0}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-0\\.25{padding-block:calc(var(--spacing) * .25)}.py-1{padding-block:var(--spacing)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-10{padding-block:calc(var(--spacing) * 10)}.py-px{padding-block:1px}.pt-0{padding-top:0}.pt-0\\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-1{padding-right:var(--spacing)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pb-1{padding-bottom:var(--spacing)}.pb-1\\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-2\\.5{padding-left:calc(var(--spacing) * 2.5)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-end{text-align:end}.text-justify{text-align:justify}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.font-serif{font-family:var(--font-serif)}.text-\\[9\\.5px\\]{font-size:9.5px}.text-\\[9px\\]{font-size:9px}.text-\\[10\\.5px\\]{font-size:10.5px}.text-\\[10px\\]{font-size:10px}.text-\\[11\\.5px\\]{font-size:11.5px}.text-\\[11px\\]{font-size:11px}.text-\\[12\\.5px\\]{font-size:12.5px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[15px\\]{font-size:15px}.leading-3{--tw-leading:calc(var(--spacing) * 3);line-height:calc(var(--spacing) * 3)}.leading-3\\.5{--tw-leading:calc(var(--spacing) * 3.5);line-height:calc(var(--spacing) * 3.5)}.leading-4{--tw-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-extralight{--tw-font-weight:var(--font-weight-extralight);font-weight:var(--font-weight-extralight)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.font-thin{--tw-font-weight:var(--font-weight-thin);font-weight:var(--font-weight-thin)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.break-normal{overflow-wrap:normal;word-break:normal}.break-words,.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.break-keep{word-break:keep-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-break-spaces{white-space:break-spaces}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[var\\(--rg-error-text\\)\\]{color:var(--rg-error-text)}.text-\\[var\\(--rg-submit-fg\\)\\]{color:var(--rg-submit-fg)}.text-\\[var\\(--rg-text-primary\\)\\]{color:var(--rg-text-primary)}.text-\\[var\\(--rg-text-primary-85\\)\\]{color:var(--rg-text-primary-85)}.text-\\[var\\(--rg-text-secondary\\)\\]{color:var(--rg-text-secondary)}.text-accent{color:var(--color-accent)}.text-danger{color:var(--color-danger)}.text-success{color:var(--color-success)}.text-text{color:var(--color-text)}.text-text-dim{color:var(--color-text-dim)}.text-text-faint{color:var(--color-text-faint)}.text-warn{color:var(--color-warn)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.accent-accent{accent-color:var(--color-accent)}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.\\[box-shadow\\:var\\(--rg-shadow\\)\\]{box-shadow:var(--rg-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.\\[filter\\:var\\(--rg-drop-shadow\\)\\]{filter:var(--rg-drop-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-columns\\]{transition-property:grid-template-columns;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[opacity\\,transform\\]{transition-property:opacity,transform;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[padding\\,border-radius\\,transform\\]{transition-property:padding,border-radius,transform;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[top\\,left\\,width\\,height\\,opacity\\,border-radius\\]{transition-property:top,left,width,height,opacity,border-radius;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[transform\\,color\\]{transition-property:transform,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[transform\\,opacity\\]{transition-property:transform,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.delay-\\[80ms\\]{transition-delay:80ms}.duration-60{--tw-duration:60ms;transition-duration:60ms}.duration-75{--tw-duration:75ms;transition-duration:75ms}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-120{--tw-duration:.12s;transition-duration:.12s}.duration-140{--tw-duration:.14s;transition-duration:.14s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-180{--tw-duration:.18s;transition-duration:.18s}.duration-220{--tw-duration:.22s;transition-duration:.22s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-400{--tw-duration:.4s;transition-duration:.4s}.ease-\\[cubic-bezier\\(0\\,0\\,0\\.2\\,1\\)\\]{--tw-ease:cubic-bezier(0,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.will-change-\\[opacity\\,transform\\]{will-change:opacity,transform}.will-change-transform{will-change:transform}.contain-layout{--tw-contain-layout:layout;contain:var(--tw-contain-size,) var(--tw-contain-layout,) var(--tw-contain-paint,) var(--tw-contain-style,)}.outline-none{--tw-outline-style:none;outline-style:none}.select-all{-webkit-user-select:all;user-select:all}.select-none{-webkit-user-select:none;user-select:none}.\\[corner-shape\\:superellipse\\(1\\.25\\)\\]{corner-shape:superellipse(1.25)}.\\[font-synthesis\\:none\\]{font-synthesis:none}.group-open\\:rotate-90:is(:where(.group):is([open],:popover-open,:open) *){rotate:90deg}@media (hover:hover){.group-hover\\:text-\\[var\\(--rg-text-primary\\)\\]:is(:where(.group):hover *){color:var(--rg-text-primary)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.placeholder\\:text-text-faint::placeholder{color:var(--color-text-faint)}@media (hover:hover){.hover\\:bg-\\[var\\(--rg-error-bg-hover\\)\\]:hover{background-color:var(--rg-error-bg-hover)}.hover\\:bg-\\[var\\(--rg-surface-active\\)\\]:hover{background-color:var(--rg-surface-active)}.hover\\:bg-\\[var\\(--rg-surface-hover\\)\\]:hover{background-color:var(--rg-surface-hover)}.hover\\:bg-accent-hover:hover{background-color:var(--color-accent-hover)}.hover\\:bg-accent\\/50:hover{background-color:#5e6ad280}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/50:hover{background-color:color-mix(in oklab, var(--color-accent) 50%, transparent)}}.hover\\:bg-danger\\/30:hover{background-color:#eb57574d}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-danger\\/30:hover{background-color:color-mix(in oklab, var(--color-danger) 30%, transparent)}}.hover\\:bg-surface-2:hover{background-color:var(--color-surface-2)}.hover\\:bg-surface-3:hover{background-color:var(--color-surface-3)}.hover\\:text-\\[var\\(--rg-text-primary\\)\\]:hover{color:var(--rg-text-primary)}.hover\\:text-danger:hover{color:var(--color-danger)}.hover\\:text-text:hover{color:var(--color-text)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-80:hover{opacity:.8}}.focus\\:border-accent:focus{border-color:var(--color-accent)}.active\\:cursor-grabbing:active{cursor:grabbing}.active\\:bg-accent:active{background-color:var(--color-accent)}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-surface-3:disabled{background-color:var(--color-surface-3)}.disabled\\:text-text-faint:disabled{color:var(--color-text-faint)}.disabled\\:opacity-40:disabled{opacity:.4}@media (hover:hover){.disabled\\:hover\\:bg-surface-2:disabled:hover{background-color:var(--color-surface-2)}}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-theme=light],:host([data-theme=light]){--color-bg:#fbfbfc;--color-surface:#fff;--color-surface-2:#f4f4f6;--color-surface-3:#e9e9ee;--color-border:#e2e2e8;--color-border-strong:#cfcfd8;--color-text:#1b1c20;--color-text-dim:#5c5f6a;--color-text-faint:#9a9da8;--color-accent-soft:#5e6ad21f;--color-danger-soft:#eb57571a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:light){:root:not([data-theme=dark]){--color-bg:#fbfbfc;--color-surface:#fff;--color-surface-2:#f4f4f6;--color-surface-3:#e9e9ee;--color-border:#e2e2e8;--color-border-strong:#cfcfd8;--color-text:#1b1c20;--color-text-dim:#5c5f6a;--color-text-faint:#9a9da8;--color-accent-soft:#5e6ad21f;--color-danger-soft:#eb57571a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}body{background-color:var(--color-bg);font-family:var(--font-sans);color:var(--color-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-width:320px;margin:0;font-size:13px}@keyframes geist-spinner-fade{0%{opacity:1}to{opacity:.15}}[data-tip]{position:relative}[data-tip]:hover:after{content:attr(data-tip);color:#fff;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;z-index:60;background:#1b1c20;border-radius:6px;max-width:260px;padding:3px 8px;font-size:10.5px;font-weight:500;line-height:1.35;position:absolute;bottom:calc(100% + 6px);left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 4px 12px #0000004d}.no-scrollbar{scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}.lg-md p{margin:0 0 6px}.lg-md p:last-child{margin-bottom:0}.lg-md a{color:var(--color-accent);word-break:break-all;text-decoration:none}.lg-md a:hover{text-decoration:underline}.lg-md code{background:var(--color-surface-2);border:1px solid var(--color-border);font-family:var(--font-mono);border-radius:4px;padding:0 4px;font-size:11px}.lg-md pre{background:var(--color-surface-2);border:1px solid var(--color-border);border-radius:6px;margin:6px 0;padding:8px;overflow-x:auto}.lg-md pre code{white-space:pre;background:0 0;border:none;padding:0;font-size:11px}.lg-md ul,.lg-md ol{flex-direction:column;gap:2px;margin:4px 0 6px;padding-left:18px;display:flex}.lg-md ul{list-style:outside}.lg-md ol{list-style:decimal}.lg-md h4{margin:8px 0 4px;font-size:12px;font-weight:600}.lg-md lg-media{display:block}.lg-md lg-media img,.lg-md lg-media video{border:1px solid var(--color-border);border-radius:6px;max-width:100%;margin:4px 0}.lg-md video{border:1px solid var(--color-border);background:#000;border-radius:6px;max-width:100%;margin:4px 0}.lg-md img{border:1px solid var(--color-border);border-radius:6px;max-width:100%;margin:4px 0}.lg-md strong{font-weight:600}*{scrollbar-width:thin;scrollbar-color:var(--color-border-strong) transparent}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:var(--color-border-strong);border-radius:4px}::-webkit-scrollbar-track{background:0 0}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@property --tw-contain-size{syntax:\"*\";inherits:false}@property --tw-contain-layout{syntax:\"*\";inherits:false}@property --tw-contain-paint{syntax:\"*\";inherits:false}@property --tw-contain-style{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}";
|
|
45384
45469
|
//#endregion
|
|
45385
45470
|
//#region src/page/index.tsx
|
|
45386
45471
|
Rr();
|
|
45387
|
-
var
|
|
45388
|
-
function
|
|
45472
|
+
var I0 = /*#__PURE__*/ N("<span aria-hidden class=\"bg-danger size-2 shrink-0 animate-pulse rounded-full\">"), L0 = /*#__PURE__*/ N("<span class=\"text-text min-w-[5ch] text-[11px] font-medium tabular-nums\">"), R0 = /*#__PURE__*/ N("<button class=\"bg-accent hover:bg-accent-hover h-7 cursor-pointer rounded-full px-2.5 text-[11px] font-medium text-white transition-colors\"><span class=\"inline-block min-w-[4ch] text-center\">Stop"), z0 = /*#__PURE__*/ N("<p class=\"text-warn px-1.5 pt-1 pb-1.5 text-[10.5px] font-semibold tracking-wide uppercase\">Needs review"), B0 = /*#__PURE__*/ N("<div><p class=\"text-text-dim px-1.5 pt-1 pb-1.5 text-[10.5px] font-semibold tracking-wide uppercase\">Running agents"), V0 = /*#__PURE__*/ N("<div class=\"fixed z-[2147483646] select-none\"><div class=\"bg-surface border-border text-text flex h-9 cursor-grab items-center gap-1 rounded-full border py-1 pr-1 pl-2.5 font-sans shadow-lg active:cursor-grabbing\">"), H0 = /*#__PURE__*/ N("<div><div title=\"Drag to resize\">"), U0 = /*#__PURE__*/ N("<button title=\"Open Linear Grab\"aria-label=\"Open Linear Grab\"class=\"text-accent hover:opacity-80 inline-flex cursor-pointer items-center gap-1.5\">"), W0 = /*#__PURE__*/ N("<span class=\"bg-border h-4 w-px\"aria-hidden>"), G0 = /*#__PURE__*/ N("<span aria-hidden class=\"bg-warn size-2 rounded-full\">"), K0 = /*#__PURE__*/ N("<span class=\"text-warn min-w-[3.5ch] text-left text-[11px] font-medium tabular-nums\"> rev"), q0 = /*#__PURE__*/ N("<button title=\"Running agents\"aria-label=\"Running agents\"class=\"hover:bg-surface-2 flex h-7 cursor-pointer items-center gap-1.5 rounded-full px-2 transition-colors\"><span aria-hidden></span><span>"), J0 = /*#__PURE__*/ N("<p class=\"text-text-faint px-1.5 pb-1.5 text-[11.5px]\">No agents running right now."), Y0 = /*#__PURE__*/ N("<button class=\"hover:bg-surface-2 flex w-full cursor-pointer flex-col gap-0.5 rounded-md px-1.5 py-1.5 text-left transition-colors\"><span class=\"flex min-w-0 items-center gap-1.5\"><span aria-hidden class=\"size-1.5 shrink-0 rounded-full\"></span><span class=\"font-mono text-text-dim shrink-0 text-[10.5px]\"></span><span class=\"text-text truncate text-[11.5px]\"></span></span><span class=\"text-text-faint pl-3 text-[10.5px] tabular-nums\"> · <!> · ");
|
|
45473
|
+
function X0(e = {}) {
|
|
45389
45474
|
if (typeof window > "u" || window.__LINEAR_GRAB_PAGE__) return;
|
|
45390
45475
|
window.__LINEAR_GRAB_PAGE__ = !0;
|
|
45391
45476
|
let t = () => {
|
|
45392
45477
|
$O(), PZ();
|
|
45393
45478
|
let t = document.createElement("div");
|
|
45394
45479
|
t.id = "linear-grab-root", document.body.appendChild(t);
|
|
45480
|
+
for (let e of [
|
|
45481
|
+
"keydown",
|
|
45482
|
+
"keyup",
|
|
45483
|
+
"keypress"
|
|
45484
|
+
]) t.addEventListener(e, (e) => e.stopPropagation());
|
|
45395
45485
|
let n = t.attachShadow({ mode: "open" }), r = document.createElement("style");
|
|
45396
|
-
r.textContent =
|
|
45486
|
+
r.textContent = F0, n.appendChild(r);
|
|
45397
45487
|
let i = document.createElement("div");
|
|
45398
45488
|
n.appendChild(i);
|
|
45399
|
-
let a = () => i.setAttribute("data-theme",
|
|
45400
|
-
a(), matchMedia("(prefers-color-scheme: light)").addEventListener("change", a), nt(() => j(
|
|
45489
|
+
let a = () => i.setAttribute("data-theme", Z0());
|
|
45490
|
+
a(), matchMedia("(prefers-color-scheme: light)").addEventListener("change", a), nt(() => j(r2, { get defaultOpen() {
|
|
45401
45491
|
return e.defaultOpen ?? !1;
|
|
45402
45492
|
} }), i);
|
|
45403
45493
|
};
|
|
45404
45494
|
document.body ? t() : document.addEventListener("DOMContentLoaded", t, { once: !0 });
|
|
45405
45495
|
}
|
|
45406
|
-
function
|
|
45496
|
+
function Z0() {
|
|
45407
45497
|
try {
|
|
45408
45498
|
let e = [document.body, document.documentElement];
|
|
45409
45499
|
for (let t of e) {
|
|
@@ -45413,11 +45503,11 @@ function q0() {
|
|
|
45413
45503
|
} catch {}
|
|
45414
45504
|
return matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark";
|
|
45415
45505
|
}
|
|
45416
|
-
var
|
|
45417
|
-
function
|
|
45506
|
+
var Q0 = 130, $0 = 36, e2 = 380, t2 = 280, n2 = 720;
|
|
45507
|
+
function r2(e) {
|
|
45418
45508
|
let [t, n] = T(e.defaultOpen), [r, i] = T("right"), [a, o] = T({
|
|
45419
|
-
x: Math.max(8, window.innerWidth -
|
|
45420
|
-
y: Math.max(8, window.innerHeight -
|
|
45509
|
+
x: Math.max(8, window.innerWidth - Q0 - 24),
|
|
45510
|
+
y: Math.max(8, window.innerHeight - $0 - 20)
|
|
45421
45511
|
}), [s, c] = T({
|
|
45422
45512
|
running: [],
|
|
45423
45513
|
review: []
|
|
@@ -45432,12 +45522,12 @@ function $0(e) {
|
|
|
45432
45522
|
let t = Math.floor(e / 1e3);
|
|
45433
45523
|
return `${Math.floor(t / 60)}:${String(t % 60).padStart(2, "0")}`;
|
|
45434
45524
|
}, [v, y] = T(null), b = (e) => ({
|
|
45435
|
-
x: Math.min(Math.max(8, e.x), window.innerWidth -
|
|
45436
|
-
y: Math.min(Math.max(8, e.y), window.innerHeight -
|
|
45525
|
+
x: Math.min(Math.max(8, e.x), window.innerWidth - Q0 - 8),
|
|
45526
|
+
y: Math.min(Math.max(8, e.y), window.innerHeight - $0 - 8)
|
|
45437
45527
|
}), x = (e) => ({
|
|
45438
45528
|
x: Math.min(Math.max(8 - (te() - 80), e.x), window.innerWidth - 80),
|
|
45439
45529
|
y: Math.min(Math.max(0, e.y), window.innerHeight - 80)
|
|
45440
|
-
}), [S, C] = T(!1), [w, E] = T("cloud"), [k, ee] = T(!1), [te, A] = T(
|
|
45530
|
+
}), [S, C] = T(!1), [w, E] = T("cloud"), [k, ee] = T(!1), [te, A] = T(e2), ne = (e) => Math.min(n2, Math.max(t2, Math.min(e, window.innerWidth - 60)));
|
|
45441
45531
|
O(() => {
|
|
45442
45532
|
let e = document.documentElement, n = t() && S();
|
|
45443
45533
|
e.style.transition = "margin 0.2s ease", e.style.marginRight = n && r() === "right" ? `${te()}px` : "", e.style.marginLeft = n && r() === "left" ? `${te()}px` : "";
|
|
@@ -45545,7 +45635,7 @@ function $0(e) {
|
|
|
45545
45635
|
return !t();
|
|
45546
45636
|
},
|
|
45547
45637
|
get children() {
|
|
45548
|
-
var e =
|
|
45638
|
+
var e = V0(), t = e.firstChild;
|
|
45549
45639
|
return t.$$pointerdown = se, P(t, j(M, {
|
|
45550
45640
|
get when() {
|
|
45551
45641
|
return p() === "recording";
|
|
@@ -45553,14 +45643,14 @@ function $0(e) {
|
|
|
45553
45643
|
get fallback() {
|
|
45554
45644
|
return [
|
|
45555
45645
|
(() => {
|
|
45556
|
-
var e =
|
|
45646
|
+
var e = U0();
|
|
45557
45647
|
return e.$$click = () => {
|
|
45558
45648
|
oe || (f(!1), n(!0));
|
|
45559
|
-
}, P(e, j(
|
|
45649
|
+
}, P(e, j(N0, { size: 13 })), e;
|
|
45560
45650
|
})(),
|
|
45561
|
-
|
|
45651
|
+
W0(),
|
|
45562
45652
|
(() => {
|
|
45563
|
-
var e =
|
|
45653
|
+
var e = q0(), t = e.firstChild, n = t.nextSibling;
|
|
45564
45654
|
return e.$$click = () => {
|
|
45565
45655
|
oe || f((e) => !e);
|
|
45566
45656
|
}, P(n, (() => {
|
|
@@ -45571,8 +45661,8 @@ function $0(e) {
|
|
|
45571
45661
|
return $e(() => !k())() && u().length > 0;
|
|
45572
45662
|
},
|
|
45573
45663
|
get children() {
|
|
45574
|
-
return [
|
|
45575
|
-
var e =
|
|
45664
|
+
return [G0(), (() => {
|
|
45665
|
+
var e = K0(), t = e.firstChild;
|
|
45576
45666
|
return P(e, () => u().length, t), e;
|
|
45577
45667
|
})()];
|
|
45578
45668
|
}
|
|
@@ -45588,13 +45678,13 @@ function $0(e) {
|
|
|
45588
45678
|
},
|
|
45589
45679
|
get children() {
|
|
45590
45680
|
return [
|
|
45591
|
-
|
|
45681
|
+
I0(),
|
|
45592
45682
|
(() => {
|
|
45593
|
-
var e =
|
|
45683
|
+
var e = L0();
|
|
45594
45684
|
return P(e, () => _(h())), e;
|
|
45595
45685
|
})(),
|
|
45596
45686
|
(() => {
|
|
45597
|
-
var e =
|
|
45687
|
+
var e = R0();
|
|
45598
45688
|
return e.$$click = () => {
|
|
45599
45689
|
oe || QD();
|
|
45600
45690
|
}, e;
|
|
@@ -45606,17 +45696,17 @@ function $0(e) {
|
|
|
45606
45696
|
return d();
|
|
45607
45697
|
},
|
|
45608
45698
|
get children() {
|
|
45609
|
-
var e =
|
|
45699
|
+
var e = B0(), t = e.firstChild;
|
|
45610
45700
|
return P(e, j(M, {
|
|
45611
45701
|
get when() {
|
|
45612
45702
|
return u().length > 0;
|
|
45613
45703
|
},
|
|
45614
45704
|
get children() {
|
|
45615
|
-
return [
|
|
45705
|
+
return [z0(), j(We, {
|
|
45616
45706
|
get each() {
|
|
45617
45707
|
return u();
|
|
45618
45708
|
},
|
|
45619
|
-
children: (e) => j(
|
|
45709
|
+
children: (e) => j(i2, {
|
|
45620
45710
|
agent: e,
|
|
45621
45711
|
review: !0,
|
|
45622
45712
|
onOpen: le
|
|
@@ -45628,14 +45718,14 @@ function $0(e) {
|
|
|
45628
45718
|
return l().length > 0;
|
|
45629
45719
|
},
|
|
45630
45720
|
get fallback() {
|
|
45631
|
-
return
|
|
45721
|
+
return J0();
|
|
45632
45722
|
},
|
|
45633
45723
|
get children() {
|
|
45634
45724
|
return j(We, {
|
|
45635
45725
|
get each() {
|
|
45636
45726
|
return l();
|
|
45637
45727
|
},
|
|
45638
|
-
children: (e) => j(
|
|
45728
|
+
children: (e) => j(i2, {
|
|
45639
45729
|
agent: e,
|
|
45640
45730
|
onOpen: le
|
|
45641
45731
|
})
|
|
@@ -45656,8 +45746,8 @@ function $0(e) {
|
|
|
45656
45746
|
return t();
|
|
45657
45747
|
},
|
|
45658
45748
|
get children() {
|
|
45659
|
-
var e =
|
|
45660
|
-
return t.$$pointerdown = ue, P(e, j(
|
|
45749
|
+
var e = H0(), t = e.firstChild;
|
|
45750
|
+
return t.$$pointerdown = ue, P(e, j(P0, {
|
|
45661
45751
|
onGrab: () => n(!0),
|
|
45662
45752
|
onClose: () => n(!1),
|
|
45663
45753
|
get onHeaderPointerDown() {
|
|
@@ -45685,19 +45775,19 @@ function $0(e) {
|
|
|
45685
45775
|
}
|
|
45686
45776
|
})];
|
|
45687
45777
|
}
|
|
45688
|
-
function
|
|
45778
|
+
function i2(e) {
|
|
45689
45779
|
return (() => {
|
|
45690
|
-
var t =
|
|
45780
|
+
var t = Y0(), n = t.firstChild, r = n.firstChild, i = r.nextSibling, a = i.nextSibling, o = n.nextSibling, s = o.firstChild, c = s.nextSibling;
|
|
45691
45781
|
return c.nextSibling, t.$$click = () => e.onOpen(e.agent.id), P(i, () => e.agent.identifier), P(a, () => e.agent.title), P(o, (() => {
|
|
45692
45782
|
var t = $e(() => !!e.review);
|
|
45693
45783
|
return () => t() ? "PR ready · needs review" : e.agent.stateName;
|
|
45694
|
-
})(), s), P(o, () => e.agent.delegateName, c), P(o, () =>
|
|
45784
|
+
})(), s), P(o, () => e.agent.delegateName, c), P(o, () => a2(e.agent.updatedAt), null), D((t) => dt(r, "background", e.review ? "var(--color-warn)" : e.agent.stateColor)), t;
|
|
45695
45785
|
})();
|
|
45696
45786
|
}
|
|
45697
|
-
function
|
|
45787
|
+
function a2(e) {
|
|
45698
45788
|
let t = Math.max(0, Math.floor((Date.now() - Date.parse(e)) / 1e3));
|
|
45699
45789
|
return t < 60 ? "now" : t < 3600 ? `${Math.floor(t / 60)}m` : t < 86400 ? `${Math.floor(t / 3600)}h` : `${Math.floor(t / 86400)}d`;
|
|
45700
45790
|
}
|
|
45701
45791
|
rt(["pointerdown", "click"]);
|
|
45702
45792
|
//#endregion
|
|
45703
|
-
export {
|
|
45793
|
+
export { X0 as init };
|