@dylanpiercey/work 0.0.142 → 0.0.143
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/dist/index.mjs +380 -380
- package/dist/public/assets/_3e5vpyoY.js +1 -0
- package/dist/public/assets/_A2wGvgf0.js +1 -0
- package/dist/public/assets/_BEoBkcdi.js +1 -0
- package/dist/public/assets/_BJLWIg3J.js +1 -0
- package/dist/public/assets/_BlbpeXEW.js +1 -0
- package/dist/public/assets/_Bmi9ioLs.js +1 -0
- package/dist/public/assets/_BzVfXLzU.js +1 -0
- package/dist/public/assets/_Cc2pSvWm.js +1 -0
- package/dist/public/assets/_Ct0KrtgB.js +1 -0
- package/dist/public/assets/_Ct_oQB57.js +1 -0
- package/dist/public/assets/{_Cs7p4yDS.js → _D0p3M5lr.js} +1 -1
- package/dist/public/assets/_D0p3M5lr.js.br +0 -0
- package/dist/public/assets/_D3JBLQPx.js +1 -0
- package/dist/public/assets/_DSqTdrDE.js +1 -0
- package/dist/public/assets/_DVvz1278.js +1 -0
- package/dist/public/assets/_DadCbsTx.js +1 -0
- package/dist/public/assets/_DalQpFMm.js +1 -0
- package/dist/public/assets/_Dcq8o-F1.js +1 -0
- package/dist/public/assets/_DhdFcMUM.js +1 -0
- package/dist/public/assets/{_KxAphaRA.js → _DnNcgzzd.js} +4 -4
- package/dist/public/assets/_DnNcgzzd.js.br +0 -0
- package/dist/public/assets/{_BKISLRf4.js → _pyReIzhQ.js} +5 -5
- package/dist/public/assets/_pyReIzhQ.js.br +0 -0
- package/dist/public/assets/_x_da49mF.js +1 -0
- package/dist/public/assets/_yGw4R7yw.js +1 -0
- package/dist/public/assets/app-page-B0f8itSE.css +1 -0
- package/dist/public/assets/app-page-B0f8itSE.css.br +0 -0
- package/dist/public/assets/diff-view-B0vo5Jai.js +2 -0
- package/dist/public/assets/diff-view-BxwS17IY.css +1 -0
- package/dist/public/assets/diff-view-BxwS17IY.css.br +0 -0
- package/dist/public/assets/{icon-arrow-down-BNBeL8Ga.css → icon-arrow-down-yHrjFe7f.css} +1 -1
- package/dist/public/assets/icon-arrow-down-yHrjFe7f.css.br +0 -0
- package/dist/public/assets/new-DIWv_y0V.js +1 -0
- package/dist/public/assets/settings-DIWv_y0V.js +1 -0
- package/dist/public/assets/w-DIWv_y0V.js +1 -0
- package/dist/public/assets/w._-DIWv_y0V.js +1 -0
- package/dist/public/assets/w._-Dt1Jdj_n.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_8hG8C_PZ.js +0 -1
- package/dist/public/assets/_B-zFviqb.js +0 -1
- package/dist/public/assets/_BDvd4EZB.js +0 -1
- package/dist/public/assets/_BI8c6j8A.js +0 -1
- package/dist/public/assets/_BJdnnx2G.js +0 -1
- package/dist/public/assets/_BKISLRf4.js.br +0 -0
- package/dist/public/assets/_BpvmtZ-d.js +0 -1
- package/dist/public/assets/_C4a3hSl8.js +0 -1
- package/dist/public/assets/_C4z7ZpSn.js +0 -1
- package/dist/public/assets/_C9MkQEgN.js +0 -1
- package/dist/public/assets/_C9xSVjMf.js +0 -1
- package/dist/public/assets/_CZQPAwyq.js +0 -1
- package/dist/public/assets/_ChnoRUJ0.js +0 -1
- package/dist/public/assets/_CnuE-eGh.js +0 -1
- package/dist/public/assets/_Cs7p4yDS.js.br +0 -0
- package/dist/public/assets/_D6XehGQQ.js +0 -1
- package/dist/public/assets/_DCj2SQDi.js +0 -1
- package/dist/public/assets/_DWyAxr1i.js +0 -1
- package/dist/public/assets/_D_uw8N56.js +0 -1
- package/dist/public/assets/_KxAphaRA.js.br +0 -0
- package/dist/public/assets/_NJCyKDdt.js +0 -1
- package/dist/public/assets/_rXH_a0uy.js +0 -1
- package/dist/public/assets/app-page-ykWloqi5.css +0 -1
- package/dist/public/assets/app-page-ykWloqi5.css.br +0 -0
- package/dist/public/assets/diff-view-CNup0zAN.css +0 -1
- package/dist/public/assets/diff-view-CNup0zAN.css.br +0 -0
- package/dist/public/assets/diff-view-CWrMPKfC.js +0 -2
- package/dist/public/assets/icon-arrow-down-BNBeL8Ga.css.br +0 -0
- package/dist/public/assets/new-Cm1HuQpH.js +0 -1
- package/dist/public/assets/settings-Cm1HuQpH.js +0 -1
- package/dist/public/assets/w-Cm1HuQpH.js +0 -1
- package/dist/public/assets/w._-BR_j-SQU.js +0 -1
- package/dist/public/assets/w._-Cm1HuQpH.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -7231,16 +7231,16 @@ function applyInstance(inst) {
|
|
|
7231
7231
|
}
|
|
7232
7232
|
//#endregion
|
|
7233
7233
|
//#region src/tags/settings-page.css.ts
|
|
7234
|
-
var content$2 = "
|
|
7235
|
-
var agentGrid = "
|
|
7236
|
-
var toolGrid = "
|
|
7237
|
-
var toolRow = "
|
|
7238
|
-
var themeSeg = "
|
|
7239
|
-
var swatches = "
|
|
7240
|
-
var checkList = "
|
|
7241
|
-
var flatCardRow = "
|
|
7242
|
-
var pop$1 = "
|
|
7243
|
-
var spinner = "
|
|
7234
|
+
var content$2 = "_cQ _bx _by";
|
|
7235
|
+
var agentGrid = "_cT _bI";
|
|
7236
|
+
var toolGrid = "_c3 _cN";
|
|
7237
|
+
var toolRow = "_c4 _cO";
|
|
7238
|
+
var themeSeg = "_dq _bc";
|
|
7239
|
+
var swatches = "_dy _bc";
|
|
7240
|
+
var checkList = "_dP _bI";
|
|
7241
|
+
var flatCardRow = "_cP _cO";
|
|
7242
|
+
var pop$1 = "_cv _8";
|
|
7243
|
+
var spinner = "_cy _0 _E";
|
|
7244
7244
|
var busy = "_cm _cl";
|
|
7245
7245
|
var pop = "_co _8";
|
|
7246
7246
|
var sectionCount = "_bH _L _M";
|
|
@@ -7285,18 +7285,18 @@ var icon_back_default = _template("O", (input) => {
|
|
|
7285
7285
|
var page_head_default = _template("t", (input) => {
|
|
7286
7286
|
const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 3), $sg__input_meta = _serialize_guard($scope0_reason, 6), $sg__input_actions = _serialize_guard($scope0_reason, 7), $si__input_backHref__OR__input_onBack = _serialize_if($scope0_reason, 1), $si__input_meta = _serialize_if($scope0_reason, 6), $si__input_actions = _serialize_if($scope0_reason, 7);
|
|
7287
7287
|
const $scope0_id = _scope_id();
|
|
7288
|
-
_html(`<header${_attr_class("
|
|
7288
|
+
_html(`<header${_attr_class("_bz")}>`);
|
|
7289
7289
|
_if(() => {
|
|
7290
7290
|
if (input.backHref) {
|
|
7291
7291
|
const $scope1_id = _scope_id();
|
|
7292
|
-
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "
|
|
7292
|
+
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_dT"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
7293
7293
|
icon_back_default({ size: 16 });
|
|
7294
7294
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
7295
7295
|
_serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
|
|
7296
7296
|
return 0;
|
|
7297
7297
|
} else if (input.onBack) {
|
|
7298
7298
|
const $scope2_id = _scope_id();
|
|
7299
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
7299
|
+
_html(`<button${_attr_class([iconBtnRow, "_dT"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
7300
7300
|
icon_back_default({ size: 16 });
|
|
7301
7301
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
7302
7302
|
_script($scope2_id, "t0");
|
|
@@ -7304,11 +7304,11 @@ var page_head_default = _template("t", (input) => {
|
|
|
7304
7304
|
return 1;
|
|
7305
7305
|
}
|
|
7306
7306
|
}, $scope0_id, "b", _serialize_guard($scope0_reason, 2), _serialize_guard($scope0_reason, 1), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
|
|
7307
|
-
_html(`<div${_attr_class("
|
|
7307
|
+
_html(`<div${_attr_class("_bB")}><h1${_attr("id", input.titleId)}${_attr_class("_bA")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
7308
7308
|
_if(() => {
|
|
7309
7309
|
if (input.meta) {
|
|
7310
7310
|
const $scope3_id = _scope_id();
|
|
7311
|
-
_html(`<p${_attr_class("
|
|
7311
|
+
_html(`<p${_attr_class("_bC")}>`);
|
|
7312
7312
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
7313
7313
|
_html("</p>");
|
|
7314
7314
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7319,7 +7319,7 @@ var page_head_default = _template("t", (input) => {
|
|
|
7319
7319
|
_if(() => {
|
|
7320
7320
|
if (input.actions) {
|
|
7321
7321
|
const $scope4_id = _scope_id();
|
|
7322
|
-
_html(`<div${_attr_class("
|
|
7322
|
+
_html(`<div${_attr_class("_bD")}>`);
|
|
7323
7323
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
7324
7324
|
_html("</div>");
|
|
7325
7325
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7387,7 +7387,7 @@ var icon_agent_default = _template("J", (input) => {
|
|
|
7387
7387
|
n: $badge__closures
|
|
7388
7388
|
});
|
|
7389
7389
|
});
|
|
7390
|
-
var usageNote = "
|
|
7390
|
+
var usageNote = "_eH _V";
|
|
7391
7391
|
//#endregion
|
|
7392
7392
|
//#region src/tags/icons/icon-warning.marko
|
|
7393
7393
|
var icon_warning_default = _template("ob", (input) => {
|
|
@@ -7417,11 +7417,11 @@ var usage_meters_default = _template("G", (input) => {
|
|
|
7417
7417
|
const $scope0_reason = _scope_reason(), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $sg__input_agent = _serialize_guard($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 1), $sg__input_hideName = _serialize_guard($scope0_reason, 2), $si__input_agent__OR__input_hideName = _serialize_if($scope0_reason, 0);
|
|
7418
7418
|
const $scope0_id = _scope_id();
|
|
7419
7419
|
const agent = input.agent;
|
|
7420
|
-
_html(`<div${_attr_class(["
|
|
7420
|
+
_html(`<div${_attr_class(["_eB", { ["_eC"]: input.hideName }])}><div${_attr_class("_eD")}>`);
|
|
7421
7421
|
_if(() => {
|
|
7422
7422
|
if (!input.hideName) {
|
|
7423
7423
|
const $scope1_id = _scope_id();
|
|
7424
|
-
_html(`<strong${_attr_class("
|
|
7424
|
+
_html(`<strong${_attr_class("_eW")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
|
|
7425
7425
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
7426
7426
|
return 0;
|
|
7427
7427
|
}
|
|
@@ -7429,7 +7429,7 @@ var usage_meters_default = _template("G", (input) => {
|
|
|
7429
7429
|
_if(() => {
|
|
7430
7430
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
7431
7431
|
const $scope2_id = _scope_id();
|
|
7432
|
-
_html(`<span${_attr_class("
|
|
7432
|
+
_html(`<span${_attr_class("_eE")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
|
|
7433
7433
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
7434
7434
|
return 0;
|
|
7435
7435
|
}
|
|
@@ -7437,21 +7437,21 @@ var usage_meters_default = _template("G", (input) => {
|
|
|
7437
7437
|
_if(() => {
|
|
7438
7438
|
if (agent.stale_seconds != null) {
|
|
7439
7439
|
const $scope3_id = _scope_id();
|
|
7440
|
-
_html(`<span${_attr_class("
|
|
7440
|
+
_html(`<span${_attr_class("_eF")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
|
|
7441
7441
|
icon_warning_default({ size: 12 });
|
|
7442
7442
|
_html(` ${_text_resume($scope3_id, "c", duration(agent.stale_seconds * 1e3), $sg__input_agent * 2)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
7443
7443
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
7444
7444
|
return 0;
|
|
7445
7445
|
}
|
|
7446
7446
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
7447
|
-
_html(`</div><div${_attr_class(["
|
|
7447
|
+
_html(`</div><div${_attr_class(["_eG", { ["_eX"]: agent.stale_seconds != null }])}>`);
|
|
7448
7448
|
_for_of(agent.windows || [], (win) => {
|
|
7449
7449
|
const $scope4_id = _scope_id();
|
|
7450
7450
|
const pct = pctText(win.used_percent);
|
|
7451
7451
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
7452
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
7453
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
7454
|
-
_html(`<div${_attr_class("
|
|
7452
|
+
const fillClass = win.used_percent >= 90 ? "_eP" : win.used_percent >= 70 ? "_eO" : win.used_percent >= 40 ? "_eN" : "_eM";
|
|
7453
|
+
const pctClass = win.used_percent >= 90 ? "_eU" : win.used_percent >= 70 ? "_eT" : win.used_percent >= 40 ? "_eS" : "_eR";
|
|
7454
|
+
_html(`<div${_attr_class("_eI")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_eJ")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_eK")}><span${_attr_class(["_eL", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_eQ", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_eV")}>`);
|
|
7455
7455
|
_if(() => {
|
|
7456
7456
|
if (label) {
|
|
7457
7457
|
const $scope6_id = _scope_id();
|
|
@@ -7568,14 +7568,14 @@ var sso_auth_default = _template("C", (input) => {
|
|
|
7568
7568
|
localCode = null;
|
|
7569
7569
|
}
|
|
7570
7570
|
}, "C0", $scope0_id);
|
|
7571
|
-
_html(`<div${_attr_class(["
|
|
7571
|
+
_html(`<div${_attr_class(["_eY", input.class])}>`);
|
|
7572
7572
|
_for_of(input.items, (s) => {
|
|
7573
7573
|
const $scope1_id = _scope_id();
|
|
7574
|
-
_html(`<div${_attr_class("
|
|
7574
|
+
_html(`<div${_attr_class("_eZ")}><span${_attr_class("_e1")}><span${_attr_class("_e2")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_e3", "_e4"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
|
|
7575
7575
|
_if(() => {
|
|
7576
7576
|
if (!busy) {
|
|
7577
7577
|
const $scope2_id = _scope_id();
|
|
7578
|
-
_html(`<button type=button${_attr_class([btnSm, "_p"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "
|
|
7578
|
+
_html(`<button type=button${_attr_class([btnSm, "_p"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "_e5"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
|
|
7579
7579
|
_script($scope2_id, "C1");
|
|
7580
7580
|
writeScope($scope2_id, {});
|
|
7581
7581
|
return 0;
|
|
@@ -7590,13 +7590,13 @@ var sso_auth_default = _template("C", (input) => {
|
|
|
7590
7590
|
_if(() => {
|
|
7591
7591
|
if (localBusy && localCode) {
|
|
7592
7592
|
const $scope4_id = _scope_id();
|
|
7593
|
-
_html(`<div${_attr_class(["
|
|
7593
|
+
_html(`<div${_attr_class(["_eZ", "_e6"])}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_e7")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_e8")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
|
|
7594
7594
|
_script($scope4_id, "C2");
|
|
7595
7595
|
writeScope($scope4_id, {});
|
|
7596
7596
|
return 0;
|
|
7597
7597
|
} else if (localBusy) {
|
|
7598
7598
|
const $scope6_id = _scope_id();
|
|
7599
|
-
_html(`<div${_attr_class(["
|
|
7599
|
+
_html(`<div${_attr_class(["_eZ", "_e6"])}><span${_attr_class("_E")}></span>Starting GitHub re-authorization…</div>`);
|
|
7600
7600
|
writeScope($scope6_id, {});
|
|
7601
7601
|
return 1;
|
|
7602
7602
|
}
|
|
@@ -7604,14 +7604,14 @@ var sso_auth_default = _template("C", (input) => {
|
|
|
7604
7604
|
_if(() => {
|
|
7605
7605
|
if (localError) {
|
|
7606
7606
|
const $scope5_id = _scope_id();
|
|
7607
|
-
_html(`<p${_attr_class(["
|
|
7607
|
+
_html(`<p${_attr_class(["_eZ", "_e9"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
|
|
7608
7608
|
writeScope($scope5_id, {});
|
|
7609
7609
|
return 0;
|
|
7610
7610
|
}
|
|
7611
7611
|
}, $scope0_id, "d", 1, 1, 1, 0, 1);
|
|
7612
7612
|
_for_of(skipped, (s) => {
|
|
7613
7613
|
const $scope3_id = _scope_id();
|
|
7614
|
-
_html(`<div${_attr_class(["
|
|
7614
|
+
_html(`<div${_attr_class(["_eZ", "_e0"])}><span${_attr_class("_e1")}><span${_attr_class("_e2")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_e3")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_e5"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
|
|
7615
7615
|
_script($scope3_id, "C3");
|
|
7616
7616
|
writeScope($scope3_id, {
|
|
7617
7617
|
i: s?.org,
|
|
@@ -7801,7 +7801,7 @@ var icon_arrow_up_default = _template("N", (input) => {
|
|
|
7801
7801
|
});
|
|
7802
7802
|
//#endregion
|
|
7803
7803
|
//#region src/tags/prompt-dialog.css.ts
|
|
7804
|
-
var promptDlg = "
|
|
7804
|
+
var promptDlg = "_e_ _el";
|
|
7805
7805
|
//#endregion
|
|
7806
7806
|
//#region src/tags/dialog-close.marko
|
|
7807
7807
|
var dialog_close_default = _template("f", (input) => {
|
|
@@ -8453,7 +8453,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8453
8453
|
const githubId = _id();
|
|
8454
8454
|
const backupId = _id();
|
|
8455
8455
|
const machineId = _id();
|
|
8456
|
-
_html(`<div${_attr_class("
|
|
8456
|
+
_html(`<div${_attr_class("_bv")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bw")}><div${_attr_class(content$2)}>`);
|
|
8457
8457
|
_set_serialize_reason({
|
|
8458
8458
|
0: _serialize_guard($scope0_reason, 4),
|
|
8459
8459
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -8465,7 +8465,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8465
8465
|
if (setup && !setup.ready) $meta = attrTag({ content: _content_resume("x43", () => {
|
|
8466
8466
|
_scope_reason();
|
|
8467
8467
|
const $scope5_id = _scope_id();
|
|
8468
|
-
_html(`<span${_attr_class("
|
|
8468
|
+
_html(`<span${_attr_class("_cS")}>Not ready</span>. Missing ${_text_resume($scope5_id, "b", setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "), 2)}.`);
|
|
8469
8469
|
_subscribe($setup_missing__closures, writeScope($scope5_id, { _: _scope_with_id($scope0_id) }));
|
|
8470
8470
|
_resume_branch($scope5_id);
|
|
8471
8471
|
}, $scope0_id) });
|
|
@@ -8518,16 +8518,16 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8518
8518
|
_if(() => {
|
|
8519
8519
|
if (selfUpdatePending || selfUpdating) {
|
|
8520
8520
|
const $scope45_id = _scope_id();
|
|
8521
|
-
_html(`<div${_attr_class("
|
|
8521
|
+
_html(`<div${_attr_class("_du")} role=status><div${_attr_class("_dv")}>`);
|
|
8522
8522
|
_if(() => {
|
|
8523
8523
|
if (selfUpdating) {
|
|
8524
8524
|
const $scope78_id = _scope_id();
|
|
8525
|
-
_html(`<span${_attr_class("
|
|
8525
|
+
_html(`<span${_attr_class("_dw")}><span${_attr_class("_E")}></span> Updating work…</span><span${_attr_class("_dx")}>The app restarts and reloads when it is done.</span>`);
|
|
8526
8526
|
writeScope($scope78_id, {});
|
|
8527
8527
|
return 0;
|
|
8528
8528
|
} else {
|
|
8529
8529
|
const $scope46_id = _scope_id();
|
|
8530
|
-
_html(`<span${_attr_class("
|
|
8530
|
+
_html(`<span${_attr_class("_dw")}>Update available</span><span${_attr_class("_dx")}>v${_text_resume($scope46_id, "c", self.version, 2)} → v${_text_resume($scope46_id, "d", self.latest, 2)}</span>`);
|
|
8531
8531
|
_subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope46_id, {})));
|
|
8532
8532
|
return 1;
|
|
8533
8533
|
}
|
|
@@ -8546,11 +8546,11 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8546
8546
|
return 0;
|
|
8547
8547
|
}
|
|
8548
8548
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
8549
|
-
_html(`<section${_attr_class("_bF")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bG")}><h2${_attr("id", agentsId)}${_attr_class("_bT")}>Agents</h2><div${_attr_class("_x")}></div><label${_attr_class("
|
|
8549
|
+
_html(`<section${_attr_class("_bF")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bG")}><h2${_attr("id", agentsId)}${_attr_class("_bT")}>Agents</h2><div${_attr_class("_x")}></div><label${_attr_class("_cV")}><span${_attr_class("_V")}>Default</span><span${_attr_class("_m")}>`);
|
|
8550
8550
|
_attr_select_value($scope0_id, "n", input$3.preferred, _resume(function(v) {
|
|
8551
8551
|
setPreferred(v);
|
|
8552
8552
|
}, "x2", $scope0_id), () => {
|
|
8553
|
-
_html(`<select${_attr_class(["_n", "
|
|
8553
|
+
_html(`<select${_attr_class(["_n", "_cW"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
|
|
8554
8554
|
_for_of(input$3.agents.filter((a) => a !== "shell"), (id) => {
|
|
8555
8555
|
const $scope79_id = _scope_id();
|
|
8556
8556
|
_html(`<option${_attr_option_value(id)}>${_text_resume($scope79_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope79_id, "a", $sg__input_agents)}`);
|
|
@@ -8564,7 +8564,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8564
8564
|
const rows = lone ? [] : a.instances;
|
|
8565
8565
|
const loneAccounts = lone ? accountsFor(lone.id) : [];
|
|
8566
8566
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
8567
|
-
_html(`<li${_attr_class(["_bK", "
|
|
8567
|
+
_html(`<li${_attr_class(["_bK", "_cU"])}><div${_attr_class(["_cX", { ["_c0"]: lone && !lone.enabled }])}>`);
|
|
8568
8568
|
_set_serialize_reason(12);
|
|
8569
8569
|
const $childScope3 = _peek_scope_id();
|
|
8570
8570
|
icon_agent_default({
|
|
@@ -8584,7 +8584,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8584
8584
|
_if(() => {
|
|
8585
8585
|
if (active.has(a.id)) {
|
|
8586
8586
|
const $scope13_id = _scope_id();
|
|
8587
|
-
_html(`<span${_attr_class("
|
|
8587
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_E")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
|
|
8588
8588
|
_subscribe($active__closures, writeScope($scope13_id, {}));
|
|
8589
8589
|
return 0;
|
|
8590
8590
|
} else if (!a.installed) {
|
|
@@ -8617,15 +8617,15 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8617
8617
|
_if(() => {
|
|
8618
8618
|
if (rows.length || loneAccounts.length || extraAccounts.length) {
|
|
8619
8619
|
const $scope2_id = _scope_id();
|
|
8620
|
-
_html(`<ul${_attr_class(["
|
|
8620
|
+
_html(`<ul${_attr_class(["_c2", { ["_c0"]: lone && !lone.enabled }])}>`);
|
|
8621
8621
|
_for_of(rows, (inst) => {
|
|
8622
8622
|
const $scope3_id = _scope_id();
|
|
8623
8623
|
const accounts = accountsFor(inst.id);
|
|
8624
|
-
_html(`<li${_attr_class(["
|
|
8624
|
+
_html(`<li${_attr_class(["_cY", { ["_c0"]: !inst.enabled }])}><div${_attr_class("_cZ")}>`);
|
|
8625
8625
|
_set_serialize_reason(12);
|
|
8626
8626
|
const $childScope4 = _peek_scope_id();
|
|
8627
8627
|
icon_agent_default({ agent: inst.id });
|
|
8628
|
-
_html(`<span${_attr_class(["
|
|
8628
|
+
_html(`<span${_attr_class(["_c1", "_w"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
|
|
8629
8629
|
_if(() => {
|
|
8630
8630
|
if (input$3.preferred === inst.id) {
|
|
8631
8631
|
const $scope82_id = _scope_id();
|
|
@@ -8696,7 +8696,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8696
8696
|
}, "id", $scope0_id, "p", 1, 1, 1, 0, 1);
|
|
8697
8697
|
_for_of(otherUsage, (u) => {
|
|
8698
8698
|
const $scope86_id = _scope_id();
|
|
8699
|
-
_html(`<li${_attr_class(["_bK", "
|
|
8699
|
+
_html(`<li${_attr_class(["_bK", "_cU"])}>`);
|
|
8700
8700
|
_set_serialize_reason(6);
|
|
8701
8701
|
const $childScope8 = _peek_scope_id();
|
|
8702
8702
|
usage_meters_default({ agent: u });
|
|
@@ -8721,7 +8721,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8721
8721
|
_if(() => {
|
|
8722
8722
|
if (setup && !addingHost) {
|
|
8723
8723
|
const $scope43_id = _scope_id();
|
|
8724
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
8724
|
+
_html(`<button${_attr_class([iconBtnRow, "_c_"])} title="Add Enterprise host" aria-label="Add Enterprise host">`);
|
|
8725
8725
|
icon_plus_default({ size: 16 });
|
|
8726
8726
|
_html(`</button>${_el_resume($scope43_id, "a")}`);
|
|
8727
8727
|
_script($scope43_id, "x50");
|
|
@@ -8733,10 +8733,10 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8733
8733
|
if (setup) {
|
|
8734
8734
|
const $scope42_id = _scope_id();
|
|
8735
8735
|
_html(`<form${_attr_class([
|
|
8736
|
-
"
|
|
8737
|
-
"
|
|
8738
|
-
{ ["
|
|
8739
|
-
])}><label${_attr_class(["_Z", "
|
|
8736
|
+
"_cq",
|
|
8737
|
+
"_c_",
|
|
8738
|
+
{ ["_cr"]: !addingHost }
|
|
8739
|
+
])}><label${_attr_class(["_Z", "_cs"])}>`);
|
|
8740
8740
|
icon_github_default({
|
|
8741
8741
|
size: 14,
|
|
8742
8742
|
class: "_0"
|
|
@@ -8746,12 +8746,12 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8746
8746
|
}, "x3", $scope42_id))}${_attr_class([
|
|
8747
8747
|
"_X",
|
|
8748
8748
|
"_1",
|
|
8749
|
-
"
|
|
8749
|
+
"_ct"
|
|
8750
8750
|
])} type=text placeholder=github.example.com aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope42_id, "d")}</label><button${_attr_class([
|
|
8751
8751
|
btnSm,
|
|
8752
8752
|
"_p",
|
|
8753
|
-
"
|
|
8754
|
-
])} type=submit${_attr("hidden", !addingHost)}${_attr("disabled", !hostInput.trim() || hostBusy)}>${_text_resume($scope42_id, "f", hostBusy ? "Adding…" : "Add")}</button>${_el_resume($scope42_id, "e")}<button${_attr_class([iconBtnRow, "
|
|
8753
|
+
"_c9"
|
|
8754
|
+
])} type=submit${_attr("hidden", !addingHost)}${_attr("disabled", !hostInput.trim() || hostBusy)}>${_text_resume($scope42_id, "f", hostBusy ? "Adding…" : "Add")}</button>${_el_resume($scope42_id, "e")}<button${_attr_class([iconBtnRow, "_cu"])} type=button${_attr("hidden", !addingHost)} title=Cancel aria-label=Cancel${_attr("disabled", hostBusy)}>`);
|
|
8755
8755
|
icon_xmark_default({ size: 12 });
|
|
8756
8756
|
_html(`</button>${_el_resume($scope42_id, "g")}</form>${_el_resume($scope42_id, "a")}`);
|
|
8757
8757
|
_script($scope42_id, "x51");
|
|
@@ -8759,17 +8759,17 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8759
8759
|
return 0;
|
|
8760
8760
|
}
|
|
8761
8761
|
}, $scope0_id, "w", 1, 1, 1, 0, 1);
|
|
8762
|
-
_html(`</div><div${_attr_class(["_bK", "
|
|
8762
|
+
_html(`</div><div${_attr_class(["_bK", "_cz"])}>`);
|
|
8763
8763
|
_for_of(setup?.github || [], (h) => {
|
|
8764
8764
|
const $scope7_id = _scope_id();
|
|
8765
8765
|
const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
|
|
8766
8766
|
const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
|
|
8767
8767
|
const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
8768
8768
|
const busy = active.has(h.host);
|
|
8769
|
-
_html(`<div${_attr_class(["
|
|
8769
|
+
_html(`<div${_attr_class(["_cA", "_da"])}><div${_attr_class("_db")}>`);
|
|
8770
8770
|
icon_github_default({
|
|
8771
8771
|
size: 18,
|
|
8772
|
-
class: "
|
|
8772
|
+
class: "_dc"
|
|
8773
8773
|
});
|
|
8774
8774
|
_html(`<div${_attr_class("_bL")}><span${_attr_class("_bN")}><span${_attr_class("_bM")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
|
|
8775
8775
|
_if(() => {
|
|
@@ -8784,25 +8784,25 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8784
8784
|
_if(() => {
|
|
8785
8785
|
if (busy) {
|
|
8786
8786
|
const $scope14_id = _scope_id();
|
|
8787
|
-
_html(`<span${_attr_class(["_bO", "
|
|
8787
|
+
_html(`<span${_attr_class(["_bO", "_dd"])}><span${_attr_class("_E")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
|
|
8788
8788
|
_subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Cgt: 1 })));
|
|
8789
8789
|
return 0;
|
|
8790
8790
|
} else if (h.authed) {
|
|
8791
8791
|
const $scope88_id = _scope_id();
|
|
8792
|
-
_html(`<span${_attr_class(["_bO", "
|
|
8792
|
+
_html(`<span${_attr_class(["_bO", "_dd"])}>`);
|
|
8793
8793
|
icon_check_default({
|
|
8794
8794
|
size: 12,
|
|
8795
|
-
class: "
|
|
8795
|
+
class: "_de"
|
|
8796
8796
|
});
|
|
8797
|
-
_html(` Signed in as <strong${_attr_class("
|
|
8797
|
+
_html(` Signed in as <strong${_attr_class("_dg")}>${_text_resume($scope88_id, "d", h.user || "?")}</strong></span>`);
|
|
8798
8798
|
writeScope($scope88_id, {});
|
|
8799
8799
|
return 1;
|
|
8800
8800
|
} else if (h.error) {
|
|
8801
8801
|
const $scope89_id = _scope_id();
|
|
8802
8802
|
_html(`<span${_attr_class([
|
|
8803
8803
|
"_bO",
|
|
8804
|
-
"
|
|
8805
|
-
"
|
|
8804
|
+
"_dd",
|
|
8805
|
+
"_df"
|
|
8806
8806
|
])}>`);
|
|
8807
8807
|
icon_warning_default({ size: 12 });
|
|
8808
8808
|
_html(`${_text_resume($scope89_id, "c", h.error)}</span>`);
|
|
@@ -8810,7 +8810,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8810
8810
|
return 2;
|
|
8811
8811
|
} else {
|
|
8812
8812
|
const $scope91_id = _scope_id();
|
|
8813
|
-
_html(`<span${_attr_class(["_bO", "
|
|
8813
|
+
_html(`<span${_attr_class(["_bO", "_dd"])}>Not signed in</span>`);
|
|
8814
8814
|
writeScope($scope91_id, {});
|
|
8815
8815
|
return 3;
|
|
8816
8816
|
}
|
|
@@ -8875,7 +8875,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8875
8875
|
_if(() => {
|
|
8876
8876
|
if (busy && authCodes.has(h.host)) {
|
|
8877
8877
|
const $scope31_id = _scope_id();
|
|
8878
|
-
_html(`<div${_attr_class("
|
|
8878
|
+
_html(`<div${_attr_class("_dh")}><span${_attr_class("_di")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_dk")}>${_text_resume($scope31_id, "d", h.host)}/login/device</a>${_el_resume($scope31_id, "c")}</span><code${_attr_class("_dj")}>${_text_resume($scope31_id, "f", authCodes.get(h.host))}</code></div>`);
|
|
8879
8879
|
_subscribe($authCodes__closures, writeScope($scope31_id, { Cgv: 1 }));
|
|
8880
8880
|
return 0;
|
|
8881
8881
|
}
|
|
@@ -8887,7 +8887,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8887
8887
|
_set_serialize_reason(30);
|
|
8888
8888
|
const $childScope9 = _peek_scope_id();
|
|
8889
8889
|
sso_auth_default({
|
|
8890
|
-
class: ["
|
|
8890
|
+
class: ["_cA", "_dl"],
|
|
8891
8891
|
items: hostSso$1,
|
|
8892
8892
|
skipped: skippedSso,
|
|
8893
8893
|
busy,
|
|
@@ -8926,18 +8926,18 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8926
8926
|
return 0;
|
|
8927
8927
|
}
|
|
8928
8928
|
}, $scope0_id, "y", 1, 1, 1, 0, 1);
|
|
8929
|
-
_html(`</section><section${_attr_class("_bF")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bG")}><h2${_attr("id", machineId)}${_attr_class("_bT")}>Machine</h2></div><div${_attr_class(["_bK", "
|
|
8929
|
+
_html(`</section><section${_attr_class("_bF")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bG")}><h2${_attr("id", machineId)}${_attr_class("_bT")}>Machine</h2></div><div${_attr_class(["_bK", "_cz"])}><div${_attr_class(["_cA", "_cE"])}><div${_attr_class(["_cF", { ["_cG"]: skillsOpen }])}><button${_attr_class("_cH")} aria-expanded=true>`);
|
|
8930
8930
|
_set_serialize_reason(1);
|
|
8931
8931
|
const $childScope10 = _peek_scope_id();
|
|
8932
8932
|
icon_chevron_right_default({
|
|
8933
8933
|
size: 12,
|
|
8934
|
-
class: ["
|
|
8934
|
+
class: ["_cL", { ["_cM"]: skillsOpen }]
|
|
8935
8935
|
});
|
|
8936
|
-
_html(`<span${_attr_class("
|
|
8936
|
+
_html(`<span${_attr_class("_cI")}>Skills</span>`);
|
|
8937
8937
|
_if(() => {
|
|
8938
8938
|
if (skills?.global.length) {
|
|
8939
8939
|
const $scope52_id = _scope_id();
|
|
8940
|
-
_html(`<span${_attr_class("
|
|
8940
|
+
_html(`<span${_attr_class("_cJ")}>${_text_resume($scope52_id, "b", skills.global.length)} installed</span>`);
|
|
8941
8941
|
writeScope($scope52_id, {});
|
|
8942
8942
|
return 0;
|
|
8943
8943
|
}
|
|
@@ -8957,7 +8957,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8957
8957
|
_if(() => {
|
|
8958
8958
|
if (skills?.available && skills.agents.length) {
|
|
8959
8959
|
const $scope15_id = _scope_id();
|
|
8960
|
-
_html(`<div${_attr_class(["
|
|
8960
|
+
_html(`<div${_attr_class(["_cq", { ["_cr"]: true }])}><label${_attr_class(["_Z", "_cs"])}>`);
|
|
8961
8961
|
_if(() => {
|
|
8962
8962
|
if (skillSearching) {
|
|
8963
8963
|
const $scope95_id = _scope_id();
|
|
@@ -8977,14 +8977,14 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8977
8977
|
_html(`<input${_attr_input_value($scope15_id, "d", skillQuery, searchSkills)}${_attr_class([
|
|
8978
8978
|
"_X",
|
|
8979
8979
|
"_1",
|
|
8980
|
-
"
|
|
8981
|
-
])} type=text placeholder="Search skills, or paste owner/repo…" aria-label="Search for a skill" autocomplete=off spellcheck=false>${_el_resume($scope15_id, "d")}</label><button${_attr_class([iconBtnRow, "
|
|
8980
|
+
"_ct"
|
|
8981
|
+
])} type=text placeholder="Search skills, or paste owner/repo…" aria-label="Search for a skill" autocomplete=off spellcheck=false>${_el_resume($scope15_id, "d")}</label><button${_attr_class([iconBtnRow, "_cu"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
|
|
8982
8982
|
icon_xmark_default({ size: 12 });
|
|
8983
|
-
_html(`</button>${_el_resume($scope15_id, "e")}<ul${_attr_class([pop$1, "
|
|
8983
|
+
_html(`</button>${_el_resume($scope15_id, "e")}<ul${_attr_class([pop$1, "_cw"])}${_attr("hidden", true)}>`);
|
|
8984
8984
|
_if(() => {
|
|
8985
8985
|
if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
|
|
8986
8986
|
const $scope97_id = _scope_id();
|
|
8987
|
-
_html(`<li${_attr_class("
|
|
8987
|
+
_html(`<li${_attr_class("_cx")}>Searching skills.sh…</li>`);
|
|
8988
8988
|
writeScope($scope97_id, {});
|
|
8989
8989
|
return 0;
|
|
8990
8990
|
}
|
|
@@ -8992,11 +8992,11 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
8992
8992
|
_if(() => {
|
|
8993
8993
|
if (looksLikeSource(skillQuery)) {
|
|
8994
8994
|
const $scope16_id = _scope_id();
|
|
8995
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_bL")}><span${_attr_class(["
|
|
8995
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_bL")}><span${_attr_class(["_c6", "_w"])}>${_text_resume($scope16_id, "d", skillQuery.trim())}</span>`);
|
|
8996
8996
|
_if(() => {
|
|
8997
8997
|
if (active.has(skillQuery.trim())) {
|
|
8998
8998
|
const $scope17_id = _scope_id();
|
|
8999
|
-
_html(`<span${_attr_class("
|
|
8999
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_E")}></span>${_text_resume($scope17_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
|
|
9000
9000
|
_subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope17_id, {
|
|
9001
9001
|
Cgt: 3,
|
|
9002
9002
|
Chh: 1
|
|
@@ -9027,11 +9027,11 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9027
9027
|
_for_of(skillHits || [], (h) => {
|
|
9028
9028
|
const $scope18_id = _scope_id();
|
|
9029
9029
|
const $for_content5__h_installs__closures = /* @__PURE__ */ new Set();
|
|
9030
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_bL")}><span${_attr_class(["
|
|
9030
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_bL")}><span${_attr_class(["_c6", "_w"])}>${_text_resume($scope18_id, "d", h.name)}</span>`);
|
|
9031
9031
|
_if(() => {
|
|
9032
9032
|
if (active.has(h.skillId)) {
|
|
9033
9033
|
const $scope19_id = _scope_id();
|
|
9034
|
-
_html(`<span${_attr_class("
|
|
9034
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_E")}></span>${_text_resume($scope19_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
|
|
9035
9035
|
_subscribe($active__closures, writeScope($scope19_id, { Cgt: 5 }));
|
|
9036
9036
|
return 0;
|
|
9037
9037
|
} else {
|
|
@@ -9084,7 +9084,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9084
9084
|
_if(() => {
|
|
9085
9085
|
if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
|
|
9086
9086
|
const $scope54_id = _scope_id();
|
|
9087
|
-
_html(`<li${_attr_class("
|
|
9087
|
+
_html(`<li${_attr_class("_cx")}>No skills match "${_text_resume($scope54_id, "b", skillQuery, 2)}".</li>`);
|
|
9088
9088
|
_subscribe($skillQuery__closures, writeScope($scope54_id, { Chh: 2 }));
|
|
9089
9089
|
return 0;
|
|
9090
9090
|
}
|
|
@@ -9099,7 +9099,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9099
9099
|
_if(() => {
|
|
9100
9100
|
{
|
|
9101
9101
|
const $scope20_id = _scope_id();
|
|
9102
|
-
_html(`<div${_attr_class("
|
|
9102
|
+
_html(`<div${_attr_class("_cK")}>`);
|
|
9103
9103
|
_if(() => {
|
|
9104
9104
|
if (skills && !skills.agents.length) {
|
|
9105
9105
|
const $scope102_id = _scope_id();
|
|
@@ -9200,14 +9200,14 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9200
9200
|
return 0;
|
|
9201
9201
|
}
|
|
9202
9202
|
}, $scope0_id, "ab", 1, 1, 1, 0, 1);
|
|
9203
|
-
_html(`</div><div${_attr_class(["
|
|
9203
|
+
_html(`</div><div${_attr_class(["_cA", "_cE"])}><div${_attr_class(["_cF", { ["_cG"]: machineOpen }])}><button${_attr_class("_cH")} aria-expanded=${machineOpen ? "true" : "false"}>`);
|
|
9204
9204
|
_set_serialize_reason(1);
|
|
9205
9205
|
const $childScope12 = _peek_scope_id();
|
|
9206
9206
|
icon_chevron_right_default({
|
|
9207
9207
|
size: 12,
|
|
9208
|
-
class: ["
|
|
9208
|
+
class: ["_cL", { ["_cM"]: machineOpen }]
|
|
9209
9209
|
});
|
|
9210
|
-
_html(`<span${_attr_class("
|
|
9210
|
+
_html(`<span${_attr_class("_cI")}>Tools</span><span${_attr_class("_cJ")}>${_text_resume($scope0_id, "ai", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "aj", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "ak", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "ae")}`);
|
|
9211
9211
|
_if(() => {
|
|
9212
9212
|
if (outdatedIds.length > 1) {
|
|
9213
9213
|
const $scope23_id = _scope_id();
|
|
@@ -9240,7 +9240,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9240
9240
|
_if(() => {
|
|
9241
9241
|
if (setup && setup.mise.installed) {
|
|
9242
9242
|
const $scope25_id = _scope_id();
|
|
9243
|
-
_html(`<div${_attr_class(["
|
|
9243
|
+
_html(`<div${_attr_class(["_cq", { ["_cr"]: true }])}><label${_attr_class(["_Z", "_cs"])}>`);
|
|
9244
9244
|
_if(() => {
|
|
9245
9245
|
if (searching) {
|
|
9246
9246
|
const $scope108_id = _scope_id();
|
|
@@ -9260,14 +9260,14 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9260
9260
|
_html(`<input${_attr_input_value($scope25_id, "d", query, search)}${_attr_class([
|
|
9261
9261
|
"_X",
|
|
9262
9262
|
"_1",
|
|
9263
|
-
"
|
|
9264
|
-
])} type=text placeholder="Search the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope25_id, "d")}</label><button${_attr_class([iconBtnRow, "
|
|
9263
|
+
"_ct"
|
|
9264
|
+
])} type=text placeholder="Search the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope25_id, "d")}</label><button${_attr_class([iconBtnRow, "_cu"])} type=button${_attr("hidden", true)} title="Close search" aria-label="Close search">`);
|
|
9265
9265
|
icon_xmark_default({ size: 12 });
|
|
9266
|
-
_html(`</button>${_el_resume($scope25_id, "e")}<ul${_attr_class([pop$1, "
|
|
9266
|
+
_html(`</button>${_el_resume($scope25_id, "e")}<ul${_attr_class([pop$1, "_cw"])}${_attr("hidden", true)}>`);
|
|
9267
9267
|
_if(() => {
|
|
9268
9268
|
if (searching && !hits?.length) {
|
|
9269
9269
|
const $scope110_id = _scope_id();
|
|
9270
|
-
_html(`<li${_attr_class("
|
|
9270
|
+
_html(`<li${_attr_class("_cx")}>Searching the mise registry…</li>`);
|
|
9271
9271
|
writeScope($scope110_id, {});
|
|
9272
9272
|
return 0;
|
|
9273
9273
|
}
|
|
@@ -9275,18 +9275,18 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9275
9275
|
_if(() => {
|
|
9276
9276
|
if (hits && !hits.length && !searching) {
|
|
9277
9277
|
const $scope44_id = _scope_id();
|
|
9278
|
-
_html(`<li${_attr_class("
|
|
9278
|
+
_html(`<li${_attr_class("_cx")}>No tools match "${_text_resume($scope44_id, "b", query, 2)}".</li>`);
|
|
9279
9279
|
_subscribe($query__closures, writeScope($scope44_id, {}));
|
|
9280
9280
|
return 0;
|
|
9281
9281
|
}
|
|
9282
9282
|
}, $scope25_id, "i", 1, 1, 1, 0, 1);
|
|
9283
9283
|
_for_of(hits || [], (h) => {
|
|
9284
9284
|
const $scope26_id = _scope_id();
|
|
9285
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_bL")}><span${_attr_class(["
|
|
9285
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_bL")}><span${_attr_class(["_c6", "_w"])}>${_text_resume($scope26_id, "d", h.name)}</span>`);
|
|
9286
9286
|
_if(() => {
|
|
9287
9287
|
if (active.has(h.name)) {
|
|
9288
9288
|
const $scope27_id = _scope_id();
|
|
9289
|
-
_html(`<span${_attr_class("
|
|
9289
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_E")}></span>${_text_resume($scope27_id, "c", active.get(h.name) || "Starting…")}</span>`);
|
|
9290
9290
|
_subscribe($active__closures, writeScope($scope27_id, { Cgt: 9 }));
|
|
9291
9291
|
return 0;
|
|
9292
9292
|
} else if (h.description) {
|
|
@@ -9336,7 +9336,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9336
9336
|
_if(() => {
|
|
9337
9337
|
if (machineOpen) {
|
|
9338
9338
|
const $scope6_id = _scope_id();
|
|
9339
|
-
_html(`<div${_attr_class("
|
|
9339
|
+
_html(`<div${_attr_class("_cK")}>`);
|
|
9340
9340
|
_if(() => {
|
|
9341
9341
|
if (setup && !setup.mise.installed) {
|
|
9342
9342
|
const $scope28_id = _scope_id();
|
|
@@ -9350,11 +9350,11 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9350
9350
|
_if(() => {
|
|
9351
9351
|
if (self) {
|
|
9352
9352
|
const $scope48_id = _scope_id();
|
|
9353
|
-
_html(`<li${_attr_class(toolRow)}><span${_attr_class(["
|
|
9353
|
+
_html(`<li${_attr_class(toolRow)}><span${_attr_class(["_c6", "_w"])}>work</span>`);
|
|
9354
9354
|
_if(() => {
|
|
9355
9355
|
if (selfUpdating) {
|
|
9356
9356
|
const $scope113_id = _scope_id();
|
|
9357
|
-
_html(`<span${_attr_class("
|
|
9357
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_E")}></span>Updating — the app restarts and reloads when it is done…</span>`);
|
|
9358
9358
|
writeScope($scope113_id, {});
|
|
9359
9359
|
return 0;
|
|
9360
9360
|
} else {
|
|
@@ -9368,7 +9368,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9368
9368
|
return 0;
|
|
9369
9369
|
} else if (self.latest && self.latest !== self.version) {
|
|
9370
9370
|
const $scope50_id = _scope_id();
|
|
9371
|
-
_html(`<button${_attr_class([btnSm, "
|
|
9371
|
+
_html(`<button${_attr_class([btnSm, "_c8"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
|
|
9372
9372
|
icon_arrow_up_default({ size: 12 });
|
|
9373
9373
|
_html(` ${_text_resume($scope50_id, "c", self.latest, 2)}</button>${_el_resume($scope50_id, "a")}`);
|
|
9374
9374
|
_script($scope50_id, "x71");
|
|
@@ -9409,11 +9409,11 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9409
9409
|
const $for_content8__t_path__closures = /* @__PURE__ */ new Set();
|
|
9410
9410
|
const $for_content8__t_latest__closures = /* @__PURE__ */ new Set();
|
|
9411
9411
|
const $for_content8__t_id__closures = /* @__PURE__ */ new Set();
|
|
9412
|
-
_html(`<li${_attr_class([toolRow, { ["
|
|
9412
|
+
_html(`<li${_attr_class([toolRow, { ["_c5"]: !t.installed }])}><span${_attr_class(["_c6", "_w"])}>${_text_resume($scope29_id, "c", t.label)}</span>`);
|
|
9413
9413
|
_if(() => {
|
|
9414
9414
|
if (active.has(t.id)) {
|
|
9415
9415
|
const $scope30_id = _scope_id();
|
|
9416
|
-
_html(`<span${_attr_class("
|
|
9416
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_E")}></span>${_text_resume($scope30_id, "c", active.get(t.id) || "Starting…")}</span>`);
|
|
9417
9417
|
_subscribe($active__closures, writeScope($scope30_id, { Cgt: 12 }));
|
|
9418
9418
|
return 0;
|
|
9419
9419
|
} else if (t.installed) {
|
|
@@ -9421,7 +9421,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9421
9421
|
_if(() => {
|
|
9422
9422
|
if (t.version) {
|
|
9423
9423
|
const $scope41_id = _scope_id();
|
|
9424
|
-
_html(`<button${_attr_class(["
|
|
9424
|
+
_html(`<button${_attr_class(["_c7", "_w"])}${_attr("title", `${t.path || t.label}. Pin a version`)}>v${_text_resume($scope41_id, "b", t.version, 2)}</button>${_el_resume($scope41_id, "a")}`);
|
|
9425
9425
|
_script($scope41_id, "x72");
|
|
9426
9426
|
_subscribe($for_content8__t_path__closures, _subscribe($for_content8__t_version__closures, _subscribe($for_content8__t_label__closures, writeScope($scope41_id, { Cu: 1 }))));
|
|
9427
9427
|
return 0;
|
|
@@ -9435,7 +9435,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9435
9435
|
_if(() => {
|
|
9436
9436
|
if (outdated(t)) {
|
|
9437
9437
|
const $scope60_id = _scope_id();
|
|
9438
|
-
_html(`<button${_attr_class([btnSm, "
|
|
9438
|
+
_html(`<button${_attr_class([btnSm, "_c8"])}${_attr("title", `Update to v${t.latest}`)}>`);
|
|
9439
9439
|
icon_arrow_up_default({ size: 12 });
|
|
9440
9440
|
_html(` ${_text_resume($scope60_id, "c", t.latest, 2)}</button>${_el_resume($scope60_id, "a")}`);
|
|
9441
9441
|
_script($scope60_id, "x73");
|
|
@@ -9544,9 +9544,9 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9544
9544
|
label: "Dark"
|
|
9545
9545
|
}
|
|
9546
9546
|
];
|
|
9547
|
-
_html(`</div></div></section><section${_attr_class("_bF")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bG")}><h2${_attr("id", appearanceId)}${_attr_class("_bT")}>Appearance</h2></div><div${_attr_class(["_bK", "
|
|
9547
|
+
_html(`</div></div></section><section${_attr_class("_bF")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bG")}><h2${_attr("id", appearanceId)}${_attr_class("_bT")}>Appearance</h2></div><div${_attr_class(["_bK", "_dm"])}><label${_attr_class("_dn")}><span${_attr_class("_do")}>Name</span><input${_attr_input_value($scope0_id, "aw", input$3.instance.name, _resume(function(v) {
|
|
9548
9548
|
setInstance({ name: v });
|
|
9549
|
-
}, "x4", $scope0_id))}${_attr_class(["_X", "
|
|
9549
|
+
}, "x4", $scope0_id))}${_attr_class(["_X", "_dp"])} type=text placeholder="Tab title" maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "aw")}</label><div${_attr_class("_dn")}><span${_attr_class("_do")}>Theme</span><span${_attr_class("_dr")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
|
|
9550
9550
|
_for_of(themeOpts, (opt) => {
|
|
9551
9551
|
const $scope51_id = _scope_id();
|
|
9552
9552
|
_html(`<button type=button${_attr_class(["_be", { ["_bd"]: themeMode === opt.id }])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>${_escape(opt.label)}</button>${_el_resume($scope51_id, "a")}`);
|
|
@@ -9556,25 +9556,25 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9556
9556
|
_: _scope_with_id($scope0_id)
|
|
9557
9557
|
});
|
|
9558
9558
|
}, "id", $scope0_id, "b0", 1, 0, 1, 0, 1);
|
|
9559
|
-
_html(`</span><span${_attr_class(["_m", "
|
|
9559
|
+
_html(`</span><span${_attr_class(["_m", "_ds"])}>`);
|
|
9560
9560
|
_attr_select_value($scope0_id, "b2", themeMode, _resume(function(v) {
|
|
9561
9561
|
setThemeMode(v);
|
|
9562
9562
|
}, "x5", $scope0_id), () => {
|
|
9563
|
-
_html(`<select${_attr_class(["_n", "
|
|
9563
|
+
_html(`<select${_attr_class(["_n", "_dt"])} aria-label="Color theme">`);
|
|
9564
9564
|
forOf(themeOpts, (opt) => {
|
|
9565
9565
|
_scope_id();
|
|
9566
9566
|
_html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
|
|
9567
9567
|
});
|
|
9568
9568
|
_html("</select>");
|
|
9569
9569
|
});
|
|
9570
|
-
_html(`${_el_resume($scope0_id, "b2")}</span></span></div><div${_attr_class("
|
|
9571
|
-
"
|
|
9572
|
-
"
|
|
9573
|
-
{ ["
|
|
9570
|
+
_html(`${_el_resume($scope0_id, "b2")}</span></span></div><div${_attr_class("_dn")}><span${_attr_class("_do")}>Accent</span><span${_attr_class(swatches)} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
|
|
9571
|
+
"_dz",
|
|
9572
|
+
"_dB",
|
|
9573
|
+
{ ["_dA"]: !input$3.instance.accent }
|
|
9574
9574
|
])} role=radio aria-checked=${!input$3.instance.accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)"></button>${_el_resume($scope0_id, "b6")}`);
|
|
9575
9575
|
_for_of(ACCENT_PRESETS, (p) => {
|
|
9576
9576
|
const $scope4_id = _scope_id();
|
|
9577
|
-
_html(`<button type=button${_attr_class(["
|
|
9577
|
+
_html(`<button type=button${_attr_class(["_dz", { ["_dA"]: input$3.instance.accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${input$3.instance.accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}></button>${_el_resume($scope4_id, "a")}`);
|
|
9578
9578
|
_script($scope4_id, "x77");
|
|
9579
9579
|
writeScope($scope4_id, {
|
|
9580
9580
|
d: p?.value,
|
|
@@ -9583,16 +9583,16 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9583
9583
|
}, "value", $scope0_id, "b7", $sg__input_instance_accent, 0, 1, 0, 1);
|
|
9584
9584
|
const customOn = !!input$3.instance.accent && !ACCENT_PRESETS.some((p) => p.value === input$3.instance.accent);
|
|
9585
9585
|
_html(`<label${_attr_class([
|
|
9586
|
-
"
|
|
9587
|
-
"
|
|
9588
|
-
{ ["
|
|
9586
|
+
"_dz",
|
|
9587
|
+
"_dC",
|
|
9588
|
+
{ ["_dA"]: customOn }
|
|
9589
9589
|
])}${customOn ? _attr_style(`--swatch:${input$3.instance.accent}`) : ""} title="Custom colour"><input${_attr_input_value($scope0_id, "b9", input$3.instance.accent || "#3556d8", _resume(function(v) {
|
|
9590
9590
|
setInstance({ accent: v });
|
|
9591
|
-
}, "x6", $scope0_id))}${_attr_class("
|
|
9591
|
+
}, "x6", $scope0_id))}${_attr_class("_dD")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "b9")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "b8", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bF")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bG")}><h2${_attr("id", backupId)}${_attr_class("_bT")}>Backup</h2></div><div${_attr_class(["_bK", "_cz"])}><div${_attr_class("_cA")}><div${_attr_class("_dE")}><div${_attr_class("_bL")}>`);
|
|
9592
9592
|
_if(() => {
|
|
9593
9593
|
if (backupBusy === "preflight") {
|
|
9594
9594
|
const $scope65_id = _scope_id();
|
|
9595
|
-
_html(`<span${_attr_class("
|
|
9595
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_E")}></span>${_text_resume($scope65_id, "c", backupLine || "Checking workspaces…")}</span>`);
|
|
9596
9596
|
writeScope($scope65_id, {});
|
|
9597
9597
|
return 0;
|
|
9598
9598
|
} else {
|
|
@@ -9615,7 +9615,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9615
9615
|
_if(() => {
|
|
9616
9616
|
if (preflight && !backupBusy) {
|
|
9617
9617
|
const $scope67_id = _scope_id();
|
|
9618
|
-
_html(`<div${_attr_class("
|
|
9618
|
+
_html(`<div${_attr_class("_dG")}><p${_attr_class("_dH")}>In the file: ${_text_resume($scope67_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope67_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope67_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope67_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope67_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope67_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope67_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope67_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope67_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_dH")}>Not in the file: `);
|
|
9619
9619
|
_if(() => {
|
|
9620
9620
|
if (preflight.unpushed) {
|
|
9621
9621
|
const $scope68_id = _scope_id();
|
|
@@ -9632,15 +9632,15 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9632
9632
|
return 0;
|
|
9633
9633
|
}
|
|
9634
9634
|
}, $scope67_id, "m");
|
|
9635
|
-
_html(`${_text_resume($scope67_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("
|
|
9635
|
+
_html(`${_text_resume($scope67_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_dI")}>`);
|
|
9636
9636
|
_for_of(preflight.workspaces, (w) => {
|
|
9637
9637
|
const $scope126_id = _scope_id();
|
|
9638
9638
|
const $for_content18__w_name__closures = /* @__PURE__ */ new Set();
|
|
9639
|
-
_html(`<li${_attr_class("
|
|
9639
|
+
_html(`<li${_attr_class("_dJ")}><span${_attr_class("_bM")}>${_text_resume($scope126_id, "c", w.name)}</span><ul${_attr_class("_dI")}>`);
|
|
9640
9640
|
_for_of(w.repos, (r) => {
|
|
9641
9641
|
const $scope127_id = _scope_id();
|
|
9642
9642
|
const $for_content19__r_more__closures = /* @__PURE__ */ new Set();
|
|
9643
|
-
_html(`<li${_attr_class("
|
|
9643
|
+
_html(`<li${_attr_class("_dK")}><span${_attr_class("_dL")}><span${_attr_class("_w")}>${_text_resume($scope127_id, "d", r.worktree)}/</span>`);
|
|
9644
9644
|
_for_of(r.unpushed, (b) => {
|
|
9645
9645
|
const $scope128_id = _scope_id();
|
|
9646
9646
|
_html(`<span${_attr_class(["_L", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope128_id, "b", b.count)} unpushed `);
|
|
@@ -9659,10 +9659,10 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9659
9659
|
_if(() => {
|
|
9660
9660
|
if (r.modified.length || r.untracked.length || r.ignored.length) {
|
|
9661
9661
|
const $scope129_id = _scope_id();
|
|
9662
|
-
_html(`<ul${_attr_class("
|
|
9662
|
+
_html(`<ul${_attr_class("_dM")}>`);
|
|
9663
9663
|
_for_of(r.modified, (f) => {
|
|
9664
9664
|
const $scope132_id = _scope_id();
|
|
9665
|
-
_html(`<li${_attr_class("
|
|
9665
|
+
_html(`<li${_attr_class("_dN")}><span${_attr_class([
|
|
9666
9666
|
"_L",
|
|
9667
9667
|
"_N",
|
|
9668
9668
|
tone.warn
|
|
@@ -9671,18 +9671,18 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9671
9671
|
}, (f) => f, $scope129_id, "b", 1, 1, 1, 0, 1);
|
|
9672
9672
|
_for_of(r.untracked, (f) => {
|
|
9673
9673
|
const $scope133_id = _scope_id();
|
|
9674
|
-
_html(`<li${_attr_class("
|
|
9674
|
+
_html(`<li${_attr_class("_dN")}><span${_attr_class(["_L", "_N"])} title=Untracked>?</span><span${_attr_class(["_w", "__"])}>${_text_resume($scope133_id, "d", f)}</span></li>`);
|
|
9675
9675
|
writeScope($scope133_id, {});
|
|
9676
9676
|
}, (f) => f, $scope129_id, "c", 1, 1, 1, 0, 1);
|
|
9677
9677
|
_for_of(r.ignored, (f) => {
|
|
9678
9678
|
const $scope134_id = _scope_id();
|
|
9679
|
-
_html(`<li${_attr_class("
|
|
9679
|
+
_html(`<li${_attr_class("_dN")}><span${_attr_class(["_L", "_N"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_w", "__"])}>${_text_resume($scope134_id, "d", f)}</span></li>`);
|
|
9680
9680
|
writeScope($scope134_id, {});
|
|
9681
9681
|
}, (f) => f, $scope129_id, "d", 1, 1, 1, 0, 1);
|
|
9682
9682
|
_if(() => {
|
|
9683
9683
|
if (r.more) {
|
|
9684
9684
|
const $scope130_id = _scope_id();
|
|
9685
|
-
_html(`<li${_attr_class(["
|
|
9685
|
+
_html(`<li${_attr_class(["_dN", "_v"])}>+${_text_resume($scope130_id, "b", r.more, 2)} more</li>`);
|
|
9686
9686
|
_subscribe($for_content19__r_more__closures, writeScope($scope130_id, {}));
|
|
9687
9687
|
return 0;
|
|
9688
9688
|
}
|
|
@@ -9707,17 +9707,17 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9707
9707
|
i: $for_content18__w_name__closures
|
|
9708
9708
|
});
|
|
9709
9709
|
}, "id", $scope67_id, "o", 1, 1, 1, "</ul>", 1);
|
|
9710
|
-
_html(`<div${_attr_class("
|
|
9710
|
+
_html(`<div${_attr_class("_dO")}><button${_attr_class([btnSm, { ["_p"]: !preflight.unpushed }])}>${_text_resume($scope67_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope67_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope67_id, "s")}</div></div>`);
|
|
9711
9711
|
_script($scope67_id, "x79");
|
|
9712
9712
|
writeScope($scope67_id, {});
|
|
9713
9713
|
return 0;
|
|
9714
9714
|
}
|
|
9715
9715
|
}, $scope0_id, "bi", 1, 1, 1, 0, 1);
|
|
9716
|
-
_html(`</div><div${_attr_class("
|
|
9716
|
+
_html(`</div><div${_attr_class("_cA")}><div${_attr_class("_dE")}><div${_attr_class("_bL")}>`);
|
|
9717
9717
|
_if(() => {
|
|
9718
9718
|
if (backupBusy === "restore") {
|
|
9719
9719
|
const $scope66_id = _scope_id();
|
|
9720
|
-
_html(`<span${_attr_class("
|
|
9720
|
+
_html(`<span${_attr_class("_cR")}><span${_attr_class("_E")}></span>${_text_resume($scope66_id, "c", backupLine || "Restoring…")}</span>`);
|
|
9721
9721
|
writeScope($scope66_id, {});
|
|
9722
9722
|
return 0;
|
|
9723
9723
|
} else if (restoreDone) {
|
|
@@ -9735,7 +9735,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9735
9735
|
_if(() => {
|
|
9736
9736
|
if (!restorePreview && backupBusy !== "restore") {
|
|
9737
9737
|
const $scope76_id = _scope_id();
|
|
9738
|
-
_html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("
|
|
9738
|
+
_html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dF")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope76_id, "b")}</label>`);
|
|
9739
9739
|
_script($scope76_id, "x80");
|
|
9740
9740
|
writeScope($scope76_id, {});
|
|
9741
9741
|
return 0;
|
|
@@ -9746,14 +9746,14 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9746
9746
|
if (restorePreview && backupBusy !== "restore") {
|
|
9747
9747
|
const $scope69_id = _scope_id();
|
|
9748
9748
|
const { preview } = restorePreview;
|
|
9749
|
-
_html(`<div${_attr_class("
|
|
9749
|
+
_html(`<div${_attr_class("_dG")}><p${_attr_class("_dH")}>From ${_text_resume($scope69_id, "c", preview.from.host, 2)} on ${_text_resume($scope69_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope69_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
|
|
9750
9750
|
_if(() => {
|
|
9751
9751
|
if (preview.workspaces.length) {
|
|
9752
9752
|
const $scope70_id = _scope_id();
|
|
9753
9753
|
_html(`<ul${_attr_class(checkList)}>`);
|
|
9754
9754
|
_for_of(preview.workspaces, (w) => {
|
|
9755
9755
|
const $scope71_id = _scope_id();
|
|
9756
|
-
_html(`<li><label${_attr_class(["
|
|
9756
|
+
_html(`<li><label${_attr_class(["_dQ", { ["_dS"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope71_id, "b", restoreWs.has(w.id))}${_attr_class("_dR")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope71_id, "b")}<span${_attr_class("_bL")}><span${_attr_class("_bN")}><span${_attr_class("_bM")}>${_text_resume($scope71_id, "f", w.name)}</span>`);
|
|
9757
9757
|
_if(() => {
|
|
9758
9758
|
if (w.status === "archived") {
|
|
9759
9759
|
const $scope139_id = _scope_id();
|
|
@@ -9826,7 +9826,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9826
9826
|
_if(() => {
|
|
9827
9827
|
if (p.total) {
|
|
9828
9828
|
const $scope73_id = _scope_id();
|
|
9829
|
-
_html(`<li><label${_attr_class(["
|
|
9829
|
+
_html(`<li><label${_attr_class(["_dQ", { ["_dS"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope73_id, "b", restoreParts[p.key])}${_attr_class("_dR")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope73_id, "b")}<span${_attr_class("_bL")}><span${_attr_class("_bM")}>${_text_resume($scope73_id, "e", p.label)}</span><span${_attr_class("_bO")}>`);
|
|
9830
9830
|
_if(() => {
|
|
9831
9831
|
if (p.key === "settings") {
|
|
9832
9832
|
const $scope136_id = _scope_id();
|
|
@@ -9873,7 +9873,7 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
9873
9873
|
i: $for_content11__p_total__closures
|
|
9874
9874
|
});
|
|
9875
9875
|
}, "key", $scope69_id, "h");
|
|
9876
|
-
_html(`</ul><div${_attr_class("
|
|
9876
|
+
_html(`</ul><div${_attr_class("_dO")}><button${_attr_class([btnSm, "_p"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope69_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope69_id, "k")}</div></div>`);
|
|
9877
9877
|
_script($scope69_id, "x83");
|
|
9878
9878
|
writeScope($scope69_id, {});
|
|
9879
9879
|
return 0;
|
|
@@ -10058,11 +10058,11 @@ var settings_page_default = _template("x", (input$3) => {
|
|
|
10058
10058
|
});
|
|
10059
10059
|
//#endregion
|
|
10060
10060
|
//#region src/tags/new-workspace.css.ts
|
|
10061
|
-
var content$1 = "
|
|
10062
|
-
var curBase = "
|
|
10063
|
-
var archived = "
|
|
10064
|
-
var archivedHint = "
|
|
10065
|
-
var archivedCard = "
|
|
10061
|
+
var content$1 = "_bU _bx";
|
|
10062
|
+
var curBase = "_b2 _W _V";
|
|
10063
|
+
var archived = "_b7 _bF";
|
|
10064
|
+
var archivedHint = "_b8 _V";
|
|
10065
|
+
var archivedCard = "_b9 _bK";
|
|
10066
10066
|
//#endregion
|
|
10067
10067
|
//#region src/tags/icons/icon-group.marko
|
|
10068
10068
|
var icon_group_default = _template("eb", (input) => {
|
|
@@ -10139,8 +10139,8 @@ function fuzzy(query, text) {
|
|
|
10139
10139
|
}
|
|
10140
10140
|
return true;
|
|
10141
10141
|
}
|
|
10142
|
-
var resultRow = "
|
|
10143
|
-
var resultBranch = "
|
|
10142
|
+
var resultRow = "_d0 _G";
|
|
10143
|
+
var resultBranch = "_d2 _2 _j";
|
|
10144
10144
|
//#endregion
|
|
10145
10145
|
//#region src/tags/branch-pick.marko
|
|
10146
10146
|
var branch_pick_default = _template("d", (input) => {
|
|
@@ -10153,7 +10153,7 @@ var branch_pick_default = _template("d", (input) => {
|
|
|
10153
10153
|
let branchFilter = "";
|
|
10154
10154
|
let reloadTick = 0;
|
|
10155
10155
|
let refreshing = false;
|
|
10156
|
-
_html(`<div${_attr_class("
|
|
10156
|
+
_html(`<div${_attr_class("_d4")}>`);
|
|
10157
10157
|
_if(() => {
|
|
10158
10158
|
{
|
|
10159
10159
|
const $scope4_id = _scope_id();
|
|
@@ -10258,18 +10258,18 @@ var repo_picker_default = _template("v", (input$2) => {
|
|
|
10258
10258
|
_resume_branch($scope8_id);
|
|
10259
10259
|
}, $scope0_id) };
|
|
10260
10260
|
const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || compact && ssoPending.length);
|
|
10261
|
-
_html(`<div${_attr_class([compact ? "
|
|
10261
|
+
_html(`<div${_attr_class([compact ? "_cq" : "_dU", { ["_cr"]: compact && !input$2.open }])}>`);
|
|
10262
10262
|
_if(() => {
|
|
10263
10263
|
if (!compact && ssoPending.length) {
|
|
10264
10264
|
const $scope10_id = _scope_id();
|
|
10265
|
-
_html(`<div${_attr_class("
|
|
10265
|
+
_html(`<div${_attr_class("_dV")}>`);
|
|
10266
10266
|
ssoBlock.content({});
|
|
10267
10267
|
_html("</div>");
|
|
10268
10268
|
writeScope($scope10_id, {});
|
|
10269
10269
|
return 0;
|
|
10270
10270
|
}
|
|
10271
10271
|
}, $scope0_id, "b", 1, 1, 1, 0, 1);
|
|
10272
|
-
_html(`<label${_attr_class(["_Z", compact && "
|
|
10272
|
+
_html(`<label${_attr_class(["_Z", compact && "_cs"])}>`);
|
|
10273
10273
|
icon_search_default({
|
|
10274
10274
|
size: 14,
|
|
10275
10275
|
class: "_0"
|
|
@@ -10281,12 +10281,12 @@ var repo_picker_default = _template("v", (input$2) => {
|
|
|
10281
10281
|
}, "v0", $scope0_id))}${_attr_class([
|
|
10282
10282
|
compact ? "_X" : inputLg,
|
|
10283
10283
|
"_1",
|
|
10284
|
-
compact && "
|
|
10284
|
+
compact && "_ct"
|
|
10285
10285
|
])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "e")}</label>${_el_resume($scope0_id, "c", $sg__input_compact)}`);
|
|
10286
10286
|
_if(() => {
|
|
10287
10287
|
if (compact) {
|
|
10288
10288
|
const $scope1_id = _scope_id();
|
|
10289
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
10289
|
+
_html(`<button${_attr_class([iconBtnRow, "_cu"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
|
|
10290
10290
|
icon_xmark_default({ size: 12 });
|
|
10291
10291
|
_html(`</button>${_el_resume($scope1_id, "a")}`);
|
|
10292
10292
|
_script($scope1_id, "v14");
|
|
@@ -10294,11 +10294,11 @@ var repo_picker_default = _template("v", (input$2) => {
|
|
|
10294
10294
|
return 0;
|
|
10295
10295
|
}
|
|
10296
10296
|
}, $scope0_id, "f", $sg__input_compact__OR__input_open, $sg__input_compact, 1, 0, 1);
|
|
10297
|
-
_html(`<div${_attr_class([compact ? pop$1 : "
|
|
10297
|
+
_html(`<div${_attr_class([compact ? pop$1 : "_dW"])}${_attr("hidden", !hasBody || compact && !input$2.open)}>`);
|
|
10298
10298
|
_if(() => {
|
|
10299
10299
|
if (compact && ssoPending.length) {
|
|
10300
10300
|
const $scope11_id = _scope_id();
|
|
10301
|
-
_html(`<div${_attr_class("
|
|
10301
|
+
_html(`<div${_attr_class("_dV")}>`);
|
|
10302
10302
|
ssoBlock.content({});
|
|
10303
10303
|
_html("</div>");
|
|
10304
10304
|
writeScope($scope11_id, {});
|
|
@@ -10308,16 +10308,16 @@ var repo_picker_default = _template("v", (input$2) => {
|
|
|
10308
10308
|
_if(() => {
|
|
10309
10309
|
if (pasted) {
|
|
10310
10310
|
const $scope2_id = _scope_id();
|
|
10311
|
-
_html(`<ul${_attr_class("
|
|
10311
|
+
_html(`<ul${_attr_class("_dX")}><li><div${_attr_class(["_dZ", "_dY"])}><button${_attr_class(resultRow)}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
|
|
10312
10312
|
icon_plus_default({
|
|
10313
10313
|
size: 12,
|
|
10314
|
-
class: "
|
|
10314
|
+
class: "_d6"
|
|
10315
10315
|
});
|
|
10316
|
-
_html(`<span${_attr_class("
|
|
10316
|
+
_html(`<span${_attr_class("_d7")}>${_text_resume($scope2_id, "f", repoLabel(pasted))}</span></button>${_el_resume($scope2_id, "c")}`);
|
|
10317
10317
|
_if(() => {
|
|
10318
10318
|
if (pastedForkable) {
|
|
10319
10319
|
const $scope9_id = _scope_id();
|
|
10320
|
-
_html(`<button${_attr_class(["
|
|
10320
|
+
_html(`<button${_attr_class(["_d3", { ["_d1"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
|
|
10321
10321
|
_if(() => {
|
|
10322
10322
|
if (pasteWillFork) {
|
|
10323
10323
|
const $scope13_id = _scope_id();
|
|
@@ -10337,7 +10337,7 @@ var repo_picker_default = _template("v", (input$2) => {
|
|
|
10337
10337
|
return 0;
|
|
10338
10338
|
}
|
|
10339
10339
|
}, $scope2_id, "g", 1, 1, 1, 0, 1);
|
|
10340
|
-
_html(`<button${_attr_class([resultBranch, { ["
|
|
10340
|
+
_html(`<button${_attr_class([resultBranch, { ["_d1"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
|
|
10341
10341
|
icon_branch_default({ size: 12 });
|
|
10342
10342
|
_html(`</button>${_el_resume($scope2_id, "h")}</div>`);
|
|
10343
10343
|
_if(() => {
|
|
@@ -10372,15 +10372,15 @@ var repo_picker_default = _template("v", (input$2) => {
|
|
|
10372
10372
|
_if(() => {
|
|
10373
10373
|
if (results.length) {
|
|
10374
10374
|
const $scope4_id = _scope_id();
|
|
10375
|
-
_html(`<ul${_attr_class("
|
|
10375
|
+
_html(`<ul${_attr_class("_dX")}>`);
|
|
10376
10376
|
_for_of(results, (repo, i) => {
|
|
10377
10377
|
const $scope5_id = _scope_id();
|
|
10378
|
-
_html(`<li><div${_attr_class(["
|
|
10378
|
+
_html(`<li><div${_attr_class(["_dZ", { ["_dY"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
|
|
10379
10379
|
icon_plus_default({
|
|
10380
10380
|
size: 12,
|
|
10381
|
-
class: "
|
|
10381
|
+
class: "_d6"
|
|
10382
10382
|
});
|
|
10383
|
-
_html(`<span${_attr_class("
|
|
10383
|
+
_html(`<span${_attr_class("_d7")}>${_text_resume($scope5_id, "e", repoLabel(repo.nameWithOwner))}</span></button>${_el_resume($scope5_id, "b")}<button${_attr_class([resultBranch, { ["_d1"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
10384
10384
|
icon_branch_default({ size: 12 });
|
|
10385
10385
|
_html(`</button>${_el_resume($scope5_id, "f")}</div>${_el_resume($scope5_id, "a")}`);
|
|
10386
10386
|
_if(() => {
|
|
@@ -10935,7 +10935,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
10935
10935
|
}
|
|
10936
10936
|
}, "s6", $scope0_id);
|
|
10937
10937
|
const titleId = _id();
|
|
10938
|
-
_html(`<div${_attr_class("
|
|
10938
|
+
_html(`<div${_attr_class("_bv")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bw")}><div${_attr_class(content$1)}>`);
|
|
10939
10939
|
_set_serialize_reason({
|
|
10940
10940
|
0: _serialize_guard($scope0_reason, 2),
|
|
10941
10941
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -10984,23 +10984,23 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
10984
10984
|
return 0;
|
|
10985
10985
|
}
|
|
10986
10986
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
10987
|
-
_html(`<label${_attr_class("
|
|
10987
|
+
_html(`<label${_attr_class("_bX")}><span${_attr_class("_bT")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
|
|
10988
10988
|
name = _new_name;
|
|
10989
|
-
}, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class("_bF")}><div${_attr_class("
|
|
10989
|
+
}, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class("_bF")}><div${_attr_class("_bY")}><h2${_attr_class("_bT")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
10990
10990
|
_set_serialize_reason(1);
|
|
10991
10991
|
const $childScope2 = _peek_scope_id();
|
|
10992
10992
|
icon_refresh_default({
|
|
10993
10993
|
size: 14,
|
|
10994
10994
|
class: catalogRefreshing && "_D"
|
|
10995
10995
|
});
|
|
10996
|
-
_html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("
|
|
10996
|
+
_html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("_bZ")}>`);
|
|
10997
10997
|
_for_of(selected, (repo) => {
|
|
10998
10998
|
const $scope4_id = _scope_id();
|
|
10999
|
-
_html(`<li><div${_attr_class(row)}><span${_attr_class("
|
|
10999
|
+
_html(`<li><div${_attr_class(row)}><span${_attr_class("_b0")}>${_text_resume($scope4_id, "c", repoLabel(repo.fullName))}</span>`);
|
|
11000
11000
|
_if(() => {
|
|
11001
11001
|
if (repo.fork !== void 0) {
|
|
11002
11002
|
const $scope5_id = _scope_id();
|
|
11003
|
-
_html(`<button${_attr_class(["
|
|
11003
|
+
_html(`<button${_attr_class(["_b3", { ["_b1"]: repo.fork }])}${repo.fork ? _attr("title", `${repo.fullName} will be forked to your account; click to clone as-is instead`) : _attr("title", `Fork ${repo.fullName} to your account and clone the fork`)} aria-pressed=${repo.fork ? "true" : "false"}${_attr("disabled", busy)}>`);
|
|
11004
11004
|
_if(() => {
|
|
11005
11005
|
if (repo.fork) {
|
|
11006
11006
|
const $scope14_id = _scope_id();
|
|
@@ -11023,7 +11023,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
11023
11023
|
_html(`<button${_attr_class([
|
|
11024
11024
|
curBase,
|
|
11025
11025
|
"_w",
|
|
11026
|
-
{ ["
|
|
11026
|
+
{ ["_b1"]: branchesFor === repo.fullName }
|
|
11027
11027
|
])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
11028
11028
|
icon_branch_default({ size: 12 });
|
|
11029
11029
|
_html(`${_text_resume($scope4_id, "g", repo.baseBranch ? `${_to_text(" ")}${_to_text(repo.baseBranch)}` : "")}</button>${_el_resume($scope4_id, "e")}<button${_attr_class([iconBtnXs, "_6"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
@@ -11084,10 +11084,10 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
11084
11084
|
_if(() => {
|
|
11085
11085
|
if (busy && steps.length) {
|
|
11086
11086
|
const $scope11_id = _scope_id();
|
|
11087
|
-
_html(`<ul${_attr_class("
|
|
11087
|
+
_html(`<ul${_attr_class("_b4")}>`);
|
|
11088
11088
|
_for_of(steps, (step, i) => {
|
|
11089
11089
|
const $scope12_id = _scope_id();
|
|
11090
|
-
_html(`<li${_attr_class(["
|
|
11090
|
+
_html(`<li${_attr_class(["_b_", { ["_b5"]: i === steps.length - 1 }])}>`);
|
|
11091
11091
|
_if(() => {
|
|
11092
11092
|
if (i === steps.length - 1) {
|
|
11093
11093
|
const $scope17_id = _scope_id();
|
|
@@ -11096,7 +11096,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
11096
11096
|
return 0;
|
|
11097
11097
|
} else {
|
|
11098
11098
|
const $scope18_id = _scope_id();
|
|
11099
|
-
_html(`<span${_attr_class("
|
|
11099
|
+
_html(`<span${_attr_class("_b6")}>`);
|
|
11100
11100
|
icon_check_default({ size: 14 });
|
|
11101
11101
|
_html("</span>");
|
|
11102
11102
|
writeScope($scope18_id, {});
|
|
@@ -11110,7 +11110,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
11110
11110
|
return 0;
|
|
11111
11111
|
}
|
|
11112
11112
|
}, $scope0_id, "s", 1, 1, 1, 0, 1);
|
|
11113
|
-
_html(`<div${_attr_class("
|
|
11113
|
+
_html(`<div${_attr_class("_bV")}>`);
|
|
11114
11114
|
_if(() => {
|
|
11115
11115
|
if (input.onExit || busy) {
|
|
11116
11116
|
const $scope1_id = _scope_id();
|
|
@@ -11123,12 +11123,12 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
11123
11123
|
_html(`<button type=button${_attr_class([
|
|
11124
11124
|
btnLg,
|
|
11125
11125
|
"_p",
|
|
11126
|
-
"
|
|
11126
|
+
"_bW"
|
|
11127
11127
|
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "w", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "v")}</div>`);
|
|
11128
11128
|
_if(() => {
|
|
11129
11129
|
if (archived$1.length) {
|
|
11130
11130
|
const $scope6_id = _scope_id();
|
|
11131
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("
|
|
11131
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_bY")}><h2${_attr_class("_bT")}>Archived</h2><span${_attr_class(sectionCount)}>${_text_resume($scope6_id, "e", archived$1.length, $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class("_bI")}>`);
|
|
11132
11132
|
_for_of(archived$1, (ws) => {
|
|
11133
11133
|
const $scope7_id = _scope_id();
|
|
11134
11134
|
_html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bL")}><span${_attr_class("_bM")}>${_text_resume($scope7_id, "d", ws.name, $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_w"])}${_attr("title", ws.display_path || ws.path)}>${_text_resume($scope7_id, "f", ws.display_path || ws.path, $sg__input_workspaces)}</span>${_el_resume($scope7_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
|
|
@@ -11437,8 +11437,8 @@ function treeDirs(files) {
|
|
|
11437
11437
|
};
|
|
11438
11438
|
return build(root, "", "", -1);
|
|
11439
11439
|
}
|
|
11440
|
-
var treeToggle = "
|
|
11441
|
-
var pageTitle$1 = "
|
|
11440
|
+
var treeToggle = "_ga _3 _j";
|
|
11441
|
+
var pageTitle$1 = "_gh _bA";
|
|
11442
11442
|
//#endregion
|
|
11443
11443
|
//#region src/tags/diff-send.marko
|
|
11444
11444
|
var diff_send_default = _template("j", (input) => {
|
|
@@ -11448,7 +11448,7 @@ var diff_send_default = _template("j", (input) => {
|
|
|
11448
11448
|
let sendTarget = null;
|
|
11449
11449
|
const sessions = input.sessions || [];
|
|
11450
11450
|
const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
|
|
11451
|
-
_html(`<span${_attr_class("
|
|
11451
|
+
_html(`<span${_attr_class("_gx")}><button type=button${_attr_class("_o")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
|
|
11452
11452
|
_if(() => {
|
|
11453
11453
|
if (sessions.length === 1) {
|
|
11454
11454
|
const $scope1_id = _scope_id();
|
|
@@ -11458,11 +11458,11 @@ var diff_send_default = _template("j", (input) => {
|
|
|
11458
11458
|
return 0;
|
|
11459
11459
|
} else if (sessions.length) {
|
|
11460
11460
|
const $scope2_id = _scope_id();
|
|
11461
|
-
_html(`<span${_attr_class("
|
|
11461
|
+
_html(`<span${_attr_class("_gy")}><button type=button${_attr_class(["_p", "_gz"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
|
|
11462
11462
|
_attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
|
|
11463
11463
|
sendTarget = _new_sendTarget;
|
|
11464
11464
|
}, "j0", $scope2_id), () => {
|
|
11465
|
-
_html(`<select${_attr_class("
|
|
11465
|
+
_html(`<select${_attr_class("_gA")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
|
|
11466
11466
|
_for_of(sessions, (s) => {
|
|
11467
11467
|
const $scope3_id = _scope_id();
|
|
11468
11468
|
_html(`<option${_attr_option_value(s.id)}>${_text_resume($scope3_id, "b", s.title || s.agent, $sg__input_sessions)}</option>${_el_resume($scope3_id, "a", $sg__input_sessions)}`);
|
|
@@ -12991,8 +12991,8 @@ function clip(line, at, len) {
|
|
|
12991
12991
|
const end = Math.min(line.length, at + len + pad);
|
|
12992
12992
|
return (start > 0 ? "…" : "") + line.slice(start, end) + (end < line.length ? "…" : "");
|
|
12993
12993
|
}
|
|
12994
|
-
var findInput = "
|
|
12995
|
-
var findIconBtn = "
|
|
12994
|
+
var findInput = "_gJ _l";
|
|
12995
|
+
var findIconBtn = "_gM _j";
|
|
12996
12996
|
//#endregion
|
|
12997
12997
|
//#region src/tags/icons/icon-arrow-down.marko
|
|
12998
12998
|
var icon_arrow_down_default = _template("K", (input) => {
|
|
@@ -13080,9 +13080,9 @@ var diff_find_default = _template("i", (input) => {
|
|
|
13080
13080
|
el.select();
|
|
13081
13081
|
}, 0);
|
|
13082
13082
|
}, "i0", $scope0_id);
|
|
13083
|
-
_html(`<div${_attr_class(["
|
|
13083
|
+
_html(`<div${_attr_class(["_gI", !open && "_gH"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
|
|
13084
13084
|
type(v);
|
|
13085
|
-
}, "i1", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("
|
|
13085
|
+
}, "i1", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("_gL")}>${_text_resume($scope0_id, "d", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
13086
13086
|
icon_arrow_up_default({ size: 14 });
|
|
13087
13087
|
_html(`</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
13088
13088
|
icon_arrow_down_default({ size: 14 });
|
|
@@ -13184,9 +13184,9 @@ function shortBranch(name, wsBranch = "", wsName = "") {
|
|
|
13184
13184
|
}
|
|
13185
13185
|
return shortHeadFallback(head);
|
|
13186
13186
|
}
|
|
13187
|
-
var repoWorktree = "
|
|
13188
|
-
var repoTitle = "
|
|
13189
|
-
var path$1 = "
|
|
13187
|
+
var repoWorktree = "_h4 _w";
|
|
13188
|
+
var repoTitle = "_h_ _v";
|
|
13189
|
+
var path$1 = "_iq __";
|
|
13190
13190
|
//#endregion
|
|
13191
13191
|
//#region src/tags/icons/icon-chevron-down.marko
|
|
13192
13192
|
var icon_chevron_down_default = _template("T", (input) => {
|
|
@@ -13260,7 +13260,7 @@ var diff_file_default = _template("h", (input) => {
|
|
|
13260
13260
|
_scope_reason();
|
|
13261
13261
|
const $scope0_id = _scope_id();
|
|
13262
13262
|
_el($scope0_id, "h0");
|
|
13263
|
-
_html(`<div${_attr_class(["
|
|
13263
|
+
_html(`<div${_attr_class(["_iw", input.class])}></div>${_el_resume($scope0_id, "a")}`);
|
|
13264
13264
|
_script($scope0_id, "h1");
|
|
13265
13265
|
writeScope($scope0_id, {
|
|
13266
13266
|
e: input.file,
|
|
@@ -13322,14 +13322,14 @@ var review_section_default = _template("w", (input) => {
|
|
|
13322
13322
|
const newCount = input.files.filter((f) => f.changedSince).length;
|
|
13323
13323
|
const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
|
|
13324
13324
|
const prTitle = repo.pr ? `${repo.pr.title}: ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}` : "";
|
|
13325
|
-
_html(`<section${_attr_class("
|
|
13325
|
+
_html(`<section${_attr_class("_h0")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownCount && !repo.pr && input.findHit?.repo !== repo.id)}><div${_attr_class(["_h1", { ["_h2"]: input.collapsible && input.collapsed }])}>`);
|
|
13326
13326
|
_if(() => {
|
|
13327
13327
|
if (input.collapsible) {
|
|
13328
13328
|
const $scope1_id = _scope_id();
|
|
13329
|
-
_html(`<button type=button${_attr_class("
|
|
13330
|
-
"
|
|
13331
|
-
!input.collapsed && "
|
|
13332
|
-
input.expanding && "
|
|
13329
|
+
_html(`<button type=button${_attr_class("_h3")} aria-expanded=${!input.collapsed ? "true" : "false"} aria-busy=${input.expanding ? "true" : "false"}${input.collapsed ? _attr("title", `Show ${countLabel} files`) : " title=\"Hide files\""}><span${_attr_class([
|
|
13330
|
+
"_in",
|
|
13331
|
+
!input.collapsed && "_io",
|
|
13332
|
+
input.expanding && "_ip"
|
|
13333
13333
|
])} aria-hidden=true>`);
|
|
13334
13334
|
_if(() => {
|
|
13335
13335
|
if (input.collapsed) {
|
|
@@ -13368,14 +13368,14 @@ var review_section_default = _template("w", (input) => {
|
|
|
13368
13368
|
return 1;
|
|
13369
13369
|
}
|
|
13370
13370
|
}, $scope0_id, "d", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened);
|
|
13371
|
-
_html(`<span${_attr_class("
|
|
13371
|
+
_html(`<span${_attr_class("_ia")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_L", "_ib"])}>${_text_resume($scope0_id, "g", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_N", "_id"])} aria-hidden=true>vs</span><span${_attr_class(["_L", "_ic"])}>${_text_resume($scope0_id, "j", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
|
|
13372
13372
|
_if(() => {
|
|
13373
13373
|
if (compare$1.topic) {
|
|
13374
13374
|
const $scope16_id = _scope_id();
|
|
13375
13375
|
_html(`<span${_attr_class([
|
|
13376
13376
|
"_L",
|
|
13377
13377
|
tone.accent,
|
|
13378
|
-
"
|
|
13378
|
+
"_ie"
|
|
13379
13379
|
])}>${_text_resume($scope16_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
|
|
13380
13380
|
$si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope16_id, { _: _scope_with_id($scope0_id) });
|
|
13381
13381
|
return 0;
|
|
@@ -13388,7 +13388,7 @@ var review_section_default = _template("w", (input) => {
|
|
|
13388
13388
|
_html(`<button type=button${_attr_class([
|
|
13389
13389
|
"_L",
|
|
13390
13390
|
tone.warn,
|
|
13391
|
-
"
|
|
13391
|
+
"_if"
|
|
13392
13392
|
])}${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}. Reload to re-ask GitHub`)}${_attr("disabled", input.loading)}>behind GitHub ${_text_resume($scope2_id, "b", shortSha(repo.head, 7), $sg__input_repo * 2)} → ${_text_resume($scope2_id, "c", shortSha(repo.pr.headRefOid, 7), $sg__input_repo * 2)}</button>${_el_resume($scope2_id, "a")}`);
|
|
13393
13393
|
_script($scope2_id, "w10");
|
|
13394
13394
|
writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -13398,7 +13398,7 @@ var review_section_default = _template("w", (input) => {
|
|
|
13398
13398
|
_if(() => {
|
|
13399
13399
|
if (repo.contained && input.files.length) {
|
|
13400
13400
|
const $scope13_id = _scope_id();
|
|
13401
|
-
_html(`<span${_attr_class(["_L", "
|
|
13401
|
+
_html(`<span${_attr_class(["_L", "_if"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope13_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope13_id, "a", $sg__input_repo)}`);
|
|
13402
13402
|
_serialize_if($scope0_reason, 0) && writeScope($scope13_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
|
|
13403
13403
|
return 0;
|
|
13404
13404
|
}
|
|
@@ -13406,16 +13406,16 @@ var review_section_default = _template("w", (input) => {
|
|
|
13406
13406
|
_if(() => {
|
|
13407
13407
|
if (input.localDiffers) {
|
|
13408
13408
|
const $scope3_id = _scope_id();
|
|
13409
|
-
_html(`<span${_attr_class(["_L", "
|
|
13409
|
+
_html(`<span${_attr_class(["_L", "_if"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope3_id, "b", shortBranch(repo.branch, input.workspaceBranch, input.workspaceName), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}${_text_resume($scope3_id, "c", shortSha(repo.localHead, 7), $sg__input_repo * 2)}</span>${_el_resume($scope3_id, "a", $sg__input_repo)}`);
|
|
13410
13410
|
$si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && writeScope($scope3_id, { _: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _scope_with_id($scope0_id) });
|
|
13411
13411
|
return 0;
|
|
13412
13412
|
}
|
|
13413
13413
|
}, $scope0_id, "n", _serialize_guard($scope0_reason, 23), _serialize_guard($scope0_reason, 38), $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened, 0, 1);
|
|
13414
|
-
_html(`<span${_attr_class("
|
|
13414
|
+
_html(`<span${_attr_class("_h5")}><span>${_text_resume($scope0_id, "p", countLabel, $sg__input_files__OR__input_shownKeys)} file${_text_resume($scope0_id, "q", countLabel === 1 ? "" : "s", $sg__input_files__OR__input_shownKeys * 2)}</span>`);
|
|
13415
13415
|
_if(() => {
|
|
13416
13416
|
if (stats.additions || stats.deletions) {
|
|
13417
13417
|
const $scope15_id = _scope_id();
|
|
13418
|
-
_html(`<span${_attr_class("
|
|
13418
|
+
_html(`<span${_attr_class("_h6")}>+${_text_resume($scope15_id, "b", stats.additions, $sg__input_files__OR__input_shownKeys * 2)}</span><span${_attr_class("_h7")}>−${_text_resume($scope15_id, "d", stats.deletions, $sg__input_files__OR__input_shownKeys * 2)}</span>`);
|
|
13419
13419
|
$si__input_files__OR__input_shownKeys && writeScope($scope15_id, { _: _scope_with_id($scope0_id) });
|
|
13420
13420
|
return 0;
|
|
13421
13421
|
}
|
|
@@ -13423,7 +13423,7 @@ var review_section_default = _template("w", (input) => {
|
|
|
13423
13423
|
_if(() => {
|
|
13424
13424
|
if (newCount || input.onlyNew) {
|
|
13425
13425
|
const $scope4_id = _scope_id();
|
|
13426
|
-
_html(`<button type=button${_attr_class(["
|
|
13426
|
+
_html(`<button type=button${_attr_class(["_h9", { ["_h8"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope4_id, "b", newCount, $sg__input_files)} new</button>${_el_resume($scope4_id, "a")}`);
|
|
13427
13427
|
_script($scope4_id, "w11");
|
|
13428
13428
|
writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
13429
13429
|
return 0;
|
|
@@ -13433,7 +13433,7 @@ var review_section_default = _template("w", (input) => {
|
|
|
13433
13433
|
_if(() => {
|
|
13434
13434
|
if (!input.collapsible || !input.collapsed || input.opened) {
|
|
13435
13435
|
const $scope5_id = _scope_id();
|
|
13436
|
-
_html(`<div${_attr_class("
|
|
13436
|
+
_html(`<div${_attr_class("_ih")}${_attr("hidden", input.collapsible && input.collapsed)}>`);
|
|
13437
13437
|
_for_of(input.files, (file$2) => {
|
|
13438
13438
|
const $scope6_id = _scope_id();
|
|
13439
13439
|
const $for_content__file__closures = /* @__PURE__ */ new Set();
|
|
@@ -13446,14 +13446,14 @@ var review_section_default = _template("w", (input) => {
|
|
|
13446
13446
|
_html(`<details${_attr_details_or_dialog_open($scope6_id, "a", expanded, _resume(function(open) {
|
|
13447
13447
|
input.onFileToggle(file$2.key, open);
|
|
13448
13448
|
}, "w0", $scope6_id))}${_attr_class([
|
|
13449
|
-
"
|
|
13450
|
-
forceNear && "
|
|
13451
|
-
input.findHit?.key === file$2.key && "
|
|
13452
|
-
])}${_attr("data-key", file$2.key)}${_attr("hidden", !input.shownKeys.has(file$2.key))}><summary${_attr_class("
|
|
13449
|
+
"_ii",
|
|
13450
|
+
forceNear && "_ij",
|
|
13451
|
+
input.findHit?.key === file$2.key && "_hY"
|
|
13452
|
+
])}${_attr("data-key", file$2.key)}${_attr("hidden", !input.shownKeys.has(file$2.key))}><summary${_attr_class("_il")}><span${_attr_class("_9")}${_attr("data-status", file$2.status)}>${_text_resume($scope6_id, "d", file$2.status, $sg__input_files)}</span>${_el_resume($scope6_id, "c", $sg__input_files)}<span${_attr_class([path$1, input.findHit?.key === file$2.key && input.findHit.line < 1 && "_hZ"])}${_attr("title", file$2.path)}><bdi>${_text_resume($scope6_id, "f", file$2.path, $sg__input_files)}</bdi></span>${_el_resume($scope6_id, "e", _serialize_guard($scope0_reason, 19))}`);
|
|
13453
13453
|
_if(() => {
|
|
13454
13454
|
if (file$2.changedSince) {
|
|
13455
13455
|
const $scope20_id = _scope_id();
|
|
13456
|
-
_html(`<span${_attr_class(["_y", "
|
|
13456
|
+
_html(`<span${_attr_class(["_y", "_ig"])} title="Changed since your last visit"></span>`);
|
|
13457
13457
|
$si__input_files && writeScope($scope20_id, {});
|
|
13458
13458
|
return 0;
|
|
13459
13459
|
}
|
|
@@ -13473,8 +13473,8 @@ var review_section_default = _template("w", (input) => {
|
|
|
13473
13473
|
const $scope14_id = _scope_id();
|
|
13474
13474
|
_html(`<button type=button${_attr_class([
|
|
13475
13475
|
iconBtnXs,
|
|
13476
|
-
"
|
|
13477
|
-
{ ["
|
|
13476
|
+
"_is",
|
|
13477
|
+
{ ["_it"]: wholeFiles.has(file$2.key) }
|
|
13478
13478
|
])} title=${wholeFiles.has(file$2.key) ? "\"Show changes only\"" : "\"Show whole file\""} aria-label=${wholeFiles.has(file$2.key) ? "\"Show changes only\"" : "\"Show whole file\""} aria-pressed=${wholeFiles.has(file$2.key) ? "true" : "false"}>`);
|
|
13479
13479
|
_if(() => {
|
|
13480
13480
|
if (wholeFiles.has(file$2.key)) {
|
|
@@ -13501,17 +13501,17 @@ var review_section_default = _template("w", (input) => {
|
|
|
13501
13501
|
_if(() => {
|
|
13502
13502
|
if (file$2.binary) {
|
|
13503
13503
|
const $scope23_id = _scope_id();
|
|
13504
|
-
_html(`<p${_attr_class(["
|
|
13504
|
+
_html(`<p${_attr_class(["_ir", "_ik"])}>binary file</p>`);
|
|
13505
13505
|
$si__input_files__OR__input_collapsedFiles && writeScope($scope23_id, {});
|
|
13506
13506
|
return 0;
|
|
13507
13507
|
} else if (file$2.tooLarge) {
|
|
13508
13508
|
const $scope24_id = _scope_id();
|
|
13509
|
-
_html(`<p${_attr_class(["
|
|
13509
|
+
_html(`<p${_attr_class(["_ir", "_ik"])}>file too large to display</p>`);
|
|
13510
13510
|
$si__input_files__OR__input_collapsedFiles && writeScope($scope24_id, {});
|
|
13511
13511
|
return 1;
|
|
13512
13512
|
} else if (file$2.old == null && file$2.new == null) {
|
|
13513
13513
|
const $scope25_id = _scope_id();
|
|
13514
|
-
_html(`<p${_attr_class(["
|
|
13514
|
+
_html(`<p${_attr_class(["_ir", "_ik"])}>file could not be read</p>`);
|
|
13515
13515
|
$si__input_files__OR__input_collapsedFiles && writeScope($scope25_id, {});
|
|
13516
13516
|
return 2;
|
|
13517
13517
|
} else if (expanded) {
|
|
@@ -13519,7 +13519,7 @@ var review_section_default = _template("w", (input) => {
|
|
|
13519
13519
|
_if(() => {
|
|
13520
13520
|
if (!forceNear) {
|
|
13521
13521
|
const $scope8_id = _scope_id();
|
|
13522
|
-
_html(`<div${_attr_class("
|
|
13522
|
+
_html(`<div${_attr_class("_im")}></div>${_el_resume($scope8_id, "a")}`);
|
|
13523
13523
|
_script($scope8_id, "w13");
|
|
13524
13524
|
_subscribe($si__input && $input__closures, writeScope($scope8_id, {}));
|
|
13525
13525
|
return 0;
|
|
@@ -13527,7 +13527,7 @@ var review_section_default = _template("w", (input) => {
|
|
|
13527
13527
|
const $scope9_id = _scope_id();
|
|
13528
13528
|
const $childScope = _peek_scope_id();
|
|
13529
13529
|
diff_file_default({
|
|
13530
|
-
class: "
|
|
13530
|
+
class: "_ik",
|
|
13531
13531
|
file: file$2,
|
|
13532
13532
|
comments: fileComments,
|
|
13533
13533
|
draft: input.draft && input.draft.key === file$2.key ? input.draft : null,
|
|
@@ -13668,7 +13668,7 @@ var review_section_default = _template("w", (input) => {
|
|
|
13668
13668
|
});
|
|
13669
13669
|
_resume_branch($scope0_id);
|
|
13670
13670
|
});
|
|
13671
|
-
var fileFilter = "
|
|
13671
|
+
var fileFilter = "_iv _l";
|
|
13672
13672
|
//#endregion
|
|
13673
13673
|
//#region src/tags/file-filter.marko
|
|
13674
13674
|
var file_filter_default = _template("n", (input) => {
|
|
@@ -13698,7 +13698,7 @@ var file_filter_default = _template("n", (input) => {
|
|
|
13698
13698
|
pending = v;
|
|
13699
13699
|
box.timer = setTimeout(flush, 150);
|
|
13700
13700
|
}, "n2", $scope0_id);
|
|
13701
|
-
_html(`<div${_attr_class("
|
|
13701
|
+
_html(`<div${_attr_class("_iu")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
|
|
13702
13702
|
type(v);
|
|
13703
13703
|
}, "n0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
|
|
13704
13704
|
_script($scope0_id, "n3");
|
|
@@ -13731,7 +13731,7 @@ var $content = (input) => {
|
|
|
13731
13731
|
_for_of(dir.dirs, (child) => {
|
|
13732
13732
|
const $scope1_id = _scope_id();
|
|
13733
13733
|
const shut = input.collapsed.has(input.collapsedKey(child.path));
|
|
13734
|
-
_html(`<div${_attr_class("
|
|
13734
|
+
_html(`<div${_attr_class("_hi")}><button type=button${_attr_class(["_hj", { ["_ha"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_hq")}>`);
|
|
13735
13735
|
_if(() => {
|
|
13736
13736
|
if (shut) {
|
|
13737
13737
|
const $scope4_id = _scope_id();
|
|
@@ -13745,7 +13745,7 @@ var $content = (input) => {
|
|
|
13745
13745
|
return 1;
|
|
13746
13746
|
}
|
|
13747
13747
|
}, $scope1_id, "c", $sg__input, $sg__input, $sg__input, "</span>", 1);
|
|
13748
|
-
_html(`<span${_attr_class("
|
|
13748
|
+
_html(`<span${_attr_class("_hk")}>${_text_resume($scope1_id, "e", child.label, $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
|
|
13749
13749
|
_if(() => {
|
|
13750
13750
|
if (!shut) {
|
|
13751
13751
|
const $scope2_id = _scope_id();
|
|
@@ -13792,11 +13792,11 @@ var $content = (input) => {
|
|
|
13792
13792
|
}, "path", $scope0_id, "a", $sg__input, $sg__input_dir, $sg__input_dir, 0, 1);
|
|
13793
13793
|
_for_of(dir.files, ({ file, name }) => {
|
|
13794
13794
|
const $scope3_id = _scope_id();
|
|
13795
|
-
_html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["
|
|
13795
|
+
_html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_hm", { ["_hl"]: input.collapsedFiles?.has(file.key) }])}${input.collapsedFiles?.has(file.key) ? _attr("title", `${file.path} (folded — click to open)`) : _attr("title", file.path)}${_attr_style(`--depth:${dir.depth + 1}`)}><span${_attr_class("_9")}${_attr("data-status", file.status)}>${_text_resume($scope3_id, "c", file.status, $sg__input_dir)}</span>${_el_resume($scope3_id, "b", $sg__input_dir)}<span${_attr_class("_hn")}>${_text_resume($scope3_id, "e", name, $sg__input_dir)}</span>`);
|
|
13796
13796
|
_if(() => {
|
|
13797
13797
|
if (input.newKeys.has(file.key)) {
|
|
13798
13798
|
const $scope6_id = _scope_id();
|
|
13799
|
-
_html(`<span${_attr_class(["_y", "
|
|
13799
|
+
_html(`<span${_attr_class(["_y", "_ho"])} title="Changed since your last visit"></span>`);
|
|
13800
13800
|
_serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
|
|
13801
13801
|
return 0;
|
|
13802
13802
|
}
|
|
@@ -13804,7 +13804,7 @@ var $content = (input) => {
|
|
|
13804
13804
|
_if(() => {
|
|
13805
13805
|
if (input.commentKeys.has(file.key)) {
|
|
13806
13806
|
const $scope7_id = _scope_id();
|
|
13807
|
-
_html(`<span${_attr_class("
|
|
13807
|
+
_html(`<span${_attr_class("_hp")}>`);
|
|
13808
13808
|
icon_comment_default({ size: 12 });
|
|
13809
13809
|
_html("</span>");
|
|
13810
13810
|
_serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
|
|
@@ -13862,7 +13862,7 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
13862
13862
|
scope: input.scope ?? null,
|
|
13863
13863
|
file: key
|
|
13864
13864
|
}), "l0", $scope0_id);
|
|
13865
|
-
_html(`<aside${_attr_class(["
|
|
13865
|
+
_html(`<aside${_attr_class(["_hb", { ["_ha"]: input.open === false }])}><div${_attr_class("_hc")}>`);
|
|
13866
13866
|
_set_serialize_reason(2);
|
|
13867
13867
|
const $childScope = _peek_scope_id();
|
|
13868
13868
|
file_filter_default({
|
|
@@ -13871,18 +13871,18 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
13871
13871
|
filter = _new_filter;
|
|
13872
13872
|
}, "l1", $scope0_id)
|
|
13873
13873
|
});
|
|
13874
|
-
_html(`</div><div${_attr_class("
|
|
13874
|
+
_html(`</div><div${_attr_class("_hd")}>`);
|
|
13875
13875
|
_if(() => {
|
|
13876
13876
|
if (!input.sections.length && filter) {
|
|
13877
13877
|
const $scope3_id = _scope_id();
|
|
13878
|
-
_html(`<p${_attr_class("
|
|
13878
|
+
_html(`<p${_attr_class("_he")}>No files match.</p>`);
|
|
13879
13879
|
writeScope($scope3_id, {});
|
|
13880
13880
|
return 0;
|
|
13881
13881
|
}
|
|
13882
13882
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
13883
13883
|
_for_of(input.sections, (section) => {
|
|
13884
13884
|
const $scope1_id = _scope_id();
|
|
13885
|
-
_html(`<div${_attr_class("
|
|
13885
|
+
_html(`<div${_attr_class("_hf")}><button type=button${_attr_class(["_hg", { ["_ha"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_hq")}>`);
|
|
13886
13886
|
_if(() => {
|
|
13887
13887
|
if (collapsedRepos.has(section.id)) {
|
|
13888
13888
|
const $scope4_id = _scope_id();
|
|
@@ -13896,12 +13896,12 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
13896
13896
|
return 1;
|
|
13897
13897
|
}
|
|
13898
13898
|
}, $scope1_id, "c", 1, 1, 1, "</span>", 1);
|
|
13899
|
-
_html(`<span${_attr_class("
|
|
13899
|
+
_html(`<span${_attr_class("_hk")}>${_text_resume($scope1_id, "e", section.label, $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
|
|
13900
13900
|
_if(() => {
|
|
13901
13901
|
if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
|
|
13902
13902
|
const $scope2_id = _scope_id();
|
|
13903
13903
|
const root = treeDirs(section.files);
|
|
13904
|
-
_html(`<div${_attr_class("
|
|
13904
|
+
_html(`<div${_attr_class("_hh")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
|
|
13905
13905
|
_set_serialize_reason(1);
|
|
13906
13906
|
const $childScope2 = _peek_scope_id();
|
|
13907
13907
|
diff_tree_dir_default({
|
|
@@ -13971,7 +13971,7 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
13971
13971
|
});
|
|
13972
13972
|
_resume_branch($scope0_id);
|
|
13973
13973
|
});
|
|
13974
|
-
var sheetDir = "
|
|
13974
|
+
var sheetDir = "_g5 __";
|
|
13975
13975
|
//#endregion
|
|
13976
13976
|
//#region src/tags/diff-file-sheet.marko
|
|
13977
13977
|
var diff_file_sheet_default = _template("g", (input) => {
|
|
@@ -14027,9 +14027,9 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
14027
14027
|
_if(() => {
|
|
14028
14028
|
if (open) {
|
|
14029
14029
|
const $scope1_id = _scope_id();
|
|
14030
|
-
_html(`<div${_attr_class("
|
|
14030
|
+
_html(`<div${_attr_class("_gW")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_gX")} role=dialog aria-label="Jump to file"><div${_attr_class("_gY")}><strong${_attr_class("_gV")}>Files</strong><span${_attr_class("_gZ")}>${_text_resume($scope1_id, "f", input.files.length, $sg__input_files_length)}${_text_resume($scope1_id, "g", input.files.length !== total ? ` / ${total}` : "", _serialize_guard($scope0_reason, 2) * 2)}</span><button type=button${_attr_class([iconBtnLg, "_gU"])} title=Close aria-label=Close>`);
|
|
14031
14031
|
icon_xmark_default({ size: 16 });
|
|
14032
|
-
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("
|
|
14032
|
+
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_g7")}>`);
|
|
14033
14033
|
_set_serialize_reason(2);
|
|
14034
14034
|
const $childScope = _peek_scope_id();
|
|
14035
14035
|
file_filter_default({
|
|
@@ -14038,13 +14038,13 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
14038
14038
|
filter = _new_filter;
|
|
14039
14039
|
}, "g1", $scope1_id)
|
|
14040
14040
|
});
|
|
14041
|
-
_html(`</div><div${_attr_class("
|
|
14041
|
+
_html(`</div><div${_attr_class("_g0")}>`);
|
|
14042
14042
|
_for_of(groups, (group) => {
|
|
14043
14043
|
const $scope2_id = _scope_id();
|
|
14044
|
-
_html(`<div${_attr_class("
|
|
14044
|
+
_html(`<div${_attr_class("_g1")}><div${_attr_class("_g2")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
|
|
14045
14045
|
_for_of(group.dirs, ({ dir, files }) => {
|
|
14046
14046
|
const $scope3_id = _scope_id();
|
|
14047
|
-
_html(`<div${_attr_class("
|
|
14047
|
+
_html(`<div${_attr_class("_g3")}>`);
|
|
14048
14048
|
_if(() => {
|
|
14049
14049
|
if (dir) {
|
|
14050
14050
|
const $scope5_id = _scope_id();
|
|
@@ -14055,11 +14055,11 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
14055
14055
|
}, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
|
|
14056
14056
|
_for_of(files, ({ file, name }) => {
|
|
14057
14057
|
const $scope4_id = _scope_id();
|
|
14058
|
-
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["
|
|
14058
|
+
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_g4", "_w"])}><span${_attr_class("_9")}${_attr("data-status", file.status)}>${_text_resume($scope4_id, "c", file.status, $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_g6")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
|
|
14059
14059
|
_if(() => {
|
|
14060
14060
|
if (newKeys.has(file.key)) {
|
|
14061
14061
|
const $scope6_id = _scope_id();
|
|
14062
|
-
_html(`<span${_attr_class(["_y", "
|
|
14062
|
+
_html(`<span${_attr_class(["_y", "_g9"])} title="Changed since your last visit"></span>`);
|
|
14063
14063
|
_serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
|
|
14064
14064
|
return 0;
|
|
14065
14065
|
}
|
|
@@ -14069,7 +14069,7 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
14069
14069
|
const $scope7_id = _scope_id();
|
|
14070
14070
|
icon_comment_default({
|
|
14071
14071
|
size: 12,
|
|
14072
|
-
class: "
|
|
14072
|
+
class: "_g_"
|
|
14073
14073
|
});
|
|
14074
14074
|
_serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
|
|
14075
14075
|
return 0;
|
|
@@ -14094,7 +14094,7 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
14094
14094
|
_if(() => {
|
|
14095
14095
|
if (!input.files.length) {
|
|
14096
14096
|
const $scope8_id = _scope_id();
|
|
14097
|
-
_html(`<p${_attr_class("
|
|
14097
|
+
_html(`<p${_attr_class("_g8")}>No files match.</p>`);
|
|
14098
14098
|
$si__input_files_length && writeScope($scope8_id, {});
|
|
14099
14099
|
return 0;
|
|
14100
14100
|
}
|
|
@@ -14634,11 +14634,11 @@ var diff_view_default = _template("m", (input) => {
|
|
|
14634
14634
|
collapsedRepos = /* @__PURE__ */ new Set([...collapsedRepos, id]);
|
|
14635
14635
|
}
|
|
14636
14636
|
}, "m33", $scope0_id);
|
|
14637
|
-
_html(`<div${_attr_class("
|
|
14637
|
+
_html(`<div${_attr_class("_f8")}><div${_attr_class("_gc")}><div${_attr_class("_gd")}><div${_attr_class(["_gn", { ["_gm"]: !comments.length }])}>`);
|
|
14638
14638
|
_if(() => {
|
|
14639
14639
|
if (input.onExit) {
|
|
14640
14640
|
const $scope1_id = _scope_id();
|
|
14641
|
-
_html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "
|
|
14641
|
+
_html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_ge"])} title="Back to terminal (Esc)">`);
|
|
14642
14642
|
icon_back_default({ size: 14 });
|
|
14643
14643
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 1))}`);
|
|
14644
14644
|
_serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 1) && _scope_with_id($scope0_id) });
|
|
@@ -14649,7 +14649,7 @@ var diff_view_default = _template("m", (input) => {
|
|
|
14649
14649
|
_if(() => {
|
|
14650
14650
|
if (comments.length) {
|
|
14651
14651
|
const $scope5_id = _scope_id();
|
|
14652
|
-
_html(`<span${_attr_class("
|
|
14652
|
+
_html(`<span${_attr_class("_gg")}>${_text_resume($scope5_id, "b", comments.length)} comment${_text_resume($scope5_id, "c", comments.length === 1 ? "" : "s", 2)}</span>`);
|
|
14653
14653
|
writeScope($scope5_id, {});
|
|
14654
14654
|
return 0;
|
|
14655
14655
|
}
|
|
@@ -14657,7 +14657,7 @@ var diff_view_default = _template("m", (input) => {
|
|
|
14657
14657
|
_if(() => {
|
|
14658
14658
|
if (comments.length) {
|
|
14659
14659
|
const $scope2_id = _scope_id();
|
|
14660
|
-
_html(`<span${_attr_class("
|
|
14660
|
+
_html(`<span${_attr_class("_gf")}>`);
|
|
14661
14661
|
_set_serialize_reason(_serialize_guard($scope0_reason, 7));
|
|
14662
14662
|
const $childScope = _peek_scope_id();
|
|
14663
14663
|
diff_send_default({
|
|
@@ -14670,14 +14670,14 @@ var diff_view_default = _template("m", (input) => {
|
|
|
14670
14670
|
return 0;
|
|
14671
14671
|
}
|
|
14672
14672
|
}, $scope0_id, "h", 1, 1, 1, 0, 1);
|
|
14673
|
-
_html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("
|
|
14673
|
+
_html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("_gb")}>`);
|
|
14674
14674
|
_if(() => {
|
|
14675
14675
|
if (hasFiles) {
|
|
14676
14676
|
const $scope12_id = _scope_id();
|
|
14677
14677
|
_html(`<button${_attr_class([
|
|
14678
14678
|
treeToggle,
|
|
14679
|
-
"
|
|
14680
|
-
{ ["
|
|
14679
|
+
"_f_",
|
|
14680
|
+
{ ["_f9"]: treeOpen }
|
|
14681
14681
|
])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
|
|
14682
14682
|
icon_sidebar_default({ size: 14 });
|
|
14683
14683
|
_html(`</button>${_el_resume($scope12_id, "a")}`);
|
|
@@ -14686,7 +14686,7 @@ var diff_view_default = _template("m", (input) => {
|
|
|
14686
14686
|
return 0;
|
|
14687
14687
|
}
|
|
14688
14688
|
}, $scope0_id, "j", 1, 1, 1, 0, 1);
|
|
14689
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
14689
|
+
_html(`<button${_attr_class([iconBtnRow, "_f_"])} title="Refresh diff"${_attr("disabled", loading)}>`);
|
|
14690
14690
|
_set_serialize_reason(1);
|
|
14691
14691
|
const $childScope2 = _peek_scope_id();
|
|
14692
14692
|
icon_refresh_default({
|
|
@@ -14697,19 +14697,19 @@ var diff_view_default = _template("m", (input) => {
|
|
|
14697
14697
|
_if(() => {
|
|
14698
14698
|
if (hasFiles) {
|
|
14699
14699
|
const $scope13_id = _scope_id();
|
|
14700
|
-
_html(`<button${_attr_class(["_o", "
|
|
14700
|
+
_html(`<button${_attr_class(["_o", "_gw"])} title="Jump to file">Files (${_text_resume($scope13_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope13_id, "a")}`);
|
|
14701
14701
|
_script($scope13_id, "m53");
|
|
14702
14702
|
writeScope($scope13_id, {});
|
|
14703
14703
|
return 0;
|
|
14704
14704
|
}
|
|
14705
14705
|
}, $scope0_id, "m", 1, 1, 1, 0, 1);
|
|
14706
|
-
_html(`<span${_attr_class(["_m", "
|
|
14706
|
+
_html(`<span${_attr_class(["_m", "_go"])}>`);
|
|
14707
14707
|
_attr_select_value($scope0_id, "o", scope, _resume(function(v) {
|
|
14708
14708
|
setScope(v);
|
|
14709
14709
|
}, "m0", $scope0_id), () => {
|
|
14710
|
-
_html(`<select${_attr_class(["_n", "
|
|
14710
|
+
_html(`<select${_attr_class(["_n", "_gp"])} aria-label="Review scope"${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option></select>`);
|
|
14711
14711
|
});
|
|
14712
|
-
_html(`${_el_resume($scope0_id, "o")}</span><div${_attr_class(["
|
|
14712
|
+
_html(`${_el_resume($scope0_id, "o")}</span><div${_attr_class(["_gk", { ["_gj"]: !findOpen }])}>`);
|
|
14713
14713
|
_set_serialize_reason(2);
|
|
14714
14714
|
const $childScope3 = _peek_scope_id();
|
|
14715
14715
|
let findFocus = diff_find_default({
|
|
@@ -14730,8 +14730,8 @@ var diff_view_default = _template("m", (input) => {
|
|
|
14730
14730
|
const $scope14_id = _scope_id();
|
|
14731
14731
|
_html(`<button${_attr_class([
|
|
14732
14732
|
iconBtnRow,
|
|
14733
|
-
"
|
|
14734
|
-
"
|
|
14733
|
+
"_gi",
|
|
14734
|
+
"_f_"
|
|
14735
14735
|
])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
|
|
14736
14736
|
icon_search_default({ size: 14 });
|
|
14737
14737
|
_html(`</button>${_el_resume($scope14_id, "a")}`);
|
|
@@ -14740,7 +14740,7 @@ var diff_view_default = _template("m", (input) => {
|
|
|
14740
14740
|
return 0;
|
|
14741
14741
|
}
|
|
14742
14742
|
}, $scope0_id, "s", 1, 1, 1, 0, 1);
|
|
14743
|
-
_html(`</div></div><div${_attr_class("
|
|
14743
|
+
_html(`</div></div><div${_attr_class("_gl")} data-diff-main>`);
|
|
14744
14744
|
_if(() => {
|
|
14745
14745
|
if (error) {
|
|
14746
14746
|
const $scope6_id = _scope_id();
|
|
@@ -14763,7 +14763,7 @@ var diff_view_default = _template("m", (input) => {
|
|
|
14763
14763
|
_if(() => {
|
|
14764
14764
|
if (!repos && loading) {
|
|
14765
14765
|
const $scope15_id = _scope_id();
|
|
14766
|
-
_html(`<div${_attr_class("
|
|
14766
|
+
_html(`<div${_attr_class("_gr")} aria-hidden=true><div${_attr_class(["_gs", "_gt"])}></div><div${_attr_class(["_gs", "_gu"])}></div><div${_attr_class(["_gs", "_gv"])}></div><div${_attr_class(["_gs", "_gu"])}></div><div${_attr_class(["_gs", "_gv"])}></div></div>`);
|
|
14767
14767
|
writeScope($scope15_id, {});
|
|
14768
14768
|
return 0;
|
|
14769
14769
|
}
|
|
@@ -15097,9 +15097,9 @@ function vapidKey(base64) {
|
|
|
15097
15097
|
const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
|
|
15098
15098
|
return Uint8Array.from(raw, (c) => c.charCodeAt(0));
|
|
15099
15099
|
}
|
|
15100
|
-
var iconBtn = "
|
|
15101
|
-
var settingsDot = "
|
|
15102
|
-
var navToggle = "
|
|
15100
|
+
var iconBtn = "_fh _j";
|
|
15101
|
+
var settingsDot = "_fi _ba";
|
|
15102
|
+
var navToggle = "_fm _j";
|
|
15103
15103
|
_template("Q", (input) => {
|
|
15104
15104
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
15105
15105
|
const $scope0_id = _scope_id();
|
|
@@ -15142,16 +15142,16 @@ var ARM_MS = 3500;
|
|
|
15142
15142
|
function disarmLater(fn) {
|
|
15143
15143
|
return setTimeout(fn, ARM_MS);
|
|
15144
15144
|
}
|
|
15145
|
-
var railBtn = "
|
|
15146
|
-
var wsBtn = "
|
|
15147
|
-
var rowIcon = "
|
|
15148
|
-
var close = "
|
|
15149
|
-
var sessRename$1 = "
|
|
15150
|
-
var sessBtn$1 = "
|
|
15145
|
+
var railBtn = "_hv _j";
|
|
15146
|
+
var wsBtn = "_hA _G";
|
|
15147
|
+
var rowIcon = "_hD _2 _j";
|
|
15148
|
+
var close = "_hE _5 _j _6";
|
|
15149
|
+
var sessRename$1 = "_hQ _H";
|
|
15150
|
+
var sessBtn$1 = "_hS _G";
|
|
15151
15151
|
//#endregion
|
|
15152
15152
|
//#region src/styles/session-pop.css.ts
|
|
15153
|
-
var sessionPop = "
|
|
15154
|
-
var sessionPopBtn = "
|
|
15153
|
+
var sessionPop = "_hr _8";
|
|
15154
|
+
var sessionPopBtn = "_hs _G";
|
|
15155
15155
|
//#endregion
|
|
15156
15156
|
//#region src/client/status.ts
|
|
15157
15157
|
/** Workspace activity dot from its polled status counts. */
|
|
@@ -15218,22 +15218,22 @@ var usage_pcts_default = _template("H", (input) => {
|
|
|
15218
15218
|
if (windows.length) {
|
|
15219
15219
|
const $scope1_id = _scope_id();
|
|
15220
15220
|
_html(`<span${_attr_class([
|
|
15221
|
-
"
|
|
15221
|
+
"_gB",
|
|
15222
15222
|
input.class,
|
|
15223
|
-
{ ["
|
|
15223
|
+
{ ["_gC"]: agent.stale_seconds != null }
|
|
15224
15224
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
15225
15225
|
_for_of(windows, (win$1, i) => {
|
|
15226
15226
|
const $scope2_id = _scope_id();
|
|
15227
|
-
_html(`<span${_attr_class("
|
|
15227
|
+
_html(`<span${_attr_class("_gD")}>`);
|
|
15228
15228
|
_if(() => {
|
|
15229
15229
|
if (i) {
|
|
15230
15230
|
const $scope3_id = _scope_id();
|
|
15231
|
-
_html(`<span${_attr_class("
|
|
15231
|
+
_html(`<span${_attr_class("_gG")} aria-hidden=true>·</span>`);
|
|
15232
15232
|
$si__input_agent && writeScope($scope3_id, {});
|
|
15233
15233
|
return 0;
|
|
15234
15234
|
}
|
|
15235
15235
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
15236
|
-
_html(`<span${_attr_class("
|
|
15236
|
+
_html(`<span${_attr_class("_gE")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_gF", win$1.used_percent >= 90 ? "_eU" : win$1.used_percent >= 70 ? "_eT" : win$1.used_percent >= 40 ? "_eS" : "_eR"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
15237
15237
|
$si__input_agent && writeScope($scope2_id, {});
|
|
15238
15238
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
15239
15239
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -15264,12 +15264,12 @@ var icon_edit_default = _template("$", (input) => {
|
|
|
15264
15264
|
});
|
|
15265
15265
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
15266
15266
|
});
|
|
15267
|
-
var prChip = "
|
|
15268
|
-
var portChip = "
|
|
15267
|
+
var prChip = "_iz _s _iy";
|
|
15268
|
+
var portChip = "_iA _s _iy";
|
|
15269
15269
|
var prState = {
|
|
15270
|
-
open: "
|
|
15271
|
-
merged: "
|
|
15272
|
-
closed: "
|
|
15270
|
+
open: "_iE",
|
|
15271
|
+
merged: "_iF",
|
|
15272
|
+
closed: "_iG"
|
|
15273
15273
|
};
|
|
15274
15274
|
//#endregion
|
|
15275
15275
|
//#region src/tags/side-nav-chips.marko
|
|
@@ -15341,7 +15341,7 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
15341
15341
|
const name = repo.full_name.split("/").at(-1);
|
|
15342
15342
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
|
|
15343
15343
|
}, "y4", $scope1_id);
|
|
15344
|
-
_html(`<div${_attr_class("
|
|
15344
|
+
_html(`<div${_attr_class("_ix")}>`);
|
|
15345
15345
|
_for_of(repos, (repo) => {
|
|
15346
15346
|
const $scope2_id = _scope_id();
|
|
15347
15347
|
const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
|
|
@@ -15357,11 +15357,11 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
15357
15357
|
[prState.merged]: pr$1.state === "MERGED",
|
|
15358
15358
|
[prState.closed]: pr$1.state === "CLOSED"
|
|
15359
15359
|
}
|
|
15360
|
-
])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["
|
|
15360
|
+
])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_iB", { ["_iI"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel$1(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
|
|
15361
15361
|
_if(() => {
|
|
15362
15362
|
if (open) {
|
|
15363
15363
|
const $scope4_id = _scope_id();
|
|
15364
|
-
_html(`<a${_attr_class(["
|
|
15364
|
+
_html(`<a${_attr_class(["_iB", "_iC"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
|
|
15365
15365
|
icon_diff_default({ size: 12 });
|
|
15366
15366
|
_html(`</a>${_el_resume($scope4_id, "a")}`);
|
|
15367
15367
|
_subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
|
|
@@ -15369,9 +15369,9 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
15369
15369
|
} else {
|
|
15370
15370
|
const $scope6_id = _scope_id();
|
|
15371
15371
|
_html(`<button type=button${_attr_class([
|
|
15372
|
-
"_iA",
|
|
15373
15372
|
"_iB",
|
|
15374
|
-
"_iC"
|
|
15373
|
+
"_iC",
|
|
15374
|
+
"_iD"
|
|
15375
15375
|
])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
|
|
15376
15376
|
icon_xmark_default({ size: 12 });
|
|
15377
15377
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
@@ -15395,10 +15395,10 @@ var side_nav_chips_default = _template("y", (input) => {
|
|
|
15395
15395
|
}, "full_name", $scope1_id, "b");
|
|
15396
15396
|
_for_of(ports, (p) => {
|
|
15397
15397
|
const $scope5_id = _scope_id();
|
|
15398
|
-
_html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["
|
|
15399
|
-
"_iA",
|
|
15398
|
+
_html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_iB", "_iH"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope5_id, "c", p.port, 2)}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
|
|
15400
15399
|
"_iB",
|
|
15401
15400
|
"_iC",
|
|
15401
|
+
"_iD",
|
|
15402
15402
|
{ ["_q"]: armedPid === p.pid }
|
|
15403
15403
|
])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
|
|
15404
15404
|
icon_xmark_default({ size: 12 });
|
|
@@ -15498,7 +15498,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15498
15498
|
_if(() => {
|
|
15499
15499
|
if (input.rail) {
|
|
15500
15500
|
const $scope2_id = _scope_id();
|
|
15501
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
15501
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_ht"]: input.current }])}${ws$1.pending ? _attr("title", `${ws$1.name} — restoring`) : _attr("title", ws$1.name)}>${_text_resume($scope2_id, "b", input.index === void 0 ? "·" : input.index + 1, _serialize_guard($scope0_reason, 26))}<span${_attr_class([
|
|
15502
15502
|
"_y",
|
|
15503
15503
|
phase[dot$1],
|
|
15504
15504
|
"_ba"
|
|
@@ -15508,30 +15508,30 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15508
15508
|
} else if (ws$1.pending) {
|
|
15509
15509
|
const $scope3_id = _scope_id();
|
|
15510
15510
|
_html(`<section${_attr_class([
|
|
15511
|
-
"
|
|
15512
|
-
"
|
|
15511
|
+
"_hx",
|
|
15512
|
+
"_hU",
|
|
15513
15513
|
{
|
|
15514
|
-
["
|
|
15515
|
-
["
|
|
15514
|
+
["_hy"]: input.railPop,
|
|
15515
|
+
["_hw"]: input.page
|
|
15516
15516
|
}
|
|
15517
|
-
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("
|
|
15517
|
+
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_hz")}><div${_attr_class(wsBtn)}>`);
|
|
15518
15518
|
_if(() => {
|
|
15519
15519
|
if (ws$1.pending_error) {
|
|
15520
15520
|
const $scope15_id = _scope_id();
|
|
15521
15521
|
icon_warning_default({
|
|
15522
15522
|
size: 12,
|
|
15523
|
-
class: "
|
|
15523
|
+
class: "_hW"
|
|
15524
15524
|
});
|
|
15525
15525
|
$si__input_workspaces__OR__input_workspaceId && writeScope($scope15_id, {});
|
|
15526
15526
|
return 0;
|
|
15527
15527
|
} else {
|
|
15528
15528
|
const $scope16_id = _scope_id();
|
|
15529
|
-
_html(`<span${_attr_class(["_E", "
|
|
15529
|
+
_html(`<span${_attr_class(["_E", "_hV"])}></span>`);
|
|
15530
15530
|
$si__input_workspaces__OR__input_workspaceId && writeScope($scope16_id, {});
|
|
15531
15531
|
return 1;
|
|
15532
15532
|
}
|
|
15533
15533
|
}, $scope3_id, "d", $sg__input_workspaces__OR__input_workspaceId, $sg__input_workspaces__OR__input_workspaceId, $sg__input_workspaces__OR__input_workspaceId, 0, 1);
|
|
15534
|
-
_html(`<span${_attr_class("
|
|
15534
|
+
_html(`<span${_attr_class("_hG")}><span${_attr_class("_hH")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspaces__OR__input_workspaceId)}</span><span${_attr_class("_hX")}${_attr("title", ws$1.pending_error || restoreLine)}>${_text_resume($scope3_id, "i", ws$1.pending_error ? `Restore failed: ${ws$1.pending_error}` : "Restoring…")}</span>${_el_resume($scope3_id, "h")}</span></div></div></section>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 10))}`);
|
|
15535
15535
|
_subscribe($restoreLine__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_pending_error__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_railPop && $input_railPop__closures, _subscribe($si__input_page && $input_page__closures, writeScope($scope3_id, {
|
|
15536
15536
|
_: _scope_with_id($scope1_id),
|
|
15537
15537
|
Cb0: $si__input_workspaces__OR__input_workspaceId && 1
|
|
@@ -15541,15 +15541,15 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15541
15541
|
const $scope4_id = _scope_id();
|
|
15542
15542
|
const sessions$1 = input.sessions || [];
|
|
15543
15543
|
const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs input" : dot$1 === "idle" ? "Idle" : "Not running";
|
|
15544
|
-
_html(`<section${_attr_class(["
|
|
15545
|
-
["
|
|
15544
|
+
_html(`<section${_attr_class(["_hx", {
|
|
15545
|
+
["_ht"]: input.current,
|
|
15546
15546
|
["_bb"]: input.current,
|
|
15547
|
-
["
|
|
15548
|
-
["
|
|
15549
|
-
}])}><div${_attr_class("
|
|
15547
|
+
["_hy"]: input.railPop,
|
|
15548
|
+
["_hw"]: input.page
|
|
15549
|
+
}])}><div${_attr_class("_hz")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class([
|
|
15550
15550
|
"_y",
|
|
15551
15551
|
phase[dot$1],
|
|
15552
|
-
"
|
|
15552
|
+
"_hM"
|
|
15553
15553
|
])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_workspaceId__OR__input_status)}`);
|
|
15554
15554
|
_if(() => {
|
|
15555
15555
|
if (sessions$1.length === 1) {
|
|
@@ -15562,7 +15562,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15562
15562
|
icon_agent_default({
|
|
15563
15563
|
agent: activeAgent(sessions$1[0]),
|
|
15564
15564
|
size: 12,
|
|
15565
|
-
class: "
|
|
15565
|
+
class: "_hF"
|
|
15566
15566
|
});
|
|
15567
15567
|
$si__input_sessions && writeScope($scope17_id, {
|
|
15568
15568
|
_: _scope_with_id($scope4_id),
|
|
@@ -15572,11 +15572,11 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15572
15572
|
}
|
|
15573
15573
|
}, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions);
|
|
15574
15574
|
const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length > 1 ? `${sessions$1.length} sessions` : "";
|
|
15575
|
-
_html(`<span${_attr_class("
|
|
15575
|
+
_html(`<span${_attr_class("_hG")}><span${_attr_class("_hH")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspaces__OR__input_workspaceId)}</span>`);
|
|
15576
15576
|
_if(() => {
|
|
15577
15577
|
if (input.page && metaText) {
|
|
15578
15578
|
const $scope18_id = _scope_id();
|
|
15579
|
-
_html(`<span${_attr_class("
|
|
15579
|
+
_html(`<span${_attr_class("_hK")}>${_text_resume($scope18_id, "b", metaText, _serialize_guard($scope0_reason, 6))}</span>`);
|
|
15580
15580
|
$si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope18_id, { _: _serialize_if($scope0_reason, 6) && _scope_with_id($scope4_id) });
|
|
15581
15581
|
return 0;
|
|
15582
15582
|
}
|
|
@@ -15589,7 +15589,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15589
15589
|
"_L",
|
|
15590
15590
|
"_U",
|
|
15591
15591
|
"_N",
|
|
15592
|
-
"
|
|
15592
|
+
"_hL"
|
|
15593
15593
|
])}>${_text_resume($scope5_id, "b", input.current ? "Open" : "", _serialize_guard($scope0_reason, 21))}</span>`);
|
|
15594
15594
|
$si__input_current__OR__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId && _subscribe($si__input_current && $input_current__closures, writeScope($scope5_id, {
|
|
15595
15595
|
_: _scope_with_id($scope4_id),
|
|
@@ -15602,7 +15602,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15602
15602
|
_if(() => {
|
|
15603
15603
|
if (!input.page) {
|
|
15604
15604
|
const $scope6_id = _scope_id();
|
|
15605
|
-
_html(`<div${_attr_class("
|
|
15605
|
+
_html(`<div${_attr_class("_hB")}>`);
|
|
15606
15606
|
_if(() => {
|
|
15607
15607
|
if (input.onNewSession) {
|
|
15608
15608
|
const $scope7_id = _scope_id();
|
|
@@ -15651,7 +15651,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15651
15651
|
return 0;
|
|
15652
15652
|
}
|
|
15653
15653
|
}, $scope6_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
|
|
15654
|
-
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
15654
|
+
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_hu"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
|
|
15655
15655
|
icon_manage_default({ size: 12 });
|
|
15656
15656
|
_html(`</a>${_el_resume($scope6_id, "d", _serialize_guard($scope0_reason, 7))}</div>`);
|
|
15657
15657
|
_subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_managing && $input_managing__closures, _subscribe($si__input_onReview && $input_onReview__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, writeScope($scope6_id, {
|
|
@@ -15661,7 +15661,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15661
15661
|
return 0;
|
|
15662
15662
|
}
|
|
15663
15663
|
}, $scope4_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
|
|
15664
|
-
_html(`</div><div${_attr_class("
|
|
15664
|
+
_html(`</div><div${_attr_class("_hR")}>`);
|
|
15665
15665
|
_if(() => {
|
|
15666
15666
|
if (sessions$1.length === 1 && openPlan) {
|
|
15667
15667
|
const $scope12_id = _scope_id();
|
|
@@ -15669,7 +15669,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15669
15669
|
const $childScope3 = _peek_scope_id();
|
|
15670
15670
|
usage_pcts_default({
|
|
15671
15671
|
agent: openPlan,
|
|
15672
|
-
class: "
|
|
15672
|
+
class: "_hI"
|
|
15673
15673
|
});
|
|
15674
15674
|
_subscribe($openPlan__closures, writeScope($scope12_id, {
|
|
15675
15675
|
a: _existing_scope($childScope3),
|
|
@@ -15680,14 +15680,14 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15680
15680
|
}, $scope4_id, "m");
|
|
15681
15681
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
15682
15682
|
const $scope9_id = _scope_id();
|
|
15683
|
-
_html(`<div${_attr_class(["
|
|
15683
|
+
_html(`<div${_attr_class(["_hC", { ["_ht"]: s.id === input.currentTab }])}>`);
|
|
15684
15684
|
_if(() => {
|
|
15685
15685
|
if (renamingId === s.id) {
|
|
15686
15686
|
const $scope11_id = _scope_id();
|
|
15687
15687
|
_html(`<span${_attr_class([
|
|
15688
15688
|
"_y",
|
|
15689
15689
|
phase[sessionPhase(s.state)],
|
|
15690
|
-
"
|
|
15690
|
+
"_hP"
|
|
15691
15691
|
])}></span>${_el_resume($scope11_id, "a", $sg__input_sessions)}`);
|
|
15692
15692
|
_set_serialize_reason({
|
|
15693
15693
|
1: $sg__input_sessions,
|
|
@@ -15697,7 +15697,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15697
15697
|
icon_agent_default({
|
|
15698
15698
|
agent: activeAgent(s),
|
|
15699
15699
|
size: 12,
|
|
15700
|
-
class: "
|
|
15700
|
+
class: "_hT"
|
|
15701
15701
|
});
|
|
15702
15702
|
_html(`<input${_attr_input_value($scope11_id, "c", renameValue, _resume((_new_renameValue) => {
|
|
15703
15703
|
renameValue = _new_renameValue;
|
|
@@ -15716,9 +15716,9 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15716
15716
|
icon_agent_default({
|
|
15717
15717
|
agent: activeAgent(s),
|
|
15718
15718
|
size: 12,
|
|
15719
|
-
class: "
|
|
15719
|
+
class: "_hT"
|
|
15720
15720
|
});
|
|
15721
|
-
_html(`<span${_attr_class("
|
|
15721
|
+
_html(`<span${_attr_class("_hN")}>${_text_resume($scope10_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope10_id, "a", _serialize_guard($scope0_reason, 5))}<div${_attr_class("_hO")}><button${_attr_class(rowIcon)} title="Rename session">`);
|
|
15722
15722
|
icon_edit_default({ size: 12 });
|
|
15723
15723
|
_html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class([close, { ["_q"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
|
|
15724
15724
|
icon_xmark_default({ size: 12 });
|
|
@@ -15730,7 +15730,7 @@ var side_nav_item_default = _template("z", (input) => {
|
|
|
15730
15730
|
const $childScope6 = _peek_scope_id();
|
|
15731
15731
|
usage_pcts_default({
|
|
15732
15732
|
agent: openPlan,
|
|
15733
|
-
class: "
|
|
15733
|
+
class: "_hJ"
|
|
15734
15734
|
});
|
|
15735
15735
|
_subscribe($openPlan__closures, writeScope($scope13_id, {
|
|
15736
15736
|
a: _existing_scope($childScope6),
|
|
@@ -15944,28 +15944,28 @@ var side_nav_default = _template("A", (input) => {
|
|
|
15944
15944
|
const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
|
|
15945
15945
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
15946
15946
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
15947
|
-
_html(`<aside${_attr_class(["
|
|
15948
|
-
["
|
|
15949
|
-
["
|
|
15947
|
+
_html(`<aside${_attr_class(["_fl", {
|
|
15948
|
+
["_fj"]: !navOpen,
|
|
15949
|
+
["_fk"]: isPage
|
|
15950
15950
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
15951
15951
|
_if(() => {
|
|
15952
15952
|
if (isPage) {
|
|
15953
15953
|
const $scope1_id = _scope_id();
|
|
15954
|
-
_html(`<header${_attr_class("
|
|
15954
|
+
_html(`<header${_attr_class("_fo")}><div${_attr_class("_fx")}>`);
|
|
15955
15955
|
_if(() => {
|
|
15956
15956
|
if (input.instanceName) {
|
|
15957
15957
|
const $scope2_id = _scope_id();
|
|
15958
|
-
_html(`<div${_attr_class("
|
|
15958
|
+
_html(`<div${_attr_class("_fu")} title="This work server (Settings → Appearance)"><img${_attr_class("_fv")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_fw")}>${_text_resume($scope2_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
|
|
15959
15959
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
15960
15960
|
return 0;
|
|
15961
15961
|
}
|
|
15962
15962
|
}, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
|
|
15963
|
-
_html(`<h1${_attr_class("
|
|
15963
|
+
_html(`<h1${_attr_class("_fp")}>Workspaces</h1></div><div${_attr_class("_fq")}>`);
|
|
15964
15964
|
_if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
|
|
15965
15965
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
15966
15966
|
iconBtn,
|
|
15967
|
-
"
|
|
15968
|
-
{ ["
|
|
15967
|
+
"_fr",
|
|
15968
|
+
{ ["_fg"]: view === "settings" }
|
|
15969
15969
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
15970
15970
|
icon_settings_default({ size: 16 });
|
|
15971
15971
|
_if(() => {
|
|
@@ -15984,18 +15984,18 @@ var side_nav_default = _template("A", (input) => {
|
|
|
15984
15984
|
_if(() => {
|
|
15985
15985
|
if (!isPage && input.instanceName) {
|
|
15986
15986
|
const $scope3_id = _scope_id();
|
|
15987
|
-
_html(`<div${_attr_class("
|
|
15987
|
+
_html(`<div${_attr_class("_fu")} title="This work server (Settings → Appearance)"><img${_attr_class("_fv")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_fw")}>${_text_resume($scope3_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
|
|
15988
15988
|
writeScope($scope3_id, {});
|
|
15989
15989
|
return 0;
|
|
15990
15990
|
}
|
|
15991
15991
|
}, $scope0_id, "c", 1, 1, 1, 0, 1);
|
|
15992
|
-
_html(`<div${_attr_class("
|
|
15992
|
+
_html(`<div${_attr_class("_fy")}>`);
|
|
15993
15993
|
_for_of(listIds, (wsId) => {
|
|
15994
15994
|
const $scope4_id = _scope_id();
|
|
15995
15995
|
_if(() => {
|
|
15996
15996
|
if (isPage && wsId === ws.id) {
|
|
15997
15997
|
const $scope13_id = _scope_id();
|
|
15998
|
-
_html(`<h2${_attr_class(["_bT", "
|
|
15998
|
+
_html(`<h2${_attr_class(["_bT", "_fs"])}>Current</h2>`);
|
|
15999
15999
|
writeScope($scope13_id, {});
|
|
16000
16000
|
return 0;
|
|
16001
16001
|
}
|
|
@@ -16003,7 +16003,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
16003
16003
|
_if(() => {
|
|
16004
16004
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
16005
16005
|
const $scope14_id = _scope_id();
|
|
16006
|
-
_html(`<h2${_attr_class(["_bT", "
|
|
16006
|
+
_html(`<h2${_attr_class(["_bT", "_fs"])}>Other workspaces</h2>`);
|
|
16007
16007
|
writeScope($scope14_id, {});
|
|
16008
16008
|
return 0;
|
|
16009
16009
|
}
|
|
@@ -16087,7 +16087,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
16087
16087
|
railHover = null;
|
|
16088
16088
|
}, 150);
|
|
16089
16089
|
}, "A6", $scope5_id);
|
|
16090
|
-
_html(`<div${_attr_class("
|
|
16090
|
+
_html(`<div${_attr_class("_fz")}>`);
|
|
16091
16091
|
_for_of(itemIds, (wsId, i) => {
|
|
16092
16092
|
const $scope6_id = _scope_id();
|
|
16093
16093
|
_html("<span>");
|
|
@@ -16141,7 +16141,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
16141
16141
|
if (railHover) {
|
|
16142
16142
|
const $scope7_id = _scope_id();
|
|
16143
16143
|
const hoverId = railHover.id;
|
|
16144
|
-
_html(`<div${_attr_class(["_8", "
|
|
16144
|
+
_html(`<div${_attr_class(["_8", "_fC"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
16145
16145
|
_set_serialize_reason({
|
|
16146
16146
|
0: 1,
|
|
16147
16147
|
1: 1,
|
|
@@ -16226,7 +16226,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
16226
16226
|
return 0;
|
|
16227
16227
|
}
|
|
16228
16228
|
}, $scope0_id, "e");
|
|
16229
|
-
_html(`<div${_attr_class("
|
|
16229
|
+
_html(`<div${_attr_class("_fA")}>`);
|
|
16230
16230
|
_if(() => {
|
|
16231
16231
|
if (isPage) {
|
|
16232
16232
|
const $scope9_id = _scope_id();
|
|
@@ -16234,7 +16234,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
16234
16234
|
"_o",
|
|
16235
16235
|
"_p",
|
|
16236
16236
|
btnLg,
|
|
16237
|
-
"
|
|
16237
|
+
"_ft"
|
|
16238
16238
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
16239
16239
|
icon_folder_plus_default({ size: 16 });
|
|
16240
16240
|
_html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
|
|
@@ -16256,9 +16256,9 @@ var side_nav_default = _template("A", (input) => {
|
|
|
16256
16256
|
return 1;
|
|
16257
16257
|
}
|
|
16258
16258
|
}, $scope8_id, "a", 1, 1, 1, "</button>", 1);
|
|
16259
|
-
_html(`<div${_attr_class(["_x", "
|
|
16259
|
+
_html(`<div${_attr_class(["_x", "_fB"])}></div>`);
|
|
16260
16260
|
_if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
|
|
16261
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["
|
|
16261
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_fg"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
16262
16262
|
icon_settings_default({});
|
|
16263
16263
|
_if(() => {
|
|
16264
16264
|
if (input.setupReady === false) {
|
|
@@ -16268,7 +16268,7 @@ var side_nav_default = _template("A", (input) => {
|
|
|
16268
16268
|
return 0;
|
|
16269
16269
|
}
|
|
16270
16270
|
}, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
16271
|
-
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["
|
|
16271
|
+
_html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_fg"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
16272
16272
|
icon_folder_plus_default({ size: 16 });
|
|
16273
16273
|
_html(`</a>${_el_resume($scope8_id, "g")}`);
|
|
16274
16274
|
_script($scope8_id, "A15");
|
|
@@ -16337,9 +16337,9 @@ var side_nav_default = _template("A", (input) => {
|
|
|
16337
16337
|
});
|
|
16338
16338
|
//#endregion
|
|
16339
16339
|
//#region src/tags/manage-workspace.css.ts
|
|
16340
|
-
var content = "
|
|
16341
|
-
var pageMeta = "
|
|
16342
|
-
var pathMeta = "
|
|
16340
|
+
var content = "_fa _bx";
|
|
16341
|
+
var pageMeta = "_fb _bC";
|
|
16342
|
+
var pathMeta = "_fe _w";
|
|
16343
16343
|
//#endregion
|
|
16344
16344
|
//#region src/tags/icons/icon-clipboard.marko
|
|
16345
16345
|
var icon_clipboard_default = _template("V", (input) => {
|
|
@@ -16514,7 +16514,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
16514
16514
|
setTimeout(() => loadProcs(void 0), 500);
|
|
16515
16515
|
}, "q9", $scope0_id);
|
|
16516
16516
|
const titleId = _id();
|
|
16517
|
-
_html(`<div${_attr_class("
|
|
16517
|
+
_html(`<div${_attr_class("_bv")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bw")}><div${_attr_class(content)}>`);
|
|
16518
16518
|
_set_serialize_reason(286);
|
|
16519
16519
|
let $actions;
|
|
16520
16520
|
if (ws.repos.length) $actions = attrTag({ content: _content_resume("q17", () => {
|
|
@@ -16550,7 +16550,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
16550
16550
|
meta: attrTag({ content: _content("q16", () => {
|
|
16551
16551
|
_scope_reason();
|
|
16552
16552
|
const $scope15_id = _scope_id();
|
|
16553
|
-
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
16553
|
+
_html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_fc")}>${_text_resume($scope15_id, "c", ws.name)}</span>`);
|
|
16554
16554
|
_if(() => {
|
|
16555
16555
|
if (ws.status !== "active") {
|
|
16556
16556
|
const $scope19_id = _scope_id();
|
|
@@ -16559,7 +16559,7 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
16559
16559
|
return 0;
|
|
16560
16560
|
}
|
|
16561
16561
|
}, $scope15_id, "d", 1, 1, 1, 0, 1);
|
|
16562
|
-
_html(`<span${_attr_class("
|
|
16562
|
+
_html(`<span${_attr_class("_fd")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_text_resume($scope15_id, "g", ws.display_path || ws.path)}</span></span>${_el_resume($scope15_id, "a")}`);
|
|
16563
16563
|
_subscribe($ws_status__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, _subscribe($ws_name__closures, writeScope($scope15_id, { _: _scope_with_id($scope0_id) })))));
|
|
16564
16564
|
_resume_branch($scope15_id);
|
|
16565
16565
|
}, $scope0_id) })
|
|
@@ -16592,23 +16592,23 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
16592
16592
|
return 0;
|
|
16593
16593
|
}
|
|
16594
16594
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
16595
|
-
_html(`<section${_attr_class("_bF")}><div${_attr_class("_bG")}><h2${_attr_class("_bT")}>Workspace</h2></div><div${_attr_class(["_bK", "
|
|
16595
|
+
_html(`<section${_attr_class("_bF")}><div${_attr_class("_bG")}><h2${_attr_class("_bT")}>Workspace</h2></div><div${_attr_class(["_bK", "_cz"])}><div${_attr_class(["_cA", "_cB"])}>`);
|
|
16596
16596
|
_if(() => {
|
|
16597
16597
|
if (ws.status === "active") {
|
|
16598
16598
|
const $scope8_id = _scope_id();
|
|
16599
|
-
_html(`<span${_attr_class("
|
|
16599
|
+
_html(`<span${_attr_class("_cD")}>Hide from the list. Worktrees stay on disk.</span><button type=button${_attr_class(btnSm)}${_attr("disabled", !!pendingAction)}>${_text_resume($scope8_id, "c", pendingAction === "archive" ? "Archiving…" : "Archive")}</button>${_el_resume($scope8_id, "b")}`);
|
|
16600
16600
|
_script($scope8_id, "q19");
|
|
16601
16601
|
writeScope($scope8_id, {});
|
|
16602
16602
|
return 0;
|
|
16603
16603
|
} else {
|
|
16604
16604
|
const $scope9_id = _scope_id();
|
|
16605
|
-
_html(`<span${_attr_class("
|
|
16605
|
+
_html(`<span${_attr_class("_cD")}>Archived and hidden from the list.</span><button type=button${_attr_class([btnSm, "_p"])}${_attr("disabled", !!pendingAction)}>${_text_resume($scope9_id, "c", pendingAction === "restore" ? "Restoring…" : "Restore")}</button>${_el_resume($scope9_id, "b")}`);
|
|
16606
16606
|
_script($scope9_id, "q20");
|
|
16607
16607
|
writeScope($scope9_id, {});
|
|
16608
16608
|
return 1;
|
|
16609
16609
|
}
|
|
16610
16610
|
}, $scope0_id, "k", 1, 1, 1, "</div>");
|
|
16611
|
-
_html(`<div${_attr_class(["
|
|
16611
|
+
_html(`<div${_attr_class(["_cA", "_cB"])}><span${_attr_class("_cD")}>Remove the workspace and its worktrees. Branches on origin stay.</span><button type=button${_attr_class([
|
|
16612
16612
|
btnSm,
|
|
16613
16613
|
"_r",
|
|
16614
16614
|
{ ["_q"]: confirmingDelete }
|
|
@@ -16644,8 +16644,8 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
16644
16644
|
});
|
|
16645
16645
|
_html(`</button>${_el_resume($scope0_id, "z")}</div><ul${_attr_class([
|
|
16646
16646
|
"_bK",
|
|
16647
|
-
"
|
|
16648
|
-
"
|
|
16647
|
+
"_cz",
|
|
16648
|
+
"_cN"
|
|
16649
16649
|
])}>`);
|
|
16650
16650
|
_for_of(ws.repos, (row) => {
|
|
16651
16651
|
const $scope1_id = _scope_id();
|
|
@@ -16895,15 +16895,15 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
16895
16895
|
const $scope17_id = _scope_id();
|
|
16896
16896
|
_html(`<section${_attr_class("_bF")}><div${_attr_class("_bG")}><h2${_attr_class("_bT")}>Running</h2><span${_attr_class(sectionCount)}>${_text_resume($scope17_id, "e", running.length)}</span></div><ul${_attr_class([
|
|
16897
16897
|
"_bK",
|
|
16898
|
-
"
|
|
16899
|
-
"
|
|
16898
|
+
"_cz",
|
|
16899
|
+
"_cN"
|
|
16900
16900
|
])}>`);
|
|
16901
16901
|
_for_of(running, (p) => {
|
|
16902
16902
|
const $scope18_id = _scope_id();
|
|
16903
16903
|
_html(`<li${_attr_class(flatCardRow)}><div${_attr_class("_bL")}${_attr("title", p.args)}><span${_attr_class([
|
|
16904
16904
|
"_bM",
|
|
16905
16905
|
"_w",
|
|
16906
|
-
"
|
|
16906
|
+
"_ff"
|
|
16907
16907
|
])}>${_text_resume($scope18_id, "d", p.cmd)}</span>`);
|
|
16908
16908
|
_if(() => {
|
|
16909
16909
|
if (p.ports.length) {
|
|
@@ -16999,12 +16999,12 @@ var manage_workspace_default = _template("q", (input) => {
|
|
|
16999
16999
|
});
|
|
17000
17000
|
_resume_branch($scope0_id);
|
|
17001
17001
|
});
|
|
17002
|
-
var kbtn = "
|
|
17003
|
-
var sessOpen = "
|
|
17004
|
-
var sessRename = "
|
|
17005
|
-
var dpadPaste = "
|
|
17006
|
-
var repeat = "
|
|
17007
|
-
var dpadEsc = "
|
|
17002
|
+
var kbtn = "_ej _4 _j";
|
|
17003
|
+
var sessOpen = "_fR _G";
|
|
17004
|
+
var sessRename = "_fV _H";
|
|
17005
|
+
var dpadPaste = "_f3 _f2";
|
|
17006
|
+
var repeat = "_f4 _f2";
|
|
17007
|
+
var dpadEsc = "_f6 _f2";
|
|
17008
17008
|
//#endregion
|
|
17009
17009
|
//#region src/tags/term-find.marko
|
|
17010
17010
|
var term_find_default = _template("D", (input) => {
|
|
@@ -17041,19 +17041,19 @@ var term_find_default = _template("D", (input) => {
|
|
|
17041
17041
|
const canStep = hasQuery && open;
|
|
17042
17042
|
const keybar = input.placement === "keybar";
|
|
17043
17043
|
_html(`<div${_attr_class([
|
|
17044
|
-
"
|
|
17045
|
-
keybar ? "
|
|
17046
|
-
!open && "
|
|
17047
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
17044
|
+
"_gN",
|
|
17045
|
+
keybar ? "_gP" : "_gO",
|
|
17046
|
+
!open && "_gR"
|
|
17047
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_gI", keybar ? "_gQ" : "_gK"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
17048
17048
|
if (!open) return;
|
|
17049
17049
|
query = v;
|
|
17050
17050
|
live.query = v;
|
|
17051
17051
|
run(0);
|
|
17052
|
-
}, "D1", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
17052
|
+
}, "D1", $scope0_id))}${_attr_class([findInput, keybar && "_gS"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_gT"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
17053
17053
|
icon_arrow_up_default({ size: 14 });
|
|
17054
|
-
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
17054
|
+
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_gT"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
17055
17055
|
icon_arrow_down_default({ size: 14 });
|
|
17056
|
-
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
17056
|
+
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_gT"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
17057
17057
|
icon_xmark_default({ size: 14 });
|
|
17058
17058
|
_html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
17059
17059
|
const $return = focusInput;
|
|
@@ -17469,7 +17469,7 @@ var term_default = _template("E", (input) => {
|
|
|
17469
17469
|
trapOpen = true;
|
|
17470
17470
|
}
|
|
17471
17471
|
}, "E13", $scope0_id);
|
|
17472
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
17472
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_fD")}><div${_attr_class("_fE")}></div>${_el_resume($scope0_id, "b")}`);
|
|
17473
17473
|
_if(() => {
|
|
17474
17474
|
if (findOpen) {
|
|
17475
17475
|
const $scope12_id = _scope_id();
|
|
@@ -17499,7 +17499,7 @@ var term_default = _template("E", (input) => {
|
|
|
17499
17499
|
_if(() => {
|
|
17500
17500
|
if (uploading) {
|
|
17501
17501
|
const $scope21_id = _scope_id();
|
|
17502
|
-
_html(`<div${_attr_class("
|
|
17502
|
+
_html(`<div${_attr_class("_fK")}>uploading…</div>`);
|
|
17503
17503
|
writeScope($scope21_id, {});
|
|
17504
17504
|
return 0;
|
|
17505
17505
|
}
|
|
@@ -17507,7 +17507,7 @@ var term_default = _template("E", (input) => {
|
|
|
17507
17507
|
_if(() => {
|
|
17508
17508
|
if (copiedFlash) {
|
|
17509
17509
|
const $scope22_id = _scope_id();
|
|
17510
|
-
_html(`<div${_attr_class("
|
|
17510
|
+
_html(`<div${_attr_class("_fJ")}>Copied</div>`);
|
|
17511
17511
|
writeScope($scope22_id, {});
|
|
17512
17512
|
return 0;
|
|
17513
17513
|
}
|
|
@@ -17516,7 +17516,7 @@ var term_default = _template("E", (input) => {
|
|
|
17516
17516
|
_if(() => {
|
|
17517
17517
|
if (trapOpen) {
|
|
17518
17518
|
const $scope11_id = _scope_id();
|
|
17519
|
-
_html(`<div${_attr_class("
|
|
17519
|
+
_html(`<div${_attr_class("_fL")}><div${_attr_class("_fM")}><p${_attr_class("_f7")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_o")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
|
|
17520
17520
|
_script($scope11_id, "E28");
|
|
17521
17521
|
_script($scope11_id, "E29");
|
|
17522
17522
|
writeScope($scope11_id, {});
|
|
@@ -17592,7 +17592,7 @@ var term_default = _template("E", (input) => {
|
|
|
17592
17592
|
popEl.style.top = `${Math.max(8, btn.top - popEl.offsetHeight - 8)}px`;
|
|
17593
17593
|
popEl.style.left = `${Math.max(8, Math.min(btn.left + btn.width / 2 - popEl.offsetWidth / 2, window.innerWidth - popEl.offsetWidth - 8))}px`;
|
|
17594
17594
|
}, "E19", $scope4_id);
|
|
17595
|
-
_html(`<button${_attr_class([kbtn, "
|
|
17595
|
+
_html(`<button${_attr_class([kbtn, "_fN"])} title=${onTermPage ? "Sessions" : "\"Back to session\""}${onTermPage ? _attr("popovertarget", sessPopId) : ""}>`);
|
|
17596
17596
|
_set_serialize_reason({
|
|
17597
17597
|
1: $sg__input_agent__OR__input_sessionState,
|
|
17598
17598
|
2: $sg__input_agent__OR__input_sessionState
|
|
@@ -17606,7 +17606,7 @@ var term_default = _template("E", (input) => {
|
|
|
17606
17606
|
"_y",
|
|
17607
17607
|
"_ba",
|
|
17608
17608
|
phase[sessionPhase(input.sessionState)]
|
|
17609
|
-
])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 5))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["_8", "
|
|
17609
|
+
])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 5))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["_8", "_fO"])}>`);
|
|
17610
17610
|
_if(() => {
|
|
17611
17611
|
if ((input.sessions || []).length > 0) {
|
|
17612
17612
|
const $scope5_id = _scope_id();
|
|
@@ -17622,7 +17622,7 @@ var term_default = _template("E", (input) => {
|
|
|
17622
17622
|
const $scope6_id = _scope_id();
|
|
17623
17623
|
const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
|
|
17624
17624
|
const $for_content__s_id__closures = /* @__PURE__ */ new Set();
|
|
17625
|
-
_html(`<div${_attr_class(["
|
|
17625
|
+
_html(`<div${_attr_class(["_fQ", { ["_fP"]: s.id === input.sessionId }])}>`);
|
|
17626
17626
|
_if(() => {
|
|
17627
17627
|
if (renamingId === s.id) {
|
|
17628
17628
|
const $scope24_id = _scope_id();
|
|
@@ -17654,7 +17654,7 @@ var term_default = _template("E", (input) => {
|
|
|
17654
17654
|
agent: activeAgent(s),
|
|
17655
17655
|
size: 14
|
|
17656
17656
|
});
|
|
17657
|
-
_html(`<span${_attr_class("
|
|
17657
|
+
_html(`<span${_attr_class("_fS")}><span${_attr_class("_fU")}>${_text_resume($scope7_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
|
|
17658
17658
|
_if(() => {
|
|
17659
17659
|
if (s.id === input.sessionId) {
|
|
17660
17660
|
const $scope23_id = _scope_id();
|
|
@@ -17666,7 +17666,7 @@ var term_default = _template("E", (input) => {
|
|
|
17666
17666
|
const $childScope6 = _peek_scope_id();
|
|
17667
17667
|
usage_pcts_default({
|
|
17668
17668
|
agent: plan,
|
|
17669
|
-
class: "
|
|
17669
|
+
class: "_fT"
|
|
17670
17670
|
});
|
|
17671
17671
|
writeScope($scope26_id, { a: _existing_scope($childScope6) });
|
|
17672
17672
|
return 0;
|
|
@@ -17683,7 +17683,7 @@ var term_default = _template("E", (input) => {
|
|
|
17683
17683
|
_if(() => {
|
|
17684
17684
|
if (input.onRenameSession) {
|
|
17685
17685
|
const $scope25_id = _scope_id();
|
|
17686
|
-
_html(`<button${_attr_class(["
|
|
17686
|
+
_html(`<button${_attr_class(["_fW", "_fX"])} title="Rename session">`);
|
|
17687
17687
|
icon_edit_default({ size: 12 });
|
|
17688
17688
|
_html(`</button>${_el_resume($scope25_id, "a")}`);
|
|
17689
17689
|
_script($scope25_id, "E32");
|
|
@@ -17695,7 +17695,7 @@ var term_default = _template("E", (input) => {
|
|
|
17695
17695
|
if (input.onCloseSession) {
|
|
17696
17696
|
const $scope8_id = _scope_id();
|
|
17697
17697
|
_html(`<button${_attr_class([
|
|
17698
|
-
"
|
|
17698
|
+
"_fW",
|
|
17699
17699
|
"_6",
|
|
17700
17700
|
{ ["_q"]: armedClose === s.id }
|
|
17701
17701
|
])} title=${armedClose === s.id ? "Close?" : "\"Close session\""}>`);
|
|
@@ -17737,8 +17737,8 @@ var term_default = _template("E", (input) => {
|
|
|
17737
17737
|
return 0;
|
|
17738
17738
|
}
|
|
17739
17739
|
}, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions);
|
|
17740
|
-
_html(`<div${_attr_class("
|
|
17741
|
-
_for_of([...input.agents || []
|
|
17740
|
+
_html(`<div${_attr_class("_fY")}><span${_attr_class("_fZ")}>New session</span><div${_attr_class("_f0")}>`);
|
|
17741
|
+
_for_of(["shell", ...input.agents || []], (agent) => {
|
|
17742
17742
|
const $scope9_id = _scope_id();
|
|
17743
17743
|
_html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
|
|
17744
17744
|
_set_serialize_reason({
|
|
@@ -17754,7 +17754,7 @@ var term_default = _template("E", (input) => {
|
|
|
17754
17754
|
_: _scope_with_id($scope4_id),
|
|
17755
17755
|
b: $si__input_agents && _existing_scope($childScope7)
|
|
17756
17756
|
});
|
|
17757
|
-
}, (a) => a, $scope4_id, "h", $sg__input_agents, $sg__input_agents, $sg__input_agents,
|
|
17757
|
+
}, (a) => a, $scope4_id, "h", $sg__input_agents, $sg__input_agents, $sg__input_agents, "</div>", 1);
|
|
17758
17758
|
_html(`</div></div>${_el_resume($scope4_id, "d")}`);
|
|
17759
17759
|
_script($scope4_id, "E36");
|
|
17760
17760
|
_script($scope4_id, "E37");
|
|
@@ -17782,9 +17782,9 @@ var term_default = _template("E", (input) => {
|
|
|
17782
17782
|
const dpadOpenBox = { open: false };
|
|
17783
17783
|
_html(`<button${_attr_class(kbtn)} title=${canKeys ? "\"More keys\"" : "\"Keys unavailable on this page\""} aria-haspopup=dialog${_attr("aria-controls", dpadId)}${_attr("disabled", !canKeys)}>`);
|
|
17784
17784
|
icon_dpad_default({ size: 16 });
|
|
17785
|
-
_html(`</button>${_el_resume($scope10_id, "a")}<button${_attr_class([kbtn, { ["
|
|
17785
|
+
_html(`</button>${_el_resume($scope10_id, "a")}<button${_attr_class([kbtn, { ["_ei"]: findLit }])}${findLit ? " title=\"Close find\"" : canKeys ? ` title=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " title=\"Find unavailable on this page\""}${findLit ? " aria-label=\"Close find\"" : canKeys ? ` aria-label=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " aria-label=\"Find unavailable on this page\""} aria-pressed=${findLit ? "true" : "false"}${_attr("disabled", !canKeys)}>`);
|
|
17786
17786
|
icon_search_default({ size: 16 });
|
|
17787
|
-
_html(`</button>${_el_resume($scope10_id, "c")}<button${_attr_class([kbtn, { ["
|
|
17787
|
+
_html(`</button>${_el_resume($scope10_id, "c")}<button${_attr_class([kbtn, { ["_ei"]: kb }])}${canKeys ? ` title=${kb ? "\"Hide keyboard\"" : "\"Show keyboard\""}` : " title=\"Keyboard unavailable on this page\""}${_attr("disabled", !canKeys)}>`);
|
|
17788
17788
|
icon_keyboard_default({ size: 16 });
|
|
17789
17789
|
_html(`</button>${_el_resume($scope10_id, "e")}`);
|
|
17790
17790
|
_script($scope10_id, "E38");
|
|
@@ -17800,7 +17800,7 @@ var term_default = _template("E", (input) => {
|
|
|
17800
17800
|
overlay: attrTag({ content: _content_resume("E49", () => {
|
|
17801
17801
|
_scope_reason();
|
|
17802
17802
|
const $scope15_id = _scope_id();
|
|
17803
|
-
_html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("
|
|
17803
|
+
_html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("_f1")}>`);
|
|
17804
17804
|
forOf(DPAD, (row) => {
|
|
17805
17805
|
const $scope16_id = _scope_id();
|
|
17806
17806
|
forOf(row, (cell) => {
|
|
@@ -17820,7 +17820,7 @@ var term_default = _template("E", (input) => {
|
|
|
17820
17820
|
writeScope($scope18_id, { _: _scope_with_id($scope17_id) });
|
|
17821
17821
|
} else {
|
|
17822
17822
|
const $scope19_id = _scope_id();
|
|
17823
|
-
_html(`<button${_attr_class([repeat, { ["
|
|
17823
|
+
_html(`<button${_attr_class([repeat, { ["_f5"]: cell.icon === "enter" }])}${_attr("title", cell.label)}${_attr("aria-label", cell.label)}>`);
|
|
17824
17824
|
if (cell.icon === "arrow-up") {
|
|
17825
17825
|
_scope_id();
|
|
17826
17826
|
icon_arrow_up_default({ size: 18 });
|
|
@@ -18139,10 +18139,10 @@ var work_view_default = _template("I", (input) => {
|
|
|
18139
18139
|
toggleDiff();
|
|
18140
18140
|
}
|
|
18141
18141
|
}, "I14", $scope0_id);
|
|
18142
|
-
_html(`<div${_attr_class(["
|
|
18143
|
-
["
|
|
18144
|
-
["
|
|
18145
|
-
}])}><div${_attr_class("
|
|
18142
|
+
_html(`<div${_attr_class(["_cc", {
|
|
18143
|
+
["_ca"]: view === "nav",
|
|
18144
|
+
["_cb"]: !input.active
|
|
18145
|
+
}])}><div${_attr_class("_cd")}>`);
|
|
18146
18146
|
_set_serialize_reason({
|
|
18147
18147
|
0: _serialize_guard($scope0_reason, 0),
|
|
18148
18148
|
1: 1,
|
|
@@ -18211,7 +18211,7 @@ var work_view_default = _template("I", (input) => {
|
|
|
18211
18211
|
});
|
|
18212
18212
|
}, "I23", $scope0_id)
|
|
18213
18213
|
});
|
|
18214
|
-
_html(`</div><div${_attr_class("
|
|
18214
|
+
_html(`</div><div${_attr_class("_ce")}>`);
|
|
18215
18215
|
_if(() => {
|
|
18216
18216
|
if (error) {
|
|
18217
18217
|
const $scope9_id = _scope_id();
|
|
@@ -18234,7 +18234,7 @@ var work_view_default = _template("I", (input) => {
|
|
|
18234
18234
|
_if(() => {
|
|
18235
18235
|
if (diffMounted) {
|
|
18236
18236
|
const $scope1_id = _scope_id();
|
|
18237
|
-
_html(`<div${_attr_class("
|
|
18237
|
+
_html(`<div${_attr_class("_cf")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
|
|
18238
18238
|
_set_serialize_reason({
|
|
18239
18239
|
0: $sg__input_workspace,
|
|
18240
18240
|
1: $sg__input_workspace,
|
|
@@ -18290,7 +18290,7 @@ var work_view_default = _template("I", (input) => {
|
|
|
18290
18290
|
_if(() => {
|
|
18291
18291
|
if (manageMounted) {
|
|
18292
18292
|
const $scope2_id = _scope_id();
|
|
18293
|
-
_html(`<div${_attr_class("
|
|
18293
|
+
_html(`<div${_attr_class("_cf")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
|
|
18294
18294
|
_set_serialize_reason({
|
|
18295
18295
|
0: $sg__input_workspace,
|
|
18296
18296
|
1: _serialize_guard($scope0_reason, 16)
|
|
@@ -18316,7 +18316,7 @@ var work_view_default = _template("I", (input) => {
|
|
|
18316
18316
|
_if(() => {
|
|
18317
18317
|
if (settingsMounted) {
|
|
18318
18318
|
const $scope3_id = _scope_id();
|
|
18319
|
-
_html(`<div${_attr_class("
|
|
18319
|
+
_html(`<div${_attr_class("_cf")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
|
|
18320
18320
|
_set_serialize_reason({
|
|
18321
18321
|
0: _serialize_guard($scope0_reason, 1),
|
|
18322
18322
|
1: $sg__input_workspace,
|
|
@@ -18357,7 +18357,7 @@ var work_view_default = _template("I", (input) => {
|
|
|
18357
18357
|
_if(() => {
|
|
18358
18358
|
if (newMounted) {
|
|
18359
18359
|
const $scope4_id = _scope_id();
|
|
18360
|
-
_html(`<div${_attr_class("
|
|
18360
|
+
_html(`<div${_attr_class("_cf")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
|
|
18361
18361
|
_set_serialize_reason({
|
|
18362
18362
|
0: 1,
|
|
18363
18363
|
1: $sg__input_allWorkspaces,
|
|
@@ -18384,13 +18384,13 @@ var work_view_default = _template("I", (input) => {
|
|
|
18384
18384
|
return 0;
|
|
18385
18385
|
}
|
|
18386
18386
|
}, $scope0_id, "i", 1, 1, 1, 0, 1);
|
|
18387
|
-
_html(`<div${_attr_class(["
|
|
18387
|
+
_html(`<div${_attr_class(["_ch", { ["_cg"]: view !== "term" }])}>`);
|
|
18388
18388
|
_if(() => {
|
|
18389
18389
|
if (shownSessions) {
|
|
18390
18390
|
const $scope5_id = _scope_id();
|
|
18391
18391
|
_for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
|
|
18392
18392
|
const $scope6_id = _scope_id();
|
|
18393
|
-
_html(`<div${_attr_class("
|
|
18393
|
+
_html(`<div${_attr_class("_ci")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
|
|
18394
18394
|
_set_serialize_reason({
|
|
18395
18395
|
0: 1,
|
|
18396
18396
|
1: 1,
|
|
@@ -27176,4 +27176,4 @@ server.listen(port, () => {
|
|
|
27176
27176
|
//#endregion
|
|
27177
27177
|
export {};
|
|
27178
27178
|
|
|
27179
|
-
;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-
|
|
27179
|
+
;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-yHrjFe7f.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-yHrjFe7f.css\"",">",2,"stylesheet#/assets/app-page-B0f8itSE.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B0f8itSE.css\"",">"],"defer":[2,"/assets/new-DIWv_y0V.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-DIWv_y0V.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_D0p3M5lr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D0p3M5lr.js\"",">",2,"modulepreload#/assets/_pyReIzhQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_pyReIzhQ.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-yHrjFe7f.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-yHrjFe7f.css\"",">",2,"stylesheet#/assets/app-page-B0f8itSE.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B0f8itSE.css\"",">"],"defer":[2,"/assets/w._-DIWv_y0V.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DIWv_y0V.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_D0p3M5lr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D0p3M5lr.js\"",">",2,"modulepreload#/assets/_pyReIzhQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_pyReIzhQ.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-yHrjFe7f.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-yHrjFe7f.css\"",">",2,"stylesheet#/assets/app-page-B0f8itSE.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B0f8itSE.css\"",">"],"defer":[2,"/assets/settings-DIWv_y0V.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-DIWv_y0V.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_D0p3M5lr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D0p3M5lr.js\"",">",2,"modulepreload#/assets/_pyReIzhQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_pyReIzhQ.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-yHrjFe7f.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-yHrjFe7f.css\"",">",2,"stylesheet#/assets/app-page-B0f8itSE.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B0f8itSE.css\"",">"],"defer":[2,"/assets/w-DIWv_y0V.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-DIWv_y0V.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_D0p3M5lr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D0p3M5lr.js\"",">",2,"modulepreload#/assets/_pyReIzhQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_pyReIzhQ.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-yHrjFe7f.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-yHrjFe7f.css\"",">",2,"stylesheet#/assets/app-page-B0f8itSE.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-B0f8itSE.css\"",">"],"defer":[2,"/assets/w._-Dt1Jdj_n.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Dt1Jdj_n.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_D0p3M5lr.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_D0p3M5lr.js\"",">",2,"modulepreload#/assets/_pyReIzhQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_pyReIzhQ.js\"",">"]},"_m":{"block":[2,"stylesheet#/assets/diff-view-BxwS17IY.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/diff-view-BxwS17IY.css\"",">",2,"stylesheet#/assets/icon-arrow-down-yHrjFe7f.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-yHrjFe7f.css\"",">"],"defer":[2,"/assets/diff-view-B0vo5Jai.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/diff-view-B0vo5Jai.js\"","></script>",2,"modulepreload#/assets/_BOllftHQ.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BOllftHQ.js\"",">"]}};
|