linear-grab 0.16.2 → 0.16.3
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 +400 -339
- 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("<span class=\"text-success text-[12px] leading-none\">✓"), Q$ = /*#__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\">"), $$ = /*#__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>"), e1 = /*#__PURE__*/ N("<span class=\"font-mono text-text-faint min-w-0 truncate text-[10.5px]\">"), t1 = /*#__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>−"), n1 = /*#__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\">"), r1 = /*#__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\">"), i1 = /*#__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\">"), a1 = /*#__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\">"), o1 = /*#__PURE__*/ N("<span class=\"inline-block min-w-[4ch] text-center\">Send"), s1 = /*#__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]\">"), c1 = /*#__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\">"), l1 = /*#__PURE__*/ N("<span aria-hidden class=\"size-2 shrink-0 rounded-full\">"), u1 = /*#__PURE__*/ N("<div class=\"flex min-w-0 items-center gap-1.5\">"), d1 = /*#__PURE__*/ N("<option>"), f1 = /*#__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>"), p1 = /*#__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\">"), m1 = /*#__PURE__*/ N("<span class=text-success>+"), h1 = /*#__PURE__*/ N("<span class=text-danger>−"), g1 = /*#__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\">"), _1 = /*#__PURE__*/ N("<span class=text-text-faint>bin"), v1 = /*#__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"), y1 = /*#__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\">"), b1 = /*#__PURE__*/ N("<p class=\"text-text-faint text-[11px]\">Waiting for output…"), x1 = [
|
|
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 S1(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 C1 = (e) => e == null ? "–" : e >= 1e3 ? `${(e / 1e3).toFixed(e >= 1e5 ? 0 : 1)}k` : String(e);
|
|
43690
|
+
function w1() {
|
|
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 S1(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 = c1(), 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 = l1();
|
|
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, () => C1(e().usage.contextTokens), n), P(t, () => C1(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 = u1();
|
|
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,44 @@ 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: x1,
|
|
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 = d1();
|
|
43983
|
+
return P(n, () => t.label), D(() => n.selected = (e().pendingModel ?? e().model ?? "") === t.id), D(() => n.value = t.id), n;
|
|
43931
43984
|
})()
|
|
43932
|
-
})
|
|
43985
|
+
}), j(M, {
|
|
43986
|
+
get when() {
|
|
43987
|
+
return !x1.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
|
+
})];
|
|
43933
43994
|
}
|
|
43934
43995
|
}), null), P(g, j(M, {
|
|
43935
43996
|
get when() {
|
|
43936
|
-
return o(e);
|
|
43997
|
+
return o(e());
|
|
43937
43998
|
},
|
|
43938
43999
|
children: (e) => j(vj, {
|
|
43939
44000
|
variant: "ghost",
|
|
@@ -43941,29 +44002,29 @@ function x1() {
|
|
|
43941
44002
|
title: "Open the issue's Activity thread",
|
|
43942
44003
|
onClick: () => YA("activity", e().id),
|
|
43943
44004
|
get children() {
|
|
43944
|
-
return
|
|
44005
|
+
return f1();
|
|
43945
44006
|
}
|
|
43946
44007
|
})
|
|
43947
44008
|
}), null), P(g, j(vj, {
|
|
43948
44009
|
variant: "ghost",
|
|
43949
44010
|
class: "size-7 px-0",
|
|
43950
44011
|
get disabled() {
|
|
43951
|
-
return !e.sessionId;
|
|
44012
|
+
return !e().sessionId;
|
|
43952
44013
|
},
|
|
43953
44014
|
get title() {
|
|
43954
|
-
return $e(() => !!e.sessionId)() ? `Copy resume command · session ${e.sessionId.slice(0, 8)}…` : "No session yet";
|
|
44015
|
+
return $e(() => !!e().sessionId)() ? `Copy resume command · session ${e().sessionId.slice(0, 8)}…` : "No session yet";
|
|
43955
44016
|
},
|
|
43956
|
-
onClick: () => void A(e),
|
|
44017
|
+
onClick: () => void A(e()),
|
|
43957
44018
|
get children() {
|
|
43958
44019
|
return j(M, {
|
|
43959
44020
|
get when() {
|
|
43960
|
-
return ee() === e.id;
|
|
44021
|
+
return ee() === e().id;
|
|
43961
44022
|
},
|
|
43962
44023
|
get fallback() {
|
|
43963
|
-
return
|
|
44024
|
+
return p1();
|
|
43964
44025
|
},
|
|
43965
44026
|
get children() {
|
|
43966
|
-
return
|
|
44027
|
+
return Z$();
|
|
43967
44028
|
}
|
|
43968
44029
|
});
|
|
43969
44030
|
}
|
|
@@ -43971,15 +44032,15 @@ function x1() {
|
|
|
43971
44032
|
variant: "ghost",
|
|
43972
44033
|
class: "size-7 px-0",
|
|
43973
44034
|
get title() {
|
|
43974
|
-
return r() === e.id ? "Hide thread" : "Open thread — chat & changes";
|
|
44035
|
+
return r() === e().id ? "Hide thread" : "Open thread — chat & changes";
|
|
43975
44036
|
},
|
|
43976
|
-
onClick: () => i(r() === e.id ? null : e.id),
|
|
44037
|
+
onClick: () => i(r() === e().id ? null : e().id),
|
|
43977
44038
|
get children() {
|
|
43978
|
-
return
|
|
44039
|
+
return Q$();
|
|
43979
44040
|
}
|
|
43980
44041
|
}), null), P(g, j(M, {
|
|
43981
44042
|
get when() {
|
|
43982
|
-
return e.status === "running";
|
|
44043
|
+
return e().status === "running";
|
|
43983
44044
|
},
|
|
43984
44045
|
get children() {
|
|
43985
44046
|
return j(vj, {
|
|
@@ -43989,15 +44050,15 @@ function x1() {
|
|
|
43989
44050
|
return u.isPending;
|
|
43990
44051
|
},
|
|
43991
44052
|
title: "Interrupt — the session stays resumable",
|
|
43992
|
-
onClick: () => u.mutate(e.id),
|
|
44053
|
+
onClick: () => u.mutate(e().id),
|
|
43993
44054
|
get children() {
|
|
43994
|
-
return
|
|
44055
|
+
return $$();
|
|
43995
44056
|
}
|
|
43996
44057
|
});
|
|
43997
44058
|
}
|
|
43998
44059
|
}), null), P(t, j(M, {
|
|
43999
44060
|
get when() {
|
|
44000
|
-
return r() === e.id;
|
|
44061
|
+
return r() === e().id;
|
|
44001
44062
|
},
|
|
44002
44063
|
get children() {
|
|
44003
44064
|
return [
|
|
@@ -44006,7 +44067,7 @@ function x1() {
|
|
|
44006
44067
|
return $e(() => !!c.data)() && (c.data.files.length || c.data.untracked.length || c.data.prs.length);
|
|
44007
44068
|
},
|
|
44008
44069
|
get children() {
|
|
44009
|
-
var e =
|
|
44070
|
+
var e = t1(), t = e.firstChild, n = t.firstChild.nextSibling, r = n.firstChild;
|
|
44010
44071
|
r.firstChild;
|
|
44011
44072
|
var i = r.nextSibling.nextSibling;
|
|
44012
44073
|
return i.firstChild, P(t, j(M, {
|
|
@@ -44014,7 +44075,7 @@ function x1() {
|
|
|
44014
44075
|
return c.data.branch;
|
|
44015
44076
|
},
|
|
44016
44077
|
get children() {
|
|
44017
|
-
var e =
|
|
44078
|
+
var e = e1();
|
|
44018
44079
|
return P(e, () => c.data.branch), e;
|
|
44019
44080
|
}
|
|
44020
44081
|
}), n), P(r, () => c.data.totalAdded, null), P(i, () => c.data.totalDeleted, null), P(e, j(We, {
|
|
@@ -44022,23 +44083,23 @@ function x1() {
|
|
|
44022
44083
|
return c.data.files;
|
|
44023
44084
|
},
|
|
44024
44085
|
children: (e) => (() => {
|
|
44025
|
-
var t =
|
|
44086
|
+
var t = g1(), n = t.firstChild, r = n.nextSibling;
|
|
44026
44087
|
return P(n, () => e.path), P(r, j(M, {
|
|
44027
44088
|
get when() {
|
|
44028
44089
|
return !e.binary;
|
|
44029
44090
|
},
|
|
44030
44091
|
get fallback() {
|
|
44031
|
-
return
|
|
44092
|
+
return _1();
|
|
44032
44093
|
},
|
|
44033
44094
|
get children() {
|
|
44034
44095
|
return [
|
|
44035
44096
|
(() => {
|
|
44036
|
-
var t =
|
|
44097
|
+
var t = m1();
|
|
44037
44098
|
return t.firstChild, P(t, () => e.added, null), t;
|
|
44038
44099
|
})(),
|
|
44039
44100
|
" ",
|
|
44040
44101
|
(() => {
|
|
44041
|
-
var t =
|
|
44102
|
+
var t = h1();
|
|
44042
44103
|
return t.firstChild, P(t, () => e.deleted, null), t;
|
|
44043
44104
|
})()
|
|
44044
44105
|
];
|
|
@@ -44050,7 +44111,7 @@ function x1() {
|
|
|
44050
44111
|
return c.data.untracked;
|
|
44051
44112
|
},
|
|
44052
44113
|
children: (e) => (() => {
|
|
44053
|
-
var t =
|
|
44114
|
+
var t = v1(), n = t.firstChild;
|
|
44054
44115
|
return it(n, "title", e), P(n, e), t;
|
|
44055
44116
|
})()
|
|
44056
44117
|
}), null), P(e, j(We, {
|
|
@@ -44058,7 +44119,7 @@ function x1() {
|
|
|
44058
44119
|
return c.data.prs;
|
|
44059
44120
|
},
|
|
44060
44121
|
children: (e) => (() => {
|
|
44061
|
-
var t =
|
|
44122
|
+
var t = y1(), n = t.firstChild;
|
|
44062
44123
|
return P(t, j(Oj, {
|
|
44063
44124
|
class: "text-accent",
|
|
44064
44125
|
get children() {
|
|
@@ -44076,7 +44137,7 @@ function x1() {
|
|
|
44076
44137
|
}
|
|
44077
44138
|
}),
|
|
44078
44139
|
(() => {
|
|
44079
|
-
var e =
|
|
44140
|
+
var e = n1();
|
|
44080
44141
|
return e.addEventListener("scroll", E), pt((e) => {
|
|
44081
44142
|
C = e, w = !0;
|
|
44082
44143
|
}, e), P(e, j(M, {
|
|
@@ -44084,7 +44145,7 @@ function x1() {
|
|
|
44084
44145
|
return (s.data?.tail ?? []).length > 0;
|
|
44085
44146
|
},
|
|
44086
44147
|
get fallback() {
|
|
44087
|
-
return
|
|
44148
|
+
return b1();
|
|
44088
44149
|
},
|
|
44089
44150
|
get children() {
|
|
44090
44151
|
return j(Ge, {
|
|
@@ -44099,19 +44160,19 @@ function x1() {
|
|
|
44099
44160
|
})), e;
|
|
44100
44161
|
})(),
|
|
44101
44162
|
(() => {
|
|
44102
|
-
var t =
|
|
44163
|
+
var t = s1(), n = t.firstChild, r = n.firstChild;
|
|
44103
44164
|
return P(t, j(xj, {
|
|
44104
44165
|
rows: 2,
|
|
44105
44166
|
get placeholder() {
|
|
44106
|
-
return e.status === "running" ? "Message the working agent — it queues into the live session…" : "Follow-up — resumes the session…";
|
|
44167
|
+
return e().status === "running" ? "Message the working agent — it queues into the live session…" : "Follow-up — resumes the session…";
|
|
44107
44168
|
},
|
|
44108
44169
|
get value() {
|
|
44109
44170
|
return d();
|
|
44110
44171
|
},
|
|
44111
44172
|
onInput: (e) => f(e.currentTarget.value)
|
|
44112
44173
|
}), n), P(r, (() => {
|
|
44113
|
-
var t = $e(() => !!e.alive);
|
|
44114
|
-
return () => t() ? "live session" : e.sessionId ? "resumes on send" : "no session";
|
|
44174
|
+
var t = $e(() => !!e().alive);
|
|
44175
|
+
return () => t() ? "live session" : e().sessionId ? "resumes on send" : "no session";
|
|
44115
44176
|
})()), P(n, j(vj, {
|
|
44116
44177
|
variant: "ghost",
|
|
44117
44178
|
class: "size-7 shrink-0 px-0",
|
|
@@ -44119,7 +44180,7 @@ function x1() {
|
|
|
44119
44180
|
"aria-label": "Pick element",
|
|
44120
44181
|
onClick: v,
|
|
44121
44182
|
get children() {
|
|
44122
|
-
return
|
|
44183
|
+
return r1();
|
|
44123
44184
|
}
|
|
44124
44185
|
}), null), P(n, j(vj, {
|
|
44125
44186
|
variant: "ghost",
|
|
@@ -44131,22 +44192,22 @@ function x1() {
|
|
|
44131
44192
|
"aria-label": "Attach captures",
|
|
44132
44193
|
onClick: () => void y(),
|
|
44133
44194
|
get children() {
|
|
44134
|
-
return
|
|
44195
|
+
return i1();
|
|
44135
44196
|
}
|
|
44136
44197
|
}), null), P(n, j(vj, {
|
|
44137
44198
|
variant: "ghost",
|
|
44138
44199
|
class: "size-7 shrink-0 px-0",
|
|
44139
44200
|
get disabled() {
|
|
44140
|
-
return $e(() => !e.alive)() && !e.sessionId;
|
|
44201
|
+
return $e(() => !e().alive)() && !e().sessionId;
|
|
44141
44202
|
},
|
|
44142
44203
|
title: "Compact the session — frees context (sends /compact)",
|
|
44143
44204
|
"aria-label": "Compact session",
|
|
44144
44205
|
onClick: () => b.mutate({
|
|
44145
|
-
id: e.id,
|
|
44206
|
+
id: e().id,
|
|
44146
44207
|
text: "/compact"
|
|
44147
44208
|
}),
|
|
44148
44209
|
get children() {
|
|
44149
|
-
return
|
|
44210
|
+
return a1();
|
|
44150
44211
|
}
|
|
44151
44212
|
}), null), P(n, j(vj, {
|
|
44152
44213
|
variant: "primary",
|
|
@@ -44155,14 +44216,14 @@ function x1() {
|
|
|
44155
44216
|
return b.isPending;
|
|
44156
44217
|
},
|
|
44157
44218
|
get disabled() {
|
|
44158
|
-
return !d().trim() || !e.alive && !e.sessionId;
|
|
44219
|
+
return !d().trim() || !e().alive && !e().sessionId;
|
|
44159
44220
|
},
|
|
44160
44221
|
onClick: () => b.mutate({
|
|
44161
|
-
id: e.id,
|
|
44222
|
+
id: e().id,
|
|
44162
44223
|
text: d().trim()
|
|
44163
44224
|
}),
|
|
44164
44225
|
get children() {
|
|
44165
|
-
return
|
|
44226
|
+
return o1();
|
|
44166
44227
|
}
|
|
44167
44228
|
}), null), t;
|
|
44168
44229
|
})()
|
|
@@ -44179,13 +44240,13 @@ function x1() {
|
|
|
44179
44240
|
}
|
|
44180
44241
|
//#endregion
|
|
44181
44242
|
//#region src/panel/views/PrsView.tsx
|
|
44182
|
-
var
|
|
44183
|
-
function
|
|
44243
|
+
var T1 = /*#__PURE__*/ N("<span class=\"text-text-faint text-[10.5px] tabular-nums\">/<!> from your issues"), E1 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1.5\">"), D1 = /*#__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\">"), O1 = /*#__PURE__*/ N("<span class=\"text-warn text-[10.5px]\"title=\"Merge states come from gh via the bridge\">states unknown — restart the bridge"), k1 = /*#__PURE__*/ N("<button>"), A1 = /*#__PURE__*/ N("<span class=\"text-[12px] leading-none\">✓"), j1 = /*#__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>"), M1 = /*#__PURE__*/ N("<span class=\"text-success text-[12px] leading-none\">✓"), N1 = /*#__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\">"), P1 = /*#__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\">"), F1 = /*#__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\">"), I1 = /github\.com\/[^/]+\/[^/]+\/pull\/\d+/i;
|
|
44244
|
+
function L1(e) {
|
|
44184
44245
|
let t = _r(() => ({
|
|
44185
44246
|
queryKey: ["my-issues"],
|
|
44186
44247
|
queryFn: uO,
|
|
44187
44248
|
refetchInterval: 15e3
|
|
44188
|
-
})), n = k(() => (t.data ?? []).flatMap((e) => (e.attachments ?? []).filter((e) =>
|
|
44249
|
+
})), n = k(() => (t.data ?? []).flatMap((e) => (e.attachments ?? []).filter((e) => I1.test(e.url)).map((t) => ({
|
|
44189
44250
|
issue: e,
|
|
44190
44251
|
attachment: t
|
|
44191
44252
|
})))), r = _r(() => ({
|
|
@@ -44222,7 +44283,7 @@ function P1(e) {
|
|
|
44222
44283
|
} catch {}
|
|
44223
44284
|
};
|
|
44224
44285
|
return (() => {
|
|
44225
|
-
var r =
|
|
44286
|
+
var r = D1(), p = r.firstChild;
|
|
44226
44287
|
p.firstChild;
|
|
44227
44288
|
var h = p.nextSibling, _ = h.firstChild, b = h.nextSibling;
|
|
44228
44289
|
return P(p, j(M, {
|
|
@@ -44230,10 +44291,10 @@ function P1(e) {
|
|
|
44230
44291
|
return !i.isError;
|
|
44231
44292
|
},
|
|
44232
44293
|
get fallback() {
|
|
44233
|
-
return
|
|
44294
|
+
return O1();
|
|
44234
44295
|
},
|
|
44235
44296
|
get children() {
|
|
44236
|
-
var e =
|
|
44297
|
+
var e = T1(), t = e.firstChild, r = t.nextSibling;
|
|
44237
44298
|
return r.nextSibling, P(e, () => d().length, t), P(e, () => n().length, r), e;
|
|
44238
44299
|
}
|
|
44239
44300
|
}), null), P(_, j(We, {
|
|
@@ -44256,7 +44317,7 @@ function P1(e) {
|
|
|
44256
44317
|
}
|
|
44257
44318
|
],
|
|
44258
44319
|
children: (e) => (() => {
|
|
44259
|
-
var t =
|
|
44320
|
+
var t = k1();
|
|
44260
44321
|
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
44322
|
})()
|
|
44262
44323
|
})), P(h, j(bj, {
|
|
@@ -44279,13 +44340,13 @@ function P1(e) {
|
|
|
44279
44340
|
});
|
|
44280
44341
|
},
|
|
44281
44342
|
get children() {
|
|
44282
|
-
var t =
|
|
44343
|
+
var t = E1();
|
|
44283
44344
|
return P(t, j(We, {
|
|
44284
44345
|
get each() {
|
|
44285
44346
|
return d();
|
|
44286
44347
|
},
|
|
44287
44348
|
children: (t) => (() => {
|
|
44288
|
-
var n =
|
|
44349
|
+
var n = N1(), r = n.firstChild, i = r.nextSibling, s = i.firstChild, c = s.nextSibling, l = c.nextSibling, u = i.nextSibling, d = u.firstChild;
|
|
44289
44350
|
return P(r, () => t.attachment.title || t.attachment.url), P(i, j(kj, { get color() {
|
|
44290
44351
|
return t.issue.state.color;
|
|
44291
44352
|
} }), 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 +44423,10 @@ function P1(e) {
|
|
|
44362
44423
|
return g().has(t.attachment.url);
|
|
44363
44424
|
},
|
|
44364
44425
|
get fallback() {
|
|
44365
|
-
return
|
|
44426
|
+
return P1();
|
|
44366
44427
|
},
|
|
44367
44428
|
get children() {
|
|
44368
|
-
return
|
|
44429
|
+
return A1();
|
|
44369
44430
|
}
|
|
44370
44431
|
});
|
|
44371
44432
|
}
|
|
@@ -44378,7 +44439,7 @@ function P1(e) {
|
|
|
44378
44439
|
YA("activity", t.issue.id), e.onOpenIssue();
|
|
44379
44440
|
},
|
|
44380
44441
|
get children() {
|
|
44381
|
-
return
|
|
44442
|
+
return j1();
|
|
44382
44443
|
}
|
|
44383
44444
|
}), null), P(d, j(vj, {
|
|
44384
44445
|
variant: "ghost",
|
|
@@ -44392,10 +44453,10 @@ function P1(e) {
|
|
|
44392
44453
|
return f() === t.attachment.id;
|
|
44393
44454
|
},
|
|
44394
44455
|
get fallback() {
|
|
44395
|
-
return
|
|
44456
|
+
return F1();
|
|
44396
44457
|
},
|
|
44397
44458
|
get children() {
|
|
44398
|
-
return
|
|
44459
|
+
return M1();
|
|
44399
44460
|
}
|
|
44400
44461
|
});
|
|
44401
44462
|
}
|
|
@@ -44415,13 +44476,13 @@ function P1(e) {
|
|
|
44415
44476
|
//#endregion
|
|
44416
44477
|
//#region src/lib/linear/auth.ts
|
|
44417
44478
|
rt(["click"]), Rr();
|
|
44418
|
-
function
|
|
44479
|
+
function R1(e) {
|
|
44419
44480
|
let t = "";
|
|
44420
44481
|
for (let n of e) t += String.fromCharCode(n);
|
|
44421
44482
|
return btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
44422
44483
|
}
|
|
44423
|
-
async function
|
|
44424
|
-
let t =
|
|
44484
|
+
async function z1(e) {
|
|
44485
|
+
let t = R1(crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(32))), n = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(t)), r = R1(new Uint8Array(n)), i = R1(crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16))), a = chrome.identity.getRedirectURL(), o = new URL("https://linear.app/oauth/authorize");
|
|
44425
44486
|
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
44487
|
let s = await chrome.identity.launchWebAuthFlow({
|
|
44427
44488
|
url: o.toString(),
|
|
@@ -44449,15 +44510,15 @@ async function I1(e) {
|
|
|
44449
44510
|
linearOauthClientId: e
|
|
44450
44511
|
});
|
|
44451
44512
|
}
|
|
44452
|
-
async function
|
|
44513
|
+
async function B1() {
|
|
44453
44514
|
await wr({
|
|
44454
44515
|
linearAccessToken: void 0,
|
|
44455
44516
|
linearApiKey: void 0
|
|
44456
44517
|
});
|
|
44457
44518
|
}
|
|
44458
44519
|
Rr(), br(), Nx(), mD();
|
|
44459
|
-
var
|
|
44460
|
-
function
|
|
44520
|
+
var V1 = /*#__PURE__*/ N("<div class=\"bg-surface-2 border-border flex rounded-md border p-0.5\">"), H1 = /*#__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."), U1 = /*#__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"), W1 = /*#__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)."), G1 = /*#__PURE__*/ N("<span class=text-text>Connected as <span class=font-medium></span> · <span class=text-text-dim>"), K1 = /*#__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]\">"), q1 = /*#__PURE__*/ N("<option value>Select a team…"), J1 = /*#__PURE__*/ N("<p class=\"text-text-dim text-[11px]\">No agents found — install the Cursor integration in Linear first."), Y1 = /*#__PURE__*/ N("<span class=\"text-text-faint text-[10.5px] leading-snug\">Empty = the default above (computer-use testing, video demo, PR + review babysitting)."), X1 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1.5\">"), Z1 = /*#__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."), Q1 = /*#__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."), $1 = /*#__PURE__*/ N("<option value>Select a channel…"), e0 = /*#__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"), t0 = /*#__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."), n0 = /*#__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"), r0 = /*#__PURE__*/ N("<p class=\"text-text-dim text-[11px]\">"), i0 = /*#__PURE__*/ N("<div class=min-h-[2lh]>"), a0 = /*#__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."), o0 = /*#__PURE__*/ N("<div class=\"flex h-full flex-col gap-5 overflow-y-auto pt-3 pb-6 pl-3 pr-4\">"), s0 = /*#__PURE__*/ N("<button>"), c0 = /*#__PURE__*/ N("<div class=\"flex gap-1.5\">"), l0 = /*#__PURE__*/ N("<p class=\"text-text-faint text-center text-[10.5px]\">or"), u0 = /*#__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\">"), d0 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-3\">"), f0 = /*#__PURE__*/ N("<span class=text-text-dim>Connected — verifying…"), p0 = /*#__PURE__*/ N("<option> (<!>)"), m0 = /*#__PURE__*/ N("<option value>Select the agent…"), h0 = /*#__PURE__*/ N("<option>"), g0 = /*#__PURE__*/ N("<option>#"), _0 = /*#__PURE__*/ N("<p class=\"text-text-dim text-[11px]\">No key set — AI drafting disabled, manual drafting still works.");
|
|
44521
|
+
function v0() {
|
|
44461
44522
|
let e = sr(), t = _r(() => ({
|
|
44462
44523
|
queryKey: ["settings"],
|
|
44463
44524
|
queryFn: Cr,
|
|
@@ -44502,7 +44563,7 @@ function h0() {
|
|
|
44502
44563
|
}
|
|
44503
44564
|
v(!0), b("");
|
|
44504
44565
|
try {
|
|
44505
|
-
await
|
|
44566
|
+
await z1(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
44567
|
} catch (e) {
|
|
44507
44568
|
b(e instanceof Error ? e.message : "OAuth flow failed.");
|
|
44508
44569
|
} finally {
|
|
@@ -44513,7 +44574,7 @@ function h0() {
|
|
|
44513
44574
|
async function w() {
|
|
44514
44575
|
C(!0);
|
|
44515
44576
|
try {
|
|
44516
|
-
await
|
|
44577
|
+
await B1(), 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
44578
|
} finally {
|
|
44518
44579
|
C(!1);
|
|
44519
44580
|
}
|
|
@@ -44529,12 +44590,12 @@ function h0() {
|
|
|
44529
44590
|
return e ? `Drafting with ${e} — ${jx[e].fast} (fast) / ${jx[e].best} (best)` : null;
|
|
44530
44591
|
});
|
|
44531
44592
|
return (() => {
|
|
44532
|
-
var e =
|
|
44593
|
+
var e = o0();
|
|
44533
44594
|
return P(e, j(Dj, {
|
|
44534
44595
|
title: "Workflow",
|
|
44535
44596
|
get children() {
|
|
44536
44597
|
return [(() => {
|
|
44537
|
-
var e =
|
|
44598
|
+
var e = V1();
|
|
44538
44599
|
return P(e, j(We, {
|
|
44539
44600
|
each: [{
|
|
44540
44601
|
id: "cloud",
|
|
@@ -44544,19 +44605,19 @@ function h0() {
|
|
|
44544
44605
|
label: "Local · clipboard"
|
|
44545
44606
|
}],
|
|
44546
44607
|
children: (e) => (() => {
|
|
44547
|
-
var t =
|
|
44608
|
+
var t = s0();
|
|
44548
44609
|
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
44610
|
})()
|
|
44550
44611
|
})), e;
|
|
44551
|
-
})(),
|
|
44612
|
+
})(), H1()];
|
|
44552
44613
|
}
|
|
44553
44614
|
}), null), P(e, j(Dj, {
|
|
44554
44615
|
title: "Capture",
|
|
44555
44616
|
get children() {
|
|
44556
44617
|
return [(() => {
|
|
44557
|
-
var e =
|
|
44618
|
+
var e = U1(), t = e.firstChild;
|
|
44558
44619
|
return t.addEventListener("change", (e) => void r({ captureShots: e.currentTarget.checked || void 0 })), D(() => t.checked = !!n().captureShots), e;
|
|
44559
|
-
})(),
|
|
44620
|
+
})(), W1()];
|
|
44560
44621
|
}
|
|
44561
44622
|
}), null), P(e, j(Dj, {
|
|
44562
44623
|
title: "Linear",
|
|
@@ -44567,13 +44628,13 @@ function h0() {
|
|
|
44567
44628
|
},
|
|
44568
44629
|
get fallback() {
|
|
44569
44630
|
return (() => {
|
|
44570
|
-
var e =
|
|
44631
|
+
var e = d0();
|
|
44571
44632
|
return P(e, j(Ej, {
|
|
44572
44633
|
label: "Personal API key",
|
|
44573
44634
|
hint: "Create one at linear.app → Settings → API — fastest path.",
|
|
44574
44635
|
get children() {
|
|
44575
44636
|
return [(() => {
|
|
44576
|
-
var e =
|
|
44637
|
+
var e = c0();
|
|
44577
44638
|
return P(e, j(bj, {
|
|
44578
44639
|
type: "password",
|
|
44579
44640
|
placeholder: "lin_api_…",
|
|
@@ -44610,12 +44671,12 @@ function h0() {
|
|
|
44610
44671
|
}), null), P(e, j(M, {
|
|
44611
44672
|
when: yr,
|
|
44612
44673
|
get children() {
|
|
44613
|
-
return [
|
|
44674
|
+
return [l0(), j(Ej, {
|
|
44614
44675
|
label: "OAuth client ID",
|
|
44615
44676
|
get children() {
|
|
44616
44677
|
return [
|
|
44617
44678
|
(() => {
|
|
44618
|
-
var e =
|
|
44679
|
+
var e = c0();
|
|
44619
44680
|
return P(e, j(bj, {
|
|
44620
44681
|
placeholder: "your-client-id",
|
|
44621
44682
|
get value() {
|
|
@@ -44643,7 +44704,7 @@ function h0() {
|
|
|
44643
44704
|
}
|
|
44644
44705
|
}),
|
|
44645
44706
|
(() => {
|
|
44646
|
-
var e =
|
|
44707
|
+
var e = u0(), t = e.firstChild.nextSibling.nextSibling;
|
|
44647
44708
|
return P(t, E), e;
|
|
44648
44709
|
})()
|
|
44649
44710
|
];
|
|
@@ -44654,13 +44715,13 @@ function h0() {
|
|
|
44654
44715
|
})();
|
|
44655
44716
|
},
|
|
44656
44717
|
get children() {
|
|
44657
|
-
var e =
|
|
44718
|
+
var e = K1(), t = e.firstChild;
|
|
44658
44719
|
return P(t, j(M, {
|
|
44659
44720
|
get when() {
|
|
44660
44721
|
return !a.isLoading;
|
|
44661
44722
|
},
|
|
44662
44723
|
get fallback() {
|
|
44663
|
-
return
|
|
44724
|
+
return f0();
|
|
44664
44725
|
},
|
|
44665
44726
|
get children() {
|
|
44666
44727
|
return j(M, {
|
|
@@ -44673,7 +44734,7 @@ function h0() {
|
|
|
44673
44734
|
return a.isError;
|
|
44674
44735
|
},
|
|
44675
44736
|
get fallback() {
|
|
44676
|
-
return
|
|
44737
|
+
return f0();
|
|
44677
44738
|
},
|
|
44678
44739
|
get children() {
|
|
44679
44740
|
return j(jj, { message: "Key rejected — reconnect" });
|
|
@@ -44681,7 +44742,7 @@ function h0() {
|
|
|
44681
44742
|
});
|
|
44682
44743
|
},
|
|
44683
44744
|
get children() {
|
|
44684
|
-
var e =
|
|
44745
|
+
var e = G1(), t = e.firstChild.nextSibling, n = t.nextSibling.nextSibling;
|
|
44685
44746
|
return P(t, () => a.data.name), P(n, () => a.data.email), e;
|
|
44686
44747
|
}
|
|
44687
44748
|
});
|
|
@@ -44722,7 +44783,7 @@ function h0() {
|
|
|
44722
44783
|
return o.isLoading;
|
|
44723
44784
|
},
|
|
44724
44785
|
get children() {
|
|
44725
|
-
return [
|
|
44786
|
+
return [q1(), j(M, {
|
|
44726
44787
|
get when() {
|
|
44727
44788
|
return o.data;
|
|
44728
44789
|
},
|
|
@@ -44732,7 +44793,7 @@ function h0() {
|
|
|
44732
44793
|
return o.data;
|
|
44733
44794
|
},
|
|
44734
44795
|
children: (e) => (() => {
|
|
44735
|
-
var t =
|
|
44796
|
+
var t = p0(), r = t.firstChild, i = r.nextSibling;
|
|
44736
44797
|
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
44798
|
})()
|
|
44738
44799
|
});
|
|
@@ -44776,7 +44837,7 @@ function h0() {
|
|
|
44776
44837
|
return s.isLoading;
|
|
44777
44838
|
},
|
|
44778
44839
|
get children() {
|
|
44779
|
-
return [
|
|
44840
|
+
return [m0(), j(M, {
|
|
44780
44841
|
get when() {
|
|
44781
44842
|
return s.data;
|
|
44782
44843
|
},
|
|
@@ -44786,7 +44847,7 @@ function h0() {
|
|
|
44786
44847
|
return s.data;
|
|
44787
44848
|
},
|
|
44788
44849
|
children: (e) => (() => {
|
|
44789
|
-
var t =
|
|
44850
|
+
var t = h0();
|
|
44790
44851
|
return P(t, () => e.displayName), D(() => t.selected = e.id === n().cursorAgentId), D(() => t.value = e.id), t;
|
|
44791
44852
|
})()
|
|
44792
44853
|
});
|
|
@@ -44796,7 +44857,7 @@ function h0() {
|
|
|
44796
44857
|
});
|
|
44797
44858
|
},
|
|
44798
44859
|
get children() {
|
|
44799
|
-
return
|
|
44860
|
+
return J1();
|
|
44800
44861
|
}
|
|
44801
44862
|
});
|
|
44802
44863
|
}
|
|
@@ -44844,7 +44905,7 @@ function h0() {
|
|
|
44844
44905
|
onBlur: (e) => {
|
|
44845
44906
|
r({ issueTemplate: e.currentTarget.value.trim() || void 0 });
|
|
44846
44907
|
}
|
|
44847
|
-
}),
|
|
44908
|
+
}), Y1()];
|
|
44848
44909
|
}
|
|
44849
44910
|
}),
|
|
44850
44911
|
j(Ej, {
|
|
@@ -44901,7 +44962,7 @@ function h0() {
|
|
|
44901
44962
|
label: "Test account",
|
|
44902
44963
|
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
44964
|
get children() {
|
|
44904
|
-
var e =
|
|
44965
|
+
var e = X1();
|
|
44905
44966
|
return P(e, j(bj, {
|
|
44906
44967
|
placeholder: "Username or email (e.g. demo@yourapp.com)",
|
|
44907
44968
|
get value() {
|
|
@@ -44933,7 +44994,7 @@ function h0() {
|
|
|
44933
44994
|
title: "Panel",
|
|
44934
44995
|
get children() {
|
|
44935
44996
|
return [(() => {
|
|
44936
|
-
var e =
|
|
44997
|
+
var e = Z1(), t = e.firstChild.nextSibling;
|
|
44937
44998
|
return P(t, j(We, {
|
|
44938
44999
|
each: [{
|
|
44939
45000
|
id: "overlay",
|
|
@@ -44943,7 +45004,7 @@ function h0() {
|
|
|
44943
45004
|
label: "Beside page"
|
|
44944
45005
|
}],
|
|
44945
45006
|
children: (e) => (() => {
|
|
44946
|
-
var t =
|
|
45007
|
+
var t = s0();
|
|
44947
45008
|
return t.$$click = () => void r({
|
|
44948
45009
|
panelMode: e.id,
|
|
44949
45010
|
panelPos: void 0
|
|
@@ -44951,11 +45012,11 @@ function h0() {
|
|
|
44951
45012
|
})()
|
|
44952
45013
|
})), e;
|
|
44953
45014
|
})(), (() => {
|
|
44954
|
-
var e =
|
|
45015
|
+
var e = Q1(), t = e.firstChild.nextSibling;
|
|
44955
45016
|
return P(t, j(We, {
|
|
44956
45017
|
each: ["left", "right"],
|
|
44957
45018
|
children: (e) => (() => {
|
|
44958
|
-
var t =
|
|
45019
|
+
var t = s0();
|
|
44959
45020
|
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
45021
|
})()
|
|
44961
45022
|
})), e;
|
|
@@ -45067,12 +45128,12 @@ function h0() {
|
|
|
45067
45128
|
});
|
|
45068
45129
|
},
|
|
45069
45130
|
get children() {
|
|
45070
|
-
return [
|
|
45131
|
+
return [$1(), j(We, {
|
|
45071
45132
|
get each() {
|
|
45072
45133
|
return O.data ?? [];
|
|
45073
45134
|
},
|
|
45074
45135
|
children: (e) => (() => {
|
|
45075
|
-
var t =
|
|
45136
|
+
var t = g0();
|
|
45076
45137
|
return t.firstChild, P(t, () => e.name, null), D(() => t.selected = e.id === n().slackChannelId), D(() => t.value = e.id), t;
|
|
45077
45138
|
})()
|
|
45078
45139
|
})];
|
|
@@ -45123,10 +45184,10 @@ function h0() {
|
|
|
45123
45184
|
}
|
|
45124
45185
|
}),
|
|
45125
45186
|
(() => {
|
|
45126
|
-
var e =
|
|
45187
|
+
var e = e0(), t = e.firstChild;
|
|
45127
45188
|
return t.addEventListener("change", (e) => void r({ notifyOnCreate: e.currentTarget.checked ? void 0 : !1 })), D(() => t.checked = n().notifyOnCreate !== !1), e;
|
|
45128
45189
|
})(),
|
|
45129
|
-
|
|
45190
|
+
t0()
|
|
45130
45191
|
];
|
|
45131
45192
|
}
|
|
45132
45193
|
}), null), P(e, j(Dj, {
|
|
@@ -45164,7 +45225,7 @@ function h0() {
|
|
|
45164
45225
|
}
|
|
45165
45226
|
}),
|
|
45166
45227
|
(() => {
|
|
45167
|
-
var e =
|
|
45228
|
+
var e = n0(), t = e.firstChild.nextSibling.firstChild, i = t.nextSibling, a = i.nextSibling;
|
|
45168
45229
|
return t.$$click = () => void r({ preferredProvider: void 0 }), i.$$click = () => void r({ preferredProvider: "openai" }), a.$$click = () => void r({ preferredProvider: "anthropic" }), D((e) => {
|
|
45169
45230
|
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
45231
|
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 +45238,16 @@ function h0() {
|
|
|
45177
45238
|
}), e;
|
|
45178
45239
|
})(),
|
|
45179
45240
|
(() => {
|
|
45180
|
-
var e =
|
|
45241
|
+
var e = i0();
|
|
45181
45242
|
return P(e, j(M, {
|
|
45182
45243
|
get when() {
|
|
45183
45244
|
return te();
|
|
45184
45245
|
},
|
|
45185
45246
|
get fallback() {
|
|
45186
|
-
return
|
|
45247
|
+
return _0();
|
|
45187
45248
|
},
|
|
45188
45249
|
get children() {
|
|
45189
|
-
var e =
|
|
45250
|
+
var e = r0();
|
|
45190
45251
|
return P(e, te), e;
|
|
45191
45252
|
}
|
|
45192
45253
|
})), e;
|
|
@@ -45196,7 +45257,7 @@ function h0() {
|
|
|
45196
45257
|
}), null), P(e, j(Dj, {
|
|
45197
45258
|
title: "How it works",
|
|
45198
45259
|
get children() {
|
|
45199
|
-
return
|
|
45260
|
+
return a0();
|
|
45200
45261
|
}
|
|
45201
45262
|
}), null), e;
|
|
45202
45263
|
})();
|
|
@@ -45204,38 +45265,38 @@ function h0() {
|
|
|
45204
45265
|
rt(["click"]);
|
|
45205
45266
|
//#endregion
|
|
45206
45267
|
//#region src/lib/idbCache.ts
|
|
45207
|
-
var
|
|
45268
|
+
var y0 = "linear-grab", b0 = "queries", x0 = [
|
|
45208
45269
|
"my-issues",
|
|
45209
45270
|
"issue",
|
|
45210
45271
|
"sessions",
|
|
45211
45272
|
"teams",
|
|
45212
45273
|
"agents"
|
|
45213
45274
|
];
|
|
45214
|
-
function
|
|
45275
|
+
function S0() {
|
|
45215
45276
|
return new Promise((e) => {
|
|
45216
45277
|
try {
|
|
45217
|
-
let t = indexedDB.open(
|
|
45218
|
-
t.onupgradeneeded = () => t.result.createObjectStore(
|
|
45278
|
+
let t = indexedDB.open(y0, 1);
|
|
45279
|
+
t.onupgradeneeded = () => t.result.createObjectStore(b0), t.onsuccess = () => e(t.result), t.onerror = () => e(null);
|
|
45219
45280
|
} catch {
|
|
45220
45281
|
e(null);
|
|
45221
45282
|
}
|
|
45222
45283
|
});
|
|
45223
45284
|
}
|
|
45224
|
-
function
|
|
45225
|
-
return typeof e[0] == "string" &&
|
|
45285
|
+
function C0(e) {
|
|
45286
|
+
return typeof e[0] == "string" && x0.includes(e[0]);
|
|
45226
45287
|
}
|
|
45227
|
-
async function
|
|
45228
|
-
let t = await
|
|
45288
|
+
async function w0(e) {
|
|
45289
|
+
let t = await S0();
|
|
45229
45290
|
if (!t) return () => {};
|
|
45230
45291
|
await new Promise((n) => {
|
|
45231
45292
|
try {
|
|
45232
|
-
let r = t.transaction(
|
|
45293
|
+
let r = t.transaction(b0, "readonly").objectStore(b0).openCursor();
|
|
45233
45294
|
r.onsuccess = () => {
|
|
45234
45295
|
let t = r.result;
|
|
45235
45296
|
if (!t) return n();
|
|
45236
45297
|
try {
|
|
45237
45298
|
let { queryKey: n, data: r } = t.value;
|
|
45238
|
-
|
|
45299
|
+
C0(n) && e.getQueryData(n) === void 0 && e.setQueryData(n, r, { updatedAt: 0 });
|
|
45239
45300
|
} catch {}
|
|
45240
45301
|
t.continue();
|
|
45241
45302
|
}, r.onerror = () => n();
|
|
@@ -45246,14 +45307,14 @@ async function x0(e) {
|
|
|
45246
45307
|
let n = /* @__PURE__ */ new Map(), r = e.getQueryCache().subscribe((r) => {
|
|
45247
45308
|
if (r.type !== "updated" || r.action.type !== "success") return;
|
|
45248
45309
|
let { queryKey: i, queryHash: a } = r.query;
|
|
45249
|
-
if (!
|
|
45310
|
+
if (!C0(i)) return;
|
|
45250
45311
|
let o = n.get(a);
|
|
45251
45312
|
o && clearTimeout(o), n.set(a, setTimeout(() => {
|
|
45252
45313
|
n.delete(a);
|
|
45253
45314
|
try {
|
|
45254
45315
|
let n = e.getQueryData(i);
|
|
45255
45316
|
if (n === void 0) return;
|
|
45256
|
-
t.transaction(
|
|
45317
|
+
t.transaction(b0, "readwrite").objectStore(b0).put({
|
|
45257
45318
|
queryKey: i,
|
|
45258
45319
|
data: n
|
|
45259
45320
|
}, a);
|
|
@@ -45269,7 +45330,7 @@ async function x0(e) {
|
|
|
45269
45330
|
//#endregion
|
|
45270
45331
|
//#region src/panel/App.tsx
|
|
45271
45332
|
Rr();
|
|
45272
|
-
var
|
|
45333
|
+
var T0 = /*#__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\">"), E0 = /*#__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\">"), D0 = /*#__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\">–"), O0 = /*#__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>"), k0 = /*#__PURE__*/ N("<button>"), A0 = [
|
|
45273
45334
|
{
|
|
45274
45335
|
id: "draft",
|
|
45275
45336
|
label: "Draft"
|
|
@@ -45294,14 +45355,14 @@ var S0 = /*#__PURE__*/ N("<svg viewBox=\"0 0 100 100\"fill=currentColor aria-hid
|
|
|
45294
45355
|
id: "settings",
|
|
45295
45356
|
label: "Settings"
|
|
45296
45357
|
}
|
|
45297
|
-
],
|
|
45358
|
+
], j0 = new gr({ defaultOptions: { queries: {
|
|
45298
45359
|
retry: 1,
|
|
45299
45360
|
refetchOnWindowFocus: !1,
|
|
45300
45361
|
staleTime: 5e3
|
|
45301
45362
|
} } });
|
|
45302
|
-
function
|
|
45363
|
+
function M0(e) {
|
|
45303
45364
|
return (() => {
|
|
45304
|
-
var t =
|
|
45365
|
+
var t = T0();
|
|
45305
45366
|
return D((n) => {
|
|
45306
45367
|
var r = e.size ?? 14, i = e.size ?? 14;
|
|
45307
45368
|
return r !== n.e && it(t, "width", n.e = r), i !== n.t && it(t, "height", n.t = i), n;
|
|
@@ -45311,32 +45372,32 @@ function k0(e) {
|
|
|
45311
45372
|
}), t;
|
|
45312
45373
|
})();
|
|
45313
45374
|
}
|
|
45314
|
-
function
|
|
45375
|
+
function N0(e) {
|
|
45315
45376
|
let [t, n] = T("draft"), r = () => {
|
|
45316
|
-
|
|
45377
|
+
j0.invalidateQueries({ queryKey: ["grab"] }), ZA() === "capture" && n("capture"), e.onGrab?.();
|
|
45317
45378
|
};
|
|
45318
45379
|
return O(() => {
|
|
45319
45380
|
let e = GA();
|
|
45320
45381
|
e && n(e);
|
|
45321
45382
|
}), ie(() => {
|
|
45322
|
-
let e =
|
|
45383
|
+
let e = w0(j0), t = IZ(r), n = () => {
|
|
45323
45384
|
RO().then(qQ), FO();
|
|
45324
45385
|
};
|
|
45325
45386
|
n();
|
|
45326
45387
|
let i = Ar((e) => {
|
|
45327
|
-
e === "settings" && (
|
|
45388
|
+
e === "settings" && (j0.invalidateQueries({ queryKey: ["settings"] }), n()), e === "grab" && r();
|
|
45328
45389
|
});
|
|
45329
45390
|
ae(() => {
|
|
45330
45391
|
t(), i(), e.then((e) => e());
|
|
45331
45392
|
});
|
|
45332
45393
|
}), j(cr, {
|
|
45333
|
-
client:
|
|
45394
|
+
client: j0,
|
|
45334
45395
|
get children() {
|
|
45335
|
-
var r =
|
|
45336
|
-
return i.$$pointerdown = (t) => e.onHeaderPointerDown?.(t), P(a, j(
|
|
45337
|
-
each:
|
|
45396
|
+
var r = O0(), 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;
|
|
45397
|
+
return i.$$pointerdown = (t) => e.onHeaderPointerDown?.(t), P(a, j(M0, { size: 14 })), P(o, j(We, {
|
|
45398
|
+
each: A0,
|
|
45338
45399
|
children: (e) => (() => {
|
|
45339
|
-
var r =
|
|
45400
|
+
var r = k0();
|
|
45340
45401
|
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
45402
|
})()
|
|
45342
45403
|
})), P(i, j(M, {
|
|
@@ -45344,7 +45405,7 @@ function A0(e) {
|
|
|
45344
45405
|
return e.onTogglePin;
|
|
45345
45406
|
},
|
|
45346
45407
|
get children() {
|
|
45347
|
-
var t =
|
|
45408
|
+
var t = E0();
|
|
45348
45409
|
return t.$$click = () => e.onTogglePin?.(), D((n) => {
|
|
45349
45410
|
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
45411
|
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 +45420,10 @@ function A0(e) {
|
|
|
45359
45420
|
return e.onClose;
|
|
45360
45421
|
},
|
|
45361
45422
|
get children() {
|
|
45362
|
-
var t =
|
|
45423
|
+
var t = D0();
|
|
45363
45424
|
return t.$$click = () => e.onClose?.(), t;
|
|
45364
45425
|
}
|
|
45365
|
-
}), null), P(s, j(dM, { onCreated: () => n("activity") })), P(c, j(oQ, {})), P(l, j(
|
|
45426
|
+
}), null), P(s, j(dM, { onCreated: () => n("activity") })), P(c, j(oQ, {})), P(l, j(I$, {})), P(u, j(w1, {})), P(d, j(L1, { onOpenIssue: () => n("activity") })), P(f, j(v0, {})), D((n) => {
|
|
45366
45427
|
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
45428
|
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
45429
|
}, {
|
|
@@ -45380,12 +45441,12 @@ function A0(e) {
|
|
|
45380
45441
|
rt(["pointerdown", "click"]);
|
|
45381
45442
|
//#endregion
|
|
45382
45443
|
//#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}}";
|
|
45444
|
+
var P0 = "/*! 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
45445
|
//#endregion
|
|
45385
45446
|
//#region src/page/index.tsx
|
|
45386
45447
|
Rr();
|
|
45387
|
-
var
|
|
45388
|
-
function
|
|
45448
|
+
var F0 = /*#__PURE__*/ N("<span aria-hidden class=\"bg-danger size-2 shrink-0 animate-pulse rounded-full\">"), I0 = /*#__PURE__*/ N("<span class=\"text-text min-w-[5ch] text-[11px] font-medium tabular-nums\">"), L0 = /*#__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"), R0 = /*#__PURE__*/ N("<p class=\"text-warn px-1.5 pt-1 pb-1.5 text-[10.5px] font-semibold tracking-wide uppercase\">Needs review"), z0 = /*#__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"), B0 = /*#__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\">"), V0 = /*#__PURE__*/ N("<div><div title=\"Drag to resize\">"), H0 = /*#__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\">"), U0 = /*#__PURE__*/ N("<span class=\"bg-border h-4 w-px\"aria-hidden>"), W0 = /*#__PURE__*/ N("<span aria-hidden class=\"bg-warn size-2 rounded-full\">"), G0 = /*#__PURE__*/ N("<span class=\"text-warn min-w-[3.5ch] text-left text-[11px] font-medium tabular-nums\"> rev"), K0 = /*#__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>"), q0 = /*#__PURE__*/ N("<p class=\"text-text-faint px-1.5 pb-1.5 text-[11.5px]\">No agents running right now."), J0 = /*#__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\"> · <!> · ");
|
|
45449
|
+
function Y0(e = {}) {
|
|
45389
45450
|
if (typeof window > "u" || window.__LINEAR_GRAB_PAGE__) return;
|
|
45390
45451
|
window.__LINEAR_GRAB_PAGE__ = !0;
|
|
45391
45452
|
let t = () => {
|
|
@@ -45393,17 +45454,17 @@ function K0(e = {}) {
|
|
|
45393
45454
|
let t = document.createElement("div");
|
|
45394
45455
|
t.id = "linear-grab-root", document.body.appendChild(t);
|
|
45395
45456
|
let n = t.attachShadow({ mode: "open" }), r = document.createElement("style");
|
|
45396
|
-
r.textContent =
|
|
45457
|
+
r.textContent = P0, n.appendChild(r);
|
|
45397
45458
|
let i = document.createElement("div");
|
|
45398
45459
|
n.appendChild(i);
|
|
45399
|
-
let a = () => i.setAttribute("data-theme",
|
|
45400
|
-
a(), matchMedia("(prefers-color-scheme: light)").addEventListener("change", a), nt(() => j(
|
|
45460
|
+
let a = () => i.setAttribute("data-theme", X0());
|
|
45461
|
+
a(), matchMedia("(prefers-color-scheme: light)").addEventListener("change", a), nt(() => j(n2, { get defaultOpen() {
|
|
45401
45462
|
return e.defaultOpen ?? !1;
|
|
45402
45463
|
} }), i);
|
|
45403
45464
|
};
|
|
45404
45465
|
document.body ? t() : document.addEventListener("DOMContentLoaded", t, { once: !0 });
|
|
45405
45466
|
}
|
|
45406
|
-
function
|
|
45467
|
+
function X0() {
|
|
45407
45468
|
try {
|
|
45408
45469
|
let e = [document.body, document.documentElement];
|
|
45409
45470
|
for (let t of e) {
|
|
@@ -45413,11 +45474,11 @@ function q0() {
|
|
|
45413
45474
|
} catch {}
|
|
45414
45475
|
return matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark";
|
|
45415
45476
|
}
|
|
45416
|
-
var
|
|
45417
|
-
function
|
|
45477
|
+
var Z0 = 130, Q0 = 36, $0 = 380, e2 = 280, t2 = 720;
|
|
45478
|
+
function n2(e) {
|
|
45418
45479
|
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 -
|
|
45480
|
+
x: Math.max(8, window.innerWidth - Z0 - 24),
|
|
45481
|
+
y: Math.max(8, window.innerHeight - Q0 - 20)
|
|
45421
45482
|
}), [s, c] = T({
|
|
45422
45483
|
running: [],
|
|
45423
45484
|
review: []
|
|
@@ -45432,12 +45493,12 @@ function $0(e) {
|
|
|
45432
45493
|
let t = Math.floor(e / 1e3);
|
|
45433
45494
|
return `${Math.floor(t / 60)}:${String(t % 60).padStart(2, "0")}`;
|
|
45434
45495
|
}, [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 -
|
|
45496
|
+
x: Math.min(Math.max(8, e.x), window.innerWidth - Z0 - 8),
|
|
45497
|
+
y: Math.min(Math.max(8, e.y), window.innerHeight - Q0 - 8)
|
|
45437
45498
|
}), x = (e) => ({
|
|
45438
45499
|
x: Math.min(Math.max(8 - (te() - 80), e.x), window.innerWidth - 80),
|
|
45439
45500
|
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(
|
|
45501
|
+
}), [S, C] = T(!1), [w, E] = T("cloud"), [k, ee] = T(!1), [te, A] = T($0), ne = (e) => Math.min(t2, Math.max(e2, Math.min(e, window.innerWidth - 60)));
|
|
45441
45502
|
O(() => {
|
|
45442
45503
|
let e = document.documentElement, n = t() && S();
|
|
45443
45504
|
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 +45606,7 @@ function $0(e) {
|
|
|
45545
45606
|
return !t();
|
|
45546
45607
|
},
|
|
45547
45608
|
get children() {
|
|
45548
|
-
var e =
|
|
45609
|
+
var e = B0(), t = e.firstChild;
|
|
45549
45610
|
return t.$$pointerdown = se, P(t, j(M, {
|
|
45550
45611
|
get when() {
|
|
45551
45612
|
return p() === "recording";
|
|
@@ -45553,14 +45614,14 @@ function $0(e) {
|
|
|
45553
45614
|
get fallback() {
|
|
45554
45615
|
return [
|
|
45555
45616
|
(() => {
|
|
45556
|
-
var e =
|
|
45617
|
+
var e = H0();
|
|
45557
45618
|
return e.$$click = () => {
|
|
45558
45619
|
oe || (f(!1), n(!0));
|
|
45559
|
-
}, P(e, j(
|
|
45620
|
+
}, P(e, j(M0, { size: 13 })), e;
|
|
45560
45621
|
})(),
|
|
45561
|
-
|
|
45622
|
+
U0(),
|
|
45562
45623
|
(() => {
|
|
45563
|
-
var e =
|
|
45624
|
+
var e = K0(), t = e.firstChild, n = t.nextSibling;
|
|
45564
45625
|
return e.$$click = () => {
|
|
45565
45626
|
oe || f((e) => !e);
|
|
45566
45627
|
}, P(n, (() => {
|
|
@@ -45571,8 +45632,8 @@ function $0(e) {
|
|
|
45571
45632
|
return $e(() => !k())() && u().length > 0;
|
|
45572
45633
|
},
|
|
45573
45634
|
get children() {
|
|
45574
|
-
return [
|
|
45575
|
-
var e =
|
|
45635
|
+
return [W0(), (() => {
|
|
45636
|
+
var e = G0(), t = e.firstChild;
|
|
45576
45637
|
return P(e, () => u().length, t), e;
|
|
45577
45638
|
})()];
|
|
45578
45639
|
}
|
|
@@ -45588,13 +45649,13 @@ function $0(e) {
|
|
|
45588
45649
|
},
|
|
45589
45650
|
get children() {
|
|
45590
45651
|
return [
|
|
45591
|
-
|
|
45652
|
+
F0(),
|
|
45592
45653
|
(() => {
|
|
45593
|
-
var e =
|
|
45654
|
+
var e = I0();
|
|
45594
45655
|
return P(e, () => _(h())), e;
|
|
45595
45656
|
})(),
|
|
45596
45657
|
(() => {
|
|
45597
|
-
var e =
|
|
45658
|
+
var e = L0();
|
|
45598
45659
|
return e.$$click = () => {
|
|
45599
45660
|
oe || QD();
|
|
45600
45661
|
}, e;
|
|
@@ -45606,17 +45667,17 @@ function $0(e) {
|
|
|
45606
45667
|
return d();
|
|
45607
45668
|
},
|
|
45608
45669
|
get children() {
|
|
45609
|
-
var e =
|
|
45670
|
+
var e = z0(), t = e.firstChild;
|
|
45610
45671
|
return P(e, j(M, {
|
|
45611
45672
|
get when() {
|
|
45612
45673
|
return u().length > 0;
|
|
45613
45674
|
},
|
|
45614
45675
|
get children() {
|
|
45615
|
-
return [
|
|
45676
|
+
return [R0(), j(We, {
|
|
45616
45677
|
get each() {
|
|
45617
45678
|
return u();
|
|
45618
45679
|
},
|
|
45619
|
-
children: (e) => j(
|
|
45680
|
+
children: (e) => j(r2, {
|
|
45620
45681
|
agent: e,
|
|
45621
45682
|
review: !0,
|
|
45622
45683
|
onOpen: le
|
|
@@ -45628,14 +45689,14 @@ function $0(e) {
|
|
|
45628
45689
|
return l().length > 0;
|
|
45629
45690
|
},
|
|
45630
45691
|
get fallback() {
|
|
45631
|
-
return
|
|
45692
|
+
return q0();
|
|
45632
45693
|
},
|
|
45633
45694
|
get children() {
|
|
45634
45695
|
return j(We, {
|
|
45635
45696
|
get each() {
|
|
45636
45697
|
return l();
|
|
45637
45698
|
},
|
|
45638
|
-
children: (e) => j(
|
|
45699
|
+
children: (e) => j(r2, {
|
|
45639
45700
|
agent: e,
|
|
45640
45701
|
onOpen: le
|
|
45641
45702
|
})
|
|
@@ -45656,8 +45717,8 @@ function $0(e) {
|
|
|
45656
45717
|
return t();
|
|
45657
45718
|
},
|
|
45658
45719
|
get children() {
|
|
45659
|
-
var e =
|
|
45660
|
-
return t.$$pointerdown = ue, P(e, j(
|
|
45720
|
+
var e = V0(), t = e.firstChild;
|
|
45721
|
+
return t.$$pointerdown = ue, P(e, j(N0, {
|
|
45661
45722
|
onGrab: () => n(!0),
|
|
45662
45723
|
onClose: () => n(!1),
|
|
45663
45724
|
get onHeaderPointerDown() {
|
|
@@ -45685,19 +45746,19 @@ function $0(e) {
|
|
|
45685
45746
|
}
|
|
45686
45747
|
})];
|
|
45687
45748
|
}
|
|
45688
|
-
function
|
|
45749
|
+
function r2(e) {
|
|
45689
45750
|
return (() => {
|
|
45690
|
-
var t =
|
|
45751
|
+
var t = J0(), n = t.firstChild, r = n.firstChild, i = r.nextSibling, a = i.nextSibling, o = n.nextSibling, s = o.firstChild, c = s.nextSibling;
|
|
45691
45752
|
return c.nextSibling, t.$$click = () => e.onOpen(e.agent.id), P(i, () => e.agent.identifier), P(a, () => e.agent.title), P(o, (() => {
|
|
45692
45753
|
var t = $e(() => !!e.review);
|
|
45693
45754
|
return () => t() ? "PR ready · needs review" : e.agent.stateName;
|
|
45694
|
-
})(), s), P(o, () => e.agent.delegateName, c), P(o, () =>
|
|
45755
|
+
})(), s), P(o, () => e.agent.delegateName, c), P(o, () => i2(e.agent.updatedAt), null), D((t) => dt(r, "background", e.review ? "var(--color-warn)" : e.agent.stateColor)), t;
|
|
45695
45756
|
})();
|
|
45696
45757
|
}
|
|
45697
|
-
function
|
|
45758
|
+
function i2(e) {
|
|
45698
45759
|
let t = Math.max(0, Math.floor((Date.now() - Date.parse(e)) / 1e3));
|
|
45699
45760
|
return t < 60 ? "now" : t < 3600 ? `${Math.floor(t / 60)}m` : t < 86400 ? `${Math.floor(t / 3600)}h` : `${Math.floor(t / 86400)}d`;
|
|
45700
45761
|
}
|
|
45701
45762
|
rt(["pointerdown", "click"]);
|
|
45702
45763
|
//#endregion
|
|
45703
|
-
export {
|
|
45764
|
+
export { Y0 as init };
|