@dylanpiercey/work 0.0.166 → 0.0.167
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 +383 -383
- package/dist/public/assets/_B7NPLhAw.js +1 -0
- package/dist/public/assets/_BBFXkVBa.js +1 -0
- package/dist/public/assets/{_AUERBn_y.js → _BLrxfNnD.js} +6 -6
- package/dist/public/assets/_BLrxfNnD.js.br +0 -0
- package/dist/public/assets/_BNwFr8Q1.js +1 -0
- package/dist/public/assets/_Bh_2GWOo.js +1 -0
- package/dist/public/assets/_Bi5HqRcD.js +1 -0
- package/dist/public/assets/_BnY-Zzp2.js +1 -0
- package/dist/public/assets/_CIZFDRfC.js +1 -0
- package/dist/public/assets/_CPUoJR5c.js +1 -0
- package/dist/public/assets/_CRT-bQIG.js +1 -0
- package/dist/public/assets/_CW0dhJST.js +1 -0
- package/dist/public/assets/_CYLdqMkC.js +1 -0
- package/dist/public/assets/_Ch9K9R05.js +1 -0
- package/dist/public/assets/_Ct09FGN5.js +1 -0
- package/dist/public/assets/_Cwr3QTwF.js +1 -0
- package/dist/public/assets/_CxtjGXQT.js +1 -0
- package/dist/public/assets/_DHplae3Q.js +1 -0
- package/dist/public/assets/{_BprsSw3O.js → _DXDV5FZs.js} +4 -4
- package/dist/public/assets/_DXDV5FZs.js.br +0 -0
- package/dist/public/assets/_Dj7q-m_e.js +1 -0
- package/dist/public/assets/_DkcK3ljK.js +1 -0
- package/dist/public/assets/_HjY-gFUJ.js +1 -0
- package/dist/public/assets/_YfUpNDJL.js +1 -0
- package/dist/public/assets/{_BjbKCfD1.js → _eivz7VIB.js} +1 -1
- package/dist/public/assets/_eivz7VIB.js.br +0 -0
- package/dist/public/assets/_mqifHpd3.js +1 -0
- package/dist/public/assets/{app-page-C9AHaeQw.css → app-page-D19inuDV.css} +1 -1
- package/dist/public/assets/app-page-D19inuDV.css.br +0 -0
- package/dist/public/assets/{icon-arrow-down-B--iIAi7.css → icon-arrow-down-D0YuCYm0.css} +1 -1
- package/dist/public/assets/icon-arrow-down-D0YuCYm0.css.br +0 -0
- package/dist/public/assets/new-CbZDVy71.js +1 -0
- package/dist/public/assets/review-view-7_TmAMkr.css +1 -0
- package/dist/public/assets/review-view-7_TmAMkr.css.br +0 -0
- package/dist/public/assets/review-view-PmK65ng4.js +2 -0
- package/dist/public/assets/settings-CbZDVy71.js +1 -0
- package/dist/public/assets/w-CbZDVy71.js +1 -0
- package/dist/public/assets/w._-CbZDVy71.js +1 -0
- package/dist/public/assets/w._-N-o-ibQi.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_AC-aJ3zZ.js +0 -1
- package/dist/public/assets/_AUERBn_y.js.br +0 -0
- package/dist/public/assets/_B903V3OG.js +0 -1
- package/dist/public/assets/_BDghQc9n.js +0 -1
- package/dist/public/assets/_BGiosTCR.js +0 -1
- package/dist/public/assets/_BjbKCfD1.js.br +0 -0
- package/dist/public/assets/_BprsSw3O.js.br +0 -0
- package/dist/public/assets/_By3QD65A.js +0 -1
- package/dist/public/assets/_C08SC99R.js +0 -1
- package/dist/public/assets/_CH5nkz-h.js +0 -1
- package/dist/public/assets/_CHokMRPd.js +0 -1
- package/dist/public/assets/_CpOoerdw.js +0 -1
- package/dist/public/assets/_CxZsBFtJ.js +0 -1
- package/dist/public/assets/_D3lsnVSb.js +0 -1
- package/dist/public/assets/_D_Bppk-n.js +0 -1
- package/dist/public/assets/_D_ez64OY.js +0 -1
- package/dist/public/assets/_DlYN3-iL.js +0 -1
- package/dist/public/assets/_G1C8Y-eo.js +0 -1
- package/dist/public/assets/_HC3yU-DB.js +0 -1
- package/dist/public/assets/_JG1N4OU2.js +0 -1
- package/dist/public/assets/_Pob-NvA4.js +0 -1
- package/dist/public/assets/_UxZlwNAI.js +0 -1
- package/dist/public/assets/_W89snyDq.js +0 -1
- package/dist/public/assets/_q5DUuHQJ.js +0 -1
- package/dist/public/assets/app-page-C9AHaeQw.css.br +0 -0
- package/dist/public/assets/icon-arrow-down-B--iIAi7.css.br +0 -0
- package/dist/public/assets/new-Bl_QYIOI.js +0 -1
- package/dist/public/assets/review-view-BS-qwjda.js +0 -2
- package/dist/public/assets/review-view-CZWrBoMi.css +0 -1
- package/dist/public/assets/review-view-CZWrBoMi.css.br +0 -0
- package/dist/public/assets/settings-Bl_QYIOI.js +0 -1
- package/dist/public/assets/w-Bl_QYIOI.js +0 -1
- package/dist/public/assets/w._-BWkVXJ8U.js +0 -1
- package/dist/public/assets/w._-Bl_QYIOI.js +0 -1
package/dist/index.mjs
CHANGED
|
@@ -7289,18 +7289,18 @@ function applyInstance(inst) {
|
|
|
7289
7289
|
if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
|
|
7290
7290
|
syncThemeColorMetas(theme(), inst.accent || "");
|
|
7291
7291
|
}
|
|
7292
|
-
var agentRow = "
|
|
7293
|
-
var toolGrid = "
|
|
7294
|
-
var toolRow = "
|
|
7295
|
-
var themeSeg = "
|
|
7296
|
-
var checkList = "
|
|
7297
|
-
var list$2 = "_cQ
|
|
7292
|
+
var agentRow = "_cT _cE";
|
|
7293
|
+
var toolGrid = "_c1 _cO";
|
|
7294
|
+
var toolRow = "_c2 _cP";
|
|
7295
|
+
var themeSeg = "_do _bd";
|
|
7296
|
+
var checkList = "_dU _b0";
|
|
7297
|
+
var list$2 = "_cQ _b2 _cD _cO";
|
|
7298
7298
|
var flatCardRow = "_cR _cP";
|
|
7299
7299
|
var pop$1 = "_cz _9";
|
|
7300
7300
|
var spinner = "_cC _1 _G";
|
|
7301
|
-
var busy = "
|
|
7302
|
-
var pop = "
|
|
7303
|
-
var sectionCount$1 = "
|
|
7301
|
+
var busy = "_d1 _d0";
|
|
7302
|
+
var pop = "_d3 _9";
|
|
7303
|
+
var sectionCount$1 = "_bZ _N _O";
|
|
7304
7304
|
//#endregion
|
|
7305
7305
|
//#region src/tags/icons/icon-refresh.marko
|
|
7306
7306
|
var icon_refresh_default = _template("nb", (input) => {
|
|
@@ -7340,18 +7340,18 @@ var icon_back_default = _template("U", (input) => {
|
|
|
7340
7340
|
var page_head_default = _template("t", (input) => {
|
|
7341
7341
|
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);
|
|
7342
7342
|
const $scope0_id = _scope_id();
|
|
7343
|
-
_html(`<header${_attr_class("
|
|
7343
|
+
_html(`<header${_attr_class("_d9")}>`);
|
|
7344
7344
|
_if(() => {
|
|
7345
7345
|
if (input.backHref) {
|
|
7346
7346
|
const $scope1_id = _scope_id();
|
|
7347
|
-
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "
|
|
7347
|
+
_html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_en"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
7348
7348
|
icon_back_default({ size: 14 });
|
|
7349
7349
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
|
|
7350
7350
|
_serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
|
|
7351
7351
|
return 0;
|
|
7352
7352
|
} else if (input.onBack) {
|
|
7353
7353
|
const $scope2_id = _scope_id();
|
|
7354
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
7354
|
+
_html(`<button${_attr_class([iconBtnRow, "_en"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
|
|
7355
7355
|
icon_back_default({ size: 14 });
|
|
7356
7356
|
_html(`</button>${_el_resume($scope2_id, "a")}`);
|
|
7357
7357
|
_script($scope2_id, "t0");
|
|
@@ -7359,11 +7359,11 @@ var page_head_default = _template("t", (input) => {
|
|
|
7359
7359
|
return 1;
|
|
7360
7360
|
}
|
|
7361
7361
|
}, $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);
|
|
7362
|
-
_html(`<div${_attr_class("
|
|
7362
|
+
_html(`<div${_attr_class("_ea")}><h1${_attr("id", input.titleId)}${_attr_class("_d_")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
|
|
7363
7363
|
_if(() => {
|
|
7364
7364
|
if (input.meta) {
|
|
7365
7365
|
const $scope3_id = _scope_id();
|
|
7366
|
-
_html(`<p${_attr_class("
|
|
7366
|
+
_html(`<p${_attr_class("_eb")}>`);
|
|
7367
7367
|
_dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
|
|
7368
7368
|
_html("</p>");
|
|
7369
7369
|
$si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7374,7 +7374,7 @@ var page_head_default = _template("t", (input) => {
|
|
|
7374
7374
|
_if(() => {
|
|
7375
7375
|
if (input.actions) {
|
|
7376
7376
|
const $scope4_id = _scope_id();
|
|
7377
|
-
_html(`<div${_attr_class("
|
|
7377
|
+
_html(`<div${_attr_class("_ec")}>`);
|
|
7378
7378
|
_dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
7379
7379
|
_html("</div>");
|
|
7380
7380
|
$si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -7442,7 +7442,7 @@ var icon_agent_default = _template("O", (input) => {
|
|
|
7442
7442
|
n: $badge__closures
|
|
7443
7443
|
});
|
|
7444
7444
|
});
|
|
7445
|
-
var usageNote = "
|
|
7445
|
+
var usageNote = "_hn _W";
|
|
7446
7446
|
//#endregion
|
|
7447
7447
|
//#region src/tags/icons/icon-warning.marko
|
|
7448
7448
|
var icon_warning_default = _template("vb", (input) => {
|
|
@@ -7472,11 +7472,11 @@ var usage_meters_default = _template("K", (input) => {
|
|
|
7472
7472
|
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);
|
|
7473
7473
|
const $scope0_id = _scope_id();
|
|
7474
7474
|
const agent = input.agent;
|
|
7475
|
-
_html(`<div${_attr_class(["
|
|
7475
|
+
_html(`<div${_attr_class(["_hh", { ["_hi"]: input.hideName }])}><div${_attr_class("_hj")}>`);
|
|
7476
7476
|
_if(() => {
|
|
7477
7477
|
if (!input.hideName) {
|
|
7478
7478
|
const $scope1_id = _scope_id();
|
|
7479
|
-
_html(`<strong${_attr_class("
|
|
7479
|
+
_html(`<strong${_attr_class("_hC")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
|
|
7480
7480
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
7481
7481
|
return 0;
|
|
7482
7482
|
}
|
|
@@ -7484,7 +7484,7 @@ var usage_meters_default = _template("K", (input) => {
|
|
|
7484
7484
|
_if(() => {
|
|
7485
7485
|
if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
|
|
7486
7486
|
const $scope2_id = _scope_id();
|
|
7487
|
-
_html(`<span${_attr_class("
|
|
7487
|
+
_html(`<span${_attr_class("_hk")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
|
|
7488
7488
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
7489
7489
|
return 0;
|
|
7490
7490
|
}
|
|
@@ -7492,21 +7492,21 @@ var usage_meters_default = _template("K", (input) => {
|
|
|
7492
7492
|
_if(() => {
|
|
7493
7493
|
if (agent.stale_seconds != null) {
|
|
7494
7494
|
const $scope3_id = _scope_id();
|
|
7495
|
-
_html(`<span${_attr_class("
|
|
7495
|
+
_html(`<span${_attr_class("_hl")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
|
|
7496
7496
|
icon_warning_default({ size: 12 });
|
|
7497
7497
|
_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)}`);
|
|
7498
7498
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
7499
7499
|
return 0;
|
|
7500
7500
|
}
|
|
7501
7501
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
7502
|
-
_html(`</div><div${_attr_class(["
|
|
7502
|
+
_html(`</div><div${_attr_class(["_hm", { ["_hD"]: agent.stale_seconds != null }])}>`);
|
|
7503
7503
|
_for_of(agent.windows || [], (win) => {
|
|
7504
7504
|
const $scope4_id = _scope_id();
|
|
7505
7505
|
const pct = pctText(win.used_percent);
|
|
7506
7506
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
7507
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
7508
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
7509
|
-
_html(`<div${_attr_class("
|
|
7507
|
+
const fillClass = win.used_percent >= 90 ? "_hv" : win.used_percent >= 70 ? "_hu" : win.used_percent >= 40 ? "_ht" : "_hs";
|
|
7508
|
+
const pctClass = win.used_percent >= 90 ? "_hA" : win.used_percent >= 70 ? "_hz" : win.used_percent >= 40 ? "_hy" : "_hx";
|
|
7509
|
+
_html(`<div${_attr_class("_ho")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_hp")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hq")}><span${_attr_class(["_hr", 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(["_hw", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hB")}>`);
|
|
7510
7510
|
_if(() => {
|
|
7511
7511
|
if (label) {
|
|
7512
7512
|
const $scope6_id = _scope_id();
|
|
@@ -7782,14 +7782,14 @@ var sso_auth_default = _template("F", (input) => {
|
|
|
7782
7782
|
localCode = null;
|
|
7783
7783
|
}
|
|
7784
7784
|
}, "F0", $scope0_id);
|
|
7785
|
-
_html(`<div${_attr_class(["
|
|
7785
|
+
_html(`<div${_attr_class(["_g6", input.class])}>`);
|
|
7786
7786
|
_for_of(input.items, (s) => {
|
|
7787
7787
|
const $scope1_id = _scope_id();
|
|
7788
|
-
_html(`<div${_attr_class("
|
|
7788
|
+
_html(`<div${_attr_class("_g7")}><span${_attr_class("_g9")}><span${_attr_class("_g_")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_ha", "_hb"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
|
|
7789
7789
|
_if(() => {
|
|
7790
7790
|
if (!busy) {
|
|
7791
7791
|
const $scope2_id = _scope_id();
|
|
7792
|
-
_html(`<button type=button${_attr_class([btnSm, "_r"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "
|
|
7792
|
+
_html(`<button type=button${_attr_class([btnSm, "_r"])} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize</button>${_el_resume($scope2_id, "a")}<button type=button${_attr_class([btnSm, "_hc"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
|
|
7793
7793
|
_script($scope2_id, "F1");
|
|
7794
7794
|
writeScope($scope2_id, {});
|
|
7795
7795
|
return 0;
|
|
@@ -7804,13 +7804,13 @@ var sso_auth_default = _template("F", (input) => {
|
|
|
7804
7804
|
_if(() => {
|
|
7805
7805
|
if (localBusy && localCode) {
|
|
7806
7806
|
const $scope4_id = _scope_id();
|
|
7807
|
-
_html(`<div${_attr_class(["
|
|
7807
|
+
_html(`<div${_attr_class(["_g7", "_hd"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_he")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hf")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
|
|
7808
7808
|
_script($scope4_id, "F2");
|
|
7809
7809
|
writeScope($scope4_id, {});
|
|
7810
7810
|
return 0;
|
|
7811
7811
|
} else if (localBusy) {
|
|
7812
7812
|
const $scope6_id = _scope_id();
|
|
7813
|
-
_html(`<div${_attr_class(["
|
|
7813
|
+
_html(`<div${_attr_class(["_g7", "_hd"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
|
|
7814
7814
|
writeScope($scope6_id, {});
|
|
7815
7815
|
return 1;
|
|
7816
7816
|
}
|
|
@@ -7818,14 +7818,14 @@ var sso_auth_default = _template("F", (input) => {
|
|
|
7818
7818
|
_if(() => {
|
|
7819
7819
|
if (localError) {
|
|
7820
7820
|
const $scope5_id = _scope_id();
|
|
7821
|
-
_html(`<p${_attr_class(["
|
|
7821
|
+
_html(`<p${_attr_class(["_g7", "_hg"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
|
|
7822
7822
|
writeScope($scope5_id, {});
|
|
7823
7823
|
return 0;
|
|
7824
7824
|
}
|
|
7825
7825
|
}, $scope0_id, "d", 1, 1, 1, 0, 1);
|
|
7826
7826
|
_for_of(skipped, (s) => {
|
|
7827
7827
|
const $scope3_id = _scope_id();
|
|
7828
|
-
_html(`<div${_attr_class(["
|
|
7828
|
+
_html(`<div${_attr_class(["_g7", "_g8"])}><span${_attr_class("_g9")}><span${_attr_class("_g_")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_ha")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hc"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
|
|
7829
7829
|
_script($scope3_id, "F3");
|
|
7830
7830
|
writeScope($scope3_id, {
|
|
7831
7831
|
i: s?.org,
|
|
@@ -7876,7 +7876,7 @@ var skill_chip_default = _template("E", (input) => {
|
|
|
7876
7876
|
const $input_tags__closures = /* @__PURE__ */ new Set();
|
|
7877
7877
|
const $input_actions__closures = /* @__PURE__ */ new Set();
|
|
7878
7878
|
const $input_trailing__closures = /* @__PURE__ */ new Set();
|
|
7879
|
-
_html(`<li${_attr_class("
|
|
7879
|
+
_html(`<li${_attr_class("_dZ")}>`);
|
|
7880
7880
|
_if(() => {
|
|
7881
7881
|
if (input.busy != null) {
|
|
7882
7882
|
const $scope1_id = _scope_id();
|
|
@@ -7886,20 +7886,20 @@ var skill_chip_default = _template("E", (input) => {
|
|
|
7886
7886
|
} else {
|
|
7887
7887
|
const $scope2_id = _scope_id();
|
|
7888
7888
|
const popId = _id();
|
|
7889
|
-
_html(`<button${_attr_class("
|
|
7889
|
+
_html(`<button${_attr_class("_d0")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
|
|
7890
7890
|
_if(() => {
|
|
7891
7891
|
if (input.hint) {
|
|
7892
7892
|
const $scope3_id = _scope_id();
|
|
7893
|
-
_html(`<span${_attr_class("
|
|
7893
|
+
_html(`<span${_attr_class("_d2")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
|
|
7894
7894
|
$si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
|
|
7895
7895
|
return 0;
|
|
7896
7896
|
}
|
|
7897
7897
|
}, $scope2_id, "c", $sg__input_hint, $sg__input_hint, $sg__input_hint__OR__input_description__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal__OR__input_tags__OR__input_actions__OR__input_trailing, 0, 1);
|
|
7898
|
-
_html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["
|
|
7898
|
+
_html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_b4", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
|
|
7899
7899
|
_if(() => {
|
|
7900
7900
|
if (input.description) {
|
|
7901
7901
|
const $scope4_id = _scope_id();
|
|
7902
|
-
_html(`<span${_attr_class("
|
|
7902
|
+
_html(`<span${_attr_class("_b6")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
|
|
7903
7903
|
$si__input_busy__OR__input_description && _subscribe($si__input_description && $input_description__closures, writeScope($scope4_id, { _: _scope_with_id($scope2_id) }));
|
|
7904
7904
|
return 0;
|
|
7905
7905
|
}
|
|
@@ -7907,12 +7907,12 @@ var skill_chip_default = _template("E", (input) => {
|
|
|
7907
7907
|
_if(() => {
|
|
7908
7908
|
if (input.sourceUrl) {
|
|
7909
7909
|
const $scope5_id = _scope_id();
|
|
7910
|
-
_html(`<a${_attr_class(["
|
|
7910
|
+
_html(`<a${_attr_class(["_b6", "_K"])}${_attr("href", input.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${input.source} on GitHub`)}>${_text_resume($scope5_id, "b", input.source, $sg__input_source)}</a>${_el_resume($scope5_id, "a", _serialize_guard($scope0_reason, 6))}`);
|
|
7911
7911
|
$si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, _subscribe($si__input_sourceUrl && $input_sourceUrl__closures, writeScope($scope5_id, { _: _scope_with_id($scope2_id) })));
|
|
7912
7912
|
return 0;
|
|
7913
7913
|
} else if (input.source) {
|
|
7914
7914
|
const $scope6_id = _scope_id();
|
|
7915
|
-
_html(`<span${_attr_class("
|
|
7915
|
+
_html(`<span${_attr_class("_b6")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
|
|
7916
7916
|
$si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, writeScope($scope6_id, {
|
|
7917
7917
|
_: _scope_with_id($scope2_id),
|
|
7918
7918
|
Cs: $si__input_source && 1
|
|
@@ -7920,7 +7920,7 @@ var skill_chip_default = _template("E", (input) => {
|
|
|
7920
7920
|
return 1;
|
|
7921
7921
|
} else if (input.noteLocal) {
|
|
7922
7922
|
const $scope10_id = _scope_id();
|
|
7923
|
-
_html(`<span${_attr_class(["
|
|
7923
|
+
_html(`<span${_attr_class(["_b6", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
|
|
7924
7924
|
_serialize_if($scope0_reason, 8) && writeScope($scope10_id, {});
|
|
7925
7925
|
return 2;
|
|
7926
7926
|
}
|
|
@@ -7928,7 +7928,7 @@ var skill_chip_default = _template("E", (input) => {
|
|
|
7928
7928
|
_if(() => {
|
|
7929
7929
|
if (input.tags) {
|
|
7930
7930
|
const $scope7_id = _scope_id();
|
|
7931
|
-
_html(`<span${_attr_class("
|
|
7931
|
+
_html(`<span${_attr_class("_b5")}>`);
|
|
7932
7932
|
_dynamic_tag($scope7_id, "b", input.tags, {}, 0, 0, $sg__input_tags);
|
|
7933
7933
|
_html("</span>");
|
|
7934
7934
|
$si__input_busy__OR__input_tags && _subscribe($si__input_tags && $input_tags__closures, writeScope($scope7_id, { _: _scope_with_id($scope2_id) }));
|
|
@@ -7938,7 +7938,7 @@ var skill_chip_default = _template("E", (input) => {
|
|
|
7938
7938
|
_if(() => {
|
|
7939
7939
|
if (input.actions) {
|
|
7940
7940
|
const $scope8_id = _scope_id();
|
|
7941
|
-
_html(`<div${_attr_class("
|
|
7941
|
+
_html(`<div${_attr_class("_d4")}>`);
|
|
7942
7942
|
_dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
|
|
7943
7943
|
_html("</div>");
|
|
7944
7944
|
$si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
|
|
@@ -8049,7 +8049,7 @@ var icon_moon_default = _template("lb", (input) => {
|
|
|
8049
8049
|
});
|
|
8050
8050
|
//#endregion
|
|
8051
8051
|
//#region src/tags/prompt-dialog.css.ts
|
|
8052
|
-
var promptDlg = "
|
|
8052
|
+
var promptDlg = "_g5 _g1";
|
|
8053
8053
|
//#endregion
|
|
8054
8054
|
//#region src/tags/dialog-close.marko
|
|
8055
8055
|
var dialog_close_default = _template("h", (input) => {
|
|
@@ -8073,7 +8073,7 @@ var modal_view_default = _template("q", (input) => {
|
|
|
8073
8073
|
const { label, class: inputClass, open: _open, openChange: _openChange, dismissable: _dismissable, content, footer, closedby: _closedby, onCancel: _onCancel, onClose: _onClose, "aria-label": inputAriaLabel, "aria-labelledby": inputLabelledBy, ...htmlInput } = input;
|
|
8074
8074
|
const dismissable = input.dismissable !== false;
|
|
8075
8075
|
let open = input.open;
|
|
8076
|
-
_html(`<dialog${_attr_class(["
|
|
8076
|
+
_html(`<dialog${_attr_class(["_g0", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
8077
8077
|
...htmlInput,
|
|
8078
8078
|
open: null
|
|
8079
8079
|
}, {
|
|
@@ -8083,20 +8083,20 @@ var modal_view_default = _template("q", (input) => {
|
|
|
8083
8083
|
closedby: 1,
|
|
8084
8084
|
"on-cancel": 1,
|
|
8085
8085
|
"on-close": 1
|
|
8086
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
8086
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_g3")}>`);
|
|
8087
8087
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
8088
8088
|
_html("</div>");
|
|
8089
8089
|
_if(() => {
|
|
8090
8090
|
if (footer) {
|
|
8091
8091
|
const $scope1_id = _scope_id();
|
|
8092
|
-
_html(`<form method=dialog${_attr_class("
|
|
8092
|
+
_html(`<form method=dialog${_attr_class("_g4")}>`);
|
|
8093
8093
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
8094
8094
|
_html("</form>");
|
|
8095
8095
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
8096
8096
|
return 0;
|
|
8097
8097
|
} else if (input.openChange) {
|
|
8098
8098
|
const $scope2_id = _scope_id();
|
|
8099
|
-
_html(`<form method=dialog${_attr_class("
|
|
8099
|
+
_html(`<form method=dialog${_attr_class("_g4")}>`);
|
|
8100
8100
|
dialog_close_default({
|
|
8101
8101
|
class: ["_q", "_r"],
|
|
8102
8102
|
content: _content("q0", () => {
|
|
@@ -8180,7 +8180,7 @@ var prompt_dialog_default = _template("u", (input) => {
|
|
|
8180
8180
|
content: _content("u7", () => {
|
|
8181
8181
|
_scope_reason();
|
|
8182
8182
|
const $scope2_id = _scope_id();
|
|
8183
|
-
_html(`<h2${_attr_class("
|
|
8183
|
+
_html(`<h2${_attr_class("_g2")}${_attr("id", titleId)}>${_text_resume($scope2_id, "b", input.label, $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
|
|
8184
8184
|
value = _new_value;
|
|
8185
8185
|
}, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
|
|
8186
8186
|
_script($scope2_id, "u5");
|
|
@@ -8704,7 +8704,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
8704
8704
|
const githubId = _id();
|
|
8705
8705
|
const backupId = _id();
|
|
8706
8706
|
const machineId = _id();
|
|
8707
|
-
_html(`<div${_attr_class("
|
|
8707
|
+
_html(`<div${_attr_class("_d5")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d6")}><div${_attr_class("_d7")}>`);
|
|
8708
8708
|
_set_serialize_reason({
|
|
8709
8709
|
0: _serialize_guard($scope0_reason, 4),
|
|
8710
8710
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -8736,7 +8736,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
8736
8736
|
_resume_branch($scope12_id);
|
|
8737
8737
|
}, $scope0_id) })
|
|
8738
8738
|
});
|
|
8739
|
-
_html(`<div${_attr_class("
|
|
8739
|
+
_html(`<div${_attr_class("_d8")}>`);
|
|
8740
8740
|
_if(() => {
|
|
8741
8741
|
if (setup && !setup.ready) {
|
|
8742
8742
|
const $scope4_id = _scope_id();
|
|
@@ -8779,16 +8779,16 @@ var settings_page_default = _template("A", (input) => {
|
|
|
8779
8779
|
_if(() => {
|
|
8780
8780
|
if (selfUpdatePending || selfUpdating) {
|
|
8781
8781
|
const $scope41_id = _scope_id();
|
|
8782
|
-
_html(`<div${_attr_class("
|
|
8782
|
+
_html(`<div${_attr_class("_ds")} role=status><div${_attr_class("_dt")}>`);
|
|
8783
8783
|
_if(() => {
|
|
8784
8784
|
if (selfUpdating) {
|
|
8785
8785
|
const $scope79_id = _scope_id();
|
|
8786
|
-
_html(`<span${_attr_class("
|
|
8786
|
+
_html(`<span${_attr_class("_du")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_dv")}>The app restarts and reloads when it is done.</span>`);
|
|
8787
8787
|
writeScope($scope79_id, {});
|
|
8788
8788
|
return 0;
|
|
8789
8789
|
} else {
|
|
8790
8790
|
const $scope42_id = _scope_id();
|
|
8791
|
-
_html(`<span${_attr_class("
|
|
8791
|
+
_html(`<span${_attr_class("_du")}>Update available</span><span${_attr_class("_dv")}>v${_text_resume($scope42_id, "c", self.version, 2)} → v${_text_resume($scope42_id, "d", self.latest, 2)}</span>`);
|
|
8792
8792
|
_subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope42_id, {})));
|
|
8793
8793
|
return 1;
|
|
8794
8794
|
}
|
|
@@ -8818,11 +8818,11 @@ var settings_page_default = _template("A", (input) => {
|
|
|
8818
8818
|
_: _scope_with_id($scope0_id)
|
|
8819
8819
|
});
|
|
8820
8820
|
}, $scope0_id) };
|
|
8821
|
-
_html(`<section${_attr_class("
|
|
8821
|
+
_html(`<section${_attr_class("_bX")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bY")}><h2${_attr("id", agentsId)}${_attr_class("_ca")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_cU")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
|
|
8822
8822
|
_attr_select_value($scope0_id, "p", input.preferred, _resume(function(v) {
|
|
8823
8823
|
setPreferred(v);
|
|
8824
8824
|
}, "A0", $scope0_id), () => {
|
|
8825
|
-
_html(`<select${_attr_class(["_p", "
|
|
8825
|
+
_html(`<select${_attr_class(["_p", "_cV"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
|
|
8826
8826
|
_for_of(input.agents.filter((a) => a !== "shell"), (id) => {
|
|
8827
8827
|
const $scope81_id = _scope_id();
|
|
8828
8828
|
_html(`<option${_attr_option_value(id)}>${_text_resume($scope81_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope81_id, "a", $sg__input_agents)}`);
|
|
@@ -8837,14 +8837,14 @@ var settings_page_default = _template("A", (input) => {
|
|
|
8837
8837
|
const rows = lone ? [] : a.instances;
|
|
8838
8838
|
const loneAccounts = lone ? accountsFor(lone.id) : [];
|
|
8839
8839
|
const extraAccounts = a.installed ? strayAccountsFor(a) : [];
|
|
8840
|
-
_html(`<li${_attr_class(agentRow)}><div${_attr_class(["
|
|
8840
|
+
_html(`<li${_attr_class(agentRow)}><div${_attr_class(["_cW", { ["_cY"]: lone && !lone.enabled }])}>`);
|
|
8841
8841
|
_set_serialize_reason(12);
|
|
8842
8842
|
const $childScope3 = _peek_scope_id();
|
|
8843
8843
|
icon_agent_default({
|
|
8844
8844
|
agent: a.id,
|
|
8845
8845
|
size: 18
|
|
8846
8846
|
});
|
|
8847
|
-
_html(`<div${_attr_class("
|
|
8847
|
+
_html(`<div${_attr_class("_b3")}><span${_attr_class("_b5")}><span${_attr_class("_b4")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
|
|
8848
8848
|
_if(() => {
|
|
8849
8849
|
if (lone && input.preferred === lone.id) {
|
|
8850
8850
|
const $scope83_id = _scope_id();
|
|
@@ -8857,12 +8857,12 @@ var settings_page_default = _template("A", (input) => {
|
|
|
8857
8857
|
_if(() => {
|
|
8858
8858
|
if (active.has(a.id)) {
|
|
8859
8859
|
const $scope13_id = _scope_id();
|
|
8860
|
-
_html(`<span${_attr_class("
|
|
8860
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
|
|
8861
8861
|
_subscribe($active__closures, writeScope($scope13_id, {}));
|
|
8862
8862
|
return 0;
|
|
8863
8863
|
} else if (!a.installed) {
|
|
8864
8864
|
const $scope84_id = _scope_id();
|
|
8865
|
-
_html(`<span${_attr_class("
|
|
8865
|
+
_html(`<span${_attr_class("_b6")}>Not installed</span>`);
|
|
8866
8866
|
writeScope($scope84_id, {});
|
|
8867
8867
|
return 1;
|
|
8868
8868
|
}
|
|
@@ -8893,15 +8893,15 @@ var settings_page_default = _template("A", (input) => {
|
|
|
8893
8893
|
_if(() => {
|
|
8894
8894
|
if (rows.length || loneAccounts.length || extraAccounts.length) {
|
|
8895
8895
|
const $scope2_id = _scope_id();
|
|
8896
|
-
_html(`<ul${_attr_class(["
|
|
8896
|
+
_html(`<ul${_attr_class(["_c0", { ["_cY"]: lone && !lone.enabled }])}>`);
|
|
8897
8897
|
_for_of(rows, (inst) => {
|
|
8898
8898
|
const $scope3_id = _scope_id();
|
|
8899
8899
|
const accounts = accountsFor(inst.id);
|
|
8900
|
-
_html(`<li${_attr_class(["
|
|
8900
|
+
_html(`<li${_attr_class(["_cX", { ["_cY"]: !inst.enabled }])}><div${_attr_class("_cW")}>`);
|
|
8901
8901
|
_set_serialize_reason(12);
|
|
8902
8902
|
const $childScope5 = _peek_scope_id();
|
|
8903
8903
|
icon_agent_default({ agent: inst.id });
|
|
8904
|
-
_html(`<span${_attr_class(["
|
|
8904
|
+
_html(`<span${_attr_class(["_cZ", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
|
|
8905
8905
|
_if(() => {
|
|
8906
8906
|
if (input.preferred === inst.id) {
|
|
8907
8907
|
const $scope85_id = _scope_id();
|
|
@@ -8980,24 +8980,24 @@ var settings_page_default = _template("A", (input) => {
|
|
|
8980
8980
|
_if(() => {
|
|
8981
8981
|
if (!usage && families.length) {
|
|
8982
8982
|
const $scope88_id = _scope_id();
|
|
8983
|
-
_html(`<p${_attr_class("
|
|
8983
|
+
_html(`<p${_attr_class("_b8")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
|
|
8984
8984
|
writeScope($scope88_id, {});
|
|
8985
8985
|
return 0;
|
|
8986
8986
|
} else if (usage?.error) {
|
|
8987
8987
|
const $scope9_id = _scope_id();
|
|
8988
|
-
_html(`<p${_attr_class("
|
|
8988
|
+
_html(`<p${_attr_class("_b8")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
|
|
8989
8989
|
writeScope($scope9_id, {});
|
|
8990
8990
|
return 1;
|
|
8991
8991
|
}
|
|
8992
8992
|
}, $scope0_id, "t", 1, 1, 1, 0, 1);
|
|
8993
|
-
_html(`</section></div><div${_attr_class("
|
|
8993
|
+
_html(`</section></div><div${_attr_class("_d8")}><section${_attr_class("_bX")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bY")}><h2${_attr("id", githubId)}${_attr_class("_ca")}>GitHub</h2>`);
|
|
8994
8994
|
_if(() => {
|
|
8995
8995
|
if (setup) {
|
|
8996
8996
|
const $scope39_id = _scope_id();
|
|
8997
8997
|
_set_serialize_reason(44);
|
|
8998
8998
|
const $childScope10 = _peek_scope_id();
|
|
8999
8999
|
add_field_default({
|
|
9000
|
-
class: "
|
|
9000
|
+
class: "_c8",
|
|
9001
9001
|
open: addingHost,
|
|
9002
9002
|
openChange: _resume((_new_addingHost) => {
|
|
9003
9003
|
addingHost = _new_addingHost;
|
|
@@ -9027,19 +9027,19 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9027
9027
|
return 0;
|
|
9028
9028
|
}
|
|
9029
9029
|
}, $scope0_id, "y");
|
|
9030
|
-
_html(`</div><div${_attr_class(["
|
|
9030
|
+
_html(`</div><div${_attr_class(["_b2", "_cD"])}>`);
|
|
9031
9031
|
_for_of(setup?.github || [], (h) => {
|
|
9032
9032
|
const $scope7_id = _scope_id();
|
|
9033
9033
|
const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
|
|
9034
9034
|
const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
|
|
9035
9035
|
const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
|
|
9036
9036
|
const busy = active.has(h.host);
|
|
9037
|
-
_html(`<div${_attr_class(["_cE", "
|
|
9037
|
+
_html(`<div${_attr_class(["_cE", "_c9"])}><div${_attr_class("_c_")}>`);
|
|
9038
9038
|
icon_github_default({
|
|
9039
9039
|
size: 18,
|
|
9040
|
-
class: "
|
|
9040
|
+
class: "_da"
|
|
9041
9041
|
});
|
|
9042
|
-
_html(`<div${_attr_class("
|
|
9042
|
+
_html(`<div${_attr_class("_b3")}><span${_attr_class("_b5")}><span${_attr_class("_b4")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
|
|
9043
9043
|
_if(() => {
|
|
9044
9044
|
if (h.isEnterprise) {
|
|
9045
9045
|
const $scope92_id = _scope_id();
|
|
@@ -9052,25 +9052,25 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9052
9052
|
_if(() => {
|
|
9053
9053
|
if (busy) {
|
|
9054
9054
|
const $scope14_id = _scope_id();
|
|
9055
|
-
_html(`<span${_attr_class(["
|
|
9055
|
+
_html(`<span${_attr_class(["_b6", "_db"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
|
|
9056
9056
|
_subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Cgx: 1 })));
|
|
9057
9057
|
return 0;
|
|
9058
9058
|
} else if (h.authed) {
|
|
9059
9059
|
const $scope90_id = _scope_id();
|
|
9060
|
-
_html(`<span${_attr_class(["
|
|
9060
|
+
_html(`<span${_attr_class(["_b6", "_db"])}>`);
|
|
9061
9061
|
icon_check_default({
|
|
9062
9062
|
size: 12,
|
|
9063
|
-
class: "
|
|
9063
|
+
class: "_dc"
|
|
9064
9064
|
});
|
|
9065
|
-
_html(` Signed in as <strong${_attr_class("
|
|
9065
|
+
_html(` Signed in as <strong${_attr_class("_de")}>${_text_resume($scope90_id, "d", h.user || "?")}</strong></span>`);
|
|
9066
9066
|
writeScope($scope90_id, {});
|
|
9067
9067
|
return 1;
|
|
9068
9068
|
} else if (h.error) {
|
|
9069
9069
|
const $scope91_id = _scope_id();
|
|
9070
9070
|
_html(`<span${_attr_class([
|
|
9071
|
-
"
|
|
9072
|
-
"
|
|
9073
|
-
"
|
|
9071
|
+
"_b6",
|
|
9072
|
+
"_db",
|
|
9073
|
+
"_dd"
|
|
9074
9074
|
])}>`);
|
|
9075
9075
|
icon_warning_default({ size: 12 });
|
|
9076
9076
|
_html(`${_text_resume($scope91_id, "c", h.error)}</span>`);
|
|
@@ -9078,7 +9078,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9078
9078
|
return 2;
|
|
9079
9079
|
} else {
|
|
9080
9080
|
const $scope93_id = _scope_id();
|
|
9081
|
-
_html(`<span${_attr_class(["
|
|
9081
|
+
_html(`<span${_attr_class(["_b6", "_db"])}>Not signed in</span>`);
|
|
9082
9082
|
writeScope($scope93_id, {});
|
|
9083
9083
|
return 3;
|
|
9084
9084
|
}
|
|
@@ -9121,7 +9121,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9121
9121
|
const $childScope12 = _peek_scope_id();
|
|
9122
9122
|
arm_button_default({
|
|
9123
9123
|
class: [
|
|
9124
|
-
"
|
|
9124
|
+
"_b7",
|
|
9125
9125
|
"_7",
|
|
9126
9126
|
"_8"
|
|
9127
9127
|
],
|
|
@@ -9152,7 +9152,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9152
9152
|
_if(() => {
|
|
9153
9153
|
if (busy && authCodes.has(h.host)) {
|
|
9154
9154
|
const $scope33_id = _scope_id();
|
|
9155
|
-
_html(`<div${_attr_class("
|
|
9155
|
+
_html(`<div${_attr_class("_df")}><span${_attr_class("_dg")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_di")}>${_text_resume($scope33_id, "d", h.host)}/login/device</a>${_el_resume($scope33_id, "c")}</span><code${_attr_class("_dh")}>${_text_resume($scope33_id, "f", authCodes.get(h.host))}</code></div>`);
|
|
9156
9156
|
_subscribe($authCodes__closures, writeScope($scope33_id, { Cgz: 1 }));
|
|
9157
9157
|
return 0;
|
|
9158
9158
|
}
|
|
@@ -9164,7 +9164,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9164
9164
|
_set_serialize_reason(30);
|
|
9165
9165
|
const $childScope13 = _peek_scope_id();
|
|
9166
9166
|
sso_auth_default({
|
|
9167
|
-
class: ["_cE", "
|
|
9167
|
+
class: ["_cE", "_dj"],
|
|
9168
9168
|
items: hostSso$1,
|
|
9169
9169
|
skipped: skippedSso,
|
|
9170
9170
|
busy,
|
|
@@ -9198,12 +9198,12 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9198
9198
|
_if(() => {
|
|
9199
9199
|
if (setup && !setup.github.length) {
|
|
9200
9200
|
const $scope96_id = _scope_id();
|
|
9201
|
-
_html(`<p${_attr_class("
|
|
9201
|
+
_html(`<p${_attr_class("_b8")}>Install the GitHub CLI below to sign in.</p>`);
|
|
9202
9202
|
writeScope($scope96_id, {});
|
|
9203
9203
|
return 0;
|
|
9204
9204
|
}
|
|
9205
9205
|
}, $scope0_id, "a0", 1, 1, 1, 0, 1);
|
|
9206
|
-
_html(`</section><section${_attr_class("
|
|
9206
|
+
_html(`</section><section${_attr_class("_bX")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bY")}><h2${_attr("id", machineId)}${_attr_class("_ca")}>Machine</h2></div><div${_attr_class(["_b2", "_cD"])}><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: skillsOpen }])}><button${_attr_class("_cI")} aria-expanded=true>`);
|
|
9207
9207
|
_set_serialize_reason(1);
|
|
9208
9208
|
const $childScope14 = _peek_scope_id();
|
|
9209
9209
|
icon_chevron_right_default({
|
|
@@ -9250,11 +9250,11 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9250
9250
|
_if(() => {
|
|
9251
9251
|
if (looksLikeSource(skillQuery)) {
|
|
9252
9252
|
const $scope17_id = _scope_id();
|
|
9253
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("
|
|
9253
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_b3")}><span${_attr_class(["_c4", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
|
|
9254
9254
|
_if(() => {
|
|
9255
9255
|
if (active.has(skillQuery.trim())) {
|
|
9256
9256
|
const $scope18_id = _scope_id();
|
|
9257
|
-
_html(`<span${_attr_class("
|
|
9257
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
|
|
9258
9258
|
_subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope18_id, {
|
|
9259
9259
|
Cgx: 3,
|
|
9260
9260
|
Chl: 2
|
|
@@ -9262,7 +9262,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9262
9262
|
return 0;
|
|
9263
9263
|
} else {
|
|
9264
9264
|
const $scope98_id = _scope_id();
|
|
9265
|
-
_html(`<span${_attr_class("
|
|
9265
|
+
_html(`<span${_attr_class("_b6")}>Add straight from this source</span>`);
|
|
9266
9266
|
writeScope($scope98_id, {});
|
|
9267
9267
|
return 1;
|
|
9268
9268
|
}
|
|
@@ -9288,16 +9288,16 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9288
9288
|
_for_of(skillHits || [], (h) => {
|
|
9289
9289
|
const $scope19_id = _scope_id();
|
|
9290
9290
|
const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
|
|
9291
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("
|
|
9291
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_b3")}><span${_attr_class(["_c4", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
|
|
9292
9292
|
_if(() => {
|
|
9293
9293
|
if (active.has(h.skillId)) {
|
|
9294
9294
|
const $scope20_id = _scope_id();
|
|
9295
|
-
_html(`<span${_attr_class("
|
|
9295
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
|
|
9296
9296
|
_subscribe($active__closures, writeScope($scope20_id, { Cgx: 5 }));
|
|
9297
9297
|
return 0;
|
|
9298
9298
|
} else {
|
|
9299
9299
|
const $scope99_id = _scope_id();
|
|
9300
|
-
_html(`<span${_attr_class("
|
|
9300
|
+
_html(`<span${_attr_class("_b6")}${_attr("title", h.source)}>${_text_resume($scope99_id, "b", h.source)}</span>${_el_resume($scope99_id, "a")}`);
|
|
9301
9301
|
writeScope($scope99_id, {});
|
|
9302
9302
|
return 1;
|
|
9303
9303
|
}
|
|
@@ -9366,18 +9366,18 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9366
9366
|
_if(() => {
|
|
9367
9367
|
if (skills && !skills.agents.length) {
|
|
9368
9368
|
const $scope102_id = _scope_id();
|
|
9369
|
-
_html(`<p${_attr_class("
|
|
9369
|
+
_html(`<p${_attr_class("_b8")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
|
|
9370
9370
|
writeScope($scope102_id, {});
|
|
9371
9371
|
return 0;
|
|
9372
9372
|
} else if (skills && !skills.available) {
|
|
9373
9373
|
const $scope22_id = _scope_id();
|
|
9374
|
-
_html(`<p${_attr_class("
|
|
9374
|
+
_html(`<p${_attr_class("_b8")}>The skills CLI is not installed, so skills can be listed but not added or removed. <button${_attr_class(btnSm)}${_attr("disabled", active.has("skills"))}>${_text_resume($scope22_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope22_id, "b")}</p>`);
|
|
9375
9375
|
_script($scope22_id, "A66");
|
|
9376
9376
|
_subscribe($active__closures, writeScope($scope22_id, { Cgx: 6 }));
|
|
9377
9377
|
return 1;
|
|
9378
9378
|
}
|
|
9379
9379
|
}, $scope21_id, "b", 1, 1, 1, 0, 1);
|
|
9380
|
-
_html(`<ul${_attr_class("
|
|
9380
|
+
_html(`<ul${_attr_class("_dY")}>`);
|
|
9381
9381
|
_for_of(skills?.global || [], (s) => {
|
|
9382
9382
|
const $scope23_id = _scope_id();
|
|
9383
9383
|
const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
|
|
@@ -9455,7 +9455,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9455
9455
|
_if(() => {
|
|
9456
9456
|
if (skills && !skills.global.length && skills.available && skills.agents.length) {
|
|
9457
9457
|
const $scope106_id = _scope_id();
|
|
9458
|
-
_html(`<p${_attr_class("
|
|
9458
|
+
_html(`<p${_attr_class("_b8")}>No skills installed. Search below, or paste an owner/repo.</p>`);
|
|
9459
9459
|
writeScope($scope106_id, {});
|
|
9460
9460
|
return 0;
|
|
9461
9461
|
}
|
|
@@ -9528,16 +9528,16 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9528
9528
|
}, $scope27_id, "b", 1, 1, 1, 0, 1);
|
|
9529
9529
|
_for_of(hits || [], (h) => {
|
|
9530
9530
|
const $scope28_id = _scope_id();
|
|
9531
|
-
_html(`<li${_attr_class(toolRow)}><div${_attr_class("
|
|
9531
|
+
_html(`<li${_attr_class(toolRow)}><div${_attr_class("_b3")}><span${_attr_class(["_c4", "_y"])}>${_text_resume($scope28_id, "d", h.name)}</span>`);
|
|
9532
9532
|
_if(() => {
|
|
9533
9533
|
if (active.has(h.name)) {
|
|
9534
9534
|
const $scope29_id = _scope_id();
|
|
9535
|
-
_html(`<span${_attr_class("
|
|
9535
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope29_id, "c", active.get(h.name) || "Starting…")}</span>`);
|
|
9536
9536
|
_subscribe($active__closures, writeScope($scope29_id, { Cgx: 9 }));
|
|
9537
9537
|
return 0;
|
|
9538
9538
|
} else if (h.description) {
|
|
9539
9539
|
const $scope108_id = _scope_id();
|
|
9540
|
-
_html(`<span${_attr_class("
|
|
9540
|
+
_html(`<span${_attr_class("_b6")}${_attr("title", h.description)}>${_text_resume($scope108_id, "b", h.description)}</span>${_el_resume($scope108_id, "a")}`);
|
|
9541
9541
|
writeScope($scope108_id, {});
|
|
9542
9542
|
return 1;
|
|
9543
9543
|
}
|
|
@@ -9588,7 +9588,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9588
9588
|
_if(() => {
|
|
9589
9589
|
if (setup && !setup.mise.installed) {
|
|
9590
9590
|
const $scope30_id = _scope_id();
|
|
9591
|
-
_html(`<p${_attr_class("
|
|
9591
|
+
_html(`<p${_attr_class("_b8")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${_text_resume($scope30_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope30_id, "b")}</p>`);
|
|
9592
9592
|
_script($scope30_id, "A76");
|
|
9593
9593
|
_subscribe($active__closures, writeScope($scope30_id, { Cgx: 10 }));
|
|
9594
9594
|
return 0;
|
|
@@ -9598,11 +9598,11 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9598
9598
|
_if(() => {
|
|
9599
9599
|
if (self) {
|
|
9600
9600
|
const $scope44_id = _scope_id();
|
|
9601
|
-
_html(`<li${_attr_class(toolRow)}><span${_attr_class(["
|
|
9601
|
+
_html(`<li${_attr_class(toolRow)}><span${_attr_class(["_c4", "_y"])}>work</span>`);
|
|
9602
9602
|
_if(() => {
|
|
9603
9603
|
if (selfUpdating) {
|
|
9604
9604
|
const $scope110_id = _scope_id();
|
|
9605
|
-
_html(`<span${_attr_class("
|
|
9605
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
|
|
9606
9606
|
writeScope($scope110_id, {});
|
|
9607
9607
|
return 0;
|
|
9608
9608
|
} else {
|
|
@@ -9616,7 +9616,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9616
9616
|
return 0;
|
|
9617
9617
|
} else if (self.latest && self.latest !== self.version) {
|
|
9618
9618
|
const $scope46_id = _scope_id();
|
|
9619
|
-
_html(`<button${_attr_class([btnSm, "
|
|
9619
|
+
_html(`<button${_attr_class([btnSm, "_c7"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
|
|
9620
9620
|
icon_arrow_up_default({ size: 12 });
|
|
9621
9621
|
_html(` ${_text_resume($scope46_id, "c", self.latest, 2)}</button>${_el_resume($scope46_id, "a")}`);
|
|
9622
9622
|
_script($scope46_id, "A77");
|
|
@@ -9659,11 +9659,11 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9659
9659
|
const $for_content7__t_latest__closures = /* @__PURE__ */ new Set();
|
|
9660
9660
|
const $for_content7__t_label__closures = /* @__PURE__ */ new Set();
|
|
9661
9661
|
const $for_content7__t_newest__closures = /* @__PURE__ */ new Set();
|
|
9662
|
-
_html(`<li${_attr_class([toolRow, { ["
|
|
9662
|
+
_html(`<li${_attr_class([toolRow, { ["_c3"]: !t.installed }])}><span${_attr_class(["_c4", "_y"])}>${_text_resume($scope31_id, "c", t.label)}</span>`);
|
|
9663
9663
|
_if(() => {
|
|
9664
9664
|
if (active.has(t.id)) {
|
|
9665
9665
|
const $scope32_id = _scope_id();
|
|
9666
|
-
_html(`<span${_attr_class("
|
|
9666
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope32_id, "c", active.get(t.id) || "Starting…")}</span>`);
|
|
9667
9667
|
_subscribe($active__closures, writeScope($scope32_id, { Cgx: 12 }));
|
|
9668
9668
|
return 0;
|
|
9669
9669
|
} else if (t.installed) {
|
|
@@ -9671,11 +9671,11 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9671
9671
|
_if(() => {
|
|
9672
9672
|
if (t.version) {
|
|
9673
9673
|
const $scope38_id = _scope_id();
|
|
9674
|
-
_html(`<button${_attr_class(["
|
|
9674
|
+
_html(`<button${_attr_class(["_c6", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope38_id, "b", t.version, 2)}`);
|
|
9675
9675
|
_if(() => {
|
|
9676
9676
|
if (aliasPin(t)) {
|
|
9677
9677
|
const $scope114_id = _scope_id();
|
|
9678
|
-
_html(`<span${_attr_class("
|
|
9678
|
+
_html(`<span${_attr_class("_c5")}>${_text_resume($scope114_id, "b", t.pin)}</span>`);
|
|
9679
9679
|
_subscribe($for_content7__t_pin__closures, writeScope($scope114_id, { Ca0: 1 }));
|
|
9680
9680
|
return 0;
|
|
9681
9681
|
}
|
|
@@ -9694,7 +9694,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9694
9694
|
_if(() => {
|
|
9695
9695
|
if (outdated(t)) {
|
|
9696
9696
|
const $scope55_id = _scope_id();
|
|
9697
|
-
_html(`<button${_attr_class([btnSm, "
|
|
9697
|
+
_html(`<button${_attr_class([btnSm, "_c7"])}${_attr("title", `Update to v${t.latest}`)}>`);
|
|
9698
9698
|
icon_arrow_up_default({ size: 12 });
|
|
9699
9699
|
_html(` ${_text_resume($scope55_id, "c", t.latest, 2)}</button>${_el_resume($scope55_id, "a")}`);
|
|
9700
9700
|
_script($scope55_id, "A79");
|
|
@@ -9702,7 +9702,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9702
9702
|
return 0;
|
|
9703
9703
|
} else if (t.newest) {
|
|
9704
9704
|
const $scope56_id = _scope_id();
|
|
9705
|
-
_html(`<button${_attr_class(["
|
|
9705
|
+
_html(`<button${_attr_class(["_c6", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope56_id, "b", t.newest)} available</button>${_el_resume($scope56_id, "a")}`);
|
|
9706
9706
|
_script($scope56_id, "A80");
|
|
9707
9707
|
_subscribe($for_content7__t_newest__closures, _subscribe($for_content7__t_pin__closures, _subscribe($for_content7__t_version__closures, _subscribe($for_content7__t_label__closures, writeScope($scope56_id, { Cy: 1 })))));
|
|
9708
9708
|
return 1;
|
|
@@ -9815,14 +9815,14 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9815
9815
|
label: "Dark"
|
|
9816
9816
|
}
|
|
9817
9817
|
];
|
|
9818
|
-
_html(`</div></div></section><section${_attr_class("
|
|
9818
|
+
_html(`</div></div></section><section${_attr_class("_bX")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bY")}><h2${_attr("id", appearanceId)}${_attr_class("_ca")}>Appearance</h2></div><div${_attr_class(["_b2", "_dk"])}><div${_attr_class("_dw")}><img${_attr_class("_dx")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "av", $sg__input_instance_accent)}<span${_attr_class("_dy")}><span${_attr_class("_dz")}>${_text_resume($scope0_id, "ay", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dA")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dl")}><span${_attr_class("_dm")}>Name</span><input${_attr_input_value($scope0_id, "b2", input.instance.name, _resume(function(v) {
|
|
9819
9819
|
setInstance({ name: v });
|
|
9820
|
-
}, "A1", $scope0_id))}${_attr_class(["_Y", "
|
|
9820
|
+
}, "A1", $scope0_id))}${_attr_class(["_Y", "_dn"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b2")}</label><div${_attr_class("_dl")}><span${_attr_class("_dm")}>Theme</span><span${_attr_class("_dp")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
|
|
9821
9821
|
_for_of(themeOpts, (opt) => {
|
|
9822
9822
|
const $scope47_id = _scope_id();
|
|
9823
9823
|
_html(`<button type=button${_attr_class([
|
|
9824
9824
|
"_bf",
|
|
9825
|
-
"
|
|
9825
|
+
"_dB",
|
|
9826
9826
|
{ ["_be"]: themeMode === opt.id }
|
|
9827
9827
|
])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>`);
|
|
9828
9828
|
if (opt.id === "system") {
|
|
@@ -9842,28 +9842,28 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9842
9842
|
_: _scope_with_id($scope0_id)
|
|
9843
9843
|
});
|
|
9844
9844
|
}, "id", $scope0_id, "b6", 1, 0, 1, 0, 1);
|
|
9845
|
-
_html(`</span><span${_attr_class(["_o", "
|
|
9845
|
+
_html(`</span><span${_attr_class(["_o", "_dq"])}>`);
|
|
9846
9846
|
_attr_select_value($scope0_id, "b8", themeMode, _resume(function(v) {
|
|
9847
9847
|
setThemeMode(v);
|
|
9848
9848
|
}, "A2", $scope0_id), () => {
|
|
9849
|
-
_html(`<select${_attr_class(["_p", "
|
|
9849
|
+
_html(`<select${_attr_class(["_p", "_dr"])} aria-label="Color theme">`);
|
|
9850
9850
|
forOf(themeOpts, (opt) => {
|
|
9851
9851
|
_scope_id();
|
|
9852
9852
|
_html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
|
|
9853
9853
|
});
|
|
9854
9854
|
_html("</select>");
|
|
9855
9855
|
});
|
|
9856
|
-
_html(`${_el_resume($scope0_id, "b8")}</span></span></div><div${_attr_class("
|
|
9857
|
-
"
|
|
9858
|
-
"
|
|
9859
|
-
{ ["
|
|
9856
|
+
_html(`${_el_resume($scope0_id, "b8")}</span></span></div><div${_attr_class("_dl")}><span${_attr_class("_dm")}>Accent</span><span${_attr_class("_dC")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
|
|
9857
|
+
"_dD",
|
|
9858
|
+
"_dG",
|
|
9859
|
+
{ ["_dE"]: !accent }
|
|
9860
9860
|
])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
|
|
9861
9861
|
_if(() => {
|
|
9862
9862
|
if (!accent) {
|
|
9863
9863
|
const $scope124_id = _scope_id();
|
|
9864
9864
|
icon_check_default({
|
|
9865
9865
|
size: 12,
|
|
9866
|
-
class: "
|
|
9866
|
+
class: "_dF"
|
|
9867
9867
|
});
|
|
9868
9868
|
$si__input_instance_accent && writeScope($scope124_id, {});
|
|
9869
9869
|
return 0;
|
|
@@ -9871,13 +9871,13 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9871
9871
|
}, $scope0_id, "bc", $sg__input_instance_accent, 1, 1, "</button>", 1);
|
|
9872
9872
|
_for_of(ACCENT_PRESETS, (p) => {
|
|
9873
9873
|
const $scope77_id = _scope_id();
|
|
9874
|
-
_html(`<button type=button${_attr_class(["
|
|
9874
|
+
_html(`<button type=button${_attr_class(["_dD", { ["_dE"]: accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}>`);
|
|
9875
9875
|
_if(() => {
|
|
9876
9876
|
if (accent === p.value) {
|
|
9877
9877
|
const $scope125_id = _scope_id();
|
|
9878
9878
|
icon_check_default({
|
|
9879
9879
|
size: 12,
|
|
9880
|
-
class: "
|
|
9880
|
+
class: "_dF"
|
|
9881
9881
|
});
|
|
9882
9882
|
$si__input_instance_accent && writeScope($scope125_id, {});
|
|
9883
9883
|
return 0;
|
|
@@ -9891,18 +9891,18 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9891
9891
|
}, "value", $scope0_id, "bd", $sg__input_instance_accent, 0, 1, 0, 1);
|
|
9892
9892
|
const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
|
|
9893
9893
|
_html(`<label${_attr_class([
|
|
9894
|
-
"
|
|
9895
|
-
"
|
|
9896
|
-
{ ["
|
|
9894
|
+
"_dD",
|
|
9895
|
+
"_dH",
|
|
9896
|
+
{ ["_dE"]: customOn }
|
|
9897
9897
|
])}${customOn ? _attr_style(`--swatch:${accent}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom colour\""}><input${_attr_input_value($scope0_id, "bf", accent || "#3556d8", _resume(function(v) {
|
|
9898
9898
|
setInstance({ accent: v });
|
|
9899
|
-
}, "A3", $scope0_id))}${_attr_class("
|
|
9899
|
+
}, "A3", $scope0_id))}${_attr_class("_dI")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "bf")}`);
|
|
9900
9900
|
_if(() => {
|
|
9901
9901
|
if (customOn) {
|
|
9902
9902
|
const $scope126_id = _scope_id();
|
|
9903
9903
|
icon_check_default({
|
|
9904
9904
|
size: 12,
|
|
9905
|
-
class: "
|
|
9905
|
+
class: "_dF"
|
|
9906
9906
|
});
|
|
9907
9907
|
$si__input_instance_accent && writeScope($scope126_id, {});
|
|
9908
9908
|
return 0;
|
|
@@ -9913,16 +9913,16 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9913
9913
|
return 1;
|
|
9914
9914
|
}
|
|
9915
9915
|
}, $scope0_id, "bg", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
|
|
9916
|
-
_html(`</label>${_el_resume($scope0_id, "be", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("
|
|
9916
|
+
_html(`</label>${_el_resume($scope0_id, "be", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bX")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bY")}><h2${_attr("id", backupId)}${_attr_class("_ca")}>Backup</h2></div><div${_attr_class(["_b2", "_cD"])}><div${_attr_class("_cE")}><div${_attr_class("_dJ")}><div${_attr_class("_b3")}>`);
|
|
9917
9917
|
_if(() => {
|
|
9918
9918
|
if (backupBusy === "preflight") {
|
|
9919
9919
|
const $scope64_id = _scope_id();
|
|
9920
|
-
_html(`<span${_attr_class("
|
|
9920
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope64_id, "c", backupLine || "Checking workspaces…")}</span>`);
|
|
9921
9921
|
writeScope($scope64_id, {});
|
|
9922
9922
|
return 0;
|
|
9923
9923
|
} else {
|
|
9924
9924
|
const $scope128_id = _scope_id();
|
|
9925
|
-
_html(`<span${_attr_class("
|
|
9925
|
+
_html(`<span${_attr_class("_b6")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
|
|
9926
9926
|
writeScope($scope128_id, {});
|
|
9927
9927
|
return 1;
|
|
9928
9928
|
}
|
|
@@ -9940,7 +9940,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9940
9940
|
_if(() => {
|
|
9941
9941
|
if (preflight && !backupBusy) {
|
|
9942
9942
|
const $scope66_id = _scope_id();
|
|
9943
|
-
_html(`<div${_attr_class("
|
|
9943
|
+
_html(`<div${_attr_class("_dL")}><p${_attr_class("_dM")}>In the file: ${_text_resume($scope66_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope66_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope66_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope66_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope66_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope66_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope66_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope66_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope66_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_dM")}>Not in the file: `);
|
|
9944
9944
|
_if(() => {
|
|
9945
9945
|
if (preflight.unpushed) {
|
|
9946
9946
|
const $scope67_id = _scope_id();
|
|
@@ -9957,15 +9957,15 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9957
9957
|
return 0;
|
|
9958
9958
|
}
|
|
9959
9959
|
}, $scope66_id, "m");
|
|
9960
|
-
_html(`${_text_resume($scope66_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("
|
|
9960
|
+
_html(`${_text_resume($scope66_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_dN")}>`);
|
|
9961
9961
|
_for_of(preflight.workspaces, (w) => {
|
|
9962
9962
|
const $scope130_id = _scope_id();
|
|
9963
9963
|
const $for_content17__w_name__closures = /* @__PURE__ */ new Set();
|
|
9964
|
-
_html(`<li${_attr_class("
|
|
9964
|
+
_html(`<li${_attr_class("_dO")}><span${_attr_class("_b4")}>${_text_resume($scope130_id, "c", w.name)}</span><ul${_attr_class("_dN")}>`);
|
|
9965
9965
|
_for_of(w.repos, (r) => {
|
|
9966
9966
|
const $scope131_id = _scope_id();
|
|
9967
9967
|
const $for_content18__r_more__closures = /* @__PURE__ */ new Set();
|
|
9968
|
-
_html(`<li${_attr_class("
|
|
9968
|
+
_html(`<li${_attr_class("_dP")}><span${_attr_class("_dQ")}><span${_attr_class("_y")}>${_text_resume($scope131_id, "d", r.worktree)}/</span>`);
|
|
9969
9969
|
_for_of(r.unpushed, (b) => {
|
|
9970
9970
|
const $scope132_id = _scope_id();
|
|
9971
9971
|
_html(`<span${_attr_class(["_N", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope132_id, "b", b.count)} unpushed `);
|
|
@@ -9984,10 +9984,10 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9984
9984
|
_if(() => {
|
|
9985
9985
|
if (r.modified.length || r.untracked.length || r.ignored.length) {
|
|
9986
9986
|
const $scope133_id = _scope_id();
|
|
9987
|
-
_html(`<ul${_attr_class("
|
|
9987
|
+
_html(`<ul${_attr_class("_dR")}>`);
|
|
9988
9988
|
_for_of(r.modified, (f) => {
|
|
9989
9989
|
const $scope136_id = _scope_id();
|
|
9990
|
-
_html(`<li${_attr_class("
|
|
9990
|
+
_html(`<li${_attr_class("_dS")}><span${_attr_class([
|
|
9991
9991
|
"_N",
|
|
9992
9992
|
"_P",
|
|
9993
9993
|
tone.warn
|
|
@@ -9996,18 +9996,18 @@ var settings_page_default = _template("A", (input) => {
|
|
|
9996
9996
|
}, (f) => f, $scope133_id, "b", 1, 1, 1, 0, 1);
|
|
9997
9997
|
_for_of(r.untracked, (f) => {
|
|
9998
9998
|
const $scope137_id = _scope_id();
|
|
9999
|
-
_html(`<li${_attr_class("
|
|
9999
|
+
_html(`<li${_attr_class("_dS")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope137_id, "d", f)}</span></li>`);
|
|
10000
10000
|
writeScope($scope137_id, {});
|
|
10001
10001
|
}, (f) => f, $scope133_id, "c", 1, 1, 1, 0, 1);
|
|
10002
10002
|
_for_of(r.ignored, (f) => {
|
|
10003
10003
|
const $scope138_id = _scope_id();
|
|
10004
|
-
_html(`<li${_attr_class("
|
|
10004
|
+
_html(`<li${_attr_class("_dS")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope138_id, "d", f)}</span></li>`);
|
|
10005
10005
|
writeScope($scope138_id, {});
|
|
10006
10006
|
}, (f) => f, $scope133_id, "d", 1, 1, 1, 0, 1);
|
|
10007
10007
|
_if(() => {
|
|
10008
10008
|
if (r.more) {
|
|
10009
10009
|
const $scope134_id = _scope_id();
|
|
10010
|
-
_html(`<li${_attr_class(["
|
|
10010
|
+
_html(`<li${_attr_class(["_dS", "_x"])}>+${_text_resume($scope134_id, "b", r.more, 2)} more</li>`);
|
|
10011
10011
|
_subscribe($for_content18__r_more__closures, writeScope($scope134_id, {}));
|
|
10012
10012
|
return 0;
|
|
10013
10013
|
}
|
|
@@ -10032,27 +10032,27 @@ var settings_page_default = _template("A", (input) => {
|
|
|
10032
10032
|
i: $for_content17__w_name__closures
|
|
10033
10033
|
});
|
|
10034
10034
|
}, "id", $scope66_id, "o", 1, 1, 1, "</ul>", 1);
|
|
10035
|
-
_html(`<div${_attr_class("
|
|
10035
|
+
_html(`<div${_attr_class("_dT")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope66_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope66_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope66_id, "s")}</div></div>`);
|
|
10036
10036
|
_script($scope66_id, "A86");
|
|
10037
10037
|
writeScope($scope66_id, {});
|
|
10038
10038
|
return 0;
|
|
10039
10039
|
}
|
|
10040
10040
|
}, $scope0_id, "bp", 1, 1, 1, 0, 1);
|
|
10041
|
-
_html(`</div><div${_attr_class("_cE")}><div${_attr_class("
|
|
10041
|
+
_html(`</div><div${_attr_class("_cE")}><div${_attr_class("_dJ")}><div${_attr_class("_b3")}>`);
|
|
10042
10042
|
_if(() => {
|
|
10043
10043
|
if (backupBusy === "restore") {
|
|
10044
10044
|
const $scope65_id = _scope_id();
|
|
10045
|
-
_html(`<span${_attr_class("
|
|
10045
|
+
_html(`<span${_attr_class("_cS")}><span${_attr_class("_G")}></span>${_text_resume($scope65_id, "c", backupLine || "Restoring…")}</span>`);
|
|
10046
10046
|
writeScope($scope65_id, {});
|
|
10047
10047
|
return 0;
|
|
10048
10048
|
} else if (restoreDone) {
|
|
10049
10049
|
const $scope73_id = _scope_id();
|
|
10050
|
-
_html(`<span${_attr_class("
|
|
10050
|
+
_html(`<span${_attr_class("_b6")}>${_text_resume($scope73_id, "b", restoreDone)}</span>`);
|
|
10051
10051
|
writeScope($scope73_id, {});
|
|
10052
10052
|
return 1;
|
|
10053
10053
|
} else {
|
|
10054
10054
|
const $scope139_id = _scope_id();
|
|
10055
|
-
_html(`<span${_attr_class("
|
|
10055
|
+
_html(`<span${_attr_class("_b6")}>Load a backup file. Repos clone in the background.</span>`);
|
|
10056
10056
|
writeScope($scope139_id, {});
|
|
10057
10057
|
return 2;
|
|
10058
10058
|
}
|
|
@@ -10060,7 +10060,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
10060
10060
|
_if(() => {
|
|
10061
10061
|
if (!restorePreview && backupBusy !== "restore") {
|
|
10062
10062
|
const $scope75_id = _scope_id();
|
|
10063
|
-
_html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("
|
|
10063
|
+
_html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dK")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope75_id, "b")}</label>`);
|
|
10064
10064
|
_script($scope75_id, "A87");
|
|
10065
10065
|
writeScope($scope75_id, {});
|
|
10066
10066
|
return 0;
|
|
@@ -10071,14 +10071,14 @@ var settings_page_default = _template("A", (input) => {
|
|
|
10071
10071
|
if (restorePreview && backupBusy !== "restore") {
|
|
10072
10072
|
const $scope68_id = _scope_id();
|
|
10073
10073
|
const { preview } = restorePreview;
|
|
10074
|
-
_html(`<div${_attr_class("
|
|
10074
|
+
_html(`<div${_attr_class("_dL")}><p${_attr_class("_dM")}>From ${_text_resume($scope68_id, "c", preview.from.host, 2)} on ${_text_resume($scope68_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope68_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
|
|
10075
10075
|
_if(() => {
|
|
10076
10076
|
if (preview.workspaces.length) {
|
|
10077
10077
|
const $scope69_id = _scope_id();
|
|
10078
10078
|
_html(`<ul${_attr_class(checkList)}>`);
|
|
10079
10079
|
_for_of(preview.workspaces, (w) => {
|
|
10080
10080
|
const $scope70_id = _scope_id();
|
|
10081
|
-
_html(`<li><label${_attr_class(["
|
|
10081
|
+
_html(`<li><label${_attr_class(["_dV", { ["_dX"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope70_id, "b", restoreWs.has(w.id))}${_attr_class("_dW")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope70_id, "b")}<span${_attr_class("_b3")}><span${_attr_class("_b5")}><span${_attr_class("_b4")}>${_text_resume($scope70_id, "f", w.name)}</span>`);
|
|
10082
10082
|
_if(() => {
|
|
10083
10083
|
if (w.status === "archived") {
|
|
10084
10084
|
const $scope143_id = _scope_id();
|
|
@@ -10100,7 +10100,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
10100
10100
|
return 1;
|
|
10101
10101
|
}
|
|
10102
10102
|
}, $scope70_id, "h", 1, 1, 1, 0, 1);
|
|
10103
|
-
_html(`</span><span${_attr_class("
|
|
10103
|
+
_html(`</span><span${_attr_class("_b6")}>${_text_resume($scope70_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope70_id, "a")}</li>`);
|
|
10104
10104
|
_script($scope70_id, "A88");
|
|
10105
10105
|
_subscribe($restoreWs__closures, writeScope($scope70_id, {
|
|
10106
10106
|
n: w?.unknownHost,
|
|
@@ -10111,7 +10111,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
10111
10111
|
return 0;
|
|
10112
10112
|
} else {
|
|
10113
10113
|
const $scope141_id = _scope_id();
|
|
10114
|
-
_html(`<p${_attr_class("
|
|
10114
|
+
_html(`<p${_attr_class("_b8")}>No workspaces in this file.</p>`);
|
|
10115
10115
|
writeScope($scope141_id, {});
|
|
10116
10116
|
return 1;
|
|
10117
10117
|
}
|
|
@@ -10151,7 +10151,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
10151
10151
|
_if(() => {
|
|
10152
10152
|
if (p.total) {
|
|
10153
10153
|
const $scope72_id = _scope_id();
|
|
10154
|
-
_html(`<li><label${_attr_class(["
|
|
10154
|
+
_html(`<li><label${_attr_class(["_dV", { ["_dX"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope72_id, "b", restoreParts[p.key])}${_attr_class("_dW")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope72_id, "b")}<span${_attr_class("_b3")}><span${_attr_class("_b4")}>${_text_resume($scope72_id, "e", p.label)}</span><span${_attr_class("_b6")}>`);
|
|
10155
10155
|
_if(() => {
|
|
10156
10156
|
if (p.key === "settings") {
|
|
10157
10157
|
const $scope140_id = _scope_id();
|
|
@@ -10198,7 +10198,7 @@ var settings_page_default = _template("A", (input) => {
|
|
|
10198
10198
|
i: $for_content10__p_total__closures
|
|
10199
10199
|
});
|
|
10200
10200
|
}, "key", $scope68_id, "h");
|
|
10201
|
-
_html(`</ul><div${_attr_class("
|
|
10201
|
+
_html(`</ul><div${_attr_class("_dT")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope68_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope68_id, "k")}</div></div>`);
|
|
10202
10202
|
_script($scope68_id, "A90");
|
|
10203
10203
|
writeScope($scope68_id, {});
|
|
10204
10204
|
return 0;
|
|
@@ -10428,13 +10428,13 @@ function vapidKey(base64) {
|
|
|
10428
10428
|
const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
|
|
10429
10429
|
return Uint8Array.from(raw, (c) => c.charCodeAt(0));
|
|
10430
10430
|
}
|
|
10431
|
-
var iconBtn = "
|
|
10432
|
-
var settingsDot = "
|
|
10433
|
-
var navToggle = "
|
|
10431
|
+
var iconBtn = "_bx _l";
|
|
10432
|
+
var settingsDot = "_by _bb";
|
|
10433
|
+
var navToggle = "_bC _l";
|
|
10434
10434
|
//#endregion
|
|
10435
10435
|
//#region src/styles/session-pop.css.ts
|
|
10436
|
-
var sessionPop = "
|
|
10437
|
-
var sessionPopBtn = "
|
|
10436
|
+
var sessionPop = "_bO _9";
|
|
10437
|
+
var sessionPopBtn = "_bP _I";
|
|
10438
10438
|
_template("W", (input) => {
|
|
10439
10439
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
10440
10440
|
const $scope0_id = _scope_id();
|
|
@@ -10488,14 +10488,14 @@ function activeAgent(session) {
|
|
|
10488
10488
|
const command = session.state?.command?.trim();
|
|
10489
10489
|
return command && agentFromCommand(command) || session.agent;
|
|
10490
10490
|
}
|
|
10491
|
-
var heroTag = "
|
|
10492
|
-
var rowState = "
|
|
10493
|
-
var prChip = "
|
|
10494
|
-
var portChip = "
|
|
10491
|
+
var heroTag = "_eG _N _Q";
|
|
10492
|
+
var rowState = "_eS _N";
|
|
10493
|
+
var prChip = "_hM _u _hL";
|
|
10494
|
+
var portChip = "_hN _u _hL";
|
|
10495
10495
|
var prState = {
|
|
10496
|
-
open: "
|
|
10497
|
-
merged: "
|
|
10498
|
-
closed: "
|
|
10496
|
+
open: "_hR",
|
|
10497
|
+
merged: "_hS",
|
|
10498
|
+
closed: "_hT"
|
|
10499
10499
|
};
|
|
10500
10500
|
//#endregion
|
|
10501
10501
|
//#region src/tags/icons/icon-diff.marko
|
|
@@ -10576,7 +10576,7 @@ var side_nav_chips_default = _template("B", (input) => {
|
|
|
10576
10576
|
const name = repo.full_name.split("/").at(-1);
|
|
10577
10577
|
return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel$1(repo.full_name) : name;
|
|
10578
10578
|
}, "B3", $scope1_id);
|
|
10579
|
-
_html(`<div${_attr_class("
|
|
10579
|
+
_html(`<div${_attr_class("_hK")}>`);
|
|
10580
10580
|
_for_of(repos, (repo) => {
|
|
10581
10581
|
const $scope2_id = _scope_id();
|
|
10582
10582
|
const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
|
|
@@ -10592,11 +10592,11 @@ var side_nav_chips_default = _template("B", (input) => {
|
|
|
10592
10592
|
[prState.merged]: pr$1.state === "MERGED",
|
|
10593
10593
|
[prState.closed]: pr$1.state === "CLOSED"
|
|
10594
10594
|
}
|
|
10595
|
-
])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["
|
|
10595
|
+
])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_hO", { ["_hW"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
|
|
10596
10596
|
_if(() => {
|
|
10597
10597
|
if (open) {
|
|
10598
10598
|
const $scope4_id = _scope_id();
|
|
10599
|
-
_html(`<a${_attr_class(["
|
|
10599
|
+
_html(`<a${_attr_class(["_hO", "_hP"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
|
|
10600
10600
|
icon_diff_default({ size: 12 });
|
|
10601
10601
|
_html(`</a>${_el_resume($scope4_id, "a")}`);
|
|
10602
10602
|
_subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
|
|
@@ -10604,9 +10604,9 @@ var side_nav_chips_default = _template("B", (input) => {
|
|
|
10604
10604
|
} else {
|
|
10605
10605
|
const $scope5_id = _scope_id();
|
|
10606
10606
|
_html(`<button type=button${_attr_class([
|
|
10607
|
-
"
|
|
10608
|
-
"
|
|
10609
|
-
"
|
|
10607
|
+
"_hO",
|
|
10608
|
+
"_hP",
|
|
10609
|
+
"_hQ"
|
|
10610
10610
|
])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
|
|
10611
10611
|
icon_xmark_default({ size: 12 });
|
|
10612
10612
|
_html(`</button>${_el_resume($scope5_id, "a")}`);
|
|
@@ -10634,12 +10634,12 @@ var side_nav_chips_default = _template("B", (input) => {
|
|
|
10634
10634
|
_if(() => {
|
|
10635
10635
|
if (dead.has(p.port)) {
|
|
10636
10636
|
const $scope7_id = _scope_id();
|
|
10637
|
-
_html(`<span${_attr_class(["
|
|
10637
|
+
_html(`<span${_attr_class(["_hO", "_hU"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
|
|
10638
10638
|
_subscribe($dead__closures, writeScope($scope7_id, { Cy: 1 }));
|
|
10639
10639
|
return 0;
|
|
10640
10640
|
} else {
|
|
10641
10641
|
const $scope8_id = _scope_id();
|
|
10642
|
-
_html(`<button type=button${_attr_class(["
|
|
10642
|
+
_html(`<button type=button${_attr_class(["_hO", "_hV"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
|
|
10643
10643
|
_script($scope8_id, "B6");
|
|
10644
10644
|
writeScope($scope8_id, {});
|
|
10645
10645
|
return 1;
|
|
@@ -10648,9 +10648,9 @@ var side_nav_chips_default = _template("B", (input) => {
|
|
|
10648
10648
|
const $childScope = _peek_scope_id();
|
|
10649
10649
|
arm_button_default({
|
|
10650
10650
|
class: [
|
|
10651
|
-
"
|
|
10652
|
-
"
|
|
10653
|
-
"
|
|
10651
|
+
"_hO",
|
|
10652
|
+
"_hP",
|
|
10653
|
+
"_hQ"
|
|
10654
10654
|
],
|
|
10655
10655
|
title: `Kill ${p.cmd} (pid ${p.pid})`,
|
|
10656
10656
|
armedTitle: "Kill?",
|
|
@@ -10697,12 +10697,12 @@ var side_nav_chips_default = _template("B", (input) => {
|
|
|
10697
10697
|
});
|
|
10698
10698
|
_resume_branch($scope0_id);
|
|
10699
10699
|
});
|
|
10700
|
-
var railBtn = "
|
|
10701
|
-
var wsBtn = "
|
|
10702
|
-
var rowIcon = "
|
|
10703
|
-
var close = "
|
|
10704
|
-
var sessRename$1 = "
|
|
10705
|
-
var sessBtn$1 = "
|
|
10700
|
+
var railBtn = "_e8 _l";
|
|
10701
|
+
var wsBtn = "_fb _I";
|
|
10702
|
+
var rowIcon = "_fe _3 _l";
|
|
10703
|
+
var close = "_ff _6 _l _7";
|
|
10704
|
+
var sessRename$1 = "_fl _J";
|
|
10705
|
+
var sessBtn$1 = "_fn _I";
|
|
10706
10706
|
//#endregion
|
|
10707
10707
|
//#region src/tags/icons/icon-manage.marko
|
|
10708
10708
|
var icon_manage_default = _template("jb", (input) => {
|
|
@@ -10817,7 +10817,7 @@ var side_nav_item_default = _template("C", (input) => {
|
|
|
10817
10817
|
_if(() => {
|
|
10818
10818
|
if (input.rail) {
|
|
10819
10819
|
const $scope2_id = _scope_id();
|
|
10820
|
-
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["
|
|
10820
|
+
_html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_e5"]: 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, 18))}<span${_attr_class([
|
|
10821
10821
|
"_A",
|
|
10822
10822
|
phase[dot$1],
|
|
10823
10823
|
"_bb"
|
|
@@ -10827,31 +10827,31 @@ var side_nav_item_default = _template("C", (input) => {
|
|
|
10827
10827
|
} else if (ws$1.pending) {
|
|
10828
10828
|
const $scope3_id = _scope_id();
|
|
10829
10829
|
_html(`<section${_attr_class([
|
|
10830
|
-
"
|
|
10831
|
-
"
|
|
10832
|
-
{ ["
|
|
10833
|
-
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("
|
|
10830
|
+
"_e_",
|
|
10831
|
+
"_fp",
|
|
10832
|
+
{ ["_e9"]: input.page }
|
|
10833
|
+
])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fa")}><div${_attr_class(wsBtn)}>`);
|
|
10834
10834
|
_if(() => {
|
|
10835
10835
|
if (ws$1.pending_error) {
|
|
10836
10836
|
const $scope11_id = _scope_id();
|
|
10837
10837
|
icon_warning_default({
|
|
10838
10838
|
size: 12,
|
|
10839
|
-
class: "
|
|
10839
|
+
class: "_fr"
|
|
10840
10840
|
});
|
|
10841
10841
|
$si__input_workspace && writeScope($scope11_id, {});
|
|
10842
10842
|
return 0;
|
|
10843
10843
|
} else {
|
|
10844
10844
|
const $scope12_id = _scope_id();
|
|
10845
|
-
_html(`<span${_attr_class(["_G", "
|
|
10845
|
+
_html(`<span${_attr_class(["_G", "_fq"])}></span>`);
|
|
10846
10846
|
$si__input_workspace && writeScope($scope12_id, {});
|
|
10847
10847
|
return 1;
|
|
10848
10848
|
}
|
|
10849
10849
|
}, $scope3_id, "d", $sg__input_workspace, $sg__input_workspace, 1, 0, 1);
|
|
10850
|
-
_html(`<span${_attr_class("
|
|
10850
|
+
_html(`<span${_attr_class("_fh")}><span${_attr_class("_fi")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_ft")}${_attr("title", ws$1.pending_error || restoreLine)}>${_text_resume($scope3_id, "i", ws$1.pending_error ? `Restore failed: ${ws$1.pending_error}` : restoreLine || "Restoring…")}</span>${_el_resume($scope3_id, "h")}</span></div></div>`);
|
|
10851
10851
|
_if(() => {
|
|
10852
10852
|
if (ws$1.pending_error && !retrying) {
|
|
10853
10853
|
const $scope10_id = _scope_id();
|
|
10854
|
-
_html(`<div${_attr_class("
|
|
10854
|
+
_html(`<div${_attr_class("_fs")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope10_id, "b")}`);
|
|
10855
10855
|
arm_button_default({
|
|
10856
10856
|
class: ["_q", btnSm],
|
|
10857
10857
|
title: "Delete workspace",
|
|
@@ -10882,11 +10882,11 @@ var side_nav_item_default = _template("C", (input) => {
|
|
|
10882
10882
|
const $scope4_id = _scope_id();
|
|
10883
10883
|
const sessions$1 = input.sessions || [];
|
|
10884
10884
|
const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs input" : dot$1 === "idle" ? "Idle" : "Not running";
|
|
10885
|
-
_html(`<section${_attr_class(["
|
|
10886
|
-
["
|
|
10885
|
+
_html(`<section${_attr_class(["_e_", {
|
|
10886
|
+
["_e5"]: input.current,
|
|
10887
10887
|
["_bc"]: input.current,
|
|
10888
|
-
["
|
|
10889
|
-
}])}><div${_attr_class("
|
|
10888
|
+
["_e7"]: input.menuOpen
|
|
10889
|
+
}])}><div${_attr_class("_fa")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class(["_A", phase[dot$1]])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_status)}`);
|
|
10890
10890
|
_if(() => {
|
|
10891
10891
|
if (sessions$1.length === 1) {
|
|
10892
10892
|
const $scope14_id = _scope_id();
|
|
@@ -10898,7 +10898,7 @@ var side_nav_item_default = _template("C", (input) => {
|
|
|
10898
10898
|
icon_agent_default({
|
|
10899
10899
|
agent: activeAgent(sessions$1[0]),
|
|
10900
10900
|
size: 12,
|
|
10901
|
-
class: "
|
|
10901
|
+
class: "_fg"
|
|
10902
10902
|
});
|
|
10903
10903
|
$si__input_sessions && writeScope($scope14_id, {
|
|
10904
10904
|
_: _scope_with_id($scope4_id),
|
|
@@ -10907,7 +10907,7 @@ var side_nav_item_default = _template("C", (input) => {
|
|
|
10907
10907
|
return 0;
|
|
10908
10908
|
}
|
|
10909
10909
|
}, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview);
|
|
10910
|
-
_html(`<span${_attr_class("
|
|
10910
|
+
_html(`<span${_attr_class("_fh")}><span${_attr_class("_fi")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span></span> </a>${_el_resume($scope4_id, "c", $sg__input_workspace)}<div${_attr_class("_fc")}>`);
|
|
10911
10911
|
_if(() => {
|
|
10912
10912
|
if (input.onNewSession) {
|
|
10913
10913
|
const $scope5_id = _scope_id();
|
|
@@ -10935,19 +10935,19 @@ var side_nav_item_default = _template("C", (input) => {
|
|
|
10935
10935
|
return 0;
|
|
10936
10936
|
}
|
|
10937
10937
|
}, $scope4_id, "k", $sg__input_onReview, $sg__input_onReview, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview, 0, 1);
|
|
10938
|
-
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["
|
|
10938
|
+
_html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_e6"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
|
|
10939
10939
|
icon_manage_default({ size: 12 });
|
|
10940
|
-
_html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("
|
|
10940
|
+
_html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("_fm")}>`);
|
|
10941
10941
|
_for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
|
|
10942
10942
|
const $scope6_id = _scope_id();
|
|
10943
|
-
_html(`<div${_attr_class(["
|
|
10943
|
+
_html(`<div${_attr_class(["_fd", { ["_e5"]: s.id === input.currentTab }])}>`);
|
|
10944
10944
|
_if(() => {
|
|
10945
10945
|
if (renamingId === s.id) {
|
|
10946
10946
|
const $scope7_id = _scope_id();
|
|
10947
10947
|
_html(`<span${_attr_class([
|
|
10948
10948
|
"_A",
|
|
10949
10949
|
phase[sessionPhase(s.state)],
|
|
10950
|
-
"
|
|
10950
|
+
"_fk"
|
|
10951
10951
|
])}></span>${_el_resume($scope7_id, "a", $sg__input_sessions)}`);
|
|
10952
10952
|
_set_serialize_reason({
|
|
10953
10953
|
1: $sg__input_sessions,
|
|
@@ -10957,7 +10957,7 @@ var side_nav_item_default = _template("C", (input) => {
|
|
|
10957
10957
|
icon_agent_default({
|
|
10958
10958
|
agent: activeAgent(s),
|
|
10959
10959
|
size: 12,
|
|
10960
|
-
class: "
|
|
10960
|
+
class: "_fo"
|
|
10961
10961
|
});
|
|
10962
10962
|
const $childScope3 = _peek_scope_id();
|
|
10963
10963
|
rename_input_default({
|
|
@@ -10988,9 +10988,9 @@ var side_nav_item_default = _template("C", (input) => {
|
|
|
10988
10988
|
icon_agent_default({
|
|
10989
10989
|
agent: activeAgent(s),
|
|
10990
10990
|
size: 12,
|
|
10991
|
-
class: "
|
|
10991
|
+
class: "_fo"
|
|
10992
10992
|
});
|
|
10993
|
-
_html(`<span${_attr_class("
|
|
10993
|
+
_html(`<span${_attr_class("_fj")}>${_text_resume($scope8_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope8_id, "a", _serialize_guard($scope0_reason, 3))}<button${_attr_class(rowIcon)} title="Rename session">`);
|
|
10994
10994
|
icon_edit_default({ size: 12 });
|
|
10995
10995
|
_html(`</button>${_el_resume($scope8_id, "f")}`);
|
|
10996
10996
|
arm_button_default({
|
|
@@ -11113,11 +11113,11 @@ var workspace_switcher_default = _template("N", (input) => {
|
|
|
11113
11113
|
const sessions = input.sessions || st?.sessions || [];
|
|
11114
11114
|
const manySessions = sessions.length > 1;
|
|
11115
11115
|
const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
|
|
11116
|
-
_html(`<div${_attr_class("
|
|
11116
|
+
_html(`<div${_attr_class("_eC")}>`);
|
|
11117
11117
|
_if(() => {
|
|
11118
11118
|
if (ws) {
|
|
11119
11119
|
const $scope1_id = _scope_id();
|
|
11120
|
-
_html(`<section${_attr_class("
|
|
11120
|
+
_html(`<section${_attr_class("_eD")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_eE")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
|
|
11121
11121
|
_if(() => {
|
|
11122
11122
|
if (sessions.length === 1) {
|
|
11123
11123
|
const $scope8_id = _scope_id();
|
|
@@ -11129,7 +11129,7 @@ var workspace_switcher_default = _template("N", (input) => {
|
|
|
11129
11129
|
icon_agent_default({
|
|
11130
11130
|
agent: activeAgent(sessions[0]),
|
|
11131
11131
|
size: 16,
|
|
11132
|
-
class: "
|
|
11132
|
+
class: "_eI"
|
|
11133
11133
|
});
|
|
11134
11134
|
$si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope8_id, {
|
|
11135
11135
|
_: _scope_with_id($scope1_id),
|
|
@@ -11138,14 +11138,14 @@ var workspace_switcher_default = _template("N", (input) => {
|
|
|
11138
11138
|
return 0;
|
|
11139
11139
|
}
|
|
11140
11140
|
}, $scope1_id, "d", $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_allStatus__OR__input_sessions, $sg__input_workspace__OR__input_allStatus__OR__input_sessions);
|
|
11141
|
-
_html(`<span${_attr_class("
|
|
11141
|
+
_html(`<span${_attr_class("_eF")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>current</span><span${_attr_class("_eH")}>${_text_resume($scope1_id, "i", heroMeta$1, $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope1_id, "b", $sg__input_workspace)}`);
|
|
11142
11142
|
_if(() => {
|
|
11143
11143
|
if (manySessions) {
|
|
11144
11144
|
const $scope2_id = _scope_id();
|
|
11145
|
-
_html(`<div${_attr_class("
|
|
11145
|
+
_html(`<div${_attr_class("_eJ")}>`);
|
|
11146
11146
|
_for_of(sessions, (s) => {
|
|
11147
11147
|
const $scope3_id = _scope_id();
|
|
11148
|
-
_html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["
|
|
11148
|
+
_html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_eL", { ["_eK"]: s.id === input.tab }])}><span${_attr_class(["_A", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope3_id, "b", $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}`);
|
|
11149
11149
|
_set_serialize_reason({
|
|
11150
11150
|
1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
|
|
11151
11151
|
2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
|
|
@@ -11155,7 +11155,7 @@ var workspace_switcher_default = _template("N", (input) => {
|
|
|
11155
11155
|
agent: activeAgent(s),
|
|
11156
11156
|
size: 14
|
|
11157
11157
|
});
|
|
11158
|
-
_html(`<span${_attr_class("
|
|
11158
|
+
_html(`<span${_attr_class("_eM")}>${_text_resume($scope3_id, "e", s.title || activeAgent(s), $sg__input_workspace__OR__input_allStatus__OR__input_sessions)}</span></a>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 7))}`);
|
|
11159
11159
|
$si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab && _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_tab && $input_tab__closures, writeScope($scope3_id, {
|
|
11160
11160
|
h: $si__input_tab && s?.id,
|
|
11161
11161
|
_: _scope_with_id($scope2_id),
|
|
@@ -11184,7 +11184,7 @@ var workspace_switcher_default = _template("N", (input) => {
|
|
|
11184
11184
|
_if(() => {
|
|
11185
11185
|
if (input.ids.length) {
|
|
11186
11186
|
const $scope4_id = _scope_id();
|
|
11187
|
-
_html(`<div${_attr_class("
|
|
11187
|
+
_html(`<div${_attr_class("_eN")}>`);
|
|
11188
11188
|
_for_of(input.ids, (id) => {
|
|
11189
11189
|
const $scope5_id = _scope_id();
|
|
11190
11190
|
const w = input.byId.get(id);
|
|
@@ -11228,7 +11228,7 @@ var workspace_switcher_default = _template("N", (input) => {
|
|
|
11228
11228
|
const rp = phaseOf(rs);
|
|
11229
11229
|
const rowSessions = rs?.sessions || [];
|
|
11230
11230
|
const many = rowSessions.length > 1;
|
|
11231
|
-
_html(`<div${_attr_class("
|
|
11231
|
+
_html(`<div${_attr_class("_eO")}><a${_attr("href", `/w/${id}`)}${_attr_class("_eP")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
|
|
11232
11232
|
_if(() => {
|
|
11233
11233
|
if (rowSessions.length === 1) {
|
|
11234
11234
|
const $scope9_id = _scope_id();
|
|
@@ -11240,7 +11240,7 @@ var workspace_switcher_default = _template("N", (input) => {
|
|
|
11240
11240
|
icon_agent_default({
|
|
11241
11241
|
agent: activeAgent(rowSessions[0]),
|
|
11242
11242
|
size: 16,
|
|
11243
|
-
class: "
|
|
11243
|
+
class: "_eR"
|
|
11244
11244
|
});
|
|
11245
11245
|
$si__input_allStatus__OR__input_ids && writeScope($scope9_id, {
|
|
11246
11246
|
_: _scope_with_id($scope7_id),
|
|
@@ -11249,7 +11249,7 @@ var workspace_switcher_default = _template("N", (input) => {
|
|
|
11249
11249
|
return 0;
|
|
11250
11250
|
}
|
|
11251
11251
|
}, $scope7_id, "d", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids);
|
|
11252
|
-
_html(`<span${_attr_class("
|
|
11252
|
+
_html(`<span${_attr_class("_eQ")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
|
|
11253
11253
|
_if(() => {
|
|
11254
11254
|
if (many) {
|
|
11255
11255
|
const $scope10_id = _scope_id();
|
|
@@ -11260,7 +11260,7 @@ var workspace_switcher_default = _template("N", (input) => {
|
|
|
11260
11260
|
}, $scope7_id, "g", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, 0, 1);
|
|
11261
11261
|
icon_chevron_right_default({
|
|
11262
11262
|
size: 14,
|
|
11263
|
-
class: "
|
|
11263
|
+
class: "_eT"
|
|
11264
11264
|
});
|
|
11265
11265
|
_html(`</a>${_el_resume($scope7_id, "b", $sg__input_ids)}`);
|
|
11266
11266
|
_set_serialize_reason($sg__input_ids);
|
|
@@ -11380,13 +11380,13 @@ var usage_bars_default = _template("J", (input) => {
|
|
|
11380
11380
|
if (windows.length) {
|
|
11381
11381
|
const $scope1_id = _scope_id();
|
|
11382
11382
|
_html(`<span${_attr_class([
|
|
11383
|
-
"
|
|
11383
|
+
"_hX",
|
|
11384
11384
|
input.class,
|
|
11385
|
-
{ ["
|
|
11385
|
+
{ ["_hY"]: agent.stale_seconds != null }
|
|
11386
11386
|
])} role=img${_attr("aria-label", `Plan usage: ${summary}`)}${agent.stale_seconds != null ? _attr("title", `${summary} — ${agent.note || "provider unreachable"}; last cached numbers`) : _attr("title", summary)}>`);
|
|
11387
11387
|
_for_of(windows, (win) => {
|
|
11388
11388
|
const $scope2_id = _scope_id();
|
|
11389
|
-
_html(`<span${_attr_class(["
|
|
11389
|
+
_html(`<span${_attr_class(["_hZ", win.used_percent >= 90 ? "_h3" : win.used_percent >= 70 ? "_h2" : win.used_percent >= 40 ? "_h1" : "_h0"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
|
|
11390
11390
|
$si__input_agent && writeScope($scope2_id, {});
|
|
11391
11391
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
11392
11392
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -11538,14 +11538,14 @@ var side_nav_default = _template("D", (input) => {
|
|
|
11538
11538
|
const backHref = ws ? `/w/${ws.id}` : "/new";
|
|
11539
11539
|
const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
|
|
11540
11540
|
const pageIds = orderedIds.filter((id) => id !== ws?.id);
|
|
11541
|
-
_html(`<aside${_attr_class(["
|
|
11542
|
-
["
|
|
11543
|
-
["
|
|
11541
|
+
_html(`<aside${_attr_class(["_bB", {
|
|
11542
|
+
["_bz"]: !navOpen,
|
|
11543
|
+
["_bA"]: isPage
|
|
11544
11544
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
11545
11545
|
_if(() => {
|
|
11546
11546
|
if (isPage) {
|
|
11547
11547
|
const $scope1_id = _scope_id();
|
|
11548
|
-
_html(`<div${_attr_class("
|
|
11548
|
+
_html(`<div${_attr_class("_bE")}>`);
|
|
11549
11549
|
_set_serialize_reason({
|
|
11550
11550
|
3: $sg__input_instanceName,
|
|
11551
11551
|
6: $sg__input_instanceName
|
|
@@ -11554,7 +11554,7 @@ var side_nav_default = _template("D", (input) => {
|
|
|
11554
11554
|
if (input.instanceName) $meta = attrTag({ content: _content_resume("D8", () => {
|
|
11555
11555
|
_scope_reason();
|
|
11556
11556
|
const $scope2_id = _scope_id();
|
|
11557
|
-
_html(`<span${_attr_class("
|
|
11557
|
+
_html(`<span${_attr_class("_bF")} title="This work server (Settings → Appearance)"><img${_attr_class("_bI")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}${_text_resume($scope2_id, "c", input.instanceName, $sg__input_instanceName)}</span>`);
|
|
11558
11558
|
_subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
|
|
11559
11559
|
_resume_branch($scope2_id);
|
|
11560
11560
|
}, $scope1_id) });
|
|
@@ -11569,7 +11569,7 @@ var side_nav_default = _template("D", (input) => {
|
|
|
11569
11569
|
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
|
|
11570
11570
|
iconBtnRow,
|
|
11571
11571
|
iconBtn,
|
|
11572
|
-
{ ["
|
|
11572
|
+
{ ["_bw"]: view === "settings" }
|
|
11573
11573
|
])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
11574
11574
|
icon_settings_default({ size: 16 });
|
|
11575
11575
|
_if(() => {
|
|
@@ -11593,7 +11593,7 @@ var side_nav_default = _template("D", (input) => {
|
|
|
11593
11593
|
_if(() => {
|
|
11594
11594
|
if (!isPage && input.instanceName) {
|
|
11595
11595
|
const $scope4_id = _scope_id();
|
|
11596
|
-
_html(`<div${_attr_class("
|
|
11596
|
+
_html(`<div${_attr_class("_bH")} title="This work server (Settings → Appearance)"><img${_attr_class("_bI")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope4_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_bJ")}>${_text_resume($scope4_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
|
|
11597
11597
|
writeScope($scope4_id, {});
|
|
11598
11598
|
return 0;
|
|
11599
11599
|
}
|
|
@@ -11661,7 +11661,7 @@ var side_nav_default = _template("D", (input) => {
|
|
|
11661
11661
|
b: _serialize_if($scope0_reason, 21) && _existing_scope($childScope3)
|
|
11662
11662
|
});
|
|
11663
11663
|
}, (a) => a, $scope6_id, "a", $sg__input_agents, 1, $sg__input_workspace__OR__input_allWorkspaces__OR__input_agents, "</div>", 1);
|
|
11664
|
-
_html(`<div${_attr_class("
|
|
11664
|
+
_html(`<div${_attr_class("_bK")}>`);
|
|
11665
11665
|
_for_of(orderedIds, (wsId) => {
|
|
11666
11666
|
const $scope8_id = _scope_id();
|
|
11667
11667
|
_set_serialize_reason({
|
|
@@ -11738,7 +11738,7 @@ var side_nav_default = _template("D", (input) => {
|
|
|
11738
11738
|
_if(() => {
|
|
11739
11739
|
if (!navOpen) {
|
|
11740
11740
|
const $scope9_id = _scope_id();
|
|
11741
|
-
_html(`<div${_attr_class("
|
|
11741
|
+
_html(`<div${_attr_class("_bL")}>`);
|
|
11742
11742
|
_for_of(orderedIds, (wsId, i) => {
|
|
11743
11743
|
const $scope10_id = _scope_id();
|
|
11744
11744
|
_set_serialize_reason({
|
|
@@ -11786,14 +11786,14 @@ var side_nav_default = _template("D", (input) => {
|
|
|
11786
11786
|
return 0;
|
|
11787
11787
|
}
|
|
11788
11788
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
11789
|
-
_html(`<div${_attr_class("
|
|
11789
|
+
_html(`<div${_attr_class("_bM")}>`);
|
|
11790
11790
|
_if(() => {
|
|
11791
11791
|
if (isPage) {
|
|
11792
11792
|
const $scope12_id = _scope_id();
|
|
11793
11793
|
_html(`<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([
|
|
11794
11794
|
"_q",
|
|
11795
11795
|
btnLg,
|
|
11796
|
-
"
|
|
11796
|
+
"_bG"
|
|
11797
11797
|
])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
11798
11798
|
icon_folder_plus_default({ size: 16 });
|
|
11799
11799
|
_html(` New workspace</a>${_el_resume($scope12_id, "a")}`);
|
|
@@ -11825,9 +11825,9 @@ var side_nav_default = _template("D", (input) => {
|
|
|
11825
11825
|
sessions: input.sessions,
|
|
11826
11826
|
tab: view === "term" ? tab : null
|
|
11827
11827
|
});
|
|
11828
|
-
_html(`<div${_attr_class(["_z", "
|
|
11828
|
+
_html(`<div${_attr_class(["_z", "_bN"])}></div>`);
|
|
11829
11829
|
_if(() => {}, $scope11_id, "d", 1, 1, 1, 0, 1);
|
|
11830
|
-
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["
|
|
11830
|
+
_html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_bw"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
|
|
11831
11831
|
icon_settings_default({});
|
|
11832
11832
|
_if(() => {
|
|
11833
11833
|
if (input.setupReady === false) {
|
|
@@ -11837,7 +11837,7 @@ var side_nav_default = _template("D", (input) => {
|
|
|
11837
11837
|
return 0;
|
|
11838
11838
|
}
|
|
11839
11839
|
}, $scope11_id, "g", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
11840
|
-
_html(`</a>${_el_resume($scope11_id, "e")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["
|
|
11840
|
+
_html(`</a>${_el_resume($scope11_id, "e")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_bw"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
|
|
11841
11841
|
icon_folder_plus_default({ size: 16 });
|
|
11842
11842
|
_html(`</a>${_el_resume($scope11_id, "h")}`);
|
|
11843
11843
|
_script($scope11_id, "D13");
|
|
@@ -12859,7 +12859,7 @@ function indent(text) {
|
|
|
12859
12859
|
return text.split("\n").map((line) => line ? ` ${line}` : line).join("\n");
|
|
12860
12860
|
}
|
|
12861
12861
|
var treeToggle = "_gp _4 _l";
|
|
12862
|
-
var pageTitle = "_gw
|
|
12862
|
+
var pageTitle = "_gw _d_";
|
|
12863
12863
|
//#endregion
|
|
12864
12864
|
//#region src/tags/diff-send.marko
|
|
12865
12865
|
var diff_send_default = _template("k", (input) => {
|
|
@@ -12869,7 +12869,7 @@ var diff_send_default = _template("k", (input) => {
|
|
|
12869
12869
|
let sendTarget = null;
|
|
12870
12870
|
const sessions = input.sessions || [];
|
|
12871
12871
|
const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
|
|
12872
|
-
_html(`<span${_attr_class("
|
|
12872
|
+
_html(`<span${_attr_class("_h4")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
|
|
12873
12873
|
_if(() => {
|
|
12874
12874
|
if (sessions.length === 1) {
|
|
12875
12875
|
const $scope1_id = _scope_id();
|
|
@@ -12879,11 +12879,11 @@ var diff_send_default = _template("k", (input) => {
|
|
|
12879
12879
|
return 0;
|
|
12880
12880
|
} else if (sessions.length) {
|
|
12881
12881
|
const $scope2_id = _scope_id();
|
|
12882
|
-
_html(`<span${_attr_class("
|
|
12882
|
+
_html(`<span${_attr_class("_h5")}><button type=button${_attr_class(["_r", "_h6"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
|
|
12883
12883
|
_attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
|
|
12884
12884
|
sendTarget = _new_sendTarget;
|
|
12885
12885
|
}, "k0", $scope2_id), () => {
|
|
12886
|
-
_html(`<select${_attr_class("
|
|
12886
|
+
_html(`<select${_attr_class("_h7")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
|
|
12887
12887
|
_for_of(sessions, (s) => {
|
|
12888
12888
|
const $scope3_id = _scope_id();
|
|
12889
12889
|
_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)}`);
|
|
@@ -12910,8 +12910,8 @@ var diff_send_default = _template("k", (input) => {
|
|
|
12910
12910
|
});
|
|
12911
12911
|
_resume_branch($scope0_id);
|
|
12912
12912
|
});
|
|
12913
|
-
var findInput = "
|
|
12914
|
-
var findIconBtn = "
|
|
12913
|
+
var findInput = "_er _n";
|
|
12914
|
+
var findIconBtn = "_eu _l";
|
|
12915
12915
|
//#endregion
|
|
12916
12916
|
//#region src/tags/icons/icon-arrow-down.marko
|
|
12917
12917
|
var icon_arrow_down_default = _template("Q", (input) => {
|
|
@@ -13003,18 +13003,18 @@ var diff_find_default = _template("j", (input) => {
|
|
|
13003
13003
|
}, 0);
|
|
13004
13004
|
}, "j0", $scope0_id);
|
|
13005
13005
|
_html(`<div${_attr_class([
|
|
13006
|
-
"
|
|
13007
|
-
input.keybar && "
|
|
13008
|
-
!open && "
|
|
13009
|
-
])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("
|
|
13006
|
+
"_ep",
|
|
13007
|
+
input.keybar && "_ey",
|
|
13008
|
+
!open && "_eo"
|
|
13009
|
+
])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_eq")} aria-hidden=true>`);
|
|
13010
13010
|
icon_search_default({ size: 13 });
|
|
13011
13011
|
_html(`</span><input${_attr_input_value($scope0_id, "d", query || "", _resume(function(v) {
|
|
13012
13012
|
type(v);
|
|
13013
|
-
}, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "
|
|
13013
|
+
}, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_eA"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "d")}<span${_attr_class("_et")}>${_text_resume($scope0_id, "f", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class([findIconBtn, input.keybar && "_eB"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
13014
13014
|
icon_arrow_up_default({ size: 14 });
|
|
13015
|
-
_html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "
|
|
13015
|
+
_html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eB"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
13016
13016
|
icon_arrow_down_default({ size: 14 });
|
|
13017
|
-
_html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "
|
|
13017
|
+
_html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eB"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
|
|
13018
13018
|
icon_xmark_default({ size: 14 });
|
|
13019
13019
|
_html(`</button>${_el_resume($scope0_id, "k")}</div>${_el_resume($scope0_id, "a")}`);
|
|
13020
13020
|
const $return = focusInput;
|
|
@@ -13114,8 +13114,8 @@ function shortBranch(name, wsBranch = "", wsName = "") {
|
|
|
13114
13114
|
}
|
|
13115
13115
|
return shortHeadFallback(head);
|
|
13116
13116
|
}
|
|
13117
|
-
var repoWorktree = "
|
|
13118
|
-
var repoTitle = "
|
|
13117
|
+
var repoWorktree = "_i0 _y";
|
|
13118
|
+
var repoTitle = "_i6 _x";
|
|
13119
13119
|
//#endregion
|
|
13120
13120
|
//#region src/tags/review-head.marko
|
|
13121
13121
|
var review_head_default = _template("x", (input) => {
|
|
@@ -13123,7 +13123,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13123
13123
|
const $scope0_id = _scope_id();
|
|
13124
13124
|
const repo = input.repo;
|
|
13125
13125
|
const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
|
|
13126
|
-
_html(`<div${_attr_class("
|
|
13126
|
+
_html(`<div${_attr_class("_iY")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_iZ")} title="Scroll to this section"><span${_attr_class(repoWorktree)}>${_text_resume($scope0_id, "d", repo.worktree, $sg__input_repo)}</span></button>${_el_resume($scope0_id, "b")}`);
|
|
13127
13127
|
_if(() => {
|
|
13128
13128
|
if (repo.pr) {
|
|
13129
13129
|
const $scope6_id = _scope_id();
|
|
@@ -13132,19 +13132,19 @@ var review_head_default = _template("x", (input) => {
|
|
|
13132
13132
|
return 0;
|
|
13133
13133
|
} else {
|
|
13134
13134
|
const $scope7_id = _scope_id();
|
|
13135
|
-
_html(`<span${_attr_class([repoTitle, "
|
|
13135
|
+
_html(`<span${_attr_class([repoTitle, "_i7"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
|
|
13136
13136
|
$si__input_repo && writeScope($scope7_id, { _: _scope_with_id($scope0_id) });
|
|
13137
13137
|
return 1;
|
|
13138
13138
|
}
|
|
13139
13139
|
}, $scope0_id, "e", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers__OR__input_additions__OR__input_deletions__OR__input_hiddenCount__OR__input_newCount__OR__input_onlyNew);
|
|
13140
|
-
_html(`<span${_attr_class("
|
|
13140
|
+
_html(`<span${_attr_class("_i8")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_i9"])}>${_text_resume($scope0_id, "h", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_ja"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_i_"])}>${_text_resume($scope0_id, "k", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
|
|
13141
13141
|
_if(() => {
|
|
13142
13142
|
if (compare$1.topic) {
|
|
13143
13143
|
const $scope10_id = _scope_id();
|
|
13144
13144
|
_html(`<span${_attr_class([
|
|
13145
13145
|
"_N",
|
|
13146
13146
|
tone.accent,
|
|
13147
|
-
"
|
|
13147
|
+
"_jb"
|
|
13148
13148
|
])}>${_text_resume($scope10_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
|
|
13149
13149
|
$si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope10_id, { _: _scope_with_id($scope0_id) });
|
|
13150
13150
|
return 0;
|
|
@@ -13154,7 +13154,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13154
13154
|
_if(() => {
|
|
13155
13155
|
if (repo.rev) {
|
|
13156
13156
|
const $scope8_id = _scope_id();
|
|
13157
|
-
_html(`<span${_attr_class(["_N", "
|
|
13157
|
+
_html(`<span${_attr_class(["_N", "_jc"])} title="One commit against its parent">commit ${_text_resume($scope8_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
|
|
13158
13158
|
$si__input_repo && writeScope($scope8_id, { _: _scope_with_id($scope0_id) });
|
|
13159
13159
|
return 0;
|
|
13160
13160
|
}
|
|
@@ -13165,7 +13165,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13165
13165
|
_html(`<button type=button${_attr_class([
|
|
13166
13166
|
"_N",
|
|
13167
13167
|
tone.warn,
|
|
13168
|
-
"
|
|
13168
|
+
"_jc"
|
|
13169
13169
|
])}${_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($scope1_id, "b", shortSha(repo.head, 7), $sg__input_repo * 2)} → ${_text_resume($scope1_id, "c", shortSha(repo.pr.headRefOid, 7), $sg__input_repo * 2)}</button>${_el_resume($scope1_id, "a")}`);
|
|
13170
13170
|
_script($scope1_id, "x0");
|
|
13171
13171
|
writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -13175,7 +13175,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13175
13175
|
_if(() => {
|
|
13176
13176
|
if (repo.contained && input.fileCount) {
|
|
13177
13177
|
const $scope9_id = _scope_id();
|
|
13178
|
-
_html(`<span${_attr_class(["_N", "
|
|
13178
|
+
_html(`<span${_attr_class(["_N", "_jc"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope9_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope9_id, "a", $sg__input_repo)}`);
|
|
13179
13179
|
$si__input_repo__OR__input_fileCount && writeScope($scope9_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
|
|
13180
13180
|
return 0;
|
|
13181
13181
|
}
|
|
@@ -13183,16 +13183,16 @@ var review_head_default = _template("x", (input) => {
|
|
|
13183
13183
|
_if(() => {
|
|
13184
13184
|
if (input.localDiffers) {
|
|
13185
13185
|
const $scope2_id = _scope_id();
|
|
13186
|
-
_html(`<span${_attr_class(["_N", "
|
|
13186
|
+
_html(`<span${_attr_class(["_N", "_jc"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope2_id, "b", shortBranch(repo.branch, input.workspaceBranch, input.workspaceName), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}${_text_resume($scope2_id, "c", shortSha(repo.localHead, 7), $sg__input_repo * 2)}</span>${_el_resume($scope2_id, "a", $sg__input_repo)}`);
|
|
13187
13187
|
$si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && writeScope($scope2_id, { _: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _scope_with_id($scope0_id) });
|
|
13188
13188
|
return 0;
|
|
13189
13189
|
}
|
|
13190
13190
|
}, $scope0_id, "p", _serialize_guard($scope0_reason, 9), _serialize_guard($scope0_reason, 14), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers__OR__input_additions__OR__input_deletions__OR__input_hiddenCount__OR__input_newCount__OR__input_onlyNew, 0, 1);
|
|
13191
|
-
_html(`<span${_attr_class("
|
|
13191
|
+
_html(`<span${_attr_class("_i1")}><span>${_text_resume($scope0_id, "r", input.fileCount, $sg__input_fileCount)} file${_text_resume($scope0_id, "s", input.fileCount === 1 ? "" : "s", $sg__input_fileCount * 2)}</span>`);
|
|
13192
13192
|
_if(() => {
|
|
13193
13193
|
if (input.additions || input.deletions) {
|
|
13194
13194
|
const $scope3_id = _scope_id();
|
|
13195
|
-
_html(`<span${_attr_class("
|
|
13195
|
+
_html(`<span${_attr_class("_i2")}>+${_text_resume($scope3_id, "b", input.additions, _serialize_guard($scope0_reason, 15) * 2)}</span><span${_attr_class("_i3")}>−${_text_resume($scope3_id, "d", input.deletions, _serialize_guard($scope0_reason, 16) * 2)}</span>`);
|
|
13196
13196
|
$si__input_additions__OR__input_deletions && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
13197
13197
|
return 0;
|
|
13198
13198
|
}
|
|
@@ -13200,7 +13200,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13200
13200
|
_if(() => {
|
|
13201
13201
|
if (input.hiddenCount) {
|
|
13202
13202
|
const $scope4_id = _scope_id();
|
|
13203
|
-
_html(`<button type=button${_attr_class("
|
|
13203
|
+
_html(`<button type=button${_attr_class("_i5")} title="Filtered out of the list — show every file">${_text_resume($scope4_id, "b", input.hiddenCount, $sg__input_hiddenCount)} hidden</button>${_el_resume($scope4_id, "a")}`);
|
|
13204
13204
|
_script($scope4_id, "x1");
|
|
13205
13205
|
writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
13206
13206
|
return 0;
|
|
@@ -13209,7 +13209,7 @@ var review_head_default = _template("x", (input) => {
|
|
|
13209
13209
|
_if(() => {
|
|
13210
13210
|
if (input.newCount || input.onlyNew) {
|
|
13211
13211
|
const $scope5_id = _scope_id();
|
|
13212
|
-
_html(`<button type=button${_attr_class(["
|
|
13212
|
+
_html(`<button type=button${_attr_class(["_i5", { ["_i4"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope5_id, "b", input.newCount, _serialize_guard($scope0_reason, 18))} new</button>${_el_resume($scope5_id, "a")}`);
|
|
13213
13213
|
_script($scope5_id, "x2");
|
|
13214
13214
|
writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
|
|
13215
13215
|
return 0;
|
|
@@ -13325,7 +13325,7 @@ var review_tree_default = _template("y", (input) => {
|
|
|
13325
13325
|
dragging$1 = false;
|
|
13326
13326
|
if (width != null) setDiffTreeWidth(width);
|
|
13327
13327
|
}, "y2", $scope0_id);
|
|
13328
|
-
_html(`<div${_attr_class(["
|
|
13328
|
+
_html(`<div${_attr_class(["_iK", { ["_iJ"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_iX", { ["_iW"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_iL")}>`);
|
|
13329
13329
|
_set_serialize_reason(2);
|
|
13330
13330
|
const $childScope = _peek_scope_id();
|
|
13331
13331
|
file_filter_default({
|
|
@@ -13334,22 +13334,22 @@ var review_tree_default = _template("y", (input) => {
|
|
|
13334
13334
|
filter$1 = _new_filter;
|
|
13335
13335
|
}, "y3", $scope0_id)
|
|
13336
13336
|
});
|
|
13337
|
-
_html(`</div><div${_attr_class("
|
|
13337
|
+
_html(`</div><div${_attr_class("_iM")}>`);
|
|
13338
13338
|
_for_of(input.sections, (section$2) => {
|
|
13339
13339
|
const $scope1_id = _scope_id();
|
|
13340
|
-
_html(`<div${_attr_class(["
|
|
13340
|
+
_html(`<div${_attr_class(["_iO", { ["_iN"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
|
|
13341
13341
|
_if(() => {
|
|
13342
13342
|
if (input.sections.length > 1) {
|
|
13343
13343
|
const $scope2_id = _scope_id();
|
|
13344
|
-
_html(`<button type=button${_attr_class("
|
|
13344
|
+
_html(`<button type=button${_attr_class("_iP")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_iQ", { ["_iR"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
|
|
13345
13345
|
icon_chevron_right_default({ size: 12 });
|
|
13346
|
-
_html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("
|
|
13346
|
+
_html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_iS")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_iT")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
|
|
13347
13347
|
_script($scope2_id, "y4");
|
|
13348
13348
|
_subscribe($closed__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
|
|
13349
13349
|
return 0;
|
|
13350
13350
|
}
|
|
13351
13351
|
}, $scope1_id, "b", $sg__input_sections, $sg__input_sections_length, $sg__input_sections_length, 0, 1);
|
|
13352
|
-
_html(`<div${_attr_class(["
|
|
13352
|
+
_html(`<div${_attr_class(["_iV", { ["_iU"]: input.sections.length === 1 }])}${_attr("data-tree", section$2.id)}${_attr("hidden", closed$4.has(section$2.id))}></div>${_el_resume($scope1_id, "c")}</div>${_el_resume($scope1_id, "a", $sg__input_sections)}`);
|
|
13353
13353
|
writeScope($scope1_id, {
|
|
13354
13354
|
f: section$2?.id,
|
|
13355
13355
|
h: $si__input_sections_length && section$2?.label,
|
|
@@ -14113,12 +14113,12 @@ var review_view_default = _template("z", (input) => {
|
|
|
14113
14113
|
_if(() => {
|
|
14114
14114
|
if (repos && !allFiles.length) {
|
|
14115
14115
|
const $scope11_id = _scope_id();
|
|
14116
|
-
_html(`<p${_attr_class("
|
|
14116
|
+
_html(`<p${_attr_class("_b9")}>${_text_resume($scope11_id, "b", rev ? "This commit is not in any of these repos." : repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
|
|
14117
14117
|
writeScope($scope11_id, {});
|
|
14118
14118
|
return 0;
|
|
14119
14119
|
} else if (repos && !shownFiles.length && !findState.hit) {
|
|
14120
14120
|
const $scope8_id = _scope_id();
|
|
14121
|
-
_html(`<p${_attr_class("
|
|
14121
|
+
_html(`<p${_attr_class("_b9")}>${_text_resume($scope8_id, "b", findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${fileFilter}".`)}</p>`);
|
|
14122
14122
|
writeScope($scope8_id, {});
|
|
14123
14123
|
return 1;
|
|
14124
14124
|
}
|
|
@@ -14483,10 +14483,10 @@ function parseInvite(text) {
|
|
|
14483
14483
|
repos
|
|
14484
14484
|
};
|
|
14485
14485
|
}
|
|
14486
|
-
var skillRow = "
|
|
14487
|
-
var skillName = "
|
|
14488
|
-
var skillDesc = "
|
|
14489
|
-
var skillEnd = "
|
|
14486
|
+
var skillRow = "_f_ _f4";
|
|
14487
|
+
var skillName = "_gb _f6";
|
|
14488
|
+
var skillDesc = "_ge _f7";
|
|
14489
|
+
var skillEnd = "_gf _f8";
|
|
14490
14490
|
//#endregion
|
|
14491
14491
|
//#region src/tags/icons/icon-clipboard.marko
|
|
14492
14492
|
var icon_clipboard_default = _template("$", (input) => {
|
|
@@ -14538,8 +14538,8 @@ var icon_trash_default = _template("ub", (input) => {
|
|
|
14538
14538
|
});
|
|
14539
14539
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
14540
14540
|
});
|
|
14541
|
-
var resultRow = "
|
|
14542
|
-
var resultBranch = "
|
|
14541
|
+
var resultRow = "_if _I";
|
|
14542
|
+
var resultBranch = "_ih _3 _l";
|
|
14543
14543
|
//#endregion
|
|
14544
14544
|
//#region src/tags/icons/icon-branch.marko
|
|
14545
14545
|
var icon_branch_default = _template("X", (input) => {
|
|
@@ -14569,11 +14569,11 @@ var branch_pick_default = _template("f", (input) => {
|
|
|
14569
14569
|
let branchFilter = "";
|
|
14570
14570
|
let reloadTick = 0;
|
|
14571
14571
|
let refreshing = false;
|
|
14572
|
-
_html(`<div${_attr_class("
|
|
14572
|
+
_html(`<div${_attr_class("_ij")}>`);
|
|
14573
14573
|
_if(() => {
|
|
14574
14574
|
{
|
|
14575
14575
|
const $scope4_id = _scope_id();
|
|
14576
|
-
_html(`<p${_attr_class("
|
|
14576
|
+
_html(`<p${_attr_class("_b8")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
|
|
14577
14577
|
writeScope($scope4_id, {});
|
|
14578
14578
|
return 0;
|
|
14579
14579
|
}
|
|
@@ -14674,21 +14674,21 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
14674
14674
|
_resume_branch($scope9_id);
|
|
14675
14675
|
}, $scope0_id) };
|
|
14676
14676
|
const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || compact && ssoPending.length);
|
|
14677
|
-
_html(`<div${_attr_class([compact ? "_cs" : "
|
|
14677
|
+
_html(`<div${_attr_class([compact ? "_cs" : "_h8", {
|
|
14678
14678
|
["_ct"]: compact && !input$2.open,
|
|
14679
14679
|
["_cu"]: input$2.pinned
|
|
14680
14680
|
}])}>`);
|
|
14681
14681
|
_if(() => {
|
|
14682
14682
|
if (!compact && ssoPending.length) {
|
|
14683
14683
|
const $scope11_id = _scope_id();
|
|
14684
|
-
_html(`<div${_attr_class("
|
|
14684
|
+
_html(`<div${_attr_class("_ia")}>`);
|
|
14685
14685
|
ssoBlock.content({});
|
|
14686
14686
|
_html("</div>");
|
|
14687
14687
|
writeScope($scope11_id, {});
|
|
14688
14688
|
return 0;
|
|
14689
14689
|
}
|
|
14690
14690
|
}, $scope0_id, "b", 1, 1, 1, 0, 1);
|
|
14691
|
-
_html(`<div${!compact && input$2.action ? _attr_class("
|
|
14691
|
+
_html(`<div${!compact && input$2.action ? _attr_class("_h9") : _attr_class("_h_")}><label${_attr_class(["_0", compact && "_cv"])}>`);
|
|
14692
14692
|
icon_search_default({
|
|
14693
14693
|
size: 14,
|
|
14694
14694
|
class: "_1"
|
|
@@ -14722,11 +14722,11 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
14722
14722
|
return 0;
|
|
14723
14723
|
}
|
|
14724
14724
|
}, $scope0_id, "h", _serialize_guard($scope0_reason, 0), $sg__input_compact, 1, 0, 1);
|
|
14725
|
-
_html(`<div${_attr_class([compact ? pop$1 : "
|
|
14725
|
+
_html(`<div${_attr_class([compact ? pop$1 : "_ib"])}${_attr("hidden", !hasBody || compact && !input$2.open && !input$2.pinned)}>`);
|
|
14726
14726
|
_if(() => {
|
|
14727
14727
|
if (compact && ssoPending.length) {
|
|
14728
14728
|
const $scope12_id = _scope_id();
|
|
14729
|
-
_html(`<div${_attr_class("
|
|
14729
|
+
_html(`<div${_attr_class("_ia")}>`);
|
|
14730
14730
|
ssoBlock.content({});
|
|
14731
14731
|
_html("</div>");
|
|
14732
14732
|
writeScope($scope12_id, {});
|
|
@@ -14736,16 +14736,16 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
14736
14736
|
_if(() => {
|
|
14737
14737
|
if (pasted) {
|
|
14738
14738
|
const $scope3_id = _scope_id();
|
|
14739
|
-
_html(`<ul${_attr_class("
|
|
14739
|
+
_html(`<ul${_attr_class("_ic")}><li><div${_attr_class(["_ie", "_id"])}><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)`)}>`);
|
|
14740
14740
|
icon_plus_default({
|
|
14741
14741
|
size: 12,
|
|
14742
|
-
class: "
|
|
14742
|
+
class: "_il"
|
|
14743
14743
|
});
|
|
14744
|
-
_html(`<span${_attr_class("
|
|
14744
|
+
_html(`<span${_attr_class("_im")}>${_text_resume($scope3_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope3_id, "c")}`);
|
|
14745
14745
|
_if(() => {
|
|
14746
14746
|
if (pastedForkable) {
|
|
14747
14747
|
const $scope10_id = _scope_id();
|
|
14748
|
-
_html(`<button${_attr_class(["
|
|
14748
|
+
_html(`<button${_attr_class(["_ii", { ["_ig"]: 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"}>`);
|
|
14749
14749
|
_if(() => {
|
|
14750
14750
|
if (pasteWillFork) {
|
|
14751
14751
|
const $scope14_id = _scope_id();
|
|
@@ -14765,7 +14765,7 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
14765
14765
|
return 0;
|
|
14766
14766
|
}
|
|
14767
14767
|
}, $scope3_id, "g", 1, 1, 1, 0, 1);
|
|
14768
|
-
_html(`<button${_attr_class([resultBranch, { ["
|
|
14768
|
+
_html(`<button${_attr_class([resultBranch, { ["_ig"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
|
|
14769
14769
|
icon_branch_default({ size: 12 });
|
|
14770
14770
|
_html(`</button>${_el_resume($scope3_id, "h")}</div>`);
|
|
14771
14771
|
_if(() => {
|
|
@@ -14792,7 +14792,7 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
14792
14792
|
return 0;
|
|
14793
14793
|
} else if (filter && !catalog) {
|
|
14794
14794
|
const $scope13_id = _scope_id();
|
|
14795
|
-
_html(`<p${_attr_class("
|
|
14795
|
+
_html(`<p${_attr_class("_b8")}>Loading repos…</p>`);
|
|
14796
14796
|
writeScope($scope13_id, {});
|
|
14797
14797
|
return 1;
|
|
14798
14798
|
}
|
|
@@ -14800,15 +14800,15 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
14800
14800
|
_if(() => {
|
|
14801
14801
|
if (results.length) {
|
|
14802
14802
|
const $scope5_id = _scope_id();
|
|
14803
|
-
_html(`<ul${_attr_class("
|
|
14803
|
+
_html(`<ul${_attr_class("_ic")}>`);
|
|
14804
14804
|
_for_of(results, (repo, i) => {
|
|
14805
14805
|
const $scope6_id = _scope_id();
|
|
14806
|
-
_html(`<li><div${_attr_class(["
|
|
14806
|
+
_html(`<li><div${_attr_class(["_ie", { ["_id"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
|
|
14807
14807
|
icon_plus_default({
|
|
14808
14808
|
size: 12,
|
|
14809
|
-
class: "
|
|
14809
|
+
class: "_il"
|
|
14810
14810
|
});
|
|
14811
|
-
_html(`<span${_attr_class("
|
|
14811
|
+
_html(`<span${_attr_class("_im")}>${_text_resume($scope6_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope6_id, "b")}<button${_attr_class([resultBranch, { ["_ig"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
|
|
14812
14812
|
icon_branch_default({ size: 12 });
|
|
14813
14813
|
_html(`</button>${_el_resume($scope6_id, "f")}</div>${_el_resume($scope6_id, "a")}`);
|
|
14814
14814
|
_if(() => {
|
|
@@ -14843,7 +14843,7 @@ var repo_picker_default = _template("w", (input$2) => {
|
|
|
14843
14843
|
return 0;
|
|
14844
14844
|
} else if (filter && catalog && !pasted) {
|
|
14845
14845
|
const $scope8_id = _scope_id();
|
|
14846
|
-
_html(`<p${_attr_class("
|
|
14846
|
+
_html(`<p${_attr_class("_b8")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
|
|
14847
14847
|
writeScope($scope8_id, {});
|
|
14848
14848
|
return 1;
|
|
14849
14849
|
}
|
|
@@ -15060,7 +15060,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15060
15060
|
setTimeout(() => loadProcs(void 0), 500);
|
|
15061
15061
|
}, "p11", $scope0_id);
|
|
15062
15062
|
const titleId = _id();
|
|
15063
|
-
_html(`<div${_attr_class("
|
|
15063
|
+
_html(`<div${_attr_class("_d5")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d6")}><div${_attr_class("_d7")}>`);
|
|
15064
15064
|
_set_serialize_reason(30);
|
|
15065
15065
|
const $childScope2 = _peek_scope_id();
|
|
15066
15066
|
page_head_default({
|
|
@@ -15168,7 +15168,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15168
15168
|
_resume_branch($scope6_id);
|
|
15169
15169
|
}, $scope0_id) })
|
|
15170
15170
|
});
|
|
15171
|
-
_html(`<div${_attr_class("
|
|
15171
|
+
_html(`<div${_attr_class("_d8")}><section${_attr_class("_bX")}><div${_attr_class("_bY")}><h2${_attr_class("_ca")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_gj")}>Name</span><span${_attr_class(["_gk", "_gl"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
|
|
15172
15172
|
_if(() => {
|
|
15173
15173
|
if (ws.status !== "active") {
|
|
15174
15174
|
const $scope23_id = _scope_id();
|
|
@@ -15177,8 +15177,8 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15177
15177
|
return 0;
|
|
15178
15178
|
}
|
|
15179
15179
|
}, $scope0_id, "n", 1, 1, 1, 0, 1);
|
|
15180
|
-
_html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("
|
|
15181
|
-
"
|
|
15180
|
+
_html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gj")}>Path</span><span${_attr_class([
|
|
15181
|
+
"_gk",
|
|
15182
15182
|
"_y",
|
|
15183
15183
|
"_ba"
|
|
15184
15184
|
])}${_attr("title", ws.display_path || ws.path)}><bdi>${_text_resume($scope0_id, "r", ws.display_path || ws.path)}</bdi></span>${_el_resume($scope0_id, "q")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "path" ? "Copied" : "\"Copy path\""} aria-label="Copy path">`);
|
|
@@ -15195,7 +15195,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15195
15195
|
return 1;
|
|
15196
15196
|
}
|
|
15197
15197
|
}, $scope0_id, "s", 1, 1, 1, "</button>", 1);
|
|
15198
|
-
_html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("
|
|
15198
|
+
_html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gj")}>Branch</span><span${_attr_class(["_gk", "_y"])}${_attr("title", ws.branch)}>${_text_resume($scope0_id, "w", ws.branch)}</span>${_el_resume($scope0_id, "v")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "branch" ? "Copied" : "\"Copy branch\""} aria-label="Copy branch">`);
|
|
15199
15199
|
_if(() => {
|
|
15200
15200
|
if (copiedFact === "branch") {
|
|
15201
15201
|
const $scope26_id = _scope_id();
|
|
@@ -15233,12 +15233,12 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15233
15233
|
_if(() => {
|
|
15234
15234
|
if (pendingAction && actionStep) {
|
|
15235
15235
|
const $scope10_id = _scope_id();
|
|
15236
|
-
_html(`<p${_attr_class("
|
|
15236
|
+
_html(`<p${_attr_class("_bW")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
|
|
15237
15237
|
writeScope($scope10_id, {});
|
|
15238
15238
|
return 0;
|
|
15239
15239
|
}
|
|
15240
15240
|
}, $scope0_id, "z", 1, 1, 1, 0, 1);
|
|
15241
|
-
_html(`<section${_attr_class("
|
|
15241
|
+
_html(`<section${_attr_class("_bX")}><div${_attr_class("_bY")}><h2${_attr_class("_ca")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "a4", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_gi"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
|
|
15242
15242
|
icon_plus_default({ size: 16 });
|
|
15243
15243
|
_html(`</button>${_el_resume($scope0_id, "a6")}`);
|
|
15244
15244
|
_set_serialize_reason(26);
|
|
@@ -15269,10 +15269,10 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15269
15269
|
size: 14,
|
|
15270
15270
|
class: catalogRefreshing && "_F"
|
|
15271
15271
|
});
|
|
15272
|
-
_html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "
|
|
15272
|
+
_html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_f3"])}>`);
|
|
15273
15273
|
_for_of(ws.repos, (row) => {
|
|
15274
15274
|
const $scope1_id = _scope_id();
|
|
15275
|
-
_html(`<li${_attr_class("
|
|
15275
|
+
_html(`<li${_attr_class("_f4")}><span${_attr_class(["_y", "_f6"])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class(["_f7", "_f2"])}><a${_attr_class("_K")}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "f", repoLabel$1(row.full_name))}</a>${_el_resume($scope1_id, "e")}`);
|
|
15276
15276
|
_if(() => {
|
|
15277
15277
|
if (row.base_branch !== row.default_branch) {
|
|
15278
15278
|
const $scope28_id = _scope_id();
|
|
@@ -15283,7 +15283,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15283
15283
|
return 0;
|
|
15284
15284
|
}
|
|
15285
15285
|
}, $scope1_id, "g", 1, 1, 1, 0, 1);
|
|
15286
|
-
_html(`</span><span${_attr_class("
|
|
15286
|
+
_html(`</span><span${_attr_class("_f8")}>`);
|
|
15287
15287
|
_if(() => {
|
|
15288
15288
|
if (busy.has(row.full_name)) {
|
|
15289
15289
|
const $scope29_id = _scope_id();
|
|
@@ -15295,7 +15295,7 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15295
15295
|
const $childScope5 = _peek_scope_id();
|
|
15296
15296
|
arm_button_default({
|
|
15297
15297
|
class: [
|
|
15298
|
-
"
|
|
15298
|
+
"_b7",
|
|
15299
15299
|
"_7",
|
|
15300
15300
|
"_8"
|
|
15301
15301
|
],
|
|
@@ -15326,16 +15326,16 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15326
15326
|
_for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
|
|
15327
15327
|
const $scope31_id = _scope_id();
|
|
15328
15328
|
_html(`<li${_attr_class([
|
|
15329
|
-
"
|
|
15330
|
-
"
|
|
15331
|
-
"
|
|
15332
|
-
])}><span${_attr_class("_G")}></span><span${_attr_class("
|
|
15329
|
+
"_f4",
|
|
15330
|
+
"_f5",
|
|
15331
|
+
"_b1"
|
|
15332
|
+
])}><span${_attr_class("_G")}></span><span${_attr_class("_b6")}>Adding ${_text_resume($scope31_id, "d", name, 2)}…</span></li>`);
|
|
15333
15333
|
writeScope($scope31_id, {});
|
|
15334
15334
|
}, (n) => n, $scope0_id, "ae", 1, 1, 1, 0, 1);
|
|
15335
15335
|
_if(() => {
|
|
15336
15336
|
if (!ws.repos.length && !busy.size) {
|
|
15337
15337
|
const $scope32_id = _scope_id();
|
|
15338
|
-
_html(`<li${_attr_class(["
|
|
15338
|
+
_html(`<li${_attr_class(["_f4", "_f5"])}><span${_attr_class("_b6")}>No repos yet. Add one to start.</span></li>`);
|
|
15339
15339
|
writeScope($scope32_id, {});
|
|
15340
15340
|
return 0;
|
|
15341
15341
|
}
|
|
@@ -15345,20 +15345,20 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15345
15345
|
_if(() => {
|
|
15346
15346
|
if (running.length) {
|
|
15347
15347
|
const $scope15_id = _scope_id();
|
|
15348
|
-
_html(`<section${_attr_class("
|
|
15348
|
+
_html(`<section${_attr_class("_bX")}><div${_attr_class("_bY")}><h2${_attr_class("_ca")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
|
|
15349
15349
|
_for_of(running, (p) => {
|
|
15350
15350
|
const $scope16_id = _scope_id();
|
|
15351
|
-
_html(`<li${_attr_class("
|
|
15351
|
+
_html(`<li${_attr_class("_f4")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", "_f6"])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_f7"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_f8")}>`);
|
|
15352
15352
|
_for_of(p.ports, (port) => {
|
|
15353
15353
|
const $scope33_id = _scope_id();
|
|
15354
15354
|
_html(`<button${_attr_class(["_u", "_K"])}${_attr("title", `Open port ${port}`)}>:${_text_resume($scope33_id, "b", port, 2)}</button>${_el_resume($scope33_id, "a")}`);
|
|
15355
15355
|
_script($scope33_id, "p28");
|
|
15356
15356
|
writeScope($scope33_id, { d: port });
|
|
15357
15357
|
}, (x) => String(x), $scope16_id, "g", 1, 1, 1, 0, 1);
|
|
15358
|
-
_html(`<span${_attr_class(["_y", "
|
|
15359
|
-
"
|
|
15358
|
+
_html(`<span${_attr_class(["_y", "_f9"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
|
|
15359
|
+
"_b7",
|
|
15360
15360
|
"_7",
|
|
15361
|
-
"
|
|
15361
|
+
"_gh"
|
|
15362
15362
|
])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
|
|
15363
15363
|
icon_xmark_default({ size: 14 });
|
|
15364
15364
|
_html(`</button>${_el_resume($scope16_id, "j")}</span></li>${_el_resume($scope16_id, "a")}`);
|
|
@@ -15379,22 +15379,22 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15379
15379
|
s,
|
|
15380
15380
|
linked: false
|
|
15381
15381
|
}))].sort((a, b) => a.s.name.localeCompare(b.s.name));
|
|
15382
|
-
_html(`</div><div${_attr_class("
|
|
15382
|
+
_html(`</div><div${_attr_class("_d8")}>`);
|
|
15383
15383
|
_if(() => {
|
|
15384
15384
|
if (allSkills.length) {
|
|
15385
15385
|
const $scope2_id = _scope_id();
|
|
15386
|
-
_html(`<section${_attr_class("
|
|
15386
|
+
_html(`<section${_attr_class("_bX")}><div${_attr_class("_bY")}><h2${_attr_class("_ca")}>Skills</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class([list$2, "_f3"])}>`);
|
|
15387
15387
|
_for_of(allSkills, ({ s, linked }) => {
|
|
15388
15388
|
const $scope3_id = _scope_id();
|
|
15389
15389
|
const isBusy = skillBusy.has(s.id);
|
|
15390
|
-
_html(`<li${_attr_class([skillRow, { ["
|
|
15390
|
+
_html(`<li${_attr_class([skillRow, { ["_ga"]: !linked }])}><span${_attr_class("_gc")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
|
|
15391
15391
|
_if(() => {
|
|
15392
15392
|
if (s.worktree && !s.broken) {
|
|
15393
15393
|
const $scope34_id = _scope_id();
|
|
15394
15394
|
_html(`<span${_attr_class([
|
|
15395
15395
|
"_N",
|
|
15396
15396
|
"_y",
|
|
15397
|
-
"
|
|
15397
|
+
"_gd"
|
|
15398
15398
|
])}${linked ? _attr("title", `Linked from ${s.worktree}/ in this workspace`) : _attr("title", `Ships in ${s.worktree}/ — not linked into this workspace yet`)}>${_text_resume($scope34_id, "b", s.worktree)}/</span>${_el_resume($scope34_id, "a")}`);
|
|
15399
15399
|
writeScope($scope34_id, {});
|
|
15400
15400
|
return 0;
|
|
@@ -15448,10 +15448,10 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15448
15448
|
const $childScope6 = _peek_scope_id();
|
|
15449
15449
|
arm_button_default({
|
|
15450
15450
|
class: [
|
|
15451
|
-
"
|
|
15451
|
+
"_b7",
|
|
15452
15452
|
"_7",
|
|
15453
15453
|
"_8",
|
|
15454
|
-
"
|
|
15454
|
+
"_gg"
|
|
15455
15455
|
],
|
|
15456
15456
|
disabled: isBusy,
|
|
15457
15457
|
busy: isBusy,
|
|
@@ -15560,12 +15560,12 @@ var manage_workspace_default = _template("p", (input) => {
|
|
|
15560
15560
|
});
|
|
15561
15561
|
_resume_branch($scope0_id);
|
|
15562
15562
|
});
|
|
15563
|
-
var curRow = "
|
|
15564
|
-
var curEmpty = "
|
|
15565
|
-
var curBase = "
|
|
15566
|
-
var archived = "
|
|
15567
|
-
var archivedHint = "
|
|
15568
|
-
var archivedRow = "
|
|
15563
|
+
var curRow = "_fO _cR _cP";
|
|
15564
|
+
var curEmpty = "_fQ _b8";
|
|
15565
|
+
var curBase = "_fT _X _W";
|
|
15566
|
+
var archived = "_fY _bX";
|
|
15567
|
+
var archivedHint = "_fZ _W";
|
|
15568
|
+
var archivedRow = "_f0 _cR _cP";
|
|
15569
15569
|
//#endregion
|
|
15570
15570
|
//#region src/tags/icons/icon-group.marko
|
|
15571
15571
|
var icon_group_default = _template("hb", (input) => {
|
|
@@ -15585,8 +15585,8 @@ var icon_group_default = _template("hb", (input) => {
|
|
|
15585
15585
|
});
|
|
15586
15586
|
//#endregion
|
|
15587
15587
|
//#region src/tags/join-dialog.css.ts
|
|
15588
|
-
var dlg = "
|
|
15589
|
-
var hint = "
|
|
15588
|
+
var dlg = "_ix _g1";
|
|
15589
|
+
var hint = "_iy _W";
|
|
15590
15590
|
//#endregion
|
|
15591
15591
|
//#region src/tags/join-dialog.marko
|
|
15592
15592
|
var api$3;
|
|
@@ -15715,26 +15715,26 @@ var join_dialog_default = _template("m", (input) => {
|
|
|
15715
15715
|
content: _content("m12", () => {
|
|
15716
15716
|
_scope_reason();
|
|
15717
15717
|
const $scope1_id = _scope_id();
|
|
15718
|
-
_html(`<h2${_attr_class("
|
|
15718
|
+
_html(`<h2${_attr_class("_g2")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite: the same repos, on your own lane of their branch.</p><textarea${_attr_class([
|
|
15719
15719
|
"_Y",
|
|
15720
15720
|
"_y",
|
|
15721
|
-
"
|
|
15721
|
+
"_iA"
|
|
15722
15722
|
])} placeholder="{ "name": …, "branch": …, "repos": ["owner/name", …] }" aria-label="Workspace invite" rows=6 autocomplete=off spellcheck=false${_attr("disabled", busy)} autofocus>${_attr_textarea_value($scope1_id, "c", invite, setInvite)}</textarea>${_el_resume($scope1_id, "c")}`);
|
|
15723
15723
|
_if(() => {
|
|
15724
15724
|
if (parsed.error) {
|
|
15725
15725
|
const $scope8_id = _scope_id();
|
|
15726
|
-
_html(`<p${_attr_class([hint, "
|
|
15726
|
+
_html(`<p${_attr_class([hint, "_iz"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
|
|
15727
15727
|
_subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
|
|
15728
15728
|
return 0;
|
|
15729
15729
|
} else if (parsed.ok) {
|
|
15730
15730
|
const $scope3_id = _scope_id();
|
|
15731
|
-
_html(`<ul${_attr_class("
|
|
15731
|
+
_html(`<ul${_attr_class("_iB")}>`);
|
|
15732
15732
|
_for_of(parsed.ok.repos, (fullName) => {
|
|
15733
15733
|
const $scope9_id = _scope_id();
|
|
15734
|
-
_html(`<li${_attr_class("
|
|
15734
|
+
_html(`<li${_attr_class("_iC")}><span${_attr_class("_iD")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
|
|
15735
15735
|
writeScope($scope9_id, {});
|
|
15736
15736
|
}, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
|
|
15737
|
-
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_y")}>${_text_resume($scope3_id, "d", parsed.ok.branch)}</span> in each; PRs target theirs.</p><label${_attr_class("
|
|
15737
|
+
_html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_y")}>${_text_resume($scope3_id, "d", parsed.ok.branch)}</span> in each; PRs target theirs.</p><label${_attr_class("_iE")}><span${_attr_class("_ca")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
|
|
15738
15738
|
name = _new_name;
|
|
15739
15739
|
}, "m1", $scope3_id))}${_attr_class("_Y")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
|
|
15740
15740
|
_script($scope3_id, "m8");
|
|
@@ -15771,10 +15771,10 @@ var join_dialog_default = _template("m", (input) => {
|
|
|
15771
15771
|
_if(() => {
|
|
15772
15772
|
if (busy && steps$2.length) {
|
|
15773
15773
|
const $scope6_id = _scope_id();
|
|
15774
|
-
_html(`<ul${_attr_class("
|
|
15774
|
+
_html(`<ul${_attr_class("_iF")}>`);
|
|
15775
15775
|
_for_of(steps$2, (step$2, i) => {
|
|
15776
15776
|
const $scope7_id = _scope_id();
|
|
15777
|
-
_html(`<li${_attr_class(["
|
|
15777
|
+
_html(`<li${_attr_class(["_iH", { ["_iG"]: i === steps$2.length - 1 }])}>`);
|
|
15778
15778
|
_if(() => {
|
|
15779
15779
|
if (i === steps$2.length - 1) {
|
|
15780
15780
|
const $scope10_id = _scope_id();
|
|
@@ -15783,7 +15783,7 @@ var join_dialog_default = _template("m", (input) => {
|
|
|
15783
15783
|
return 0;
|
|
15784
15784
|
} else {
|
|
15785
15785
|
const $scope11_id = _scope_id();
|
|
15786
|
-
_html(`<span${_attr_class("
|
|
15786
|
+
_html(`<span${_attr_class("_iI")}>`);
|
|
15787
15787
|
icon_check_default({ size: 14 });
|
|
15788
15788
|
_html("</span>");
|
|
15789
15789
|
writeScope($scope11_id, {});
|
|
@@ -15941,7 +15941,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
15941
15941
|
}
|
|
15942
15942
|
}, "s6", $scope0_id);
|
|
15943
15943
|
const titleId = _id();
|
|
15944
|
-
_html(`<div${_attr_class("
|
|
15944
|
+
_html(`<div${_attr_class("_d5")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d6")}><div${_attr_class("_d7")}>`);
|
|
15945
15945
|
_set_serialize_reason({
|
|
15946
15946
|
0: _serialize_guard($scope0_reason, 2),
|
|
15947
15947
|
1: $sg__input_backHref__OR__input_onExit,
|
|
@@ -15965,7 +15965,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
15965
15965
|
_resume_branch($scope3_id);
|
|
15966
15966
|
}, $scope0_id) })
|
|
15967
15967
|
});
|
|
15968
|
-
_html(`<div${_attr_class("
|
|
15968
|
+
_html(`<div${_attr_class("_d8")}>`);
|
|
15969
15969
|
_if(() => {
|
|
15970
15970
|
if (error) {
|
|
15971
15971
|
const $scope8_id = _scope_id();
|
|
@@ -15986,16 +15986,16 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
15986
15986
|
return 0;
|
|
15987
15987
|
}
|
|
15988
15988
|
}, $scope0_id, "f", 1, 1, 1, 0, 1);
|
|
15989
|
-
_html(`<label${_attr_class("
|
|
15989
|
+
_html(`<label${_attr_class("_fK")}><span${_attr_class("_ca")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
|
|
15990
15990
|
name = _new_name;
|
|
15991
|
-
}, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("
|
|
15991
|
+
}, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_bX")}><div${_attr_class("_fM")}><h2${_attr_class("_ca")}>Repos</h2></div><ul${_attr_class(list$2)}>`);
|
|
15992
15992
|
_for_of(selected, (repo) => {
|
|
15993
15993
|
const $scope4_id = _scope_id();
|
|
15994
|
-
_html(`<li${_attr_class("
|
|
15994
|
+
_html(`<li${_attr_class("_fN")}><div${_attr_class(curRow)}><span${_attr_class("_fR")}>${_text_resume($scope4_id, "d", repoLabel$1(repo.fullName))}</span>`);
|
|
15995
15995
|
_if(() => {
|
|
15996
15996
|
if (repo.fork !== void 0) {
|
|
15997
15997
|
const $scope5_id = _scope_id();
|
|
15998
|
-
_html(`<button${_attr_class(["
|
|
15998
|
+
_html(`<button${_attr_class(["_fU", { ["_fS"]: 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)}>`);
|
|
15999
15999
|
_if(() => {
|
|
16000
16000
|
if (repo.fork) {
|
|
16001
16001
|
const $scope13_id = _scope_id();
|
|
@@ -16018,7 +16018,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16018
16018
|
_html(`<button${_attr_class([
|
|
16019
16019
|
curBase,
|
|
16020
16020
|
"_y",
|
|
16021
|
-
{ ["
|
|
16021
|
+
{ ["_fS"]: branchesFor === repo.fullName }
|
|
16022
16022
|
])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
16023
16023
|
icon_branch_default({ size: 12 });
|
|
16024
16024
|
_html(`${_text_resume($scope4_id, "h", repo.baseBranch ? `${_to_text(" ")}${_to_text(repo.baseBranch)}` : "")}</button>${_el_resume($scope4_id, "f")}<button${_attr_class([iconBtnXs, "_7"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
|
|
@@ -16027,7 +16027,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16027
16027
|
_if(() => {
|
|
16028
16028
|
if (branchesFor === repo.fullName) {
|
|
16029
16029
|
const $scope10_id = _scope_id();
|
|
16030
|
-
_html(`<div${_attr_class("
|
|
16030
|
+
_html(`<div${_attr_class("_fP")}>`);
|
|
16031
16031
|
const $childScope2 = _peek_scope_id();
|
|
16032
16032
|
branch_pick_default({
|
|
16033
16033
|
repo: repo.fullName,
|
|
@@ -16078,7 +16078,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16078
16078
|
action: attrTag({ content: _content("s20", () => {
|
|
16079
16079
|
_scope_reason();
|
|
16080
16080
|
const $scope2_id = _scope_id();
|
|
16081
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
16081
|
+
_html(`<button${_attr_class([iconBtnRow, "_fL"])} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
|
|
16082
16082
|
_set_serialize_reason(1);
|
|
16083
16083
|
const $childScope3 = _peek_scope_id();
|
|
16084
16084
|
icon_refresh_default({
|
|
@@ -16099,10 +16099,10 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16099
16099
|
_if(() => {
|
|
16100
16100
|
if (busy && steps.length) {
|
|
16101
16101
|
const $scope11_id = _scope_id();
|
|
16102
|
-
_html(`<ul${_attr_class("
|
|
16102
|
+
_html(`<ul${_attr_class("_fV")}>`);
|
|
16103
16103
|
_for_of(steps, (step, i) => {
|
|
16104
16104
|
const $scope12_id = _scope_id();
|
|
16105
|
-
_html(`<li${_attr_class(["
|
|
16105
|
+
_html(`<li${_attr_class(["_f1", { ["_fW"]: i === steps.length - 1 }])}>`);
|
|
16106
16106
|
_if(() => {
|
|
16107
16107
|
if (i === steps.length - 1) {
|
|
16108
16108
|
const $scope16_id = _scope_id();
|
|
@@ -16111,7 +16111,7 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16111
16111
|
return 0;
|
|
16112
16112
|
} else {
|
|
16113
16113
|
const $scope17_id = _scope_id();
|
|
16114
|
-
_html(`<span${_attr_class("
|
|
16114
|
+
_html(`<span${_attr_class("_fX")}>`);
|
|
16115
16115
|
icon_check_default({ size: 14 });
|
|
16116
16116
|
_html("</span>");
|
|
16117
16117
|
writeScope($scope17_id, {});
|
|
@@ -16125,18 +16125,18 @@ var new_workspace_default = _template("s", (input) => {
|
|
|
16125
16125
|
return 0;
|
|
16126
16126
|
}
|
|
16127
16127
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
16128
|
-
_html(`<div${_attr_class("
|
|
16128
|
+
_html(`<div${_attr_class("_fI")}><button type=button${_attr_class([
|
|
16129
16129
|
btnLg,
|
|
16130
16130
|
"_r",
|
|
16131
|
-
"
|
|
16132
|
-
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "u", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "t")}</div></div><div${_attr_class("
|
|
16131
|
+
"_fJ"
|
|
16132
|
+
])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "u", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "t")}</div></div><div${_attr_class("_d8")}>`);
|
|
16133
16133
|
_if(() => {
|
|
16134
16134
|
if (archived$1.length) {
|
|
16135
16135
|
const $scope6_id = _scope_id();
|
|
16136
|
-
_html(`<section${_attr_class(archived)}><div${_attr_class("
|
|
16136
|
+
_html(`<section${_attr_class(archived)}><div${_attr_class("_fM")}><h2${_attr_class("_ca")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_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(list$2)}>`);
|
|
16137
16137
|
_for_of(archived$1, (ws) => {
|
|
16138
16138
|
const $scope7_id = _scope_id();
|
|
16139
|
-
_html(`<li${_attr_class(archivedRow)}><div${_attr_class("
|
|
16139
|
+
_html(`<li${_attr_class(archivedRow)}><div${_attr_class("_b3")}><span${_attr_class("_b4")}>${_text_resume($scope7_id, "d", ws.name, $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_y"])}${_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(btnSm)}${_attr("disabled", busy || !!restoring)}>`);
|
|
16140
16140
|
_if(() => {
|
|
16141
16141
|
if (restoring === ws.id) {
|
|
16142
16142
|
const $scope18_id = _scope_id();
|
|
@@ -16253,19 +16253,19 @@ var term_find_default = _template("G", (input) => {
|
|
|
16253
16253
|
const canStep = hasQuery && open;
|
|
16254
16254
|
const keybar = input.placement === "keybar";
|
|
16255
16255
|
_html(`<div${_attr_class([
|
|
16256
|
-
"
|
|
16257
|
-
keybar ? "
|
|
16258
|
-
!open && "
|
|
16259
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
16256
|
+
"_ev",
|
|
16257
|
+
keybar ? "_ex" : "_ew",
|
|
16258
|
+
!open && "_ez"
|
|
16259
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_ep", keybar ? "_ey" : "_es"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
16260
16260
|
if (!open) return;
|
|
16261
16261
|
query = v;
|
|
16262
16262
|
live.query = v;
|
|
16263
16263
|
run(0);
|
|
16264
|
-
}, "G1", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
16264
|
+
}, "G1", $scope0_id))}${_attr_class([findInput, keybar && "_eA"])} 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 && "_eB"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
16265
16265
|
icon_arrow_up_default({ size: 14 });
|
|
16266
|
-
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
16266
|
+
_html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_eB"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
|
|
16267
16267
|
icon_arrow_down_default({ size: 14 });
|
|
16268
|
-
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "
|
|
16268
|
+
_html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_eB"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
|
|
16269
16269
|
icon_xmark_default({ size: 14 });
|
|
16270
16270
|
_html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
16271
16271
|
const $return = focusInput;
|
|
@@ -16416,7 +16416,7 @@ var term_default = _template("H", (input) => {
|
|
|
16416
16416
|
}
|
|
16417
16417
|
}, "H9", $scope0_id);
|
|
16418
16418
|
input.keys;
|
|
16419
|
-
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("
|
|
16419
|
+
_html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_eU")}><div${_attr_class("_eV")}></div>${_el_resume($scope0_id, "b")}`);
|
|
16420
16420
|
_if(() => {
|
|
16421
16421
|
if (findOpen) {
|
|
16422
16422
|
const $scope4_id = _scope_id();
|
|
@@ -16443,7 +16443,7 @@ var term_default = _template("H", (input) => {
|
|
|
16443
16443
|
_if(() => {
|
|
16444
16444
|
if (uploading) {
|
|
16445
16445
|
const $scope5_id = _scope_id();
|
|
16446
|
-
_html(`<div${_attr_class("
|
|
16446
|
+
_html(`<div${_attr_class("_e1")}>uploading…</div>`);
|
|
16447
16447
|
writeScope($scope5_id, {});
|
|
16448
16448
|
return 0;
|
|
16449
16449
|
}
|
|
@@ -16451,7 +16451,7 @@ var term_default = _template("H", (input) => {
|
|
|
16451
16451
|
_if(() => {
|
|
16452
16452
|
if (copiedFlash) {
|
|
16453
16453
|
const $scope6_id = _scope_id();
|
|
16454
|
-
_html(`<div${_attr_class("
|
|
16454
|
+
_html(`<div${_attr_class("_e0")}>Copied</div>`);
|
|
16455
16455
|
writeScope($scope6_id, {});
|
|
16456
16456
|
return 0;
|
|
16457
16457
|
}
|
|
@@ -16460,7 +16460,7 @@ var term_default = _template("H", (input) => {
|
|
|
16460
16460
|
_if(() => {
|
|
16461
16461
|
if (trapOpen) {
|
|
16462
16462
|
const $scope3_id = _scope_id();
|
|
16463
|
-
_html(`<div${_attr_class("
|
|
16463
|
+
_html(`<div${_attr_class("_e2")}><div${_attr_class("_e3")}><p${_attr_class("_e4")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope3_id, "d")}<button${_attr_class("_q")}>Cancel</button>${_el_resume($scope3_id, "e")}</div>${_el_resume($scope3_id, "b")}</div>${_el_resume($scope3_id, "a")}`);
|
|
16464
16464
|
_script($scope3_id, "H16");
|
|
16465
16465
|
_script($scope3_id, "H17");
|
|
16466
16466
|
writeScope($scope3_id, {});
|
|
@@ -16722,7 +16722,7 @@ var work_view_default = _template("M", (input) => {
|
|
|
16722
16722
|
toggleDiff();
|
|
16723
16723
|
}
|
|
16724
16724
|
}, "M14", $scope0_id);
|
|
16725
|
-
_html(`<div${_attr_class(["
|
|
16725
|
+
_html(`<div${_attr_class(["_bR", { ["_bQ"]: !input.active }])}><div${_attr_class("_bS")}>`);
|
|
16726
16726
|
_if(() => {
|
|
16727
16727
|
if (error) {
|
|
16728
16728
|
const $scope8_id = _scope_id();
|
|
@@ -16745,7 +16745,7 @@ var work_view_default = _template("M", (input) => {
|
|
|
16745
16745
|
_if(() => {
|
|
16746
16746
|
if (diffMounted && ws) {
|
|
16747
16747
|
const $scope1_id = _scope_id();
|
|
16748
|
-
_html(`<div${_attr_class("
|
|
16748
|
+
_html(`<div${_attr_class("_bT")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
|
|
16749
16749
|
_set_serialize_reason({
|
|
16750
16750
|
0: $sg__input_workspace,
|
|
16751
16751
|
1: $sg__input_workspace,
|
|
@@ -16807,7 +16807,7 @@ var work_view_default = _template("M", (input) => {
|
|
|
16807
16807
|
_if(() => {
|
|
16808
16808
|
if (manageMounted && ws) {
|
|
16809
16809
|
const $scope2_id = _scope_id();
|
|
16810
|
-
_html(`<div${_attr_class("
|
|
16810
|
+
_html(`<div${_attr_class("_bT")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
|
|
16811
16811
|
_set_serialize_reason({
|
|
16812
16812
|
0: $sg__input_workspace,
|
|
16813
16813
|
1: _serialize_guard($scope0_reason, 9)
|
|
@@ -16833,7 +16833,7 @@ var work_view_default = _template("M", (input) => {
|
|
|
16833
16833
|
_if(() => {
|
|
16834
16834
|
if (settingsMounted) {
|
|
16835
16835
|
const $scope3_id = _scope_id();
|
|
16836
|
-
_html(`<div${_attr_class("
|
|
16836
|
+
_html(`<div${_attr_class("_bT")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
|
|
16837
16837
|
_set_serialize_reason({
|
|
16838
16838
|
0: _serialize_guard($scope0_reason, 0),
|
|
16839
16839
|
1: $sg__input_workspace,
|
|
@@ -16875,7 +16875,7 @@ var work_view_default = _template("M", (input) => {
|
|
|
16875
16875
|
_if(() => {
|
|
16876
16876
|
if (newMounted) {
|
|
16877
16877
|
const $scope4_id = _scope_id();
|
|
16878
|
-
_html(`<div${_attr_class("
|
|
16878
|
+
_html(`<div${_attr_class("_bT")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
|
|
16879
16879
|
_set_serialize_reason({
|
|
16880
16880
|
0: 1,
|
|
16881
16881
|
1: _serialize_guard($scope0_reason, 13),
|
|
@@ -16900,13 +16900,13 @@ var work_view_default = _template("M", (input) => {
|
|
|
16900
16900
|
return 0;
|
|
16901
16901
|
}
|
|
16902
16902
|
}, $scope0_id, "g", 1, 1, 1, 0, 1);
|
|
16903
|
-
_html(`<div${_attr_class("
|
|
16903
|
+
_html(`<div${_attr_class("_bU")}${_attr("inert", view !== "term")}>`);
|
|
16904
16904
|
_if(() => {
|
|
16905
16905
|
if (ws && shownSessions) {
|
|
16906
16906
|
const $scope5_id = _scope_id();
|
|
16907
16907
|
_for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
|
|
16908
16908
|
const $scope6_id = _scope_id();
|
|
16909
|
-
_html(`<div${_attr_class("
|
|
16909
|
+
_html(`<div${_attr_class("_bV")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
|
|
16910
16910
|
_set_serialize_reason(2);
|
|
16911
16911
|
const $childScope5 = _peek_scope_id();
|
|
16912
16912
|
term_default({
|
|
@@ -16932,7 +16932,7 @@ var work_view_default = _template("M", (input) => {
|
|
|
16932
16932
|
_if(() => {
|
|
16933
16933
|
if (!shownSessions.length && view === "term") {
|
|
16934
16934
|
const $scope7_id = _scope_id();
|
|
16935
|
-
_html(`<div${_attr_class("
|
|
16935
|
+
_html(`<div${_attr_class("_b9")}><span>No sessions in this workspace.</span><button${_attr_class(["_q", "_r"])}${_attr("disabled", spawning)}>${_text_resume($scope7_id, "c", spawning ? "Starting…" : `Start ${input.preferred || "shell"}`)}</button>${_el_resume($scope7_id, "b")}</div>`);
|
|
16936
16936
|
_script($scope7_id, "M39");
|
|
16937
16937
|
_subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
|
|
16938
16938
|
return 0;
|
|
@@ -16942,7 +16942,7 @@ var work_view_default = _template("M", (input) => {
|
|
|
16942
16942
|
return 0;
|
|
16943
16943
|
} else if (ws) {
|
|
16944
16944
|
const $scope10_id = _scope_id();
|
|
16945
|
-
_html(`<p${_attr_class("
|
|
16945
|
+
_html(`<p${_attr_class("_b9")}>Loading sessions…</p>`);
|
|
16946
16946
|
writeScope($scope10_id, {});
|
|
16947
16947
|
return 1;
|
|
16948
16948
|
}
|
|
@@ -17045,7 +17045,7 @@ var work_view_default = _template("M", (input) => {
|
|
|
17045
17045
|
});
|
|
17046
17046
|
//#endregion
|
|
17047
17047
|
//#region src/tags/key-bar.css.ts
|
|
17048
|
-
var kbtn = "
|
|
17048
|
+
var kbtn = "_cl _5 _l";
|
|
17049
17049
|
_template("wb", (input) => {
|
|
17050
17050
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
17051
17051
|
const $scope0_id = _scope_id();
|
|
@@ -17061,8 +17061,8 @@ _template("wb", (input) => {
|
|
|
17061
17061
|
});
|
|
17062
17062
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
17063
17063
|
});
|
|
17064
|
-
var sessOpen = "
|
|
17065
|
-
var sessRename = "
|
|
17064
|
+
var sessOpen = "_fy _I";
|
|
17065
|
+
var sessRename = "_fC _J";
|
|
17066
17066
|
//#endregion
|
|
17067
17067
|
//#region src/tags/usage-pcts.marko
|
|
17068
17068
|
var usage_pcts_default = _template("L", (input) => {
|
|
@@ -17074,22 +17074,22 @@ var usage_pcts_default = _template("L", (input) => {
|
|
|
17074
17074
|
if (windows.length) {
|
|
17075
17075
|
const $scope1_id = _scope_id();
|
|
17076
17076
|
_html(`<span${_attr_class([
|
|
17077
|
-
"
|
|
17077
|
+
"_hE",
|
|
17078
17078
|
input.class,
|
|
17079
|
-
{ ["
|
|
17079
|
+
{ ["_hF"]: agent.stale_seconds != null }
|
|
17080
17080
|
])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
|
|
17081
17081
|
_for_of(windows, (win$1, i) => {
|
|
17082
17082
|
const $scope2_id = _scope_id();
|
|
17083
|
-
_html(`<span${_attr_class("
|
|
17083
|
+
_html(`<span${_attr_class("_hG")}>`);
|
|
17084
17084
|
_if(() => {
|
|
17085
17085
|
if (i) {
|
|
17086
17086
|
const $scope3_id = _scope_id();
|
|
17087
|
-
_html(`<span${_attr_class("
|
|
17087
|
+
_html(`<span${_attr_class("_hJ")} aria-hidden=true>·</span>`);
|
|
17088
17088
|
$si__input_agent && writeScope($scope3_id, {});
|
|
17089
17089
|
return 0;
|
|
17090
17090
|
}
|
|
17091
17091
|
}, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
17092
|
-
_html(`<span${_attr_class("
|
|
17092
|
+
_html(`<span${_attr_class("_hH")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hI", win$1.used_percent >= 90 ? "_hA" : win$1.used_percent >= 70 ? "_hz" : win$1.used_percent >= 40 ? "_hy" : "_hx"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
|
|
17093
17093
|
$si__input_agent && writeScope($scope2_id, {});
|
|
17094
17094
|
}, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
|
|
17095
17095
|
$si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -17131,7 +17131,7 @@ _template("n", (input) => {
|
|
|
17131
17131
|
align: "center",
|
|
17132
17132
|
gap: 8
|
|
17133
17133
|
}), "n2", $scope0_id);
|
|
17134
|
-
_html(`<button${_attr_class([kbtn, "
|
|
17134
|
+
_html(`<button${_attr_class([kbtn, "_fu"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
|
|
17135
17135
|
_set_serialize_reason({
|
|
17136
17136
|
1: $sg__input_sessions__OR__input_sessionId,
|
|
17137
17137
|
2: $sg__input_sessions__OR__input_sessionId
|
|
@@ -17145,11 +17145,11 @@ _template("n", (input) => {
|
|
|
17145
17145
|
"_A",
|
|
17146
17146
|
"_bb",
|
|
17147
17147
|
phase[sessionPhase(current$2?.state)]
|
|
17148
|
-
])}></span>${_el_resume($scope0_id, "c", $sg__input_sessions__OR__input_sessionId)}</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["_9", "
|
|
17148
|
+
])}></span>${_el_resume($scope0_id, "c", $sg__input_sessions__OR__input_sessionId)}</button>${_el_resume($scope0_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(["_9", "_fv"])}>`);
|
|
17149
17149
|
_for_of(input.sessions, (s) => {
|
|
17150
17150
|
const $scope1_id = _scope_id();
|
|
17151
17151
|
const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
|
|
17152
|
-
_html(`<div${_attr_class(["
|
|
17152
|
+
_html(`<div${_attr_class(["_fx", { ["_fw"]: s.id === input.sessionId }])}>`);
|
|
17153
17153
|
_if(() => {
|
|
17154
17154
|
if (renamingId === s.id) {
|
|
17155
17155
|
const $scope5_id = _scope_id();
|
|
@@ -17181,7 +17181,7 @@ _template("n", (input) => {
|
|
|
17181
17181
|
agent: activeAgent(s),
|
|
17182
17182
|
size: 14
|
|
17183
17183
|
});
|
|
17184
|
-
_html(`<span${_attr_class("
|
|
17184
|
+
_html(`<span${_attr_class("_fz")}><span${_attr_class("_fB")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
|
|
17185
17185
|
_if(() => {
|
|
17186
17186
|
if (s.id === input.sessionId) {
|
|
17187
17187
|
const $scope7_id = _scope_id();
|
|
@@ -17193,7 +17193,7 @@ _template("n", (input) => {
|
|
|
17193
17193
|
const $childScope4 = _peek_scope_id();
|
|
17194
17194
|
usage_pcts_default({
|
|
17195
17195
|
agent: plan,
|
|
17196
|
-
class: "
|
|
17196
|
+
class: "_fA"
|
|
17197
17197
|
});
|
|
17198
17198
|
writeScope($scope8_id, { a: _existing_scope($childScope4) });
|
|
17199
17199
|
return 0;
|
|
@@ -17210,7 +17210,7 @@ _template("n", (input) => {
|
|
|
17210
17210
|
_if(() => {
|
|
17211
17211
|
if (input.onRenameSession) {
|
|
17212
17212
|
const $scope6_id = _scope_id();
|
|
17213
|
-
_html(`<button${_attr_class(["
|
|
17213
|
+
_html(`<button${_attr_class(["_fD", "_fE"])} title="Rename session">`);
|
|
17214
17214
|
icon_edit_default({ size: 12 });
|
|
17215
17215
|
_html(`</button>${_el_resume($scope6_id, "a")}`);
|
|
17216
17216
|
_script($scope6_id, "n5");
|
|
@@ -17222,7 +17222,7 @@ _template("n", (input) => {
|
|
|
17222
17222
|
if (input.onCloseSession) {
|
|
17223
17223
|
const $scope3_id = _scope_id();
|
|
17224
17224
|
arm_button_default({
|
|
17225
|
-
class: ["
|
|
17225
|
+
class: ["_fD", "_7"],
|
|
17226
17226
|
title: "Close session",
|
|
17227
17227
|
armedTitle: "Close?",
|
|
17228
17228
|
onFire: _resume(function() {
|
|
@@ -17254,7 +17254,7 @@ _template("n", (input) => {
|
|
|
17254
17254
|
m: $si__input_sessions && $for_content__s_agent__closures
|
|
17255
17255
|
});
|
|
17256
17256
|
}, "id", $scope0_id, "e", 1, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
|
|
17257
|
-
_html(`<div${_attr_class("
|
|
17257
|
+
_html(`<div${_attr_class("_fF")}><span${_attr_class("_fG")}>New session</span><div${_attr_class("_fH")}>`);
|
|
17258
17258
|
_for_of(["shell", ...input.agents], (agent) => {
|
|
17259
17259
|
const $scope4_id = _scope_id();
|
|
17260
17260
|
_html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
|
|
@@ -26418,4 +26418,4 @@ server.listen(port, () => {
|
|
|
26418
26418
|
//#endregion
|
|
26419
26419
|
export {};
|
|
26420
26420
|
|
|
26421
|
-
;var __MARKO_MANIFEST__={"
|
|
26421
|
+
;var __MARKO_MANIFEST__={"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-D0YuCYm0.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D0YuCYm0.css\"",">",2,"stylesheet#/assets/app-page-D19inuDV.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D19inuDV.css\"",">"],"defer":[2,"/assets/w._-CbZDVy71.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CbZDVy71.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_eivz7VIB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_eivz7VIB.js\"",">",2,"modulepreload#/assets/_DXDV5FZs.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DXDV5FZs.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-D0YuCYm0.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D0YuCYm0.css\"",">",2,"stylesheet#/assets/app-page-D19inuDV.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D19inuDV.css\"",">"],"defer":[2,"/assets/new-CbZDVy71.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-CbZDVy71.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_eivz7VIB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_eivz7VIB.js\"",">",2,"modulepreload#/assets/_DXDV5FZs.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DXDV5FZs.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-D0YuCYm0.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D0YuCYm0.css\"",">",2,"stylesheet#/assets/app-page-D19inuDV.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D19inuDV.css\"",">"],"defer":[2,"/assets/w-CbZDVy71.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-CbZDVy71.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_eivz7VIB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_eivz7VIB.js\"",">",2,"modulepreload#/assets/_DXDV5FZs.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DXDV5FZs.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-D0YuCYm0.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D0YuCYm0.css\"",">",2,"stylesheet#/assets/app-page-D19inuDV.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D19inuDV.css\"",">"],"defer":[2,"/assets/settings-CbZDVy71.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-CbZDVy71.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_eivz7VIB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_eivz7VIB.js\"",">",2,"modulepreload#/assets/_DXDV5FZs.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DXDV5FZs.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-D0YuCYm0.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D0YuCYm0.css\"",">",2,"stylesheet#/assets/app-page-D19inuDV.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-D19inuDV.css\"",">"],"defer":[2,"/assets/w._-N-o-ibQi.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-N-o-ibQi.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_eivz7VIB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_eivz7VIB.js\"",">",2,"modulepreload#/assets/_DXDV5FZs.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DXDV5FZs.js\"",">"]},"_z":{"block":[2,"stylesheet#/assets/review-view-7_TmAMkr.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-7_TmAMkr.css\"",">",2,"stylesheet#/assets/icon-arrow-down-D0YuCYm0.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-D0YuCYm0.css\"",">"],"defer":[2,"/assets/review-view-PmK65ng4.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-PmK65ng4.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">"]}};
|