linear-grab 0.16.0 → 0.16.1
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 +234 -217
- package/package.json +1 -1
package/dist/linear-grab.js
CHANGED
|
@@ -42948,15 +42948,15 @@ function YQ(e) {
|
|
|
42948
42948
|
//#endregion
|
|
42949
42949
|
//#region src/panel/views/ActivityView.tsx
|
|
42950
42950
|
Rr();
|
|
42951
|
-
var XQ = /*#__PURE__*/ N("<div class=\"lg-md text-text text-[12px] leading-relaxed break-words\">"), ZQ = /*#__PURE__*/ N("<div class=\"flex h-full flex-col\">"), QQ = /*#__PURE__*/ N("<span class=\"tabular-nums text-[10.5px] text-text-faint\">live · updated "), $Q = /*#__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\">"), e$ = /*#__PURE__*/ N("<div class=\"flex-1 overflow-y-auto\">"), t$ = /*#__PURE__*/ N("<div class=\"min-h-0 flex-1 overflow-y-auto pl-2 pr-3\"><div style=position:relative>"), n$ = /*#__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\">"), r$ = /*#__PURE__*/ N("<div style=position:absolute;top:0;left:0;width:100%>"), i$ = /*#__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\">"), a$ = /*#__PURE__*/ N("<span class=\"inline-block min-w-[6ch] text-left\">← Back"), o$ = /*#__PURE__*/ N("<span class=\"font-mono text-[11px] text-text-dim shrink-0\">"), s$ = /*#__PURE__*/ N("<span class=\"truncate text-[12px] font-medium text-text\">"), c$ = /*#__PURE__*/ N("<span class=\"text-[11.5px] text-text-faint\">Loading…"), l$ = /*#__PURE__*/ N("<div class=\"flex items-center gap-2\"><span class=\"text-[11px] text-text-dim\">"), u$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-2\">"), d$ = /*#__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\">"), f$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-2.5\"><span class=\"text-[10.5px] font-semibold uppercase tracking-wide text-text-dim\">Comments"), p$ = /*#__PURE__*/ N("<option value=new>Start NEW agent (@<!>)"),
|
|
42952
|
-
function
|
|
42951
|
+
var XQ = /*#__PURE__*/ N("<div class=\"lg-md text-text text-[12px] leading-relaxed break-words\">"), ZQ = /*#__PURE__*/ N("<div class=\"flex h-full flex-col\">"), QQ = /*#__PURE__*/ N("<span class=\"tabular-nums text-[10.5px] text-text-faint\">live · updated "), $Q = /*#__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\">"), e$ = /*#__PURE__*/ N("<div class=\"flex-1 overflow-y-auto\">"), t$ = /*#__PURE__*/ N("<div class=\"min-h-0 flex-1 overflow-y-auto pl-2 pr-3\"><div style=position:relative>"), n$ = /*#__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\">"), r$ = /*#__PURE__*/ N("<div style=position:absolute;top:0;left:0;width:100%>"), i$ = /*#__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\">"), a$ = /*#__PURE__*/ N("<span class=\"inline-block min-w-[6ch] text-left\">← Back"), o$ = /*#__PURE__*/ N("<span class=\"font-mono text-[11px] text-text-dim shrink-0\">"), s$ = /*#__PURE__*/ N("<span class=\"truncate text-[12px] font-medium text-text\">"), c$ = /*#__PURE__*/ N("<span class=\"text-[11.5px] text-text-faint\">Loading…"), l$ = /*#__PURE__*/ N("<div class=\"flex items-center gap-2\"><span class=\"text-[11px] text-text-dim\">"), u$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-2\">"), d$ = /*#__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\">"), f$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-2.5\"><span class=\"text-[10.5px] font-semibold uppercase tracking-wide text-text-dim\">Comments"), p$ = /*#__PURE__*/ N("<option value=local>Message local Claude Code session"), m$ = /*#__PURE__*/ N("<option value=new>Start NEW agent (@<!>)"), h$ = /*#__PURE__*/ N("<option value=comment>Comment only"), g$ = /*#__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\">"), _$ = /*#__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>"), v$ = /*#__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\">"), y$ = /*#__PURE__*/ N("<span class=\"inline-block min-w-[4ch] text-left\">Send"), b$ = /*#__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\">"), x$ = /*#__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\">"), S$ = /*#__PURE__*/ N("<span class=\"inline-block min-w-[6ch] text-center\">Merge"), C$ = /*#__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\">"), w$ = /*#__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\">"), T$ = /*#__PURE__*/ N("<option>Steer running agent<!> · "), E$ = /*#__PURE__*/ N("<span class=\"bg-danger inline-block size-2.5 rounded-full\"aria-hidden>"), D$ = /*#__PURE__*/ N("<span class=\"text-[11px] text-text-dim\">"), O$ = /*#__PURE__*/ N("<p class=\"text-[12px] text-text leading-relaxed whitespace-pre-wrap break-words\">"), k$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-0.5 border-t border-border pt-1.5 mt-0.5\">"), A$ = /*#__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\">"), j$ = /*#__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\">");
|
|
42952
|
+
function M$(e) {
|
|
42953
42953
|
let t = k(() => YQ(e.text));
|
|
42954
42954
|
return (() => {
|
|
42955
42955
|
var e = XQ();
|
|
42956
42956
|
return D(() => e.innerHTML = t()), e;
|
|
42957
42957
|
})();
|
|
42958
42958
|
}
|
|
42959
|
-
function
|
|
42959
|
+
function N$() {
|
|
42960
42960
|
let [e, t] = T(null);
|
|
42961
42961
|
return O(() => {
|
|
42962
42962
|
let e = qA();
|
|
@@ -42968,7 +42968,7 @@ function M$() {
|
|
|
42968
42968
|
return e() === null;
|
|
42969
42969
|
},
|
|
42970
42970
|
get fallback() {
|
|
42971
|
-
return j(
|
|
42971
|
+
return j(I$, {
|
|
42972
42972
|
get issueId() {
|
|
42973
42973
|
return e();
|
|
42974
42974
|
},
|
|
@@ -42976,12 +42976,12 @@ function M$() {
|
|
|
42976
42976
|
});
|
|
42977
42977
|
},
|
|
42978
42978
|
get children() {
|
|
42979
|
-
return j(
|
|
42979
|
+
return j(P$, { onSelect: (e) => t(e) });
|
|
42980
42980
|
}
|
|
42981
42981
|
})), n;
|
|
42982
42982
|
})();
|
|
42983
42983
|
}
|
|
42984
|
-
function
|
|
42984
|
+
function P$(e) {
|
|
42985
42985
|
let t, n = _r(() => ({
|
|
42986
42986
|
queryKey: ["my-issues"],
|
|
42987
42987
|
queryFn: uO,
|
|
@@ -43053,7 +43053,7 @@ function N$(e) {
|
|
|
43053
43053
|
let n = k(() => r()[t.index]);
|
|
43054
43054
|
return (() => {
|
|
43055
43055
|
var r = r$();
|
|
43056
|
-
return P(r, j(
|
|
43056
|
+
return P(r, j(F$, {
|
|
43057
43057
|
get issue() {
|
|
43058
43058
|
return n();
|
|
43059
43059
|
},
|
|
@@ -43068,7 +43068,7 @@ function N$(e) {
|
|
|
43068
43068
|
}), null), a;
|
|
43069
43069
|
})();
|
|
43070
43070
|
}
|
|
43071
|
-
function
|
|
43071
|
+
function F$(e) {
|
|
43072
43072
|
return (() => {
|
|
43073
43073
|
var t = i$(), n = t.firstChild, r = n.firstChild, i = r.nextSibling, a = n.nextSibling, o = a.firstChild;
|
|
43074
43074
|
return t.$$click = () => e.onSelect(e.issue.id), P(n, j(kj, { get color() {
|
|
@@ -43104,7 +43104,7 @@ function P$(e) {
|
|
|
43104
43104
|
}), o), P(o, () => Nj(e.issue.updatedAt)), t;
|
|
43105
43105
|
})();
|
|
43106
43106
|
}
|
|
43107
|
-
function
|
|
43107
|
+
function I$(e) {
|
|
43108
43108
|
let t = sr(), n = _r(() => ({
|
|
43109
43109
|
queryKey: ["issue", e.issueId],
|
|
43110
43110
|
queryFn: () => dO(e.issueId),
|
|
@@ -43192,19 +43192,25 @@ function F$(e) {
|
|
|
43192
43192
|
} finally {
|
|
43193
43193
|
A(null);
|
|
43194
43194
|
}
|
|
43195
|
-
}, ce = k(() => n.data ? yO(n.data.comments) : []), [le, ue] = T("comment"), de = !1;
|
|
43195
|
+
}, ce = k(() => n.data ? yO(n.data.comments) : []), [le, ue] = T("comment"), de = !1, fe = !1;
|
|
43196
43196
|
O(() => {
|
|
43197
|
-
if (
|
|
43198
|
-
|
|
43197
|
+
if (fe || !n.data || !i.data) return;
|
|
43198
|
+
fe = !0;
|
|
43199
43199
|
let e = ce();
|
|
43200
43200
|
e.length ? ue(`thread:${e[0].id}`) : n.data.delegate && i.data.cursorAgentId && ue("new");
|
|
43201
|
+
}), O(() => {
|
|
43202
|
+
de || o() && (le() === "comment" || le() === "new") && ue("local");
|
|
43201
43203
|
});
|
|
43202
|
-
let
|
|
43204
|
+
let pe = vr(() => ({
|
|
43203
43205
|
mutationFn: async () => {
|
|
43204
43206
|
let t = c().trim();
|
|
43205
43207
|
if (!t) throw Error("Message is empty");
|
|
43206
43208
|
let n = i.data ?? {}, r = le();
|
|
43207
|
-
|
|
43209
|
+
if (r === "local") {
|
|
43210
|
+
let n = o();
|
|
43211
|
+
if (!n) throw Error("Local session not found — is the bridge running?");
|
|
43212
|
+
await AO(n.id, t), await _O(e.issueId, `🖥️ **→ local agent:** ${t}`).catch(() => {});
|
|
43213
|
+
} else r.startsWith("thread:") ? await _O(e.issueId, t, r.slice(7)) : r === "new" && n.cursorAgentId ? await vO(e.issueId, t, {
|
|
43208
43214
|
name: n.cursorAgentName,
|
|
43209
43215
|
displayName: n.cursorAgentName ?? "Cursor",
|
|
43210
43216
|
url: n.cursorAgentUrl
|
|
@@ -43216,9 +43222,9 @@ function F$(e) {
|
|
|
43216
43222
|
onError: (e) => {
|
|
43217
43223
|
d(e.message ?? "Failed to send");
|
|
43218
43224
|
}
|
|
43219
|
-
})),
|
|
43225
|
+
})), me = k(() => n.data), he = k(() => r.data ?? []);
|
|
43220
43226
|
return (() => {
|
|
43221
|
-
var t =
|
|
43227
|
+
var t = b$(), r = t.firstChild, a = r.firstChild, d = r.nextSibling, f = d.nextSibling, p = f.firstChild;
|
|
43222
43228
|
return P(a, j(vj, {
|
|
43223
43229
|
class: "min-w-[68px] shrink-0 text-[11px]",
|
|
43224
43230
|
get onClick() {
|
|
@@ -43229,35 +43235,35 @@ function F$(e) {
|
|
|
43229
43235
|
}
|
|
43230
43236
|
}), null), P(a, j(M, {
|
|
43231
43237
|
get when() {
|
|
43232
|
-
return
|
|
43238
|
+
return me();
|
|
43233
43239
|
},
|
|
43234
43240
|
get children() {
|
|
43235
43241
|
return [(() => {
|
|
43236
43242
|
var e = o$();
|
|
43237
|
-
return P(e, () =>
|
|
43243
|
+
return P(e, () => me().identifier), e;
|
|
43238
43244
|
})(), (() => {
|
|
43239
43245
|
var e = s$();
|
|
43240
|
-
return P(e, () =>
|
|
43246
|
+
return P(e, () => me().title), e;
|
|
43241
43247
|
})()];
|
|
43242
43248
|
}
|
|
43243
43249
|
}), null), P(a, j(M, {
|
|
43244
43250
|
get when() {
|
|
43245
|
-
return $e(() => !!n.isPending)() && !
|
|
43251
|
+
return $e(() => !!n.isPending)() && !me();
|
|
43246
43252
|
},
|
|
43247
43253
|
get children() {
|
|
43248
43254
|
return c$();
|
|
43249
43255
|
}
|
|
43250
43256
|
}), null), P(r, j(M, {
|
|
43251
43257
|
get when() {
|
|
43252
|
-
return
|
|
43258
|
+
return me();
|
|
43253
43259
|
},
|
|
43254
43260
|
get children() {
|
|
43255
43261
|
var e = l$(), t = e.firstChild;
|
|
43256
43262
|
return P(e, j(kj, { get color() {
|
|
43257
|
-
return
|
|
43258
|
-
} }), t), P(t, () =>
|
|
43263
|
+
return me().state.color;
|
|
43264
|
+
} }), t), P(t, () => me().state.name), P(e, j(Tj, {
|
|
43259
43265
|
get href() {
|
|
43260
|
-
return
|
|
43266
|
+
return me().url;
|
|
43261
43267
|
},
|
|
43262
43268
|
class: "ml-auto shrink-0",
|
|
43263
43269
|
children: "Open in Linear"
|
|
@@ -43270,7 +43276,7 @@ function F$(e) {
|
|
|
43270
43276
|
children: (e) => {
|
|
43271
43277
|
let t = () => s(e());
|
|
43272
43278
|
return (() => {
|
|
43273
|
-
var n =
|
|
43279
|
+
var n = x$(), r = n.firstChild, i = r.firstChild.firstChild, a = i.nextSibling.nextSibling.nextSibling;
|
|
43274
43280
|
a.firstChild;
|
|
43275
43281
|
var o = r.nextSibling, s = o.firstChild, c = s.nextSibling;
|
|
43276
43282
|
return P(i, j(wj, { size: 12 })), P(a, () => Nj(e().startedAt), null), P(r, j(Oj, { get children() {
|
|
@@ -43290,31 +43296,31 @@ function F$(e) {
|
|
|
43290
43296
|
}
|
|
43291
43297
|
}), null), P(d, j(M, {
|
|
43292
43298
|
get when() {
|
|
43293
|
-
return
|
|
43299
|
+
return he().length > 0;
|
|
43294
43300
|
},
|
|
43295
43301
|
get children() {
|
|
43296
43302
|
var e = u$();
|
|
43297
43303
|
return P(e, j(We, {
|
|
43298
43304
|
get each() {
|
|
43299
|
-
return
|
|
43305
|
+
return he();
|
|
43300
43306
|
},
|
|
43301
|
-
children: (e) => j(
|
|
43307
|
+
children: (e) => j(L$, { session: e })
|
|
43302
43308
|
})), e;
|
|
43303
43309
|
}
|
|
43304
43310
|
}), null), P(d, j(M, {
|
|
43305
43311
|
get when() {
|
|
43306
|
-
return $e(() => !!
|
|
43312
|
+
return $e(() => !!me())() && me().attachments.length > 0;
|
|
43307
43313
|
},
|
|
43308
43314
|
get children() {
|
|
43309
43315
|
var e = d$(), t = e.firstChild.nextSibling;
|
|
43310
43316
|
return P(t, j(We, {
|
|
43311
43317
|
get each() {
|
|
43312
|
-
return
|
|
43318
|
+
return me().attachments;
|
|
43313
43319
|
},
|
|
43314
43320
|
children: (e) => {
|
|
43315
43321
|
let t = /github\.com\/[^/]+\/[^/]+\/pull\/\d+/i.test(e.url);
|
|
43316
43322
|
return (() => {
|
|
43317
|
-
var n =
|
|
43323
|
+
var n = C$(), r = n.firstChild;
|
|
43318
43324
|
return P(r, () => e.title), P(n, j(M, {
|
|
43319
43325
|
get when() {
|
|
43320
43326
|
return $e(() => !!(t && ee(e.url)))() && ee(e.url) !== "OPEN";
|
|
@@ -43345,7 +43351,7 @@ function F$(e) {
|
|
|
43345
43351
|
},
|
|
43346
43352
|
onClick: () => void se(e.url),
|
|
43347
43353
|
get children() {
|
|
43348
|
-
return
|
|
43354
|
+
return S$();
|
|
43349
43355
|
}
|
|
43350
43356
|
});
|
|
43351
43357
|
}
|
|
@@ -43371,18 +43377,18 @@ function F$(e) {
|
|
|
43371
43377
|
}
|
|
43372
43378
|
}), null), P(d, j(M, {
|
|
43373
43379
|
get when() {
|
|
43374
|
-
return $e(() => !!
|
|
43380
|
+
return $e(() => !!me())() && me().comments.length > 0;
|
|
43375
43381
|
},
|
|
43376
43382
|
get children() {
|
|
43377
43383
|
var e = f$();
|
|
43378
43384
|
return e.firstChild, P(e, j(Ge, {
|
|
43379
43385
|
get each() {
|
|
43380
|
-
return
|
|
43386
|
+
return me().comments;
|
|
43381
43387
|
},
|
|
43382
43388
|
children: (e) => {
|
|
43383
43389
|
let t = e();
|
|
43384
43390
|
return (() => {
|
|
43385
|
-
var e =
|
|
43391
|
+
var e = w$(), n = e.firstChild, r = n.firstChild, i = r.nextSibling;
|
|
43386
43392
|
return P(r, () => t.user?.displayName ?? t.user?.name ?? "Unknown"), P(n, j(M, {
|
|
43387
43393
|
get when() {
|
|
43388
43394
|
return t.user?.app;
|
|
@@ -43390,7 +43396,7 @@ function F$(e) {
|
|
|
43390
43396
|
get children() {
|
|
43391
43397
|
return j(Oj, { children: "agent" });
|
|
43392
43398
|
}
|
|
43393
|
-
}), i), P(i, () => Nj(t.createdAt)), P(e, j(
|
|
43399
|
+
}), i), P(i, () => Nj(t.createdAt)), P(e, j(M$, { get text() {
|
|
43394
43400
|
return t.body;
|
|
43395
43401
|
} }), null), e;
|
|
43396
43402
|
})();
|
|
@@ -43399,7 +43405,7 @@ function F$(e) {
|
|
|
43399
43405
|
}
|
|
43400
43406
|
}), null), P(d, j(M, {
|
|
43401
43407
|
get when() {
|
|
43402
|
-
return $e(() => !!(
|
|
43408
|
+
return $e(() => !!(me() && me().comments.length === 0))() && he().length === 0;
|
|
43403
43409
|
},
|
|
43404
43410
|
get children() {
|
|
43405
43411
|
return j(Aj, {
|
|
@@ -43409,7 +43415,7 @@ function F$(e) {
|
|
|
43409
43415
|
}
|
|
43410
43416
|
}), null), P(d, j(M, {
|
|
43411
43417
|
get when() {
|
|
43412
|
-
return $e(() => !!n.isError)() && !
|
|
43418
|
+
return $e(() => !!n.isError)() && !me();
|
|
43413
43419
|
},
|
|
43414
43420
|
get children() {
|
|
43415
43421
|
return j(Aj, {
|
|
@@ -43436,22 +43442,33 @@ function F$(e) {
|
|
|
43436
43442
|
},
|
|
43437
43443
|
onInput: (e) => l(e.target.value),
|
|
43438
43444
|
get disabled() {
|
|
43439
|
-
return
|
|
43445
|
+
return pe.isPending;
|
|
43440
43446
|
}
|
|
43441
43447
|
}), p), P(p, j(Sj, {
|
|
43442
43448
|
class: "min-w-0 flex-1",
|
|
43443
43449
|
get value() {
|
|
43444
43450
|
return le();
|
|
43445
43451
|
},
|
|
43446
|
-
onChange: (e) =>
|
|
43452
|
+
onChange: (e) => {
|
|
43453
|
+
de = !0, ue(e.currentTarget.value);
|
|
43454
|
+
},
|
|
43447
43455
|
get children() {
|
|
43448
43456
|
return [
|
|
43457
|
+
j(M, {
|
|
43458
|
+
get when() {
|
|
43459
|
+
return o();
|
|
43460
|
+
},
|
|
43461
|
+
get children() {
|
|
43462
|
+
var e = p$();
|
|
43463
|
+
return D(() => e.selected = le() === "local"), e;
|
|
43464
|
+
}
|
|
43465
|
+
}),
|
|
43449
43466
|
j(We, {
|
|
43450
43467
|
get each() {
|
|
43451
43468
|
return ce();
|
|
43452
43469
|
},
|
|
43453
43470
|
children: (e, t) => (() => {
|
|
43454
|
-
var n =
|
|
43471
|
+
var n = T$(), r = n.firstChild.nextSibling;
|
|
43455
43472
|
return r.nextSibling, P(n, (() => {
|
|
43456
43473
|
var e = $e(() => ce().length > 1);
|
|
43457
43474
|
return () => e() ? ` #${t() + 1}` : "";
|
|
@@ -43463,12 +43480,12 @@ function F$(e) {
|
|
|
43463
43480
|
return i.data?.cursorAgentId;
|
|
43464
43481
|
},
|
|
43465
43482
|
get children() {
|
|
43466
|
-
var e =
|
|
43483
|
+
var e = m$(), t = e.firstChild.nextSibling;
|
|
43467
43484
|
return t.nextSibling, P(e, () => i.data?.cursorAgentName ?? "Cursor", t), D(() => e.selected = le() === "new"), e;
|
|
43468
43485
|
}
|
|
43469
43486
|
}),
|
|
43470
43487
|
(() => {
|
|
43471
|
-
var e =
|
|
43488
|
+
var e = h$();
|
|
43472
43489
|
return D(() => e.selected = le() === "comment"), e;
|
|
43473
43490
|
})()
|
|
43474
43491
|
];
|
|
@@ -43484,7 +43501,7 @@ function F$(e) {
|
|
|
43484
43501
|
"aria-label": "Pick element for reply",
|
|
43485
43502
|
onClick: v,
|
|
43486
43503
|
get children() {
|
|
43487
|
-
return
|
|
43504
|
+
return g$();
|
|
43488
43505
|
}
|
|
43489
43506
|
}), null), P(p, j(vj, {
|
|
43490
43507
|
variant: "ghost",
|
|
@@ -43502,10 +43519,10 @@ function F$(e) {
|
|
|
43502
43519
|
return y().phase === "recording";
|
|
43503
43520
|
},
|
|
43504
43521
|
get fallback() {
|
|
43505
|
-
return
|
|
43522
|
+
return E$();
|
|
43506
43523
|
},
|
|
43507
43524
|
get children() {
|
|
43508
|
-
return
|
|
43525
|
+
return _$();
|
|
43509
43526
|
}
|
|
43510
43527
|
});
|
|
43511
43528
|
}
|
|
@@ -43519,31 +43536,31 @@ function F$(e) {
|
|
|
43519
43536
|
"aria-label": "Attach captures",
|
|
43520
43537
|
onClick: () => void _(),
|
|
43521
43538
|
get children() {
|
|
43522
|
-
return
|
|
43539
|
+
return v$();
|
|
43523
43540
|
}
|
|
43524
43541
|
}), null), P(p, j(vj, {
|
|
43525
43542
|
class: "min-w-[52px] shrink-0",
|
|
43526
43543
|
variant: "primary",
|
|
43527
43544
|
get loading() {
|
|
43528
|
-
return
|
|
43545
|
+
return pe.isPending;
|
|
43529
43546
|
},
|
|
43530
43547
|
get disabled() {
|
|
43531
43548
|
return c().trim().length === 0;
|
|
43532
43549
|
},
|
|
43533
|
-
onClick: () =>
|
|
43550
|
+
onClick: () => pe.mutate(),
|
|
43534
43551
|
get children() {
|
|
43535
|
-
return
|
|
43552
|
+
return y$();
|
|
43536
43553
|
}
|
|
43537
43554
|
}), null), t;
|
|
43538
43555
|
})();
|
|
43539
43556
|
}
|
|
43540
|
-
function
|
|
43557
|
+
function L$(e) {
|
|
43541
43558
|
let t = k(() => {
|
|
43542
43559
|
let t = e.session.status;
|
|
43543
43560
|
return /complete|done/i.test(t) ? "var(--color-success)" : /await|pending|elicit/i.test(t) ? "var(--color-warn)" : "var(--color-accent)";
|
|
43544
43561
|
}), n = k(() => e.session.activities.slice(-10));
|
|
43545
43562
|
return (() => {
|
|
43546
|
-
var r =
|
|
43563
|
+
var r = A$(), i = r.firstChild, a = i.firstChild;
|
|
43547
43564
|
return P(i, j(Oj, {
|
|
43548
43565
|
get color() {
|
|
43549
43566
|
return t();
|
|
@@ -43556,7 +43573,7 @@ function I$(e) {
|
|
|
43556
43573
|
return e.session.appUser?.displayName;
|
|
43557
43574
|
},
|
|
43558
43575
|
get children() {
|
|
43559
|
-
var t =
|
|
43576
|
+
var t = D$();
|
|
43560
43577
|
return P(t, () => e.session.appUser.displayName), t;
|
|
43561
43578
|
}
|
|
43562
43579
|
}), a), P(a, () => Nj(e.session.updatedAt)), P(r, j(M, {
|
|
@@ -43564,7 +43581,7 @@ function I$(e) {
|
|
|
43564
43581
|
return e.session.summary;
|
|
43565
43582
|
},
|
|
43566
43583
|
get children() {
|
|
43567
|
-
var t =
|
|
43584
|
+
var t = O$();
|
|
43568
43585
|
return P(t, () => e.session.summary), t;
|
|
43569
43586
|
}
|
|
43570
43587
|
}), null), P(r, j(M, {
|
|
@@ -43572,7 +43589,7 @@ function I$(e) {
|
|
|
43572
43589
|
return n().length > 0;
|
|
43573
43590
|
},
|
|
43574
43591
|
get children() {
|
|
43575
|
-
var e =
|
|
43592
|
+
var e = k$();
|
|
43576
43593
|
return P(e, j(We, {
|
|
43577
43594
|
get each() {
|
|
43578
43595
|
return n();
|
|
@@ -43580,7 +43597,7 @@ function I$(e) {
|
|
|
43580
43597
|
children: (e) => {
|
|
43581
43598
|
let t = e.content, n = String(t?.body ?? t?.text ?? t?.type ?? JSON.stringify(t)).slice(0, 300);
|
|
43582
43599
|
return (() => {
|
|
43583
|
-
var t =
|
|
43600
|
+
var t = j$(), r = t.firstChild, i = r.nextSibling;
|
|
43584
43601
|
return P(r, () => Nj(e.createdAt)), P(i, n), t;
|
|
43585
43602
|
})();
|
|
43586
43603
|
}
|
|
@@ -43592,7 +43609,7 @@ function I$(e) {
|
|
|
43592
43609
|
//#endregion
|
|
43593
43610
|
//#region src/panel/views/LocalView.tsx
|
|
43594
43611
|
rt(["click"]), Rr();
|
|
43595
|
-
var
|
|
43612
|
+
var R$ = /*#__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\">"), z$ = /*#__PURE__*/ N("<div><p></p><div class=\"lg-md text-text text-[11.5px] leading-relaxed break-words\">"), B$ = /*#__PURE__*/ N("<p>"), V$ = /*#__PURE__*/ N("<span class=\"text-text-faint max-w-[55%] truncate text-[10.5px] tabular-nums\"> running · "), H$ = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1.5\">"), U$ = /*#__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\">"), W$ = /*#__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"), G$ = /*#__PURE__*/ N("<span class=\"text-text-faint text-[10.5px] tabular-nums\">ctx <!> · out "), K$ = /*#__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]\">"), q$ = /*#__PURE__*/ N("<span class=\"text-success text-[12px] leading-none\">✓"), J$ = /*#__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\">"), Y$ = /*#__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>"), X$ = /*#__PURE__*/ N("<span class=\"font-mono text-text-faint min-w-0 truncate text-[10.5px]\">"), Z$ = /*#__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>−"), Q$ = /*#__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\">"), $$ = /*#__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\">"), e1 = /*#__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\">"), t1 = /*#__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\">"), n1 = /*#__PURE__*/ N("<span class=\"inline-block min-w-[4ch] text-center\">Send"), r1 = /*#__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]\">"), i1 = /*#__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\">"), a1 = /*#__PURE__*/ N("<span aria-hidden class=\"size-2 shrink-0 rounded-full\">"), o1 = /*#__PURE__*/ N("<div class=\"flex min-w-0 items-center gap-1.5\">"), s1 = /*#__PURE__*/ N("<option>"), c1 = /*#__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>"), l1 = /*#__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\">"), u1 = /*#__PURE__*/ N("<span class=text-success>+"), d1 = /*#__PURE__*/ N("<span class=text-danger>−"), f1 = /*#__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\">"), p1 = /*#__PURE__*/ N("<span class=text-text-faint>bin"), m1 = /*#__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"), h1 = /*#__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\">"), g1 = /*#__PURE__*/ N("<p class=\"text-text-faint text-[11px]\">Waiting for output…"), _1 = [
|
|
43596
43613
|
{
|
|
43597
43614
|
id: "",
|
|
43598
43615
|
label: "Default model"
|
|
@@ -43614,13 +43631,13 @@ var L$ = /*#__PURE__*/ N("<div class=\"border-accent/40 bg-accent-soft self-end
|
|
|
43614
43631
|
label: "Haiku"
|
|
43615
43632
|
}
|
|
43616
43633
|
];
|
|
43617
|
-
function
|
|
43634
|
+
function v1(e, t) {
|
|
43618
43635
|
let n = e.split(".").map(Number), r = t.split(".").map(Number);
|
|
43619
43636
|
for (let e = 0; e < 3; e++) if ((n[e] ?? 0) !== (r[e] ?? 0)) return (n[e] ?? 0) < (r[e] ?? 0);
|
|
43620
43637
|
return !1;
|
|
43621
43638
|
}
|
|
43622
|
-
var
|
|
43623
|
-
function
|
|
43639
|
+
var y1 = (e) => e == null ? "–" : e >= 1e3 ? `${(e / 1e3).toFixed(e >= 1e5 ? 0 : 1)}k` : String(e);
|
|
43640
|
+
function b1() {
|
|
43624
43641
|
let e = sr(), t = _r(() => ({
|
|
43625
43642
|
queryKey: ["bridge-health"],
|
|
43626
43643
|
queryFn: EO,
|
|
@@ -43705,18 +43722,18 @@ function y1() {
|
|
|
43705
43722
|
}, ne = (e) => e === "running" ? "var(--color-accent)" : e === "done" ? "var(--color-success)" : e === "stopped" ? "var(--color-warn)" : "var(--color-danger)", re = (e) => {
|
|
43706
43723
|
let t = e.line.kind, n = k(() => YQ(e.line.text));
|
|
43707
43724
|
return t === "user" ? (() => {
|
|
43708
|
-
var e =
|
|
43725
|
+
var e = R$(), t = e.firstChild.nextSibling;
|
|
43709
43726
|
return D(() => t.innerHTML = n()), e;
|
|
43710
43727
|
})() : t === "assistant" || t === "result" ? (() => {
|
|
43711
|
-
var e =
|
|
43728
|
+
var e = z$(), r = e.firstChild, i = r.nextSibling;
|
|
43712
43729
|
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;
|
|
43713
43730
|
})() : (() => {
|
|
43714
|
-
var n =
|
|
43731
|
+
var n = B$();
|
|
43715
43732
|
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;
|
|
43716
43733
|
})();
|
|
43717
43734
|
};
|
|
43718
43735
|
return (() => {
|
|
43719
|
-
var e =
|
|
43736
|
+
var e = U$(), a = e.firstChild;
|
|
43720
43737
|
a.firstChild;
|
|
43721
43738
|
var l = a.nextSibling;
|
|
43722
43739
|
return P(a, j(M, {
|
|
@@ -43732,7 +43749,7 @@ function y1() {
|
|
|
43732
43749
|
get children() {
|
|
43733
43750
|
return [j(M, {
|
|
43734
43751
|
get when() {
|
|
43735
|
-
return
|
|
43752
|
+
return v1(t.data.version, "0.15.1");
|
|
43736
43753
|
},
|
|
43737
43754
|
get children() {
|
|
43738
43755
|
return j(Oj, {
|
|
@@ -43748,7 +43765,7 @@ function y1() {
|
|
|
43748
43765
|
});
|
|
43749
43766
|
}
|
|
43750
43767
|
}), (() => {
|
|
43751
|
-
var e =
|
|
43768
|
+
var e = V$(), n = e.firstChild;
|
|
43752
43769
|
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;
|
|
43753
43770
|
})()];
|
|
43754
43771
|
}
|
|
@@ -43762,7 +43779,7 @@ function y1() {
|
|
|
43762
43779
|
get children() {
|
|
43763
43780
|
return [
|
|
43764
43781
|
"Start it in your repo's terminal:",
|
|
43765
|
-
|
|
43782
|
+
W$(),
|
|
43766
43783
|
"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."
|
|
43767
43784
|
];
|
|
43768
43785
|
}
|
|
@@ -43780,20 +43797,20 @@ function y1() {
|
|
|
43780
43797
|
});
|
|
43781
43798
|
},
|
|
43782
43799
|
get children() {
|
|
43783
|
-
var e =
|
|
43800
|
+
var e = H$();
|
|
43784
43801
|
return P(e, j(We, {
|
|
43785
43802
|
get each() {
|
|
43786
43803
|
return n.data;
|
|
43787
43804
|
},
|
|
43788
43805
|
children: (e) => (() => {
|
|
43789
|
-
var t =
|
|
43806
|
+
var t = i1(), n = t.firstChild, a = n.firstChild, l = a.nextSibling, m = n.nextSibling, h = m.nextSibling, g = h.nextSibling;
|
|
43790
43807
|
return P(n, j(M, {
|
|
43791
43808
|
get when() {
|
|
43792
43809
|
return e.status === "running";
|
|
43793
43810
|
},
|
|
43794
43811
|
get fallback() {
|
|
43795
43812
|
return (() => {
|
|
43796
|
-
var t =
|
|
43813
|
+
var t = a1();
|
|
43797
43814
|
return D((n) => dt(t, "background", ne(e.status))), t;
|
|
43798
43815
|
})();
|
|
43799
43816
|
},
|
|
@@ -43846,8 +43863,8 @@ function y1() {
|
|
|
43846
43863
|
return e.usage;
|
|
43847
43864
|
},
|
|
43848
43865
|
get children() {
|
|
43849
|
-
var t =
|
|
43850
|
-
return n.nextSibling, P(t, () =>
|
|
43866
|
+
var t = G$(), n = t.firstChild.nextSibling;
|
|
43867
|
+
return n.nextSibling, P(t, () => y1(e.usage.contextTokens), n), P(t, () => y1(e.usage.outputTokens), null), P(t, (() => {
|
|
43851
43868
|
var t = $e(() => !!e.usage.costUsd);
|
|
43852
43869
|
return () => t() ? ` · $${e.usage.costUsd.toFixed(2)}` : "";
|
|
43853
43870
|
})(), null), t;
|
|
@@ -43857,7 +43874,7 @@ function y1() {
|
|
|
43857
43874
|
return o(e);
|
|
43858
43875
|
},
|
|
43859
43876
|
children: (e) => (() => {
|
|
43860
|
-
var t =
|
|
43877
|
+
var t = o1();
|
|
43861
43878
|
return P(t, j(Oj, { get children() {
|
|
43862
43879
|
return e().state.name;
|
|
43863
43880
|
} }), null), P(t, j(Tj, {
|
|
@@ -43872,7 +43889,7 @@ function y1() {
|
|
|
43872
43889
|
return $e(() => !!e.worktree)() && !e.worktree.removed;
|
|
43873
43890
|
},
|
|
43874
43891
|
get children() {
|
|
43875
|
-
var t =
|
|
43892
|
+
var t = K$(), n = t.firstChild;
|
|
43876
43893
|
return P(t, j(Oj, {
|
|
43877
43894
|
class: "text-warn",
|
|
43878
43895
|
children: "⎇ worktree"
|
|
@@ -43908,9 +43925,9 @@ function y1() {
|
|
|
43908
43925
|
title: "Model — applies from the next message",
|
|
43909
43926
|
get children() {
|
|
43910
43927
|
return j(We, {
|
|
43911
|
-
each:
|
|
43928
|
+
each: _1,
|
|
43912
43929
|
children: (t) => (() => {
|
|
43913
|
-
var n =
|
|
43930
|
+
var n = s1();
|
|
43914
43931
|
return P(n, () => t.label), D(() => n.selected = (e.pendingModel ?? e.model ?? "") === t.id), D(() => n.value = t.id), n;
|
|
43915
43932
|
})()
|
|
43916
43933
|
});
|
|
@@ -43925,7 +43942,7 @@ function y1() {
|
|
|
43925
43942
|
title: "Open the issue's Activity thread",
|
|
43926
43943
|
onClick: () => YA("activity", e().id),
|
|
43927
43944
|
get children() {
|
|
43928
|
-
return
|
|
43945
|
+
return c1();
|
|
43929
43946
|
}
|
|
43930
43947
|
})
|
|
43931
43948
|
}), null), P(g, j(vj, {
|
|
@@ -43944,10 +43961,10 @@ function y1() {
|
|
|
43944
43961
|
return ee() === e.id;
|
|
43945
43962
|
},
|
|
43946
43963
|
get fallback() {
|
|
43947
|
-
return
|
|
43964
|
+
return l1();
|
|
43948
43965
|
},
|
|
43949
43966
|
get children() {
|
|
43950
|
-
return
|
|
43967
|
+
return q$();
|
|
43951
43968
|
}
|
|
43952
43969
|
});
|
|
43953
43970
|
}
|
|
@@ -43959,7 +43976,7 @@ function y1() {
|
|
|
43959
43976
|
},
|
|
43960
43977
|
onClick: () => i(r() === e.id ? null : e.id),
|
|
43961
43978
|
get children() {
|
|
43962
|
-
return
|
|
43979
|
+
return J$();
|
|
43963
43980
|
}
|
|
43964
43981
|
}), null), P(g, j(M, {
|
|
43965
43982
|
get when() {
|
|
@@ -43975,7 +43992,7 @@ function y1() {
|
|
|
43975
43992
|
title: "Interrupt — the session stays resumable",
|
|
43976
43993
|
onClick: () => u.mutate(e.id),
|
|
43977
43994
|
get children() {
|
|
43978
|
-
return
|
|
43995
|
+
return Y$();
|
|
43979
43996
|
}
|
|
43980
43997
|
});
|
|
43981
43998
|
}
|
|
@@ -43990,7 +44007,7 @@ function y1() {
|
|
|
43990
44007
|
return $e(() => !!c.data)() && (c.data.files.length || c.data.untracked.length || c.data.prs.length);
|
|
43991
44008
|
},
|
|
43992
44009
|
get children() {
|
|
43993
|
-
var e =
|
|
44010
|
+
var e = Z$(), t = e.firstChild, n = t.firstChild.nextSibling, r = n.firstChild;
|
|
43994
44011
|
r.firstChild;
|
|
43995
44012
|
var i = r.nextSibling.nextSibling;
|
|
43996
44013
|
return i.firstChild, P(t, j(M, {
|
|
@@ -43998,7 +44015,7 @@ function y1() {
|
|
|
43998
44015
|
return c.data.branch;
|
|
43999
44016
|
},
|
|
44000
44017
|
get children() {
|
|
44001
|
-
var e =
|
|
44018
|
+
var e = X$();
|
|
44002
44019
|
return P(e, () => c.data.branch), e;
|
|
44003
44020
|
}
|
|
44004
44021
|
}), n), P(r, () => c.data.totalAdded, null), P(i, () => c.data.totalDeleted, null), P(e, j(We, {
|
|
@@ -44006,23 +44023,23 @@ function y1() {
|
|
|
44006
44023
|
return c.data.files;
|
|
44007
44024
|
},
|
|
44008
44025
|
children: (e) => (() => {
|
|
44009
|
-
var t =
|
|
44026
|
+
var t = f1(), n = t.firstChild, r = n.nextSibling;
|
|
44010
44027
|
return P(n, () => e.path), P(r, j(M, {
|
|
44011
44028
|
get when() {
|
|
44012
44029
|
return !e.binary;
|
|
44013
44030
|
},
|
|
44014
44031
|
get fallback() {
|
|
44015
|
-
return
|
|
44032
|
+
return p1();
|
|
44016
44033
|
},
|
|
44017
44034
|
get children() {
|
|
44018
44035
|
return [
|
|
44019
44036
|
(() => {
|
|
44020
|
-
var t =
|
|
44037
|
+
var t = u1();
|
|
44021
44038
|
return t.firstChild, P(t, () => e.added, null), t;
|
|
44022
44039
|
})(),
|
|
44023
44040
|
" ",
|
|
44024
44041
|
(() => {
|
|
44025
|
-
var t =
|
|
44042
|
+
var t = d1();
|
|
44026
44043
|
return t.firstChild, P(t, () => e.deleted, null), t;
|
|
44027
44044
|
})()
|
|
44028
44045
|
];
|
|
@@ -44034,7 +44051,7 @@ function y1() {
|
|
|
44034
44051
|
return c.data.untracked;
|
|
44035
44052
|
},
|
|
44036
44053
|
children: (e) => (() => {
|
|
44037
|
-
var t =
|
|
44054
|
+
var t = m1(), n = t.firstChild;
|
|
44038
44055
|
return it(n, "title", e), P(n, e), t;
|
|
44039
44056
|
})()
|
|
44040
44057
|
}), null), P(e, j(We, {
|
|
@@ -44042,7 +44059,7 @@ function y1() {
|
|
|
44042
44059
|
return c.data.prs;
|
|
44043
44060
|
},
|
|
44044
44061
|
children: (e) => (() => {
|
|
44045
|
-
var t =
|
|
44062
|
+
var t = h1(), n = t.firstChild;
|
|
44046
44063
|
return P(t, j(Oj, {
|
|
44047
44064
|
class: "text-accent",
|
|
44048
44065
|
get children() {
|
|
@@ -44060,7 +44077,7 @@ function y1() {
|
|
|
44060
44077
|
}
|
|
44061
44078
|
}),
|
|
44062
44079
|
(() => {
|
|
44063
|
-
var e =
|
|
44080
|
+
var e = Q$();
|
|
44064
44081
|
return e.addEventListener("scroll", E), pt((e) => {
|
|
44065
44082
|
C = e, w = !0;
|
|
44066
44083
|
}, e), P(e, j(M, {
|
|
@@ -44068,7 +44085,7 @@ function y1() {
|
|
|
44068
44085
|
return (s.data?.tail ?? []).length > 0;
|
|
44069
44086
|
},
|
|
44070
44087
|
get fallback() {
|
|
44071
|
-
return
|
|
44088
|
+
return g1();
|
|
44072
44089
|
},
|
|
44073
44090
|
get children() {
|
|
44074
44091
|
return j(Ge, {
|
|
@@ -44083,7 +44100,7 @@ function y1() {
|
|
|
44083
44100
|
})), e;
|
|
44084
44101
|
})(),
|
|
44085
44102
|
(() => {
|
|
44086
|
-
var t =
|
|
44103
|
+
var t = r1(), n = t.firstChild, r = n.firstChild;
|
|
44087
44104
|
return P(t, j(xj, {
|
|
44088
44105
|
rows: 2,
|
|
44089
44106
|
get placeholder() {
|
|
@@ -44103,7 +44120,7 @@ function y1() {
|
|
|
44103
44120
|
"aria-label": "Pick element",
|
|
44104
44121
|
onClick: v,
|
|
44105
44122
|
get children() {
|
|
44106
|
-
return
|
|
44123
|
+
return $$();
|
|
44107
44124
|
}
|
|
44108
44125
|
}), null), P(n, j(vj, {
|
|
44109
44126
|
variant: "ghost",
|
|
@@ -44115,7 +44132,7 @@ function y1() {
|
|
|
44115
44132
|
"aria-label": "Attach captures",
|
|
44116
44133
|
onClick: () => void y(),
|
|
44117
44134
|
get children() {
|
|
44118
|
-
return
|
|
44135
|
+
return e1();
|
|
44119
44136
|
}
|
|
44120
44137
|
}), null), P(n, j(vj, {
|
|
44121
44138
|
variant: "ghost",
|
|
@@ -44130,7 +44147,7 @@ function y1() {
|
|
|
44130
44147
|
text: "/compact"
|
|
44131
44148
|
}),
|
|
44132
44149
|
get children() {
|
|
44133
|
-
return
|
|
44150
|
+
return t1();
|
|
44134
44151
|
}
|
|
44135
44152
|
}), null), P(n, j(vj, {
|
|
44136
44153
|
variant: "primary",
|
|
@@ -44146,7 +44163,7 @@ function y1() {
|
|
|
44146
44163
|
text: d().trim()
|
|
44147
44164
|
}),
|
|
44148
44165
|
get children() {
|
|
44149
|
-
return
|
|
44166
|
+
return n1();
|
|
44150
44167
|
}
|
|
44151
44168
|
}), null), t;
|
|
44152
44169
|
})()
|
|
@@ -44163,13 +44180,13 @@ function y1() {
|
|
|
44163
44180
|
}
|
|
44164
44181
|
//#endregion
|
|
44165
44182
|
//#region src/panel/views/PrsView.tsx
|
|
44166
|
-
var
|
|
44167
|
-
function
|
|
44183
|
+
var x1 = /*#__PURE__*/ N("<span class=\"text-text-faint text-[10.5px] tabular-nums\">/<!> from your issues"), S1 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1.5\">"), C1 = /*#__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\">"), w1 = /*#__PURE__*/ N("<span class=\"text-warn text-[10.5px]\"title=\"Merge states come from gh via the bridge\">states unknown — restart the bridge"), T1 = /*#__PURE__*/ N("<button>"), E1 = /*#__PURE__*/ N("<span class=\"text-[12px] leading-none\">✓"), D1 = /*#__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>"), O1 = /*#__PURE__*/ N("<span class=\"text-success text-[12px] leading-none\">✓"), k1 = /*#__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\">"), 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><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\">"), j1 = /*#__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\">"), M1 = /github\.com\/[^/]+\/[^/]+\/pull\/\d+/i;
|
|
44184
|
+
function N1(e) {
|
|
44168
44185
|
let t = _r(() => ({
|
|
44169
44186
|
queryKey: ["my-issues"],
|
|
44170
44187
|
queryFn: uO,
|
|
44171
44188
|
refetchInterval: 15e3
|
|
44172
|
-
})), n = k(() => (t.data ?? []).flatMap((e) => (e.attachments ?? []).filter((e) =>
|
|
44189
|
+
})), n = k(() => (t.data ?? []).flatMap((e) => (e.attachments ?? []).filter((e) => M1.test(e.url)).map((t) => ({
|
|
44173
44190
|
issue: e,
|
|
44174
44191
|
attachment: t
|
|
44175
44192
|
})))), r = _r(() => ({
|
|
@@ -44206,7 +44223,7 @@ function M1(e) {
|
|
|
44206
44223
|
} catch {}
|
|
44207
44224
|
};
|
|
44208
44225
|
return (() => {
|
|
44209
|
-
var r =
|
|
44226
|
+
var r = C1(), p = r.firstChild;
|
|
44210
44227
|
p.firstChild;
|
|
44211
44228
|
var h = p.nextSibling, _ = h.firstChild, b = h.nextSibling;
|
|
44212
44229
|
return P(p, j(M, {
|
|
@@ -44214,10 +44231,10 @@ function M1(e) {
|
|
|
44214
44231
|
return !i.isError;
|
|
44215
44232
|
},
|
|
44216
44233
|
get fallback() {
|
|
44217
|
-
return
|
|
44234
|
+
return w1();
|
|
44218
44235
|
},
|
|
44219
44236
|
get children() {
|
|
44220
|
-
var e =
|
|
44237
|
+
var e = x1(), t = e.firstChild, r = t.nextSibling;
|
|
44221
44238
|
return r.nextSibling, P(e, () => d().length, t), P(e, () => n().length, r), e;
|
|
44222
44239
|
}
|
|
44223
44240
|
}), null), P(_, j(We, {
|
|
@@ -44240,7 +44257,7 @@ function M1(e) {
|
|
|
44240
44257
|
}
|
|
44241
44258
|
],
|
|
44242
44259
|
children: (e) => (() => {
|
|
44243
|
-
var t =
|
|
44260
|
+
var t = T1();
|
|
44244
44261
|
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;
|
|
44245
44262
|
})()
|
|
44246
44263
|
})), P(h, j(bj, {
|
|
@@ -44263,13 +44280,13 @@ function M1(e) {
|
|
|
44263
44280
|
});
|
|
44264
44281
|
},
|
|
44265
44282
|
get children() {
|
|
44266
|
-
var t =
|
|
44283
|
+
var t = S1();
|
|
44267
44284
|
return P(t, j(We, {
|
|
44268
44285
|
get each() {
|
|
44269
44286
|
return d();
|
|
44270
44287
|
},
|
|
44271
44288
|
children: (t) => (() => {
|
|
44272
|
-
var n =
|
|
44289
|
+
var n = k1(), r = n.firstChild, i = r.nextSibling, s = i.firstChild, c = s.nextSibling, l = c.nextSibling, u = i.nextSibling, d = u.firstChild;
|
|
44273
44290
|
return P(r, () => t.attachment.title || t.attachment.url), P(i, j(kj, { get color() {
|
|
44274
44291
|
return t.issue.state.color;
|
|
44275
44292
|
} }), s), P(s, () => t.issue.identifier), P(c, () => t.issue.title), P(l, () => Nj(t.issue.updatedAt)), P(u, j(Oj, { get children() {
|
|
@@ -44346,10 +44363,10 @@ function M1(e) {
|
|
|
44346
44363
|
return g().has(t.attachment.url);
|
|
44347
44364
|
},
|
|
44348
44365
|
get fallback() {
|
|
44349
|
-
return
|
|
44366
|
+
return A1();
|
|
44350
44367
|
},
|
|
44351
44368
|
get children() {
|
|
44352
|
-
return
|
|
44369
|
+
return E1();
|
|
44353
44370
|
}
|
|
44354
44371
|
});
|
|
44355
44372
|
}
|
|
@@ -44362,7 +44379,7 @@ function M1(e) {
|
|
|
44362
44379
|
YA("activity", t.issue.id), e.onOpenIssue();
|
|
44363
44380
|
},
|
|
44364
44381
|
get children() {
|
|
44365
|
-
return
|
|
44382
|
+
return D1();
|
|
44366
44383
|
}
|
|
44367
44384
|
}), null), P(d, j(vj, {
|
|
44368
44385
|
variant: "ghost",
|
|
@@ -44376,10 +44393,10 @@ function M1(e) {
|
|
|
44376
44393
|
return f() === t.attachment.id;
|
|
44377
44394
|
},
|
|
44378
44395
|
get fallback() {
|
|
44379
|
-
return
|
|
44396
|
+
return j1();
|
|
44380
44397
|
},
|
|
44381
44398
|
get children() {
|
|
44382
|
-
return
|
|
44399
|
+
return O1();
|
|
44383
44400
|
}
|
|
44384
44401
|
});
|
|
44385
44402
|
}
|
|
@@ -44399,13 +44416,13 @@ function M1(e) {
|
|
|
44399
44416
|
//#endregion
|
|
44400
44417
|
//#region src/lib/linear/auth.ts
|
|
44401
44418
|
rt(["click"]), Rr();
|
|
44402
|
-
function
|
|
44419
|
+
function P1(e) {
|
|
44403
44420
|
let t = "";
|
|
44404
44421
|
for (let n of e) t += String.fromCharCode(n);
|
|
44405
44422
|
return btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
44406
44423
|
}
|
|
44407
|
-
async function
|
|
44408
|
-
let t =
|
|
44424
|
+
async function F1(e) {
|
|
44425
|
+
let t = P1(crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(32))), n = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(t)), r = P1(new Uint8Array(n)), i = P1(crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16))), a = chrome.identity.getRedirectURL(), o = new URL("https://linear.app/oauth/authorize");
|
|
44409
44426
|
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");
|
|
44410
44427
|
let s = await chrome.identity.launchWebAuthFlow({
|
|
44411
44428
|
url: o.toString(),
|
|
@@ -44433,15 +44450,15 @@ async function P1(e) {
|
|
|
44433
44450
|
linearOauthClientId: e
|
|
44434
44451
|
});
|
|
44435
44452
|
}
|
|
44436
|
-
async function
|
|
44453
|
+
async function I1() {
|
|
44437
44454
|
await wr({
|
|
44438
44455
|
linearAccessToken: void 0,
|
|
44439
44456
|
linearApiKey: void 0
|
|
44440
44457
|
});
|
|
44441
44458
|
}
|
|
44442
44459
|
Rr(), br(), Nx(), mD();
|
|
44443
|
-
var
|
|
44444
|
-
function
|
|
44460
|
+
var L1 = /*#__PURE__*/ N("<div class=\"bg-surface-2 border-border flex rounded-md border p-0.5\">"), R1 = /*#__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."), z1 = /*#__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"), B1 = /*#__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)."), V1 = /*#__PURE__*/ N("<span class=text-text>Connected as <span class=font-medium></span> · <span class=text-text-dim>"), H1 = /*#__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]\">"), U1 = /*#__PURE__*/ N("<option value>Select a team…"), W1 = /*#__PURE__*/ N("<p class=\"text-text-dim text-[11px]\">No agents found — install the Cursor integration in Linear first."), G1 = /*#__PURE__*/ N("<span class=\"text-text-faint text-[10.5px] leading-snug\">Empty = the default above (computer-use testing, video demo, PR + review babysitting)."), K1 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1.5\">"), q1 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-1\"><span class=\"text-text-dim text-[11px] font-medium\">Mode</span><div class=\"bg-surface-2 border-border flex rounded-md border p-0.5\"></div><span class=\"text-text-faint text-[10.5px] leading-snug\">Beside page squeezes the app next to the panel, DevTools-style — nothing gets covered. Also toggleable from the dock icon in the panel header."), J1 = /*#__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."), Y1 = /*#__PURE__*/ N("<option value>Select a channel…"), X1 = /*#__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"), Z1 = /*#__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."), Q1 = /*#__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"), $1 = /*#__PURE__*/ N("<p class=\"text-text-dim text-[11px]\">"), e0 = /*#__PURE__*/ N("<div class=min-h-[2lh]>"), t0 = /*#__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."), n0 = /*#__PURE__*/ N("<div class=\"flex h-full flex-col gap-5 overflow-y-auto pt-3 pb-6 pl-3 pr-4\">"), r0 = /*#__PURE__*/ N("<button>"), i0 = /*#__PURE__*/ N("<div class=\"flex gap-1.5\">"), a0 = /*#__PURE__*/ N("<p class=\"text-text-faint text-center text-[10.5px]\">or"), o0 = /*#__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\">"), s0 = /*#__PURE__*/ N("<div class=\"flex flex-col gap-3\">"), c0 = /*#__PURE__*/ N("<span class=text-text-dim>Connected — verifying…"), l0 = /*#__PURE__*/ N("<option> (<!>)"), u0 = /*#__PURE__*/ N("<option value>Select the agent…"), d0 = /*#__PURE__*/ N("<option>"), f0 = /*#__PURE__*/ N("<option>#"), p0 = /*#__PURE__*/ N("<p class=\"text-text-dim text-[11px]\">No key set — AI drafting disabled, manual drafting still works.");
|
|
44461
|
+
function m0() {
|
|
44445
44462
|
let e = sr(), t = _r(() => ({
|
|
44446
44463
|
queryKey: ["settings"],
|
|
44447
44464
|
queryFn: Cr,
|
|
@@ -44486,7 +44503,7 @@ function p0() {
|
|
|
44486
44503
|
}
|
|
44487
44504
|
v(!0), b("");
|
|
44488
44505
|
try {
|
|
44489
|
-
await
|
|
44506
|
+
await F1(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"] });
|
|
44490
44507
|
} catch (e) {
|
|
44491
44508
|
b(e instanceof Error ? e.message : "OAuth flow failed.");
|
|
44492
44509
|
} finally {
|
|
@@ -44497,7 +44514,7 @@ function p0() {
|
|
|
44497
44514
|
async function w() {
|
|
44498
44515
|
C(!0);
|
|
44499
44516
|
try {
|
|
44500
|
-
await
|
|
44517
|
+
await I1(), 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"] });
|
|
44501
44518
|
} finally {
|
|
44502
44519
|
C(!1);
|
|
44503
44520
|
}
|
|
@@ -44513,12 +44530,12 @@ function p0() {
|
|
|
44513
44530
|
return e ? `Drafting with ${e} — ${jx[e].fast} (fast) / ${jx[e].best} (best)` : null;
|
|
44514
44531
|
});
|
|
44515
44532
|
return (() => {
|
|
44516
|
-
var e =
|
|
44533
|
+
var e = n0();
|
|
44517
44534
|
return P(e, j(Dj, {
|
|
44518
44535
|
title: "Workflow",
|
|
44519
44536
|
get children() {
|
|
44520
44537
|
return [(() => {
|
|
44521
|
-
var e =
|
|
44538
|
+
var e = L1();
|
|
44522
44539
|
return P(e, j(We, {
|
|
44523
44540
|
each: [{
|
|
44524
44541
|
id: "cloud",
|
|
@@ -44528,19 +44545,19 @@ function p0() {
|
|
|
44528
44545
|
label: "Local · clipboard"
|
|
44529
44546
|
}],
|
|
44530
44547
|
children: (e) => (() => {
|
|
44531
|
-
var t =
|
|
44548
|
+
var t = r0();
|
|
44532
44549
|
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;
|
|
44533
44550
|
})()
|
|
44534
44551
|
})), e;
|
|
44535
|
-
})(),
|
|
44552
|
+
})(), R1()];
|
|
44536
44553
|
}
|
|
44537
44554
|
}), null), P(e, j(Dj, {
|
|
44538
44555
|
title: "Capture",
|
|
44539
44556
|
get children() {
|
|
44540
44557
|
return [(() => {
|
|
44541
|
-
var e =
|
|
44558
|
+
var e = z1(), t = e.firstChild;
|
|
44542
44559
|
return t.addEventListener("change", (e) => void r({ captureShots: e.currentTarget.checked || void 0 })), D(() => t.checked = !!n().captureShots), e;
|
|
44543
|
-
})(),
|
|
44560
|
+
})(), B1()];
|
|
44544
44561
|
}
|
|
44545
44562
|
}), null), P(e, j(Dj, {
|
|
44546
44563
|
title: "Linear",
|
|
@@ -44551,13 +44568,13 @@ function p0() {
|
|
|
44551
44568
|
},
|
|
44552
44569
|
get fallback() {
|
|
44553
44570
|
return (() => {
|
|
44554
|
-
var e =
|
|
44571
|
+
var e = s0();
|
|
44555
44572
|
return P(e, j(Ej, {
|
|
44556
44573
|
label: "Personal API key",
|
|
44557
44574
|
hint: "Create one at linear.app → Settings → API — fastest path.",
|
|
44558
44575
|
get children() {
|
|
44559
44576
|
return [(() => {
|
|
44560
|
-
var e =
|
|
44577
|
+
var e = i0();
|
|
44561
44578
|
return P(e, j(bj, {
|
|
44562
44579
|
type: "password",
|
|
44563
44580
|
placeholder: "lin_api_…",
|
|
@@ -44594,12 +44611,12 @@ function p0() {
|
|
|
44594
44611
|
}), null), P(e, j(M, {
|
|
44595
44612
|
when: yr,
|
|
44596
44613
|
get children() {
|
|
44597
|
-
return [
|
|
44614
|
+
return [a0(), j(Ej, {
|
|
44598
44615
|
label: "OAuth client ID",
|
|
44599
44616
|
get children() {
|
|
44600
44617
|
return [
|
|
44601
44618
|
(() => {
|
|
44602
|
-
var e =
|
|
44619
|
+
var e = i0();
|
|
44603
44620
|
return P(e, j(bj, {
|
|
44604
44621
|
placeholder: "your-client-id",
|
|
44605
44622
|
get value() {
|
|
@@ -44627,7 +44644,7 @@ function p0() {
|
|
|
44627
44644
|
}
|
|
44628
44645
|
}),
|
|
44629
44646
|
(() => {
|
|
44630
|
-
var e =
|
|
44647
|
+
var e = o0(), t = e.firstChild.nextSibling.nextSibling;
|
|
44631
44648
|
return P(t, E), e;
|
|
44632
44649
|
})()
|
|
44633
44650
|
];
|
|
@@ -44638,13 +44655,13 @@ function p0() {
|
|
|
44638
44655
|
})();
|
|
44639
44656
|
},
|
|
44640
44657
|
get children() {
|
|
44641
|
-
var e =
|
|
44658
|
+
var e = H1(), t = e.firstChild;
|
|
44642
44659
|
return P(t, j(M, {
|
|
44643
44660
|
get when() {
|
|
44644
44661
|
return !a.isLoading;
|
|
44645
44662
|
},
|
|
44646
44663
|
get fallback() {
|
|
44647
|
-
return
|
|
44664
|
+
return c0();
|
|
44648
44665
|
},
|
|
44649
44666
|
get children() {
|
|
44650
44667
|
return j(M, {
|
|
@@ -44657,7 +44674,7 @@ function p0() {
|
|
|
44657
44674
|
return a.isError;
|
|
44658
44675
|
},
|
|
44659
44676
|
get fallback() {
|
|
44660
|
-
return
|
|
44677
|
+
return c0();
|
|
44661
44678
|
},
|
|
44662
44679
|
get children() {
|
|
44663
44680
|
return j(jj, { message: "Key rejected — reconnect" });
|
|
@@ -44665,7 +44682,7 @@ function p0() {
|
|
|
44665
44682
|
});
|
|
44666
44683
|
},
|
|
44667
44684
|
get children() {
|
|
44668
|
-
var e =
|
|
44685
|
+
var e = V1(), t = e.firstChild.nextSibling, n = t.nextSibling.nextSibling;
|
|
44669
44686
|
return P(t, () => a.data.name), P(n, () => a.data.email), e;
|
|
44670
44687
|
}
|
|
44671
44688
|
});
|
|
@@ -44706,7 +44723,7 @@ function p0() {
|
|
|
44706
44723
|
return o.isLoading;
|
|
44707
44724
|
},
|
|
44708
44725
|
get children() {
|
|
44709
|
-
return [
|
|
44726
|
+
return [U1(), j(M, {
|
|
44710
44727
|
get when() {
|
|
44711
44728
|
return o.data;
|
|
44712
44729
|
},
|
|
@@ -44716,7 +44733,7 @@ function p0() {
|
|
|
44716
44733
|
return o.data;
|
|
44717
44734
|
},
|
|
44718
44735
|
children: (e) => (() => {
|
|
44719
|
-
var t =
|
|
44736
|
+
var t = l0(), r = t.firstChild, i = r.nextSibling;
|
|
44720
44737
|
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;
|
|
44721
44738
|
})()
|
|
44722
44739
|
});
|
|
@@ -44760,7 +44777,7 @@ function p0() {
|
|
|
44760
44777
|
return s.isLoading;
|
|
44761
44778
|
},
|
|
44762
44779
|
get children() {
|
|
44763
|
-
return [
|
|
44780
|
+
return [u0(), j(M, {
|
|
44764
44781
|
get when() {
|
|
44765
44782
|
return s.data;
|
|
44766
44783
|
},
|
|
@@ -44770,7 +44787,7 @@ function p0() {
|
|
|
44770
44787
|
return s.data;
|
|
44771
44788
|
},
|
|
44772
44789
|
children: (e) => (() => {
|
|
44773
|
-
var t =
|
|
44790
|
+
var t = d0();
|
|
44774
44791
|
return P(t, () => e.displayName), D(() => t.selected = e.id === n().cursorAgentId), D(() => t.value = e.id), t;
|
|
44775
44792
|
})()
|
|
44776
44793
|
});
|
|
@@ -44780,7 +44797,7 @@ function p0() {
|
|
|
44780
44797
|
});
|
|
44781
44798
|
},
|
|
44782
44799
|
get children() {
|
|
44783
|
-
return
|
|
44800
|
+
return W1();
|
|
44784
44801
|
}
|
|
44785
44802
|
});
|
|
44786
44803
|
}
|
|
@@ -44828,7 +44845,7 @@ function p0() {
|
|
|
44828
44845
|
onBlur: (e) => {
|
|
44829
44846
|
r({ issueTemplate: e.currentTarget.value.trim() || void 0 });
|
|
44830
44847
|
}
|
|
44831
|
-
}),
|
|
44848
|
+
}), G1()];
|
|
44832
44849
|
}
|
|
44833
44850
|
}),
|
|
44834
44851
|
j(Ej, {
|
|
@@ -44885,7 +44902,7 @@ function p0() {
|
|
|
44885
44902
|
label: "Test account",
|
|
44886
44903
|
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.",
|
|
44887
44904
|
get children() {
|
|
44888
|
-
var e =
|
|
44905
|
+
var e = K1();
|
|
44889
44906
|
return P(e, j(bj, {
|
|
44890
44907
|
placeholder: "Username or email (e.g. demo@yourapp.com)",
|
|
44891
44908
|
get value() {
|
|
@@ -44917,7 +44934,7 @@ function p0() {
|
|
|
44917
44934
|
title: "Panel",
|
|
44918
44935
|
get children() {
|
|
44919
44936
|
return [(() => {
|
|
44920
|
-
var e =
|
|
44937
|
+
var e = q1(), t = e.firstChild.nextSibling;
|
|
44921
44938
|
return P(t, j(We, {
|
|
44922
44939
|
each: [{
|
|
44923
44940
|
id: "overlay",
|
|
@@ -44927,7 +44944,7 @@ function p0() {
|
|
|
44927
44944
|
label: "Beside page"
|
|
44928
44945
|
}],
|
|
44929
44946
|
children: (e) => (() => {
|
|
44930
|
-
var t =
|
|
44947
|
+
var t = r0();
|
|
44931
44948
|
return t.$$click = () => void r({
|
|
44932
44949
|
panelMode: e.id,
|
|
44933
44950
|
panelPos: void 0
|
|
@@ -44935,11 +44952,11 @@ function p0() {
|
|
|
44935
44952
|
})()
|
|
44936
44953
|
})), e;
|
|
44937
44954
|
})(), (() => {
|
|
44938
|
-
var e =
|
|
44955
|
+
var e = J1(), t = e.firstChild.nextSibling;
|
|
44939
44956
|
return P(t, j(We, {
|
|
44940
44957
|
each: ["left", "right"],
|
|
44941
44958
|
children: (e) => (() => {
|
|
44942
|
-
var t =
|
|
44959
|
+
var t = r0();
|
|
44943
44960
|
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;
|
|
44944
44961
|
})()
|
|
44945
44962
|
})), e;
|
|
@@ -45051,12 +45068,12 @@ function p0() {
|
|
|
45051
45068
|
});
|
|
45052
45069
|
},
|
|
45053
45070
|
get children() {
|
|
45054
|
-
return [
|
|
45071
|
+
return [Y1(), j(We, {
|
|
45055
45072
|
get each() {
|
|
45056
45073
|
return O.data ?? [];
|
|
45057
45074
|
},
|
|
45058
45075
|
children: (e) => (() => {
|
|
45059
|
-
var t =
|
|
45076
|
+
var t = f0();
|
|
45060
45077
|
return t.firstChild, P(t, () => e.name, null), D(() => t.selected = e.id === n().slackChannelId), D(() => t.value = e.id), t;
|
|
45061
45078
|
})()
|
|
45062
45079
|
})];
|
|
@@ -45107,10 +45124,10 @@ function p0() {
|
|
|
45107
45124
|
}
|
|
45108
45125
|
}),
|
|
45109
45126
|
(() => {
|
|
45110
|
-
var e =
|
|
45127
|
+
var e = X1(), t = e.firstChild;
|
|
45111
45128
|
return t.addEventListener("change", (e) => void r({ notifyOnCreate: e.currentTarget.checked ? void 0 : !1 })), D(() => t.checked = n().notifyOnCreate !== !1), e;
|
|
45112
45129
|
})(),
|
|
45113
|
-
|
|
45130
|
+
Z1()
|
|
45114
45131
|
];
|
|
45115
45132
|
}
|
|
45116
45133
|
}), null), P(e, j(Dj, {
|
|
@@ -45148,7 +45165,7 @@ function p0() {
|
|
|
45148
45165
|
}
|
|
45149
45166
|
}),
|
|
45150
45167
|
(() => {
|
|
45151
|
-
var e =
|
|
45168
|
+
var e = Q1(), t = e.firstChild.nextSibling.firstChild, i = t.nextSibling, a = i.nextSibling;
|
|
45152
45169
|
return t.$$click = () => void r({ preferredProvider: void 0 }), i.$$click = () => void r({ preferredProvider: "openai" }), a.$$click = () => void r({ preferredProvider: "anthropic" }), D((e) => {
|
|
45153
45170
|
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;
|
|
45154
45171
|
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;
|
|
@@ -45161,16 +45178,16 @@ function p0() {
|
|
|
45161
45178
|
}), e;
|
|
45162
45179
|
})(),
|
|
45163
45180
|
(() => {
|
|
45164
|
-
var e =
|
|
45181
|
+
var e = e0();
|
|
45165
45182
|
return P(e, j(M, {
|
|
45166
45183
|
get when() {
|
|
45167
45184
|
return te();
|
|
45168
45185
|
},
|
|
45169
45186
|
get fallback() {
|
|
45170
|
-
return
|
|
45187
|
+
return p0();
|
|
45171
45188
|
},
|
|
45172
45189
|
get children() {
|
|
45173
|
-
var e =
|
|
45190
|
+
var e = $1();
|
|
45174
45191
|
return P(e, te), e;
|
|
45175
45192
|
}
|
|
45176
45193
|
})), e;
|
|
@@ -45180,7 +45197,7 @@ function p0() {
|
|
|
45180
45197
|
}), null), P(e, j(Dj, {
|
|
45181
45198
|
title: "How it works",
|
|
45182
45199
|
get children() {
|
|
45183
|
-
return
|
|
45200
|
+
return t0();
|
|
45184
45201
|
}
|
|
45185
45202
|
}), null), e;
|
|
45186
45203
|
})();
|
|
@@ -45188,38 +45205,38 @@ function p0() {
|
|
|
45188
45205
|
rt(["click"]);
|
|
45189
45206
|
//#endregion
|
|
45190
45207
|
//#region src/lib/idbCache.ts
|
|
45191
|
-
var
|
|
45208
|
+
var h0 = "linear-grab", g0 = "queries", _0 = [
|
|
45192
45209
|
"my-issues",
|
|
45193
45210
|
"issue",
|
|
45194
45211
|
"sessions",
|
|
45195
45212
|
"teams",
|
|
45196
45213
|
"agents"
|
|
45197
45214
|
];
|
|
45198
|
-
function
|
|
45215
|
+
function v0() {
|
|
45199
45216
|
return new Promise((e) => {
|
|
45200
45217
|
try {
|
|
45201
|
-
let t = indexedDB.open(
|
|
45202
|
-
t.onupgradeneeded = () => t.result.createObjectStore(
|
|
45218
|
+
let t = indexedDB.open(h0, 1);
|
|
45219
|
+
t.onupgradeneeded = () => t.result.createObjectStore(g0), t.onsuccess = () => e(t.result), t.onerror = () => e(null);
|
|
45203
45220
|
} catch {
|
|
45204
45221
|
e(null);
|
|
45205
45222
|
}
|
|
45206
45223
|
});
|
|
45207
45224
|
}
|
|
45208
|
-
function
|
|
45209
|
-
return typeof e[0] == "string" &&
|
|
45225
|
+
function y0(e) {
|
|
45226
|
+
return typeof e[0] == "string" && _0.includes(e[0]);
|
|
45210
45227
|
}
|
|
45211
|
-
async function
|
|
45212
|
-
let t = await
|
|
45228
|
+
async function b0(e) {
|
|
45229
|
+
let t = await v0();
|
|
45213
45230
|
if (!t) return () => {};
|
|
45214
45231
|
await new Promise((n) => {
|
|
45215
45232
|
try {
|
|
45216
|
-
let r = t.transaction(
|
|
45233
|
+
let r = t.transaction(g0, "readonly").objectStore(g0).openCursor();
|
|
45217
45234
|
r.onsuccess = () => {
|
|
45218
45235
|
let t = r.result;
|
|
45219
45236
|
if (!t) return n();
|
|
45220
45237
|
try {
|
|
45221
45238
|
let { queryKey: n, data: r } = t.value;
|
|
45222
|
-
|
|
45239
|
+
y0(n) && e.getQueryData(n) === void 0 && e.setQueryData(n, r, { updatedAt: 0 });
|
|
45223
45240
|
} catch {}
|
|
45224
45241
|
t.continue();
|
|
45225
45242
|
}, r.onerror = () => n();
|
|
@@ -45230,14 +45247,14 @@ async function y0(e) {
|
|
|
45230
45247
|
let n = /* @__PURE__ */ new Map(), r = e.getQueryCache().subscribe((r) => {
|
|
45231
45248
|
if (r.type !== "updated" || r.action.type !== "success") return;
|
|
45232
45249
|
let { queryKey: i, queryHash: a } = r.query;
|
|
45233
|
-
if (!
|
|
45250
|
+
if (!y0(i)) return;
|
|
45234
45251
|
let o = n.get(a);
|
|
45235
45252
|
o && clearTimeout(o), n.set(a, setTimeout(() => {
|
|
45236
45253
|
n.delete(a);
|
|
45237
45254
|
try {
|
|
45238
45255
|
let n = e.getQueryData(i);
|
|
45239
45256
|
if (n === void 0) return;
|
|
45240
|
-
t.transaction(
|
|
45257
|
+
t.transaction(g0, "readwrite").objectStore(g0).put({
|
|
45241
45258
|
queryKey: i,
|
|
45242
45259
|
data: n
|
|
45243
45260
|
}, a);
|
|
@@ -45253,7 +45270,7 @@ async function y0(e) {
|
|
|
45253
45270
|
//#endregion
|
|
45254
45271
|
//#region src/panel/App.tsx
|
|
45255
45272
|
Rr();
|
|
45256
|
-
var
|
|
45273
|
+
var x0 = /*#__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\">"), S0 = /*#__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\">"), C0 = /*#__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\">–"), w0 = /*#__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>"), T0 = /*#__PURE__*/ N("<button>"), E0 = [
|
|
45257
45274
|
{
|
|
45258
45275
|
id: "draft",
|
|
45259
45276
|
label: "Draft"
|
|
@@ -45278,14 +45295,14 @@ var b0 = /*#__PURE__*/ N("<svg viewBox=\"0 0 100 100\"fill=currentColor aria-hid
|
|
|
45278
45295
|
id: "settings",
|
|
45279
45296
|
label: "Settings"
|
|
45280
45297
|
}
|
|
45281
|
-
],
|
|
45298
|
+
], D0 = new gr({ defaultOptions: { queries: {
|
|
45282
45299
|
retry: 1,
|
|
45283
45300
|
refetchOnWindowFocus: !1,
|
|
45284
45301
|
staleTime: 5e3
|
|
45285
45302
|
} } });
|
|
45286
|
-
function
|
|
45303
|
+
function O0(e) {
|
|
45287
45304
|
return (() => {
|
|
45288
|
-
var t =
|
|
45305
|
+
var t = x0();
|
|
45289
45306
|
return D((n) => {
|
|
45290
45307
|
var r = e.size ?? 14, i = e.size ?? 14;
|
|
45291
45308
|
return r !== n.e && it(t, "width", n.e = r), i !== n.t && it(t, "height", n.t = i), n;
|
|
@@ -45295,32 +45312,32 @@ function D0(e) {
|
|
|
45295
45312
|
}), t;
|
|
45296
45313
|
})();
|
|
45297
45314
|
}
|
|
45298
|
-
function
|
|
45315
|
+
function k0(e) {
|
|
45299
45316
|
let [t, n] = T("draft"), r = () => {
|
|
45300
|
-
|
|
45317
|
+
D0.invalidateQueries({ queryKey: ["grab"] }), ZA() === "capture" && n("capture"), e.onGrab?.();
|
|
45301
45318
|
};
|
|
45302
45319
|
return O(() => {
|
|
45303
45320
|
let e = GA();
|
|
45304
45321
|
e && n(e);
|
|
45305
45322
|
}), ie(() => {
|
|
45306
|
-
let e =
|
|
45323
|
+
let e = b0(D0), t = IZ(r), n = () => {
|
|
45307
45324
|
RO().then(KQ), FO();
|
|
45308
45325
|
};
|
|
45309
45326
|
n();
|
|
45310
45327
|
let i = Ar((e) => {
|
|
45311
|
-
e === "settings" && (
|
|
45328
|
+
e === "settings" && (D0.invalidateQueries({ queryKey: ["settings"] }), n()), e === "grab" && r();
|
|
45312
45329
|
});
|
|
45313
45330
|
ae(() => {
|
|
45314
45331
|
t(), i(), e.then((e) => e());
|
|
45315
45332
|
});
|
|
45316
45333
|
}), j(cr, {
|
|
45317
|
-
client:
|
|
45334
|
+
client: D0,
|
|
45318
45335
|
get children() {
|
|
45319
|
-
var r =
|
|
45320
|
-
return i.$$pointerdown = (t) => e.onHeaderPointerDown?.(t), P(a, j(
|
|
45321
|
-
each:
|
|
45336
|
+
var r = w0(), 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;
|
|
45337
|
+
return i.$$pointerdown = (t) => e.onHeaderPointerDown?.(t), P(a, j(O0, { size: 14 })), P(o, j(We, {
|
|
45338
|
+
each: E0,
|
|
45322
45339
|
children: (e) => (() => {
|
|
45323
|
-
var r =
|
|
45340
|
+
var r = T0();
|
|
45324
45341
|
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;
|
|
45325
45342
|
})()
|
|
45326
45343
|
})), P(i, j(M, {
|
|
@@ -45328,7 +45345,7 @@ function O0(e) {
|
|
|
45328
45345
|
return e.onTogglePin;
|
|
45329
45346
|
},
|
|
45330
45347
|
get children() {
|
|
45331
|
-
var t =
|
|
45348
|
+
var t = S0();
|
|
45332
45349
|
return t.$$click = () => e.onTogglePin?.(), D((n) => {
|
|
45333
45350
|
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"}`;
|
|
45334
45351
|
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;
|
|
@@ -45343,10 +45360,10 @@ function O0(e) {
|
|
|
45343
45360
|
return e.onClose;
|
|
45344
45361
|
},
|
|
45345
45362
|
get children() {
|
|
45346
|
-
var t =
|
|
45363
|
+
var t = C0();
|
|
45347
45364
|
return t.$$click = () => e.onClose?.(), t;
|
|
45348
45365
|
}
|
|
45349
|
-
}), null), P(s, j(dM, { onCreated: () => n("activity") })), P(c, j(aQ, {})), P(l, j(
|
|
45366
|
+
}), null), P(s, j(dM, { onCreated: () => n("activity") })), P(c, j(aQ, {})), P(l, j(N$, {})), P(u, j(b1, {})), P(d, j(N1, { onOpenIssue: () => n("activity") })), P(f, j(m0, {})), D((n) => {
|
|
45350
45367
|
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";
|
|
45351
45368
|
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;
|
|
45352
45369
|
}, {
|
|
@@ -45364,12 +45381,12 @@ function O0(e) {
|
|
|
45364
45381
|
rt(["pointerdown", "click"]);
|
|
45365
45382
|
//#endregion
|
|
45366
45383
|
//#region src/styles/app.css?inline
|
|
45367
|
-
var k0 = "/*! 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}}";
|
|
45384
|
+
var A0 = "/*! 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}}";
|
|
45368
45385
|
//#endregion
|
|
45369
45386
|
//#region src/page/index.tsx
|
|
45370
45387
|
Rr();
|
|
45371
|
-
var
|
|
45372
|
-
function
|
|
45388
|
+
var j0 = /*#__PURE__*/ N("<span aria-hidden class=\"bg-danger size-2 shrink-0 animate-pulse rounded-full\">"), M0 = /*#__PURE__*/ N("<span class=\"text-text min-w-[5ch] text-[11px] font-medium tabular-nums\">"), N0 = /*#__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"), P0 = /*#__PURE__*/ N("<p class=\"text-warn px-1.5 pt-1 pb-1.5 text-[10.5px] font-semibold tracking-wide uppercase\">Needs review"), F0 = /*#__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"), I0 = /*#__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\">"), L0 = /*#__PURE__*/ N("<div><div title=\"Drag to resize\">"), R0 = /*#__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\">"), z0 = /*#__PURE__*/ N("<span class=\"bg-border h-4 w-px\"aria-hidden>"), B0 = /*#__PURE__*/ N("<span aria-hidden class=\"bg-warn size-2 rounded-full\">"), V0 = /*#__PURE__*/ N("<span class=\"text-warn min-w-[3.5ch] text-left text-[11px] font-medium tabular-nums\"> rev"), H0 = /*#__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>"), U0 = /*#__PURE__*/ N("<p class=\"text-text-faint px-1.5 pb-1.5 text-[11.5px]\">No agents running right now."), W0 = /*#__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\"> · <!> · ");
|
|
45389
|
+
function G0(e = {}) {
|
|
45373
45390
|
if (typeof window > "u" || window.__LINEAR_GRAB_PAGE__) return;
|
|
45374
45391
|
window.__LINEAR_GRAB_PAGE__ = !0;
|
|
45375
45392
|
let t = () => {
|
|
@@ -45377,17 +45394,17 @@ function W0(e = {}) {
|
|
|
45377
45394
|
let t = document.createElement("div");
|
|
45378
45395
|
t.id = "linear-grab-root", document.body.appendChild(t);
|
|
45379
45396
|
let n = t.attachShadow({ mode: "open" }), r = document.createElement("style");
|
|
45380
|
-
r.textContent =
|
|
45397
|
+
r.textContent = A0, n.appendChild(r);
|
|
45381
45398
|
let i = document.createElement("div");
|
|
45382
45399
|
n.appendChild(i);
|
|
45383
|
-
let a = () => i.setAttribute("data-theme",
|
|
45384
|
-
a(), matchMedia("(prefers-color-scheme: light)").addEventListener("change", a), nt(() => j(
|
|
45400
|
+
let a = () => i.setAttribute("data-theme", K0());
|
|
45401
|
+
a(), matchMedia("(prefers-color-scheme: light)").addEventListener("change", a), nt(() => j(Q0, { get defaultOpen() {
|
|
45385
45402
|
return e.defaultOpen ?? !1;
|
|
45386
45403
|
} }), i);
|
|
45387
45404
|
};
|
|
45388
45405
|
document.body ? t() : document.addEventListener("DOMContentLoaded", t, { once: !0 });
|
|
45389
45406
|
}
|
|
45390
|
-
function
|
|
45407
|
+
function K0() {
|
|
45391
45408
|
try {
|
|
45392
45409
|
let e = [document.body, document.documentElement];
|
|
45393
45410
|
for (let t of e) {
|
|
@@ -45397,11 +45414,11 @@ function G0() {
|
|
|
45397
45414
|
} catch {}
|
|
45398
45415
|
return matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark";
|
|
45399
45416
|
}
|
|
45400
|
-
var
|
|
45401
|
-
function
|
|
45417
|
+
var q0 = 130, J0 = 36, Y0 = 380, X0 = 280, Z0 = 720;
|
|
45418
|
+
function Q0(e) {
|
|
45402
45419
|
let [t, n] = T(e.defaultOpen), [r, i] = T("right"), [a, o] = T({
|
|
45403
|
-
x: Math.max(8, window.innerWidth -
|
|
45404
|
-
y: Math.max(8, window.innerHeight -
|
|
45420
|
+
x: Math.max(8, window.innerWidth - q0 - 24),
|
|
45421
|
+
y: Math.max(8, window.innerHeight - J0 - 20)
|
|
45405
45422
|
}), [s, c] = T({
|
|
45406
45423
|
running: [],
|
|
45407
45424
|
review: []
|
|
@@ -45416,12 +45433,12 @@ function Z0(e) {
|
|
|
45416
45433
|
let t = Math.floor(e / 1e3);
|
|
45417
45434
|
return `${Math.floor(t / 60)}:${String(t % 60).padStart(2, "0")}`;
|
|
45418
45435
|
}, [v, y] = T(null), b = (e) => ({
|
|
45419
|
-
x: Math.min(Math.max(8, e.x), window.innerWidth -
|
|
45420
|
-
y: Math.min(Math.max(8, e.y), window.innerHeight -
|
|
45436
|
+
x: Math.min(Math.max(8, e.x), window.innerWidth - q0 - 8),
|
|
45437
|
+
y: Math.min(Math.max(8, e.y), window.innerHeight - J0 - 8)
|
|
45421
45438
|
}), x = (e) => ({
|
|
45422
45439
|
x: Math.min(Math.max(8 - (te() - 80), e.x), window.innerWidth - 80),
|
|
45423
45440
|
y: Math.min(Math.max(0, e.y), window.innerHeight - 80)
|
|
45424
|
-
}), [S, C] = T(!1), [w, E] = T("cloud"), [k, ee] = T(!1), [te, A] = T(
|
|
45441
|
+
}), [S, C] = T(!1), [w, E] = T("cloud"), [k, ee] = T(!1), [te, A] = T(Y0), ne = (e) => Math.min(Z0, Math.max(X0, Math.min(e, window.innerWidth - 60)));
|
|
45425
45442
|
O(() => {
|
|
45426
45443
|
let e = document.documentElement, n = t() && S();
|
|
45427
45444
|
e.style.transition = "margin 0.2s ease", e.style.marginRight = n && r() === "right" ? `${te()}px` : "", e.style.marginLeft = n && r() === "left" ? `${te()}px` : "";
|
|
@@ -45529,7 +45546,7 @@ function Z0(e) {
|
|
|
45529
45546
|
return !t();
|
|
45530
45547
|
},
|
|
45531
45548
|
get children() {
|
|
45532
|
-
var e =
|
|
45549
|
+
var e = I0(), t = e.firstChild;
|
|
45533
45550
|
return t.$$pointerdown = se, P(t, j(M, {
|
|
45534
45551
|
get when() {
|
|
45535
45552
|
return p() === "recording";
|
|
@@ -45537,14 +45554,14 @@ function Z0(e) {
|
|
|
45537
45554
|
get fallback() {
|
|
45538
45555
|
return [
|
|
45539
45556
|
(() => {
|
|
45540
|
-
var e =
|
|
45557
|
+
var e = R0();
|
|
45541
45558
|
return e.$$click = () => {
|
|
45542
45559
|
oe || (f(!1), n(!0));
|
|
45543
|
-
}, P(e, j(
|
|
45560
|
+
}, P(e, j(O0, { size: 13 })), e;
|
|
45544
45561
|
})(),
|
|
45545
|
-
|
|
45562
|
+
z0(),
|
|
45546
45563
|
(() => {
|
|
45547
|
-
var e =
|
|
45564
|
+
var e = H0(), t = e.firstChild, n = t.nextSibling;
|
|
45548
45565
|
return e.$$click = () => {
|
|
45549
45566
|
oe || f((e) => !e);
|
|
45550
45567
|
}, P(n, (() => {
|
|
@@ -45555,8 +45572,8 @@ function Z0(e) {
|
|
|
45555
45572
|
return $e(() => !k())() && u().length > 0;
|
|
45556
45573
|
},
|
|
45557
45574
|
get children() {
|
|
45558
|
-
return [
|
|
45559
|
-
var e =
|
|
45575
|
+
return [B0(), (() => {
|
|
45576
|
+
var e = V0(), t = e.firstChild;
|
|
45560
45577
|
return P(e, () => u().length, t), e;
|
|
45561
45578
|
})()];
|
|
45562
45579
|
}
|
|
@@ -45572,13 +45589,13 @@ function Z0(e) {
|
|
|
45572
45589
|
},
|
|
45573
45590
|
get children() {
|
|
45574
45591
|
return [
|
|
45575
|
-
|
|
45592
|
+
j0(),
|
|
45576
45593
|
(() => {
|
|
45577
|
-
var e =
|
|
45594
|
+
var e = M0();
|
|
45578
45595
|
return P(e, () => _(h())), e;
|
|
45579
45596
|
})(),
|
|
45580
45597
|
(() => {
|
|
45581
|
-
var e =
|
|
45598
|
+
var e = N0();
|
|
45582
45599
|
return e.$$click = () => {
|
|
45583
45600
|
oe || QD();
|
|
45584
45601
|
}, e;
|
|
@@ -45590,17 +45607,17 @@ function Z0(e) {
|
|
|
45590
45607
|
return d();
|
|
45591
45608
|
},
|
|
45592
45609
|
get children() {
|
|
45593
|
-
var e =
|
|
45610
|
+
var e = F0(), t = e.firstChild;
|
|
45594
45611
|
return P(e, j(M, {
|
|
45595
45612
|
get when() {
|
|
45596
45613
|
return u().length > 0;
|
|
45597
45614
|
},
|
|
45598
45615
|
get children() {
|
|
45599
|
-
return [
|
|
45616
|
+
return [P0(), j(We, {
|
|
45600
45617
|
get each() {
|
|
45601
45618
|
return u();
|
|
45602
45619
|
},
|
|
45603
|
-
children: (e) => j(
|
|
45620
|
+
children: (e) => j($0, {
|
|
45604
45621
|
agent: e,
|
|
45605
45622
|
review: !0,
|
|
45606
45623
|
onOpen: le
|
|
@@ -45612,14 +45629,14 @@ function Z0(e) {
|
|
|
45612
45629
|
return l().length > 0;
|
|
45613
45630
|
},
|
|
45614
45631
|
get fallback() {
|
|
45615
|
-
return
|
|
45632
|
+
return U0();
|
|
45616
45633
|
},
|
|
45617
45634
|
get children() {
|
|
45618
45635
|
return j(We, {
|
|
45619
45636
|
get each() {
|
|
45620
45637
|
return l();
|
|
45621
45638
|
},
|
|
45622
|
-
children: (e) => j(
|
|
45639
|
+
children: (e) => j($0, {
|
|
45623
45640
|
agent: e,
|
|
45624
45641
|
onOpen: le
|
|
45625
45642
|
})
|
|
@@ -45640,8 +45657,8 @@ function Z0(e) {
|
|
|
45640
45657
|
return t();
|
|
45641
45658
|
},
|
|
45642
45659
|
get children() {
|
|
45643
|
-
var e =
|
|
45644
|
-
return t.$$pointerdown = ue, P(e, j(
|
|
45660
|
+
var e = L0(), t = e.firstChild;
|
|
45661
|
+
return t.$$pointerdown = ue, P(e, j(k0, {
|
|
45645
45662
|
onGrab: () => n(!0),
|
|
45646
45663
|
onClose: () => n(!1),
|
|
45647
45664
|
get onHeaderPointerDown() {
|
|
@@ -45669,19 +45686,19 @@ function Z0(e) {
|
|
|
45669
45686
|
}
|
|
45670
45687
|
})];
|
|
45671
45688
|
}
|
|
45672
|
-
function
|
|
45689
|
+
function $0(e) {
|
|
45673
45690
|
return (() => {
|
|
45674
|
-
var t =
|
|
45691
|
+
var t = W0(), n = t.firstChild, r = n.firstChild, i = r.nextSibling, a = i.nextSibling, o = n.nextSibling, s = o.firstChild, c = s.nextSibling;
|
|
45675
45692
|
return c.nextSibling, t.$$click = () => e.onOpen(e.agent.id), P(i, () => e.agent.identifier), P(a, () => e.agent.title), P(o, (() => {
|
|
45676
45693
|
var t = $e(() => !!e.review);
|
|
45677
45694
|
return () => t() ? "PR ready · needs review" : e.agent.stateName;
|
|
45678
|
-
})(), s), P(o, () => e.agent.delegateName, c), P(o, () =>
|
|
45695
|
+
})(), s), P(o, () => e.agent.delegateName, c), P(o, () => e2(e.agent.updatedAt), null), D((t) => dt(r, "background", e.review ? "var(--color-warn)" : e.agent.stateColor)), t;
|
|
45679
45696
|
})();
|
|
45680
45697
|
}
|
|
45681
|
-
function
|
|
45698
|
+
function e2(e) {
|
|
45682
45699
|
let t = Math.max(0, Math.floor((Date.now() - Date.parse(e)) / 1e3));
|
|
45683
45700
|
return t < 60 ? "now" : t < 3600 ? `${Math.floor(t / 60)}m` : t < 86400 ? `${Math.floor(t / 3600)}h` : `${Math.floor(t / 86400)}d`;
|
|
45684
45701
|
}
|
|
45685
45702
|
rt(["pointerdown", "click"]);
|
|
45686
45703
|
//#endregion
|
|
45687
|
-
export {
|
|
45704
|
+
export { G0 as init };
|