@dylanpiercey/work 0.0.172 → 0.0.174

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.
Files changed (77) hide show
  1. package/dist/index.mjs +817 -678
  2. package/dist/public/assets/_183V-Tx2.js +1 -0
  3. package/dist/public/assets/_1ClJ7Vbz.js +1 -0
  4. package/dist/public/assets/_4WrdbxBF.js +1 -0
  5. package/dist/public/assets/_4WrdbxBF.js.br +0 -0
  6. package/dist/public/assets/_BBU880O4.js +1 -0
  7. package/dist/public/assets/_BLwsKK6M.js +1 -0
  8. package/dist/public/assets/{_DrPh1YYO.js → _BN5-ORGu.js} +107 -106
  9. package/dist/public/assets/_BN5-ORGu.js.br +0 -0
  10. package/dist/public/assets/_BbgDq-mE.js +1 -0
  11. package/dist/public/assets/_C8KvVbAQ.js +1 -0
  12. package/dist/public/assets/_CIQpuPUD.js +1 -0
  13. package/dist/public/assets/_CKsR7jYG.js +1 -0
  14. package/dist/public/assets/_CVhJELGI.js +1 -0
  15. package/dist/public/assets/_CmxWKvu7.js +83 -0
  16. package/dist/public/assets/_CmxWKvu7.js.br +0 -0
  17. package/dist/public/assets/_D1-CPqVC.js +1 -0
  18. package/dist/public/assets/_D1mhDjhN.js +1 -0
  19. package/dist/public/assets/_D7b9CXdo.js +1 -0
  20. package/dist/public/assets/_DO8m5BCJ.js +1 -0
  21. package/dist/public/assets/_DSsgc1Tk.js +1 -0
  22. package/dist/public/assets/{_DBbja6xF.js → _DZ999WI0.js} +1 -1
  23. package/dist/public/assets/_DZ999WI0.js.br +0 -0
  24. package/dist/public/assets/_DZigKPCx.js +1 -0
  25. package/dist/public/assets/_Djeh7x4b.js +1 -0
  26. package/dist/public/assets/_DvrbuUNn.js +1 -0
  27. package/dist/public/assets/_cIlU2HUp.js +1 -0
  28. package/dist/public/assets/_cPqUhesZ.js +1 -0
  29. package/dist/public/assets/_iZX4u3E4.js +1 -0
  30. package/dist/public/assets/_tM6HaJgW.js +1 -0
  31. package/dist/public/assets/{app-page-CkAL3lQR.css → app-page-CPgV7nno.css} +1 -1
  32. package/dist/public/assets/app-page-CPgV7nno.css.br +0 -0
  33. package/dist/public/assets/new-Dt00pIqK.js +1 -0
  34. package/dist/public/assets/review-view-BzdF2mqZ.css +1 -0
  35. package/dist/public/assets/review-view-BzdF2mqZ.css.br +0 -0
  36. package/dist/public/assets/review-view-DcsDfTWS.js +2 -0
  37. package/dist/public/assets/settings-Dt00pIqK.js +1 -0
  38. package/dist/public/assets/w-Dt00pIqK.js +1 -0
  39. package/dist/public/assets/w._-Dt00pIqK.js +1 -0
  40. package/dist/public/assets/w._-H70KYAMD.js +1 -0
  41. package/package.json +1 -1
  42. package/dist/public/assets/_0b9AaNN-.js +0 -1
  43. package/dist/public/assets/_2EzGNO5F.js +0 -1
  44. package/dist/public/assets/_BVHAcToH.js +0 -1
  45. package/dist/public/assets/_BZc_ui7n.js +0 -1
  46. package/dist/public/assets/_Bwjv-2iV.js +0 -1
  47. package/dist/public/assets/_C3-re_UC.js +0 -1
  48. package/dist/public/assets/_C7R1lv1V.js +0 -1
  49. package/dist/public/assets/_CLzwhfzy.js +0 -1
  50. package/dist/public/assets/_Ci28NbFq.js +0 -1
  51. package/dist/public/assets/_Copf6Tzh.js +0 -1
  52. package/dist/public/assets/_CouHh4Pw.js +0 -1
  53. package/dist/public/assets/_DAFAqGpW.js +0 -1
  54. package/dist/public/assets/_DBbja6xF.js.br +0 -0
  55. package/dist/public/assets/_DDjvr374.js +0 -1
  56. package/dist/public/assets/_DSe9HAN-.js +0 -1
  57. package/dist/public/assets/_D_-Exjqh.js +0 -1
  58. package/dist/public/assets/_DaE9nHz4.js +0 -1
  59. package/dist/public/assets/_DaM16tbY.js +0 -83
  60. package/dist/public/assets/_DaM16tbY.js.br +0 -0
  61. package/dist/public/assets/_DeH0loZu.js +0 -1
  62. package/dist/public/assets/_DrPh1YYO.js.br +0 -0
  63. package/dist/public/assets/_Hxo4L0bN.js +0 -1
  64. package/dist/public/assets/_K1xBXqer.js +0 -1
  65. package/dist/public/assets/_T1l7t4TQ.js +0 -1
  66. package/dist/public/assets/_jwZUUFkV.js +0 -1
  67. package/dist/public/assets/_tmN7XIcz.js +0 -1
  68. package/dist/public/assets/_tmN7XIcz.js.br +0 -0
  69. package/dist/public/assets/app-page-CkAL3lQR.css.br +0 -0
  70. package/dist/public/assets/new-J2Xsk9fP.js +0 -1
  71. package/dist/public/assets/review-view-BVFq2WLB.css +0 -1
  72. package/dist/public/assets/review-view-BVFq2WLB.css.br +0 -0
  73. package/dist/public/assets/review-view-D-42NSpI.js +0 -2
  74. package/dist/public/assets/settings-J2Xsk9fP.js +0 -1
  75. package/dist/public/assets/w-J2Xsk9fP.js +0 -1
  76. package/dist/public/assets/w._-J2Xsk9fP.js +0 -1
  77. package/dist/public/assets/w._-RF3fHU9s.js +0 -1
package/dist/index.mjs CHANGED
@@ -5836,6 +5836,10 @@ function forOf(list, cb) {
5836
5836
  for (let item of list) cb(item, i++);
5837
5837
  }
5838
5838
  }
5839
+ function forTo(to, from, step, cb) {
5840
+ let start = from || 0, delta = step || 1;
5841
+ for (let steps = (to - start) / delta, i = 0; i <= steps; i++) cb(start + i * delta);
5842
+ }
5839
5843
  function forEach(opt, cb) {
5840
5844
  if (opt) if (Array.isArray(opt)) for (let item of opt) cb(item);
5841
5845
  else cb(opt);
@@ -7023,7 +7027,7 @@ var icon_base_default = _template("W", (input) => {
7023
7027
  });
7024
7028
  //#endregion
7025
7029
  //#region src/tags/icons/icon-xmark.marko
7026
- var icon_xmark_default = _template("yb", (input) => {
7030
+ var icon_xmark_default = _template("zb", (input) => {
7027
7031
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7028
7032
  const $scope0_id = _scope_id();
7029
7033
  _set_serialize_reason({
@@ -7314,22 +7318,22 @@ function applyInstance(inst) {
7314
7318
  if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
7315
7319
  syncThemeColorMetas(theme(), inst.accent || "");
7316
7320
  }
7317
- var agentRow = "_c_ _ct";
7318
- var toolGrid = "_dh _cD";
7319
- var toolRow = "_di _cE";
7320
- var themeSeg = "_dF _bd";
7321
- var checkList = "_ea _cg";
7321
+ var agentRow = "_cS _ct";
7322
+ var toolGrid = "_c0 _cD";
7323
+ var toolRow = "_c1 _cE";
7324
+ var themeSeg = "_dn _bd";
7325
+ var checkList = "_dT _cg";
7322
7326
  var list$2 = "_cF _ci _cs _cD";
7323
7327
  var flatCardRow = "_cG _cE";
7324
7328
  var chip$1 = "_cP _X _W";
7325
- var pop$1 = "_c5 _9";
7326
- var spinner = "_c8 _1 _G";
7327
- var busy = "_cU _cT";
7328
- var pop = "_cW _9";
7329
+ var pop$1 = "_ea _9";
7330
+ var spinner = "_ed _1 _G";
7331
+ var busy = "_d0 _dZ";
7332
+ var pop = "_d2 _9";
7329
7333
  var sectionCount$1 = "_cf _N _O";
7330
7334
  //#endregion
7331
7335
  //#region src/tags/icons/icon-refresh.marko
7332
- var icon_refresh_default = _template("ob", (input) => {
7336
+ var icon_refresh_default = _template("pb", (input) => {
7333
7337
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7334
7338
  const $scope0_id = _scope_id();
7335
7339
  _set_serialize_reason({
@@ -7468,10 +7472,10 @@ var icon_agent_default = _template("P", (input) => {
7468
7472
  n: $badge__closures
7469
7473
  });
7470
7474
  });
7471
- var usageNote = "_hl _W";
7475
+ var usageNote = "_hb _W";
7472
7476
  //#endregion
7473
7477
  //#region src/tags/icons/icon-warning.marko
7474
- var icon_warning_default = _template("wb", (input) => {
7478
+ var icon_warning_default = _template("xb", (input) => {
7475
7479
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7476
7480
  const $scope0_id = _scope_id();
7477
7481
  _set_serialize_reason({
@@ -7498,11 +7502,11 @@ var usage_meters_default = _template("L", (input) => {
7498
7502
  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);
7499
7503
  const $scope0_id = _scope_id();
7500
7504
  const agent = input.agent;
7501
- _html(`<div${_attr_class(["_hf", { ["_hg"]: input.hideName }])}><div${_attr_class("_hh")}>`);
7505
+ _html(`<div${_attr_class(["_g6", { ["_g7"]: input.hideName }])}><div${_attr_class("_g8")}>`);
7502
7506
  _if(() => {
7503
7507
  if (!input.hideName) {
7504
7508
  const $scope1_id = _scope_id();
7505
- _html(`<strong${_attr_class("_hA")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7509
+ _html(`<strong${_attr_class("_hq")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7506
7510
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
7507
7511
  return 0;
7508
7512
  }
@@ -7510,7 +7514,7 @@ var usage_meters_default = _template("L", (input) => {
7510
7514
  _if(() => {
7511
7515
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
7512
7516
  const $scope2_id = _scope_id();
7513
- _html(`<span${_attr_class("_hi")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7517
+ _html(`<span${_attr_class("_g9")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7514
7518
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
7515
7519
  return 0;
7516
7520
  }
@@ -7518,21 +7522,21 @@ var usage_meters_default = _template("L", (input) => {
7518
7522
  _if(() => {
7519
7523
  if (agent.stale_seconds != null) {
7520
7524
  const $scope3_id = _scope_id();
7521
- _html(`<span${_attr_class("_hj")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7525
+ _html(`<span${_attr_class("_g_")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7522
7526
  icon_warning_default({ size: 12 });
7523
7527
  _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)}`);
7524
7528
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7525
7529
  return 0;
7526
7530
  }
7527
7531
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
7528
- _html(`</div><div${_attr_class(["_hk", { ["_hB"]: agent.stale_seconds != null }])}>`);
7532
+ _html(`</div><div${_attr_class(["_ha", { ["_hr"]: agent.stale_seconds != null }])}>`);
7529
7533
  _for_of(agent.windows || [], (win) => {
7530
7534
  const $scope4_id = _scope_id();
7531
7535
  const pct = pctText(win.used_percent);
7532
7536
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
7533
- const fillClass = win.used_percent >= 90 ? "_ht" : win.used_percent >= 70 ? "_hs" : win.used_percent >= 40 ? "_hr" : "_hq";
7534
- const pctClass = win.used_percent >= 90 ? "_hy" : win.used_percent >= 70 ? "_hx" : win.used_percent >= 40 ? "_hw" : "_hv";
7535
- _html(`<div${_attr_class("_hm")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_hn")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_ho")}><span${_attr_class(["_hp", 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(["_hu", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hz")}>`);
7537
+ const fillClass = win.used_percent >= 90 ? "_hj" : win.used_percent >= 70 ? "_hi" : win.used_percent >= 40 ? "_hh" : "_hg";
7538
+ const pctClass = win.used_percent >= 90 ? "_ho" : win.used_percent >= 70 ? "_hn" : win.used_percent >= 40 ? "_hm" : "_hl";
7539
+ _html(`<div${_attr_class("_hc")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_hd")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_he")}><span${_attr_class(["_hf", 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(["_hk", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hp")}>`);
7536
7540
  _if(() => {
7537
7541
  if (label) {
7538
7542
  const $scope6_id = _scope_id();
@@ -7566,7 +7570,7 @@ var usage_meters_default = _template("L", (input) => {
7566
7570
  });
7567
7571
  //#endregion
7568
7572
  //#region src/tags/icons/icon-github.marko
7569
- var icon_github_default = _template("hb", (input) => {
7573
+ var icon_github_default = _template("ib", (input) => {
7570
7574
  const $scope0_reason = _scope_reason();
7571
7575
  const $scope0_id = _scope_id();
7572
7576
  const size = input.size ?? iconSize.md;
@@ -7575,7 +7579,7 @@ var icon_github_default = _template("hb", (input) => {
7575
7579
  });
7576
7580
  //#endregion
7577
7581
  //#region src/tags/icons/icon-plus.marko
7578
- var icon_plus_default = _template("nb", (input) => {
7582
+ var icon_plus_default = _template("ob", (input) => {
7579
7583
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7580
7584
  const $scope0_id = _scope_id();
7581
7585
  _set_serialize_reason({
@@ -7592,7 +7596,7 @@ var icon_plus_default = _template("nb", (input) => {
7592
7596
  });
7593
7597
  //#endregion
7594
7598
  //#region src/tags/icons/icon-search.marko
7595
- var icon_search_default = _template("pb", (input) => {
7599
+ var icon_search_default = _template("qb", (input) => {
7596
7600
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7597
7601
  const $scope0_id = _scope_id();
7598
7602
  _set_serialize_reason({
@@ -7631,10 +7635,10 @@ var add_field_default = _template("b", (input$3) => {
7631
7635
  }
7632
7636
  }, $scope0_id, "a", 1, 1, 1, 0, 1);
7633
7637
  _html(`<form${_attr_class([
7634
- "_cY",
7638
+ "_d4",
7635
7639
  input$3.class,
7636
- { ["_cZ"]: !open }
7637
- ])}><label${_attr_class(["_0", "_c1"])}>`);
7640
+ { ["_d5"]: !open }
7641
+ ])}><label${_attr_class(["_0", "_d7"])}>`);
7638
7642
  _if(() => {
7639
7643
  if (input$3.searching) {
7640
7644
  const $scope5_id = _scope_id();
@@ -7661,7 +7665,7 @@ var add_field_default = _template("b", (input$3) => {
7661
7665
  }, "b0", $scope0_id))}${_attr_class([
7662
7666
  "_Y",
7663
7667
  "_2",
7664
- "_c2"
7668
+ "_d8"
7665
7669
  ])} type=text${_attr("placeholder", input$3.placeholder)}${_attr("aria-label", input$3.ariaLabel)} autocomplete=off spellcheck=false>${_el_resume($scope0_id, "e")}</label>`);
7666
7670
  _if(() => {
7667
7671
  if (input$3.submitLabel) {
@@ -7669,19 +7673,19 @@ var add_field_default = _template("b", (input$3) => {
7669
7673
  _html(`<button${_attr_class([
7670
7674
  btnSm,
7671
7675
  "_r",
7672
- "_c3"
7676
+ "_d9"
7673
7677
  ])} type=submit${_attr("hidden", !open)}${_attr("disabled", !value.trim() || input$3.busy)}>${_text_resume($scope3_id, "b", input$3.busy ? "Adding…" : input$3.submitLabel, _serialize_guard($scope0_reason, 1))}</button>${_el_resume($scope3_id, "a")}`);
7674
7678
  writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7675
7679
  return 0;
7676
7680
  }
7677
7681
  }, $scope0_id, "f", 1, _serialize_guard($scope0_reason, 7), 1, 0, 1);
7678
- _html(`<button${_attr_class([iconBtnRow, "_c4"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
7682
+ _html(`<button${_attr_class([iconBtnRow, "_d_"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
7679
7683
  icon_xmark_default({ size: 14 });
7680
7684
  _html(`</button>${_el_resume($scope0_id, "g")}`);
7681
7685
  _if(() => {
7682
7686
  if (input$3.content) {
7683
7687
  const $scope4_id = _scope_id();
7684
- _html(`<ul${_attr_class([pop$1, "_c6"])}${_attr("hidden", !open || !value.trim())}>`);
7688
+ _html(`<ul${_attr_class([pop$1, "_eb"])}${_attr("hidden", !open || !value.trim())}>`);
7685
7689
  _dynamic_tag($scope4_id, "b", input$3.content, {}, 0, 0, $sg__input_content);
7686
7690
  _html(`</ul>${_el_resume($scope4_id, "a")}`);
7687
7691
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7808,14 +7812,14 @@ var sso_auth_default = _template("G", (input) => {
7808
7812
  localCode = null;
7809
7813
  }
7810
7814
  }, "G0", $scope0_id);
7811
- _html(`<div${_attr_class(["_g4", input.class])}>`);
7815
+ _html(`<div${_attr_class(["_hs", input.class])}>`);
7812
7816
  _for_of(input.items, (s) => {
7813
7817
  const $scope1_id = _scope_id();
7814
- _html(`<div${_attr_class("_g5")}><span${_attr_class("_g7")}><span${_attr_class("_g8")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_g9", "_g_"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7818
+ _html(`<div${_attr_class("_ht")}><span${_attr_class("_hv")}><span${_attr_class("_hw")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hx", "_hy"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7815
7819
  _if(() => {
7816
7820
  if (!busy) {
7817
7821
  const $scope2_id = _scope_id();
7818
- _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, "_ha"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7822
+ _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, "_hz"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7819
7823
  _script($scope2_id, "G1");
7820
7824
  writeScope($scope2_id, {});
7821
7825
  return 0;
@@ -7830,13 +7834,13 @@ var sso_auth_default = _template("G", (input) => {
7830
7834
  _if(() => {
7831
7835
  if (localBusy && localCode) {
7832
7836
  const $scope4_id = _scope_id();
7833
- _html(`<div${_attr_class(["_g5", "_hb"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hc")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hd")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7837
+ _html(`<div${_attr_class(["_ht", "_hA"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hB")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hC")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7834
7838
  _script($scope4_id, "G2");
7835
7839
  writeScope($scope4_id, {});
7836
7840
  return 0;
7837
7841
  } else if (localBusy) {
7838
7842
  const $scope6_id = _scope_id();
7839
- _html(`<div${_attr_class(["_g5", "_hb"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7843
+ _html(`<div${_attr_class(["_ht", "_hA"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7840
7844
  writeScope($scope6_id, {});
7841
7845
  return 1;
7842
7846
  }
@@ -7844,14 +7848,14 @@ var sso_auth_default = _template("G", (input) => {
7844
7848
  _if(() => {
7845
7849
  if (localError) {
7846
7850
  const $scope5_id = _scope_id();
7847
- _html(`<p${_attr_class(["_g5", "_he"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7851
+ _html(`<p${_attr_class(["_ht", "_hD"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7848
7852
  writeScope($scope5_id, {});
7849
7853
  return 0;
7850
7854
  }
7851
7855
  }, $scope0_id, "d", 1, 1, 1, 0, 1);
7852
7856
  _for_of(skipped, (s) => {
7853
7857
  const $scope3_id = _scope_id();
7854
- _html(`<div${_attr_class(["_g5", "_g6"])}><span${_attr_class("_g7")}><span${_attr_class("_g8")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_g9")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_ha"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7858
+ _html(`<div${_attr_class(["_ht", "_hu"])}><span${_attr_class("_hv")}><span${_attr_class("_hw")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hx")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hz"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7855
7859
  _script($scope3_id, "G3");
7856
7860
  writeScope($scope3_id, {
7857
7861
  i: s?.org,
@@ -7902,7 +7906,7 @@ var skill_chip_default = _template("F", (input) => {
7902
7906
  const $input_tags__closures = /* @__PURE__ */ new Set();
7903
7907
  const $input_actions__closures = /* @__PURE__ */ new Set();
7904
7908
  const $input_trailing__closures = /* @__PURE__ */ new Set();
7905
- _html(`<li${_attr_class("_cS")}>`);
7909
+ _html(`<li${_attr_class("_dY")}>`);
7906
7910
  _if(() => {
7907
7911
  if (input.busy != null) {
7908
7912
  const $scope1_id = _scope_id();
@@ -7912,11 +7916,11 @@ var skill_chip_default = _template("F", (input) => {
7912
7916
  } else {
7913
7917
  const $scope2_id = _scope_id();
7914
7918
  const popId = _id();
7915
- _html(`<button${_attr_class("_cT")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7919
+ _html(`<button${_attr_class("_dZ")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7916
7920
  _if(() => {
7917
7921
  if (input.hint) {
7918
7922
  const $scope3_id = _scope_id();
7919
- _html(`<span${_attr_class("_cV")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7923
+ _html(`<span${_attr_class("_d1")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7920
7924
  $si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
7921
7925
  return 0;
7922
7926
  }
@@ -7964,7 +7968,7 @@ var skill_chip_default = _template("F", (input) => {
7964
7968
  _if(() => {
7965
7969
  if (input.actions) {
7966
7970
  const $scope8_id = _scope_id();
7967
- _html(`<div${_attr_class("_cX")}>`);
7971
+ _html(`<div${_attr_class("_d3")}>`);
7968
7972
  _dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7969
7973
  _html("</div>");
7970
7974
  $si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
@@ -8024,7 +8028,7 @@ var icon_arrow_up_default = _template("U", (input) => {
8024
8028
  });
8025
8029
  //#endregion
8026
8030
  //#region src/tags/icons/icon-monitor.marko
8027
- var icon_monitor_default = _template("lb", (input) => {
8031
+ var icon_monitor_default = _template("mb", (input) => {
8028
8032
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
8029
8033
  const $scope0_id = _scope_id();
8030
8034
  _set_serialize_reason({
@@ -8041,7 +8045,7 @@ var icon_monitor_default = _template("lb", (input) => {
8041
8045
  });
8042
8046
  //#endregion
8043
8047
  //#region src/tags/icons/icon-sun.marko
8044
- var icon_sun_default = _template("tb", (input) => {
8048
+ var icon_sun_default = _template("ub", (input) => {
8045
8049
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
8046
8050
  const $scope0_id = _scope_id();
8047
8051
  _set_serialize_reason({
@@ -8058,7 +8062,7 @@ var icon_sun_default = _template("tb", (input) => {
8058
8062
  });
8059
8063
  //#endregion
8060
8064
  //#region src/tags/icons/icon-moon.marko
8061
- var icon_moon_default = _template("mb", (input) => {
8065
+ var icon_moon_default = _template("nb", (input) => {
8062
8066
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
8063
8067
  const $scope0_id = _scope_id();
8064
8068
  _set_serialize_reason({
@@ -8075,7 +8079,7 @@ var icon_moon_default = _template("mb", (input) => {
8075
8079
  });
8076
8080
  //#endregion
8077
8081
  //#region src/tags/prompt-dialog.css.ts
8078
- var promptDlg = "_g3 _gZ";
8082
+ var promptDlg = "_g5 _g1";
8079
8083
  //#endregion
8080
8084
  //#region src/tags/dialog-close.marko
8081
8085
  var dialog_close_default = _template("h", (input) => {
@@ -8099,7 +8103,7 @@ var modal_view_default = _template("q", (input) => {
8099
8103
  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;
8100
8104
  const dismissable = input.dismissable !== false;
8101
8105
  let open = input.open;
8102
- _html(`<dialog${_attr_class(["_gY", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8106
+ _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({
8103
8107
  ...htmlInput,
8104
8108
  open: null
8105
8109
  }, {
@@ -8109,20 +8113,20 @@ var modal_view_default = _template("q", (input) => {
8109
8113
  closedby: 1,
8110
8114
  "on-cancel": 1,
8111
8115
  "on-close": 1
8112
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_g1")}>`);
8116
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_g3")}>`);
8113
8117
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
8114
8118
  _html("</div>");
8115
8119
  _if(() => {
8116
8120
  if (footer) {
8117
8121
  const $scope1_id = _scope_id();
8118
- _html(`<form method=dialog${_attr_class("_g2")}>`);
8122
+ _html(`<form method=dialog${_attr_class("_g4")}>`);
8119
8123
  _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
8120
8124
  _html("</form>");
8121
8125
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
8122
8126
  return 0;
8123
8127
  } else if (input.openChange) {
8124
8128
  const $scope2_id = _scope_id();
8125
- _html(`<form method=dialog${_attr_class("_g2")}>`);
8129
+ _html(`<form method=dialog${_attr_class("_g4")}>`);
8126
8130
  dialog_close_default({
8127
8131
  class: ["_q", "_r"],
8128
8132
  content: _content("q0", () => {
@@ -8206,7 +8210,7 @@ var prompt_dialog_default = _template("u", (input) => {
8206
8210
  content: _content("u7", () => {
8207
8211
  _scope_reason();
8208
8212
  const $scope2_id = _scope_id();
8209
- _html(`<h2${_attr_class("_g0")}${_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) => {
8213
+ _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) => {
8210
8214
  value = _new_value;
8211
8215
  }, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
8212
8216
  _script($scope2_id, "u5");
@@ -8825,16 +8829,16 @@ var settings_page_default = _template("B", (input) => {
8825
8829
  _if(() => {
8826
8830
  if (selfUpdatePending || selfUpdating) {
8827
8831
  const $scope43_id = _scope_id();
8828
- _html(`<div${_attr_class("_dJ")} role=status><div${_attr_class("_dK")}>`);
8832
+ _html(`<div${_attr_class("_dr")} role=status><div${_attr_class("_ds")}>`);
8829
8833
  _if(() => {
8830
8834
  if (selfUpdating) {
8831
8835
  const $scope81_id = _scope_id();
8832
- _html(`<span${_attr_class("_dL")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_dM")}>The app restarts and reloads when it is done.</span>`);
8836
+ _html(`<span${_attr_class("_dt")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_du")}>The app restarts and reloads when it is done.</span>`);
8833
8837
  writeScope($scope81_id, {});
8834
8838
  return 0;
8835
8839
  } else {
8836
8840
  const $scope44_id = _scope_id();
8837
- _html(`<span${_attr_class("_dL")}>Update available</span><span${_attr_class("_dM")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
8841
+ _html(`<span${_attr_class("_dt")}>Update available</span><span${_attr_class("_du")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
8838
8842
  _subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope44_id, {})));
8839
8843
  return 1;
8840
8844
  }
@@ -8864,11 +8868,11 @@ var settings_page_default = _template("B", (input) => {
8864
8868
  _: _scope_with_id($scope0_id)
8865
8869
  });
8866
8870
  }, $scope0_id) };
8867
- _html(`<section${_attr_class("_cd")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_ce")}><h2${_attr("id", agentsId)}${_attr_class("_cr")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_da")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8871
+ _html(`<section${_attr_class("_cd")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_ce")}><h2${_attr("id", agentsId)}${_attr_class("_cr")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_cT")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8868
8872
  _attr_select_value($scope0_id, "p", input.preferred, _resume(function(v) {
8869
8873
  setPreferred(v);
8870
8874
  }, "B0", $scope0_id), () => {
8871
- _html(`<select${_attr_class(["_p", "_db"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8875
+ _html(`<select${_attr_class(["_p", "_cU"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8872
8876
  _for_of(input.agents.filter((a) => a !== "shell"), (id) => {
8873
8877
  const $scope83_id = _scope_id();
8874
8878
  _html(`<option${_attr_option_value(id)}>${_text_resume($scope83_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope83_id, "a", $sg__input_agents)}`);
@@ -8883,7 +8887,7 @@ var settings_page_default = _template("B", (input) => {
8883
8887
  const rows = lone ? [] : a.instances;
8884
8888
  const loneAccounts = lone ? accountsFor(lone.id) : [];
8885
8889
  const extraAccounts = a.installed ? strayAccountsFor(a) : [];
8886
- _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_dc", { ["_de"]: lone && !lone.enabled }])}>`);
8890
+ _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_cV", { ["_cX"]: lone && !lone.enabled }])}>`);
8887
8891
  _set_serialize_reason(12);
8888
8892
  const $childScope3 = _peek_scope_id();
8889
8893
  icon_agent_default({
@@ -8903,7 +8907,7 @@ var settings_page_default = _template("B", (input) => {
8903
8907
  _if(() => {
8904
8908
  if (active.has(a.id)) {
8905
8909
  const $scope13_id = _scope_id();
8906
- _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8910
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8907
8911
  _subscribe($active__closures, writeScope($scope13_id, {}));
8908
8912
  return 0;
8909
8913
  } else if (!a.installed) {
@@ -8939,15 +8943,15 @@ var settings_page_default = _template("B", (input) => {
8939
8943
  _if(() => {
8940
8944
  if (rows.length || loneAccounts.length || extraAccounts.length) {
8941
8945
  const $scope2_id = _scope_id();
8942
- _html(`<ul${_attr_class(["_dg", { ["_de"]: lone && !lone.enabled }])}>`);
8946
+ _html(`<ul${_attr_class(["_cZ", { ["_cX"]: lone && !lone.enabled }])}>`);
8943
8947
  _for_of(rows, (inst) => {
8944
8948
  const $scope3_id = _scope_id();
8945
8949
  const accounts = accountsFor(inst.id);
8946
- _html(`<li${_attr_class(["_dd", { ["_de"]: !inst.enabled }])}><div${_attr_class("_dc")}>`);
8950
+ _html(`<li${_attr_class(["_cW", { ["_cX"]: !inst.enabled }])}><div${_attr_class("_cV")}>`);
8947
8951
  _set_serialize_reason(12);
8948
8952
  const $childScope5 = _peek_scope_id();
8949
8953
  icon_agent_default({ agent: inst.id });
8950
- _html(`<span${_attr_class(["_df", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8954
+ _html(`<span${_attr_class(["_cY", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8951
8955
  _if(() => {
8952
8956
  if (input.preferred === inst.id) {
8953
8957
  const $scope87_id = _scope_id();
@@ -9043,7 +9047,7 @@ var settings_page_default = _template("B", (input) => {
9043
9047
  _set_serialize_reason(44);
9044
9048
  const $childScope10 = _peek_scope_id();
9045
9049
  add_field_default({
9046
- class: "_do",
9050
+ class: "_c7",
9047
9051
  open: addingHost,
9048
9052
  openChange: _resume((_new_addingHost) => {
9049
9053
  addingHost = _new_addingHost;
@@ -9080,10 +9084,10 @@ var settings_page_default = _template("B", (input) => {
9080
9084
  const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
9081
9085
  const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
9082
9086
  const busy = active.has(h.host);
9083
- _html(`<div${_attr_class(["_ct", "_dp"])}><div${_attr_class("_dq")}>`);
9087
+ _html(`<div${_attr_class(["_ct", "_c8"])}><div${_attr_class("_c9")}>`);
9084
9088
  icon_github_default({
9085
9089
  size: 18,
9086
- class: "_dr"
9090
+ class: "_c_"
9087
9091
  });
9088
9092
  _html(`<div${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
9089
9093
  _if(() => {
@@ -9098,25 +9102,25 @@ var settings_page_default = _template("B", (input) => {
9098
9102
  _if(() => {
9099
9103
  if (busy) {
9100
9104
  const $scope14_id = _scope_id();
9101
- _html(`<span${_attr_class(["_cm", "_ds"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9105
+ _html(`<span${_attr_class(["_cm", "_da"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9102
9106
  _subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Ch1: 1 })));
9103
9107
  return 0;
9104
9108
  } else if (h.authed) {
9105
9109
  const $scope92_id = _scope_id();
9106
- _html(`<span${_attr_class(["_cm", "_ds"])}>`);
9110
+ _html(`<span${_attr_class(["_cm", "_da"])}>`);
9107
9111
  icon_check_default({
9108
9112
  size: 12,
9109
- class: "_dt"
9113
+ class: "_db"
9110
9114
  });
9111
- _html(` Signed in as <strong${_attr_class("_dv")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
9115
+ _html(` Signed in as <strong${_attr_class("_dd")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
9112
9116
  writeScope($scope92_id, {});
9113
9117
  return 1;
9114
9118
  } else if (h.error) {
9115
9119
  const $scope93_id = _scope_id();
9116
9120
  _html(`<span${_attr_class([
9117
9121
  "_cm",
9118
- "_ds",
9119
- "_du"
9122
+ "_da",
9123
+ "_dc"
9120
9124
  ])}>`);
9121
9125
  icon_warning_default({ size: 12 });
9122
9126
  _html(`${_text_resume($scope93_id, "c", h.error)}</span>`);
@@ -9124,7 +9128,7 @@ var settings_page_default = _template("B", (input) => {
9124
9128
  return 2;
9125
9129
  } else {
9126
9130
  const $scope95_id = _scope_id();
9127
- _html(`<span${_attr_class(["_cm", "_ds"])}>Not signed in</span>`);
9131
+ _html(`<span${_attr_class(["_cm", "_da"])}>Not signed in</span>`);
9128
9132
  writeScope($scope95_id, {});
9129
9133
  return 3;
9130
9134
  }
@@ -9198,7 +9202,7 @@ var settings_page_default = _template("B", (input) => {
9198
9202
  _if(() => {
9199
9203
  if (busy && authCodes.has(h.host)) {
9200
9204
  const $scope35_id = _scope_id();
9201
- _html(`<div${_attr_class("_dw")}><span${_attr_class("_dx")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_dz")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_dy")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
9205
+ _html(`<div${_attr_class("_de")}><span${_attr_class("_df")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_dh")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_dg")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
9202
9206
  _subscribe($authCodes__closures, writeScope($scope35_id, { Ch6: 1 }));
9203
9207
  return 0;
9204
9208
  }
@@ -9210,7 +9214,7 @@ var settings_page_default = _template("B", (input) => {
9210
9214
  _set_serialize_reason(30);
9211
9215
  const $childScope13 = _peek_scope_id();
9212
9216
  sso_auth_default({
9213
- class: ["_ct", "_dA"],
9217
+ class: ["_ct", "_di"],
9214
9218
  items: hostSso$1,
9215
9219
  skipped: skippedSso,
9216
9220
  busy,
@@ -9288,7 +9292,7 @@ var settings_page_default = _template("B", (input) => {
9288
9292
  _if(() => {
9289
9293
  if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
9290
9294
  const $scope99_id = _scope_id();
9291
- _html(`<li${_attr_class("_c7")}>Searching skills.sh…</li>`);
9295
+ _html(`<li${_attr_class("_ec")}>Searching skills.sh…</li>`);
9292
9296
  writeScope($scope99_id, {});
9293
9297
  return 0;
9294
9298
  }
@@ -9296,11 +9300,11 @@ var settings_page_default = _template("B", (input) => {
9296
9300
  _if(() => {
9297
9301
  if (looksLikeSource(skillQuery)) {
9298
9302
  const $scope17_id = _scope_id();
9299
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_dk", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9303
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_c3", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9300
9304
  _if(() => {
9301
9305
  if (active.has(skillQuery.trim())) {
9302
9306
  const $scope18_id = _scope_id();
9303
- _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9307
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9304
9308
  _subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope18_id, {
9305
9309
  Ch1: 3,
9306
9310
  Chs: 2
@@ -9334,11 +9338,11 @@ var settings_page_default = _template("B", (input) => {
9334
9338
  _for_of(skillHits || [], (h) => {
9335
9339
  const $scope19_id = _scope_id();
9336
9340
  const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
9337
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_dk", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9341
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_c3", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9338
9342
  _if(() => {
9339
9343
  if (active.has(h.skillId)) {
9340
9344
  const $scope20_id = _scope_id();
9341
- _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9345
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9342
9346
  _subscribe($active__closures, writeScope($scope20_id, { Ch1: 5 }));
9343
9347
  return 0;
9344
9348
  } else {
@@ -9391,7 +9395,7 @@ var settings_page_default = _template("B", (input) => {
9391
9395
  _if(() => {
9392
9396
  if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
9393
9397
  const $scope52_id = _scope_id();
9394
- _html(`<li${_attr_class("_c7")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
9398
+ _html(`<li${_attr_class("_ec")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
9395
9399
  _subscribe($skillQuery__closures, writeScope($scope52_id, { Chs: 3 }));
9396
9400
  return 0;
9397
9401
  }
@@ -9423,7 +9427,7 @@ var settings_page_default = _template("B", (input) => {
9423
9427
  return 1;
9424
9428
  }
9425
9429
  }, $scope21_id, "b", 1, 1, 1, 0, 1);
9426
- _html(`<ul${_attr_class("_cR")}>`);
9430
+ _html(`<ul${_attr_class("_dX")}>`);
9427
9431
  _for_of(skills?.global || [], (s) => {
9428
9432
  const $scope23_id = _scope_id();
9429
9433
  const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
@@ -9522,7 +9526,7 @@ var settings_page_default = _template("B", (input) => {
9522
9526
  _if(() => {
9523
9527
  if (bulk) {
9524
9528
  const $scope34_id = _scope_id();
9525
- _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope34_id, "c", bulk.action === "update" ? "Updating" : "Installing")} ${_text_resume($scope34_id, "d", Math.min(bulk.done + 1, bulk.total), 2)}/${_text_resume($scope34_id, "e", bulk.total, 2)}${_text_resume($scope34_id, "f", activeLine && ` — ${activeLine}`, 2)}</span>`);
9529
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope34_id, "c", bulk.action === "update" ? "Updating" : "Installing")} ${_text_resume($scope34_id, "d", Math.min(bulk.done + 1, bulk.total), 2)}/${_text_resume($scope34_id, "e", bulk.total, 2)}${_text_resume($scope34_id, "f", activeLine && ` — ${activeLine}`, 2)}</span>`);
9526
9530
  writeScope($scope34_id, {});
9527
9531
  return 0;
9528
9532
  } else {
@@ -9571,7 +9575,7 @@ var settings_page_default = _template("B", (input) => {
9571
9575
  _if(() => {
9572
9576
  if (searching && !hits?.length) {
9573
9577
  const $scope109_id = _scope_id();
9574
- _html(`<li${_attr_class("_c7")}>Searching the mise registry…</li>`);
9578
+ _html(`<li${_attr_class("_ec")}>Searching the mise registry…</li>`);
9575
9579
  writeScope($scope109_id, {});
9576
9580
  return 0;
9577
9581
  }
@@ -9579,18 +9583,18 @@ var settings_page_default = _template("B", (input) => {
9579
9583
  _if(() => {
9580
9584
  if (hits && !hits.length && !searching) {
9581
9585
  const $scope42_id = _scope_id();
9582
- _html(`<li${_attr_class("_c7")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
9586
+ _html(`<li${_attr_class("_ec")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
9583
9587
  _subscribe($query__closures, writeScope($scope42_id, {}));
9584
9588
  return 0;
9585
9589
  }
9586
9590
  }, $scope28_id, "b", 1, 1, 1, 0, 1);
9587
9591
  _for_of(hits || [], (h) => {
9588
9592
  const $scope29_id = _scope_id();
9589
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_dk", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9593
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_c3", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9590
9594
  _if(() => {
9591
9595
  if (active.has(h.name)) {
9592
9596
  const $scope30_id = _scope_id();
9593
- _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
9597
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
9594
9598
  _subscribe($active__closures, writeScope($scope30_id, { Ch1: 9 }));
9595
9599
  return 0;
9596
9600
  } else if (h.description) {
@@ -9656,11 +9660,11 @@ var settings_page_default = _template("B", (input) => {
9656
9660
  _if(() => {
9657
9661
  if (self) {
9658
9662
  const $scope46_id = _scope_id();
9659
- _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_dk", "_y"])}>work</span>`);
9663
+ _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_c3", "_y"])}>work</span>`);
9660
9664
  _if(() => {
9661
9665
  if (selfUpdating) {
9662
9666
  const $scope112_id = _scope_id();
9663
- _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9667
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9664
9668
  writeScope($scope112_id, {});
9665
9669
  return 0;
9666
9670
  } else {
@@ -9674,7 +9678,7 @@ var settings_page_default = _template("B", (input) => {
9674
9678
  return 0;
9675
9679
  } else if (self.latest && self.latest !== self.version) {
9676
9680
  const $scope48_id = _scope_id();
9677
- _html(`<button${_attr_class([btnSm, "_dn"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9681
+ _html(`<button${_attr_class([btnSm, "_c6"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9678
9682
  icon_arrow_up_default({ size: 12 });
9679
9683
  _html(` ${_text_resume($scope48_id, "c", self.latest, 2)}</button>${_el_resume($scope48_id, "a")}`);
9680
9684
  _script($scope48_id, "B77");
@@ -9717,11 +9721,11 @@ var settings_page_default = _template("B", (input) => {
9717
9721
  const $for_content7__t_latest__closures = /* @__PURE__ */ new Set();
9718
9722
  const $for_content7__t_label__closures = /* @__PURE__ */ new Set();
9719
9723
  const $for_content7__t_newest__closures = /* @__PURE__ */ new Set();
9720
- _html(`<li${_attr_class([toolRow, { ["_dj"]: !t.installed }])}><span${_attr_class(["_dk", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
9724
+ _html(`<li${_attr_class([toolRow, { ["_c2"]: !t.installed }])}><span${_attr_class(["_c3", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
9721
9725
  _if(() => {
9722
9726
  if (active.has(t.id)) {
9723
9727
  const $scope33_id = _scope_id();
9724
- _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
9728
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
9725
9729
  _subscribe($active__closures, writeScope($scope33_id, { Ch1: 12 }));
9726
9730
  return 0;
9727
9731
  } else if (t.installed) {
@@ -9729,11 +9733,11 @@ var settings_page_default = _template("B", (input) => {
9729
9733
  _if(() => {
9730
9734
  if (t.version) {
9731
9735
  const $scope40_id = _scope_id();
9732
- _html(`<button${_attr_class(["_dm", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
9736
+ _html(`<button${_attr_class(["_c5", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
9733
9737
  _if(() => {
9734
9738
  if (aliasPin(t)) {
9735
9739
  const $scope116_id = _scope_id();
9736
- _html(`<span${_attr_class("_dl")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
9740
+ _html(`<span${_attr_class("_c4")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
9737
9741
  _subscribe($for_content7__t_pin__closures, writeScope($scope116_id, { Ca0: 1 }));
9738
9742
  return 0;
9739
9743
  }
@@ -9752,7 +9756,7 @@ var settings_page_default = _template("B", (input) => {
9752
9756
  _if(() => {
9753
9757
  if (outdated(t)) {
9754
9758
  const $scope57_id = _scope_id();
9755
- _html(`<button${_attr_class([btnSm, "_dn"])}${_attr("title", `Update to v${t.latest}`)}>`);
9759
+ _html(`<button${_attr_class([btnSm, "_c6"])}${_attr("title", `Update to v${t.latest}`)}>`);
9756
9760
  icon_arrow_up_default({ size: 12 });
9757
9761
  _html(` ${_text_resume($scope57_id, "c", t.latest, 2)}</button>${_el_resume($scope57_id, "a")}`);
9758
9762
  _script($scope57_id, "B79");
@@ -9760,7 +9764,7 @@ var settings_page_default = _template("B", (input) => {
9760
9764
  return 0;
9761
9765
  } else if (t.newest) {
9762
9766
  const $scope58_id = _scope_id();
9763
- _html(`<button${_attr_class(["_dm", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope58_id, "b", t.newest)} available</button>${_el_resume($scope58_id, "a")}`);
9767
+ _html(`<button${_attr_class(["_c5", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope58_id, "b", t.newest)} available</button>${_el_resume($scope58_id, "a")}`);
9764
9768
  _script($scope58_id, "B80");
9765
9769
  _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($scope58_id, { Cy: 1 })))));
9766
9770
  return 1;
@@ -9873,14 +9877,14 @@ var settings_page_default = _template("B", (input) => {
9873
9877
  label: "Dark"
9874
9878
  }
9875
9879
  ];
9876
- _html(`</div></div></section><section${_attr_class("_cd")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_ce")}><h2${_attr("id", appearanceId)}${_attr_class("_cr")}>Appearance</h2></div><div${_attr_class(["_ci", "_dB"])}><div${_attr_class("_dN")}><img${_attr_class("_dO")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "au", $sg__input_instance_accent)}<span${_attr_class("_dP")}><span${_attr_class("_dQ")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dR")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dC")}><span${_attr_class("_dD")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9880
+ _html(`</div></div></section><section${_attr_class("_cd")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_ce")}><h2${_attr("id", appearanceId)}${_attr_class("_cr")}>Appearance</h2></div><div${_attr_class(["_ci", "_dj"])}><div${_attr_class("_dv")}><img${_attr_class("_dw")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "au", $sg__input_instance_accent)}<span${_attr_class("_dx")}><span${_attr_class("_dy")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dz")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dk")}><span${_attr_class("_dl")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9877
9881
  setInstance({ name: v });
9878
- }, "B1", $scope0_id))}${_attr_class(["_Y", "_dE"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_dC")}><span${_attr_class("_dD")}>Theme</span><span${_attr_class("_dG")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9882
+ }, "B1", $scope0_id))}${_attr_class(["_Y", "_dm"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_dk")}><span${_attr_class("_dl")}>Theme</span><span${_attr_class("_do")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9879
9883
  _for_of(themeOpts, (opt) => {
9880
9884
  const $scope49_id = _scope_id();
9881
9885
  _html(`<button type=button${_attr_class([
9882
9886
  "_bf",
9883
- "_dS",
9887
+ "_dA",
9884
9888
  { ["_be"]: themeMode === opt.id }
9885
9889
  ])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>`);
9886
9890
  if (opt.id === "system") {
@@ -9900,28 +9904,28 @@ var settings_page_default = _template("B", (input) => {
9900
9904
  _: _scope_with_id($scope0_id)
9901
9905
  });
9902
9906
  }, "id", $scope0_id, "b5", 1, 0, 1, 0, 1);
9903
- _html(`</span><span${_attr_class(["_o", "_dH"])}>`);
9907
+ _html(`</span><span${_attr_class(["_o", "_dp"])}>`);
9904
9908
  _attr_select_value($scope0_id, "b7", themeMode, _resume(function(v) {
9905
9909
  setThemeMode(v);
9906
9910
  }, "B2", $scope0_id), () => {
9907
- _html(`<select${_attr_class(["_p", "_dI"])} aria-label="Color theme">`);
9911
+ _html(`<select${_attr_class(["_p", "_dq"])} aria-label="Color theme">`);
9908
9912
  forOf(themeOpts, (opt) => {
9909
9913
  _scope_id();
9910
9914
  _html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
9911
9915
  });
9912
9916
  _html("</select>");
9913
9917
  });
9914
- _html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_dC")}><span${_attr_class("_dD")}>Accent</span><span${_attr_class("_dT")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9915
- "_dU",
9916
- "_dX",
9917
- { ["_dV"]: !accent }
9918
+ _html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_dk")}><span${_attr_class("_dl")}>Accent</span><span${_attr_class("_dB")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9919
+ "_dC",
9920
+ "_dF",
9921
+ { ["_dD"]: !accent }
9918
9922
  ])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
9919
9923
  _if(() => {
9920
9924
  if (!accent) {
9921
9925
  const $scope126_id = _scope_id();
9922
9926
  icon_check_default({
9923
9927
  size: 12,
9924
- class: "_dW"
9928
+ class: "_dE"
9925
9929
  });
9926
9930
  $si__input_instance_accent && writeScope($scope126_id, {});
9927
9931
  return 0;
@@ -9929,13 +9933,13 @@ var settings_page_default = _template("B", (input) => {
9929
9933
  }, $scope0_id, "bb", $sg__input_instance_accent, 1, 1, "</button>", 1);
9930
9934
  _for_of(ACCENT_PRESETS, (p) => {
9931
9935
  const $scope79_id = _scope_id();
9932
- _html(`<button type=button${_attr_class(["_dU", { ["_dV"]: 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)}>`);
9936
+ _html(`<button type=button${_attr_class(["_dC", { ["_dD"]: 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)}>`);
9933
9937
  _if(() => {
9934
9938
  if (accent === p.value) {
9935
9939
  const $scope127_id = _scope_id();
9936
9940
  icon_check_default({
9937
9941
  size: 12,
9938
- class: "_dW"
9942
+ class: "_dE"
9939
9943
  });
9940
9944
  $si__input_instance_accent && writeScope($scope127_id, {});
9941
9945
  return 0;
@@ -9949,18 +9953,18 @@ var settings_page_default = _template("B", (input) => {
9949
9953
  }, "value", $scope0_id, "bc", $sg__input_instance_accent, 0, 1, 0, 1);
9950
9954
  const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
9951
9955
  _html(`<label${_attr_class([
9952
- "_dU",
9953
- "_dY",
9954
- { ["_dV"]: customOn }
9956
+ "_dC",
9957
+ "_dG",
9958
+ { ["_dD"]: customOn }
9955
9959
  ])}${customOn ? _attr_style(`--swatch:${accent}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom colour\""}><input${_attr_input_value($scope0_id, "be", accent || "#3556d8", _resume(function(v) {
9956
9960
  setInstance({ accent: v });
9957
- }, "B3", $scope0_id))}${_attr_class("_dZ")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
9961
+ }, "B3", $scope0_id))}${_attr_class("_dH")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
9958
9962
  _if(() => {
9959
9963
  if (customOn) {
9960
9964
  const $scope128_id = _scope_id();
9961
9965
  icon_check_default({
9962
9966
  size: 12,
9963
- class: "_dW"
9967
+ class: "_dE"
9964
9968
  });
9965
9969
  $si__input_instance_accent && writeScope($scope128_id, {});
9966
9970
  return 0;
@@ -9971,11 +9975,11 @@ var settings_page_default = _template("B", (input) => {
9971
9975
  return 1;
9972
9976
  }
9973
9977
  }, $scope0_id, "bf", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
9974
- _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_cd")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_ce")}><h2${_attr("id", backupId)}${_attr_class("_cr")}>Backup</h2></div><div${_attr_class(["_ci", "_cs"])}><div${_attr_class("_ct")}><div${_attr_class("_d0")}><div${_attr_class("_cj")}>`);
9978
+ _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_cd")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_ce")}><h2${_attr("id", backupId)}${_attr_class("_cr")}>Backup</h2></div><div${_attr_class(["_ci", "_cs"])}><div${_attr_class("_ct")}><div${_attr_class("_dI")}><div${_attr_class("_cj")}>`);
9975
9979
  _if(() => {
9976
9980
  if (backupBusy === "preflight") {
9977
9981
  const $scope66_id = _scope_id();
9978
- _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9982
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9979
9983
  writeScope($scope66_id, {});
9980
9984
  return 0;
9981
9985
  } else {
@@ -9998,7 +10002,7 @@ var settings_page_default = _template("B", (input) => {
9998
10002
  _if(() => {
9999
10003
  if (preflight && !backupBusy) {
10000
10004
  const $scope68_id = _scope_id();
10001
- _html(`<div${_attr_class("_d2")}><p${_attr_class("_d3")}>In the file: ${_text_resume($scope68_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope68_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope68_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope68_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope68_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope68_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope68_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_d3")}>Not in the file: `);
10005
+ _html(`<div${_attr_class("_dK")}><p${_attr_class("_dL")}>In the file: ${_text_resume($scope68_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope68_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope68_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope68_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope68_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope68_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope68_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_dL")}>Not in the file: `);
10002
10006
  _if(() => {
10003
10007
  if (preflight.unpushed) {
10004
10008
  const $scope69_id = _scope_id();
@@ -10015,15 +10019,15 @@ var settings_page_default = _template("B", (input) => {
10015
10019
  return 0;
10016
10020
  }
10017
10021
  }, $scope68_id, "m");
10018
- _html(`${_text_resume($scope68_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_d4")}>`);
10022
+ _html(`${_text_resume($scope68_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_dM")}>`);
10019
10023
  _for_of(preflight.workspaces, (w) => {
10020
10024
  const $scope132_id = _scope_id();
10021
10025
  const $for_content17__w_name__closures = /* @__PURE__ */ new Set();
10022
- _html(`<li${_attr_class("_d5")}><span${_attr_class("_ck")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_d4")}>`);
10026
+ _html(`<li${_attr_class("_dN")}><span${_attr_class("_ck")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_dM")}>`);
10023
10027
  _for_of(w.repos, (r) => {
10024
10028
  const $scope133_id = _scope_id();
10025
10029
  const $for_content18__r_more__closures = /* @__PURE__ */ new Set();
10026
- _html(`<li${_attr_class("_d6")}><span${_attr_class("_d7")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
10030
+ _html(`<li${_attr_class("_dO")}><span${_attr_class("_dP")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
10027
10031
  _for_of(r.unpushed, (b) => {
10028
10032
  const $scope134_id = _scope_id();
10029
10033
  _html(`<span${_attr_class(["_N", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope134_id, "b", b.count)} unpushed `);
@@ -10042,10 +10046,10 @@ var settings_page_default = _template("B", (input) => {
10042
10046
  _if(() => {
10043
10047
  if (r.modified.length || r.untracked.length || r.ignored.length) {
10044
10048
  const $scope135_id = _scope_id();
10045
- _html(`<ul${_attr_class("_d8")}>`);
10049
+ _html(`<ul${_attr_class("_dQ")}>`);
10046
10050
  _for_of(r.modified, (f) => {
10047
10051
  const $scope138_id = _scope_id();
10048
- _html(`<li${_attr_class("_d9")}><span${_attr_class([
10052
+ _html(`<li${_attr_class("_dR")}><span${_attr_class([
10049
10053
  "_N",
10050
10054
  "_P",
10051
10055
  tone.warn
@@ -10054,18 +10058,18 @@ var settings_page_default = _template("B", (input) => {
10054
10058
  }, (f) => f, $scope135_id, "b", 1, 1, 1, 0, 1);
10055
10059
  _for_of(r.untracked, (f) => {
10056
10060
  const $scope139_id = _scope_id();
10057
- _html(`<li${_attr_class("_d9")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
10061
+ _html(`<li${_attr_class("_dR")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
10058
10062
  writeScope($scope139_id, {});
10059
10063
  }, (f) => f, $scope135_id, "c", 1, 1, 1, 0, 1);
10060
10064
  _for_of(r.ignored, (f) => {
10061
10065
  const $scope140_id = _scope_id();
10062
- _html(`<li${_attr_class("_d9")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope140_id, "d", f)}</span></li>`);
10066
+ _html(`<li${_attr_class("_dR")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope140_id, "d", f)}</span></li>`);
10063
10067
  writeScope($scope140_id, {});
10064
10068
  }, (f) => f, $scope135_id, "d", 1, 1, 1, 0, 1);
10065
10069
  _if(() => {
10066
10070
  if (r.more) {
10067
10071
  const $scope136_id = _scope_id();
10068
- _html(`<li${_attr_class(["_d9", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
10072
+ _html(`<li${_attr_class(["_dR", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
10069
10073
  _subscribe($for_content18__r_more__closures, writeScope($scope136_id, {}));
10070
10074
  return 0;
10071
10075
  }
@@ -10090,17 +10094,17 @@ var settings_page_default = _template("B", (input) => {
10090
10094
  i: $for_content17__w_name__closures
10091
10095
  });
10092
10096
  }, "id", $scope68_id, "o", 1, 1, 1, "</ul>", 1);
10093
- _html(`<div${_attr_class("_d_")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope68_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope68_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope68_id, "s")}</div></div>`);
10097
+ _html(`<div${_attr_class("_dS")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope68_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope68_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope68_id, "s")}</div></div>`);
10094
10098
  _script($scope68_id, "B86");
10095
10099
  writeScope($scope68_id, {});
10096
10100
  return 0;
10097
10101
  }
10098
10102
  }, $scope0_id, "bo", 1, 1, 1, 0, 1);
10099
- _html(`</div><div${_attr_class("_ct")}><div${_attr_class("_d0")}><div${_attr_class("_cj")}>`);
10103
+ _html(`</div><div${_attr_class("_ct")}><div${_attr_class("_dI")}><div${_attr_class("_cj")}>`);
10100
10104
  _if(() => {
10101
10105
  if (backupBusy === "restore") {
10102
10106
  const $scope67_id = _scope_id();
10103
- _html(`<span${_attr_class("_c9")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
10107
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
10104
10108
  writeScope($scope67_id, {});
10105
10109
  return 0;
10106
10110
  } else if (restoreDone) {
@@ -10118,7 +10122,7 @@ var settings_page_default = _template("B", (input) => {
10118
10122
  _if(() => {
10119
10123
  if (!restorePreview && backupBusy !== "restore") {
10120
10124
  const $scope77_id = _scope_id();
10121
- _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_d1")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
10125
+ _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dJ")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
10122
10126
  _script($scope77_id, "B87");
10123
10127
  writeScope($scope77_id, {});
10124
10128
  return 0;
@@ -10129,14 +10133,14 @@ var settings_page_default = _template("B", (input) => {
10129
10133
  if (restorePreview && backupBusy !== "restore") {
10130
10134
  const $scope70_id = _scope_id();
10131
10135
  const { preview } = restorePreview;
10132
- _html(`<div${_attr_class("_d2")}><p${_attr_class("_d3")}>From ${_text_resume($scope70_id, "c", preview.from.host, 2)} on ${_text_resume($scope70_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope70_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
10136
+ _html(`<div${_attr_class("_dK")}><p${_attr_class("_dL")}>From ${_text_resume($scope70_id, "c", preview.from.host, 2)} on ${_text_resume($scope70_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope70_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
10133
10137
  _if(() => {
10134
10138
  if (preview.workspaces.length) {
10135
10139
  const $scope71_id = _scope_id();
10136
10140
  _html(`<ul${_attr_class(checkList)}>`);
10137
10141
  _for_of(preview.workspaces, (w) => {
10138
10142
  const $scope72_id = _scope_id();
10139
- _html(`<li><label${_attr_class(["_eb", { ["_ed"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_ec")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10143
+ _html(`<li><label${_attr_class(["_dU", { ["_dW"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_dV")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10140
10144
  _if(() => {
10141
10145
  if (w.status === "archived") {
10142
10146
  const $scope145_id = _scope_id();
@@ -10209,7 +10213,7 @@ var settings_page_default = _template("B", (input) => {
10209
10213
  _if(() => {
10210
10214
  if (p.total) {
10211
10215
  const $scope74_id = _scope_id();
10212
- _html(`<li><label${_attr_class(["_eb", { ["_ed"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_ec")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_cj")}><span${_attr_class("_ck")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_cm")}>`);
10216
+ _html(`<li><label${_attr_class(["_dU", { ["_dW"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_dV")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_cj")}><span${_attr_class("_ck")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_cm")}>`);
10213
10217
  _if(() => {
10214
10218
  if (p.key === "settings") {
10215
10219
  const $scope142_id = _scope_id();
@@ -10256,7 +10260,7 @@ var settings_page_default = _template("B", (input) => {
10256
10260
  i: $for_content10__p_total__closures
10257
10261
  });
10258
10262
  }, "key", $scope70_id, "h");
10259
- _html(`</ul><div${_attr_class("_d_")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope70_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope70_id, "k")}</div></div>`);
10263
+ _html(`</ul><div${_attr_class("_dS")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope70_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope70_id, "k")}</div></div>`);
10260
10264
  _script($scope70_id, "B90");
10261
10265
  writeScope($scope70_id, {});
10262
10266
  return 0;
@@ -10493,13 +10497,13 @@ function vapidKey(base64) {
10493
10497
  const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
10494
10498
  return Uint8Array.from(raw, (c) => c.charCodeAt(0));
10495
10499
  }
10496
- var iconBtn = "_bQ _l";
10497
- var settingsDot = "_bR _bb";
10498
- var navToggle = "_bV _l";
10500
+ var iconBtn = "_bx _l";
10501
+ var settingsDot = "_by _bb";
10502
+ var navToggle = "_bC _l";
10499
10503
  //#endregion
10500
10504
  //#region src/styles/session-pop.css.ts
10501
- var sessionPop = "_bN _9";
10502
- var sessionPopBtn = "_bO _I";
10505
+ var sessionPop = "_bO _9";
10506
+ var sessionPopBtn = "_bP _I";
10503
10507
  _template("X", (input) => {
10504
10508
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
10505
10509
  const $scope0_id = _scope_id();
@@ -10517,7 +10521,7 @@ _template("X", (input) => {
10517
10521
  });
10518
10522
  //#endregion
10519
10523
  //#region src/tags/icons/icon-settings.marko
10520
- var icon_settings_default = _template("qb", (input) => {
10524
+ var icon_settings_default = _template("rb", (input) => {
10521
10525
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
10522
10526
  const $scope0_id = _scope_id();
10523
10527
  _set_serialize_reason({
@@ -10553,14 +10557,14 @@ function activeAgent(session) {
10553
10557
  const command = session.state?.command?.trim();
10554
10558
  return command && agentFromCommand(command) || session.agent;
10555
10559
  }
10556
- var heroTag = "_fu _N _Q";
10557
- var rowState = "_fG _N";
10558
- var prChip$1 = "_iS _u _iR";
10559
- var portChip = "_iT _u _iR";
10560
+ var heroTag = "_eQ _N _Q";
10561
+ var rowState = "_e2 _N";
10562
+ var prChip$1 = "_hT _u _hS";
10563
+ var portChip = "_hU _u _hS";
10560
10564
  var prState = {
10561
- open: "_iX",
10562
- merged: "_iY",
10563
- closed: "_iZ"
10565
+ open: "_hY",
10566
+ merged: "_hZ",
10567
+ closed: "_h0"
10564
10568
  };
10565
10569
  //#endregion
10566
10570
  //#region src/tags/icons/icon-diff.marko
@@ -10641,7 +10645,7 @@ var side_nav_chips_default = _template("C", (input) => {
10641
10645
  const name = repo.full_name.split("/").at(-1);
10642
10646
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel$1(repo.full_name) : name;
10643
10647
  }, "C3", $scope1_id);
10644
- _html(`<div${_attr_class("_iQ")}>`);
10648
+ _html(`<div${_attr_class("_hR")}>`);
10645
10649
  _for_of(repos, (repo) => {
10646
10650
  const $scope2_id = _scope_id();
10647
10651
  const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
@@ -10657,11 +10661,11 @@ var side_nav_chips_default = _template("C", (input) => {
10657
10661
  [prState.merged]: pr$1.state === "MERGED",
10658
10662
  [prState.closed]: pr$1.state === "CLOSED"
10659
10663
  }
10660
- ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_iU", { ["_i2"]: !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")}`);
10664
+ ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_hV", { ["_h3"]: !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")}`);
10661
10665
  _if(() => {
10662
10666
  if (open) {
10663
10667
  const $scope4_id = _scope_id();
10664
- _html(`<a${_attr_class(["_iU", "_iV"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10668
+ _html(`<a${_attr_class(["_hV", "_hW"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10665
10669
  icon_diff_default({ size: 12 });
10666
10670
  _html(`</a>${_el_resume($scope4_id, "a")}`);
10667
10671
  _subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
@@ -10669,9 +10673,9 @@ var side_nav_chips_default = _template("C", (input) => {
10669
10673
  } else {
10670
10674
  const $scope5_id = _scope_id();
10671
10675
  _html(`<button type=button${_attr_class([
10672
- "_iU",
10673
- "_iV",
10674
- "_iW"
10676
+ "_hV",
10677
+ "_hW",
10678
+ "_hX"
10675
10679
  ])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
10676
10680
  icon_xmark_default({ size: 12 });
10677
10681
  _html(`</button>${_el_resume($scope5_id, "a")}`);
@@ -10699,12 +10703,12 @@ var side_nav_chips_default = _template("C", (input) => {
10699
10703
  _if(() => {
10700
10704
  if (dead.has(p.port)) {
10701
10705
  const $scope7_id = _scope_id();
10702
- _html(`<span${_attr_class(["_iU", "_i0"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10706
+ _html(`<span${_attr_class(["_hV", "_h1"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10703
10707
  _subscribe($dead__closures, writeScope($scope7_id, { Cy: 1 }));
10704
10708
  return 0;
10705
10709
  } else {
10706
10710
  const $scope8_id = _scope_id();
10707
- _html(`<button type=button${_attr_class(["_iU", "_i1"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10711
+ _html(`<button type=button${_attr_class(["_hV", "_h2"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10708
10712
  _script($scope8_id, "C6");
10709
10713
  writeScope($scope8_id, {});
10710
10714
  return 1;
@@ -10713,9 +10717,9 @@ var side_nav_chips_default = _template("C", (input) => {
10713
10717
  const $childScope = _peek_scope_id();
10714
10718
  arm_button_default({
10715
10719
  class: [
10716
- "_iU",
10717
- "_iV",
10718
- "_iW"
10720
+ "_hV",
10721
+ "_hW",
10722
+ "_hX"
10719
10723
  ],
10720
10724
  title: `Kill ${p.cmd} (pid ${p.pid})`,
10721
10725
  armedTitle: "Kill?",
@@ -10762,15 +10766,15 @@ var side_nav_chips_default = _template("C", (input) => {
10762
10766
  });
10763
10767
  _resume_branch($scope0_id);
10764
10768
  });
10765
- var railBtn = "_fL _l";
10766
- var wsBtn = "_fP _I";
10767
- var rowIcon = "_fS _3 _l";
10768
- var close = "_fT _6 _l _7";
10769
- var sessRename$1 = "_fZ _J";
10770
- var sessBtn$1 = "_f1 _I";
10769
+ var railBtn = "_fk _l";
10770
+ var wsBtn = "_fo _I";
10771
+ var rowIcon = "_fr _3 _l";
10772
+ var close = "_fs _6 _l _7";
10773
+ var sessRename$1 = "_fy _J";
10774
+ var sessBtn$1 = "_fA _I";
10771
10775
  //#endregion
10772
10776
  //#region src/tags/icons/icon-manage.marko
10773
- var icon_manage_default = _template("kb", (input) => {
10777
+ var icon_manage_default = _template("lb", (input) => {
10774
10778
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
10775
10779
  const $scope0_id = _scope_id();
10776
10780
  _set_serialize_reason({
@@ -10882,7 +10886,7 @@ var side_nav_item_default = _template("D", (input) => {
10882
10886
  _if(() => {
10883
10887
  if (input.rail) {
10884
10888
  const $scope2_id = _scope_id();
10885
- _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fI"]: 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([
10889
+ _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fh"]: 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([
10886
10890
  "_A",
10887
10891
  phase[dot$1],
10888
10892
  "_bb"
@@ -10892,31 +10896,31 @@ var side_nav_item_default = _template("D", (input) => {
10892
10896
  } else if (ws$1.pending) {
10893
10897
  const $scope3_id = _scope_id();
10894
10898
  _html(`<section${_attr_class([
10895
- "_fN",
10896
- "_f3",
10897
- { ["_fM"]: input.page }
10898
- ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fO")}><div${_attr_class(wsBtn)}>`);
10899
+ "_fm",
10900
+ "_fC",
10901
+ { ["_fl"]: input.page }
10902
+ ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fn")}><div${_attr_class(wsBtn)}>`);
10899
10903
  _if(() => {
10900
10904
  if (ws$1.pending_error) {
10901
10905
  const $scope11_id = _scope_id();
10902
10906
  icon_warning_default({
10903
10907
  size: 12,
10904
- class: "_f5"
10908
+ class: "_fE"
10905
10909
  });
10906
10910
  $si__input_workspace && writeScope($scope11_id, {});
10907
10911
  return 0;
10908
10912
  } else {
10909
10913
  const $scope12_id = _scope_id();
10910
- _html(`<span${_attr_class(["_G", "_f4"])}></span>`);
10914
+ _html(`<span${_attr_class(["_G", "_fD"])}></span>`);
10911
10915
  $si__input_workspace && writeScope($scope12_id, {});
10912
10916
  return 1;
10913
10917
  }
10914
10918
  }, $scope3_id, "d", $sg__input_workspace, $sg__input_workspace, 1, 0, 1);
10915
- _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_f7")}${_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>`);
10919
+ _html(`<span${_attr_class("_fu")}><span${_attr_class("_fv")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_fG")}${_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>`);
10916
10920
  _if(() => {
10917
10921
  if (ws$1.pending_error && !retrying) {
10918
10922
  const $scope10_id = _scope_id();
10919
- _html(`<div${_attr_class("_f6")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope10_id, "b")}`);
10923
+ _html(`<div${_attr_class("_fF")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope10_id, "b")}`);
10920
10924
  arm_button_default({
10921
10925
  class: ["_q", btnSm],
10922
10926
  title: "Delete workspace",
@@ -10947,11 +10951,11 @@ var side_nav_item_default = _template("D", (input) => {
10947
10951
  const $scope4_id = _scope_id();
10948
10952
  const sessions$1 = input.sessions || [];
10949
10953
  const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs input" : dot$1 === "idle" ? "Idle" : "Not running";
10950
- _html(`<section${_attr_class(["_fN", {
10951
- ["_fI"]: input.current,
10954
+ _html(`<section${_attr_class(["_fm", {
10955
+ ["_fh"]: input.current,
10952
10956
  ["_bc"]: input.current,
10953
- ["_fK"]: input.menuOpen
10954
- }])}><div${_attr_class("_fO")}><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)}`);
10957
+ ["_fj"]: input.menuOpen
10958
+ }])}><div${_attr_class("_fn")}><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)}`);
10955
10959
  _if(() => {
10956
10960
  if (sessions$1.length === 1) {
10957
10961
  const $scope14_id = _scope_id();
@@ -10963,7 +10967,7 @@ var side_nav_item_default = _template("D", (input) => {
10963
10967
  icon_agent_default({
10964
10968
  agent: activeAgent(sessions$1[0]),
10965
10969
  size: 12,
10966
- class: "_fU"
10970
+ class: "_ft"
10967
10971
  });
10968
10972
  $si__input_sessions && writeScope($scope14_id, {
10969
10973
  _: _scope_with_id($scope4_id),
@@ -10972,7 +10976,7 @@ var side_nav_item_default = _template("D", (input) => {
10972
10976
  return 0;
10973
10977
  }
10974
10978
  }, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview);
10975
- _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_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("_fQ")}>`);
10979
+ _html(`<span${_attr_class("_fu")}><span${_attr_class("_fv")}>${_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("_fp")}>`);
10976
10980
  _if(() => {
10977
10981
  if (input.onNewSession) {
10978
10982
  const $scope5_id = _scope_id();
@@ -11000,19 +11004,19 @@ var side_nav_item_default = _template("D", (input) => {
11000
11004
  return 0;
11001
11005
  }
11002
11006
  }, $scope4_id, "k", $sg__input_onReview, $sg__input_onReview, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview, 0, 1);
11003
- _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fJ"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
11007
+ _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fi"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
11004
11008
  icon_manage_default({ size: 12 });
11005
- _html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("_f0")}>`);
11009
+ _html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("_fz")}>`);
11006
11010
  _for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
11007
11011
  const $scope6_id = _scope_id();
11008
- _html(`<div${_attr_class(["_fR", { ["_fI"]: s.id === input.currentTab }])}>`);
11012
+ _html(`<div${_attr_class(["_fq", { ["_fh"]: s.id === input.currentTab }])}>`);
11009
11013
  _if(() => {
11010
11014
  if (renamingId === s.id) {
11011
11015
  const $scope7_id = _scope_id();
11012
11016
  _html(`<span${_attr_class([
11013
11017
  "_A",
11014
11018
  phase[sessionPhase(s.state)],
11015
- "_fY"
11019
+ "_fx"
11016
11020
  ])}></span>${_el_resume($scope7_id, "a", $sg__input_sessions)}`);
11017
11021
  _set_serialize_reason({
11018
11022
  1: $sg__input_sessions,
@@ -11022,7 +11026,7 @@ var side_nav_item_default = _template("D", (input) => {
11022
11026
  icon_agent_default({
11023
11027
  agent: activeAgent(s),
11024
11028
  size: 12,
11025
- class: "_f2"
11029
+ class: "_fB"
11026
11030
  });
11027
11031
  const $childScope3 = _peek_scope_id();
11028
11032
  rename_input_default({
@@ -11053,9 +11057,9 @@ var side_nav_item_default = _template("D", (input) => {
11053
11057
  icon_agent_default({
11054
11058
  agent: activeAgent(s),
11055
11059
  size: 12,
11056
- class: "_f2"
11060
+ class: "_fB"
11057
11061
  });
11058
- _html(`<span${_attr_class("_fX")}>${_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">`);
11062
+ _html(`<span${_attr_class("_fw")}>${_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">`);
11059
11063
  icon_edit_default({ size: 12 });
11060
11064
  _html(`</button>${_el_resume($scope8_id, "f")}`);
11061
11065
  arm_button_default({
@@ -11178,11 +11182,11 @@ var workspace_switcher_default = _template("O", (input) => {
11178
11182
  const sessions = input.sessions || st?.sessions || [];
11179
11183
  const manySessions = sessions.length > 1;
11180
11184
  const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
11181
- _html(`<div${_attr_class("_fq")}>`);
11185
+ _html(`<div${_attr_class("_eM")}>`);
11182
11186
  _if(() => {
11183
11187
  if (ws) {
11184
11188
  const $scope1_id = _scope_id();
11185
- _html(`<section${_attr_class("_fr")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_fs")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11189
+ _html(`<section${_attr_class("_eN")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_eO")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11186
11190
  _if(() => {
11187
11191
  if (sessions.length === 1) {
11188
11192
  const $scope8_id = _scope_id();
@@ -11194,7 +11198,7 @@ var workspace_switcher_default = _template("O", (input) => {
11194
11198
  icon_agent_default({
11195
11199
  agent: activeAgent(sessions[0]),
11196
11200
  size: 16,
11197
- class: "_fw"
11201
+ class: "_eS"
11198
11202
  });
11199
11203
  $si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope8_id, {
11200
11204
  _: _scope_with_id($scope1_id),
@@ -11203,14 +11207,14 @@ var workspace_switcher_default = _template("O", (input) => {
11203
11207
  return 0;
11204
11208
  }
11205
11209
  }, $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);
11206
- _html(`<span${_attr_class("_ft")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>open</span><span${_attr_class("_fv")}>${_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)}`);
11210
+ _html(`<span${_attr_class("_eP")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>open</span><span${_attr_class("_eR")}>${_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)}`);
11207
11211
  _if(() => {
11208
11212
  if (manySessions) {
11209
11213
  const $scope2_id = _scope_id();
11210
- _html(`<div${_attr_class("_fx")}>`);
11214
+ _html(`<div${_attr_class("_eT")}>`);
11211
11215
  _for_of(sessions, (s) => {
11212
11216
  const $scope3_id = _scope_id();
11213
- _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_fz", { ["_fy"]: 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)}`);
11217
+ _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_eV", { ["_eU"]: 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)}`);
11214
11218
  _set_serialize_reason({
11215
11219
  1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
11216
11220
  2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
@@ -11220,7 +11224,7 @@ var workspace_switcher_default = _template("O", (input) => {
11220
11224
  agent: activeAgent(s),
11221
11225
  size: 14
11222
11226
  });
11223
- _html(`<span${_attr_class("_fA")}>${_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))}`);
11227
+ _html(`<span${_attr_class("_eW")}>${_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))}`);
11224
11228
  $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, {
11225
11229
  h: $si__input_tab && s?.id,
11226
11230
  _: _scope_with_id($scope2_id),
@@ -11249,7 +11253,7 @@ var workspace_switcher_default = _template("O", (input) => {
11249
11253
  _if(() => {
11250
11254
  if (input.ids.length) {
11251
11255
  const $scope4_id = _scope_id();
11252
- _html(`<div${_attr_class("_fB")}>`);
11256
+ _html(`<div${_attr_class("_eX")}>`);
11253
11257
  _for_of(input.ids, (id) => {
11254
11258
  const $scope5_id = _scope_id();
11255
11259
  const w = input.byId.get(id);
@@ -11293,7 +11297,7 @@ var workspace_switcher_default = _template("O", (input) => {
11293
11297
  const rp = phaseOf(rs);
11294
11298
  const rowSessions = rs?.sessions || [];
11295
11299
  const many = rowSessions.length > 1;
11296
- _html(`<div${_attr_class("_fC")}><a${_attr("href", `/w/${id}`)}${_attr_class("_fD")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11300
+ _html(`<div${_attr_class("_eY")}><a${_attr("href", `/w/${id}`)}${_attr_class("_eZ")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11297
11301
  _if(() => {
11298
11302
  if (rowSessions.length === 1) {
11299
11303
  const $scope9_id = _scope_id();
@@ -11305,7 +11309,7 @@ var workspace_switcher_default = _template("O", (input) => {
11305
11309
  icon_agent_default({
11306
11310
  agent: activeAgent(rowSessions[0]),
11307
11311
  size: 16,
11308
- class: "_fF"
11312
+ class: "_e1"
11309
11313
  });
11310
11314
  $si__input_allStatus__OR__input_ids && writeScope($scope9_id, {
11311
11315
  _: _scope_with_id($scope7_id),
@@ -11314,7 +11318,7 @@ var workspace_switcher_default = _template("O", (input) => {
11314
11318
  return 0;
11315
11319
  }
11316
11320
  }, $scope7_id, "d", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids);
11317
- _html(`<span${_attr_class("_fE")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11321
+ _html(`<span${_attr_class("_e0")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11318
11322
  _if(() => {
11319
11323
  if (many) {
11320
11324
  const $scope10_id = _scope_id();
@@ -11325,7 +11329,7 @@ var workspace_switcher_default = _template("O", (input) => {
11325
11329
  }, $scope7_id, "g", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, 0, 1);
11326
11330
  icon_chevron_right_default({
11327
11331
  size: 14,
11328
- class: "_fH"
11332
+ class: "_e3"
11329
11333
  });
11330
11334
  _html(`</a>${_el_resume($scope7_id, "b", $sg__input_ids)}`);
11331
11335
  _set_serialize_reason($sg__input_ids);
@@ -11401,7 +11405,7 @@ var icon_folder_plus_default = _template("gb", (input) => {
11401
11405
  });
11402
11406
  //#endregion
11403
11407
  //#region src/tags/icons/icon-sidebar-collapse.marko
11404
- var icon_sidebar_collapse_default = _template("rb", (input) => {
11408
+ var icon_sidebar_collapse_default = _template("sb", (input) => {
11405
11409
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
11406
11410
  const $scope0_id = _scope_id();
11407
11411
  _set_serialize_reason({
@@ -11418,7 +11422,7 @@ var icon_sidebar_collapse_default = _template("rb", (input) => {
11418
11422
  });
11419
11423
  //#endregion
11420
11424
  //#region src/tags/icons/icon-sidebar.marko
11421
- var icon_sidebar_default = _template("sb", (input) => {
11425
+ var icon_sidebar_default = _template("tb", (input) => {
11422
11426
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
11423
11427
  const $scope0_id = _scope_id();
11424
11428
  _set_serialize_reason({
@@ -11445,13 +11449,13 @@ var usage_bars_default = _template("K", (input) => {
11445
11449
  if (windows.length) {
11446
11450
  const $scope1_id = _scope_id();
11447
11451
  _html(`<span${_attr_class([
11448
- "_hC",
11452
+ "_hE",
11449
11453
  input.class,
11450
- { ["_hD"]: agent.stale_seconds != null }
11454
+ { ["_hF"]: agent.stale_seconds != null }
11451
11455
  ])} 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)}>`);
11452
11456
  _for_of(windows, (win) => {
11453
11457
  const $scope2_id = _scope_id();
11454
- _html(`<span${_attr_class(["_hE", win.used_percent >= 90 ? "_hI" : win.used_percent >= 70 ? "_hH" : win.used_percent >= 40 ? "_hG" : "_hF"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
11458
+ _html(`<span${_attr_class(["_hG", win.used_percent >= 90 ? "_hK" : win.used_percent >= 70 ? "_hJ" : win.used_percent >= 40 ? "_hI" : "_hH"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
11455
11459
  $si__input_agent && writeScope($scope2_id, {});
11456
11460
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
11457
11461
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -11603,14 +11607,14 @@ var side_nav_default = _template("E", (input) => {
11603
11607
  const backHref = ws ? `/w/${ws.id}` : "/new";
11604
11608
  const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
11605
11609
  const pageIds = orderedIds.filter((id) => id !== ws?.id);
11606
- _html(`<aside${_attr_class(["_bU", {
11607
- ["_bS"]: !navOpen,
11608
- ["_bT"]: isPage
11610
+ _html(`<aside${_attr_class(["_bB", {
11611
+ ["_bz"]: !navOpen,
11612
+ ["_bA"]: isPage
11609
11613
  }])}${_attr("hidden", view === "diff")}>`);
11610
11614
  _if(() => {
11611
11615
  if (isPage) {
11612
11616
  const $scope1_id = _scope_id();
11613
- _html(`<div${_attr_class("_bX")}>`);
11617
+ _html(`<div${_attr_class("_bE")}>`);
11614
11618
  _set_serialize_reason({
11615
11619
  3: $sg__input_instanceName,
11616
11620
  6: $sg__input_instanceName
@@ -11619,7 +11623,7 @@ var side_nav_default = _template("E", (input) => {
11619
11623
  if (input.instanceName) $meta = attrTag({ content: _content_resume("E8", () => {
11620
11624
  _scope_reason();
11621
11625
  const $scope2_id = _scope_id();
11622
- _html(`<span${_attr_class("_bY")} title="This work server (Settings → Appearance)"><img${_attr_class("_b1")}${_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>`);
11626
+ _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>`);
11623
11627
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
11624
11628
  _resume_branch($scope2_id);
11625
11629
  }, $scope1_id) });
@@ -11634,7 +11638,7 @@ var side_nav_default = _template("E", (input) => {
11634
11638
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
11635
11639
  iconBtnRow,
11636
11640
  iconBtn,
11637
- { ["_bP"]: view === "settings" }
11641
+ { ["_bw"]: view === "settings" }
11638
11642
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11639
11643
  icon_settings_default({ size: 16 });
11640
11644
  _if(() => {
@@ -11658,7 +11662,7 @@ var side_nav_default = _template("E", (input) => {
11658
11662
  _if(() => {
11659
11663
  if (!isPage && input.instanceName) {
11660
11664
  const $scope4_id = _scope_id();
11661
- _html(`<div${_attr_class("_b0")} title="This work server (Settings → Appearance)"><img${_attr_class("_b1")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope4_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_b2")}>${_text_resume($scope4_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11665
+ _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>`);
11662
11666
  writeScope($scope4_id, {});
11663
11667
  return 0;
11664
11668
  }
@@ -11726,7 +11730,7 @@ var side_nav_default = _template("E", (input) => {
11726
11730
  b: _serialize_if($scope0_reason, 21) && _existing_scope($childScope3)
11727
11731
  });
11728
11732
  }, (a) => a, $scope6_id, "a", $sg__input_agents, 1, $sg__input_workspace__OR__input_allWorkspaces__OR__input_agents, "</div>", 1);
11729
- _html(`<div${_attr_class("_b3")}>`);
11733
+ _html(`<div${_attr_class("_bK")}>`);
11730
11734
  _for_of(orderedIds, (wsId) => {
11731
11735
  const $scope8_id = _scope_id();
11732
11736
  _set_serialize_reason({
@@ -11803,7 +11807,7 @@ var side_nav_default = _template("E", (input) => {
11803
11807
  _if(() => {
11804
11808
  if (!navOpen) {
11805
11809
  const $scope9_id = _scope_id();
11806
- _html(`<div${_attr_class("_b4")}>`);
11810
+ _html(`<div${_attr_class("_bL")}>`);
11807
11811
  _for_of(orderedIds, (wsId, i) => {
11808
11812
  const $scope10_id = _scope_id();
11809
11813
  _set_serialize_reason({
@@ -11851,14 +11855,14 @@ var side_nav_default = _template("E", (input) => {
11851
11855
  return 0;
11852
11856
  }
11853
11857
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
11854
- _html(`<div${_attr_class("_b5")}>`);
11858
+ _html(`<div${_attr_class("_bM")}>`);
11855
11859
  _if(() => {
11856
11860
  if (isPage) {
11857
11861
  const $scope12_id = _scope_id();
11858
11862
  _html(`<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([
11859
11863
  "_q",
11860
11864
  btnLg,
11861
- "_bZ"
11865
+ "_bG"
11862
11866
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11863
11867
  icon_folder_plus_default({ size: 16 });
11864
11868
  _html(` New workspace</a>${_el_resume($scope12_id, "a")}`);
@@ -11890,9 +11894,9 @@ var side_nav_default = _template("E", (input) => {
11890
11894
  sessions: input.sessions,
11891
11895
  tab: view === "term" ? tab : null
11892
11896
  });
11893
- _html(`<div${_attr_class(["_z", "_b6"])}></div>`);
11897
+ _html(`<div${_attr_class(["_z", "_bN"])}></div>`);
11894
11898
  _if(() => {}, $scope11_id, "d", 1, 1, 1, 0, 1);
11895
- _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_bP"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11899
+ _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" : ""}>`);
11896
11900
  icon_settings_default({});
11897
11901
  _if(() => {
11898
11902
  if (input.setupReady === false) {
@@ -11902,7 +11906,7 @@ var side_nav_default = _template("E", (input) => {
11902
11906
  return 0;
11903
11907
  }
11904
11908
  }, $scope11_id, "g", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
11905
- _html(`</a>${_el_resume($scope11_id, "e")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_bP"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11909
+ _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" : ""}>`);
11906
11910
  icon_folder_plus_default({ size: 16 });
11907
11911
  _html(`</a>${_el_resume($scope11_id, "h")}`);
11908
11912
  _script($scope11_id, "E13");
@@ -12923,58 +12927,251 @@ function markdownFence(body) {
12923
12927
  function indent(text) {
12924
12928
  return text.split("\n").map((line) => line ? ` ${line}` : line).join("\n");
12925
12929
  }
12930
+ //#endregion
12931
+ //#region src/client/branch-label.ts
12932
+ /** Fallback label for a workspace branch when the workspace name is not to
12933
+ * hand: `alice-laptop-checkout-4f1hei` → `alice-laptop-checkout`.
12934
+ *
12935
+ * Deliberately only drops the trailing id. The branch is
12936
+ * `{user}-{host}-{slug}-{id}` (server/config.ts `branchPrefix`), and both
12937
+ * user and host are arbitrary — the host is this machine's hostname, so the
12938
+ * `ws-` that used to be matched here was one developer's laptop leaking into
12939
+ * a parser. Callers that know the workspace name should pass it instead. */
12940
+ function shortWorkspaceName(wsBranch) {
12941
+ const name = wsBranch.replace(/^origin\//, "");
12942
+ return dropRandomId(name.includes("/") ? name.slice(name.lastIndexOf("/") + 1) : name);
12943
+ }
12944
+ /** Strip a trailing `-<id>` segment (workspaces.ts:
12945
+ * `Math.random().toString(36).slice(2, 8)`), keeping the input when that
12946
+ * would leave nothing. */
12947
+ function dropRandomId(slug) {
12948
+ return slug.replace(/-[a-z0-9]{1,6}$/i, "") || slug;
12949
+ }
12950
+ /** Topic suffix when `head` is a `-topic` lane under the workspace branch. */
12951
+ function topicLane(head, wsBranch) {
12952
+ if (!wsBranch) return "";
12953
+ const h = head.replace(/^origin\//, "");
12954
+ const ws = wsBranch.replace(/^origin\//, "");
12955
+ if (h.startsWith(`${ws}-`)) return h.slice(ws.length + 1);
12956
+ return "";
12957
+ }
12958
+ function shortHeadFallback(head) {
12959
+ const short = dropRandomId(head);
12960
+ if (short.length <= 20) return short;
12961
+ const parts = short.split("-");
12962
+ return parts.length > 1 ? parts[parts.length - 1] : short;
12963
+ }
12964
+ /**
12965
+ * Review compare parts: render as `main` → `work` `[topic]`, not one chip.
12966
+ */
12967
+ function reviewCompareLabel(base, head, wsBranch = "", wsName = "") {
12968
+ const baseName = (base || "base").replace(/^origin\//, "");
12969
+ const headName = (head || "HEAD").replace(/^origin\//, "");
12970
+ const ws = (wsBranch || "").replace(/^origin\//, "");
12971
+ const onWs = !!ws && (headName === ws || headName.startsWith(`${ws}-`));
12972
+ return {
12973
+ base: baseName,
12974
+ head: onWs ? wsName || shortWorkspaceName(ws) : shortHeadFallback(headName),
12975
+ topic: onWs ? topicLane(headName, ws) : "",
12976
+ title: headName === baseName ? baseName : `${headName} vs ${baseName}`
12977
+ };
12978
+ }
12979
+ /** Short label for "local …" chips (workspace name, plus [topic] if any). */
12980
+ function shortBranch(name, wsBranch = "", wsName = "") {
12981
+ const head = name.replace(/^origin\//, "");
12982
+ if (!head || head === "HEAD") return head || "HEAD";
12983
+ const ws = wsBranch.replace(/^origin\//, "");
12984
+ if (ws && (head === ws || head.startsWith(`${ws}-`))) {
12985
+ const work = wsName || shortWorkspaceName(ws);
12986
+ const topic = topicLane(head, ws);
12987
+ return topic ? `${work} [${topic}]` : work;
12988
+ }
12989
+ return shortHeadFallback(head);
12990
+ }
12926
12991
  var treeToggle = "_go _4 _l";
12927
- var pageTitle = "_gv _ej";
12992
+ var pageTitle = "_gu _ej";
12993
+ //#endregion
12994
+ //#region src/tags/icons/icon-comment.marko
12995
+ var icon_comment_default = _template("bb", (input) => {
12996
+ const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
12997
+ const $scope0_id = _scope_id();
12998
+ _set_serialize_reason({
12999
+ 0: $sg__input_size__OR__input_class,
13000
+ 1: $sg__input_size__OR__input_class
13001
+ });
13002
+ const $childScope = _peek_scope_id();
13003
+ icon_base_default({
13004
+ d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 13.8214 2.48697 15.5291 3.33782 17L2.5 21.5L7 20.6622C8.47087 21.513 10.1786 22 12 22Z",
13005
+ size: input.size,
13006
+ class: input.class
13007
+ });
13008
+ _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
13009
+ });
13010
+ //#endregion
13011
+ //#region src/tags/icons/icon-clipboard.marko
13012
+ var icon_clipboard_default = _template("ab", (input) => {
13013
+ const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
13014
+ const $scope0_id = _scope_id();
13015
+ _set_serialize_reason({
13016
+ 0: $sg__input_size__OR__input_class,
13017
+ 1: $sg__input_size__OR__input_class
13018
+ });
13019
+ const $childScope = _peek_scope_id();
13020
+ icon_base_default({
13021
+ d: "M8.5 4H6C4.89543 4 4 4.89543 4 6V20C4 21.1046 4.89543 22 6 22H18C19.1046 22 20 21.1046 20 20V6C20 4.89543 19.1046 4 18 4H15.5 M8 6.4V4.5C8 4.22386 8.22386 4 8.5 4C8.77614 4 9.00422 3.77604 9.05152 3.50398C9.19968 2.65171 9.77399 1 12 1C14.226 1 14.8003 2.65171 14.9485 3.50398C14.9958 3.77604 15.2239 4 15.5 4C15.7761 4 16 4.22386 16 4.5V6.4C16 6.73137 15.7314 7 15.4 7H8.6C8.26863 7 8 6.73137 8 6.4Z",
13022
+ size: input.size,
13023
+ class: input.class
13024
+ });
13025
+ _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
13026
+ });
12928
13027
  //#endregion
12929
13028
  //#region src/tags/diff-send.marko
12930
13029
  var diff_send_default = _template("k", (input) => {
12931
- const $scope0_reason = _scope_reason(), $sg__input_sessions = _serialize_guard($scope0_reason, 0), $si__input_sessions = _serialize_if($scope0_reason, 0);
13030
+ const $scope0_reason = _scope_reason(), $sg__input_count = _serialize_guard($scope0_reason, 1), $sg__input_sessions = _serialize_guard($scope0_reason, 0), $si__input_sessions = _serialize_if($scope0_reason, 0);
12932
13031
  const $scope0_id = _scope_id();
13032
+ const $sending__closures = /* @__PURE__ */ new Set();
13033
+ const $target_title__closures = /* @__PURE__ */ new Set();
13034
+ const $target_agent__closures = /* @__PURE__ */ new Set();
13035
+ const $sessions__closures = /* @__PURE__ */ new Set();
13036
+ const $target_id__closures = /* @__PURE__ */ new Set();
12933
13037
  let sending = false;
12934
13038
  let sendTarget = null;
12935
13039
  const sessions = input.sessions || [];
12936
- const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
12937
- _html(`<span${_attr_class("_ix")}><button type=button${_attr_class("_q")} title="Copy comments as markdown">${_text_resume($scope0_id, "c", "Copy")}</button>${_el_resume($scope0_id, "b")}`);
13040
+ const target = sessions.find((s) => s.id === sendTarget) ?? sessions[0] ?? null;
13041
+ const label = `${input.count} comment${input.count === 1 ? "" : "s"}`;
13042
+ const send = _resume(() => {
13043
+ (async () => {
13044
+ if (!target || sending) return;
13045
+ sending = true;
13046
+ try {
13047
+ await input.onSend(target.id);
13048
+ } finally {
13049
+ sending = false;
13050
+ }
13051
+ })();
13052
+ }, "k1", $scope0_id);
13053
+ _html(`<div${_attr_class("_ix")} role=group${_attr("aria-label", label)}><span${_attr_class("_iy")}${_attr("title", label)}>`);
13054
+ icon_comment_default({
13055
+ size: 18,
13056
+ class: "_iz"
13057
+ });
13058
+ _html(`<span${_attr_class("_iA")} aria-hidden=true>${_text_resume($scope0_id, "e", input.count > 99 ? "99+" : input.count, $sg__input_count)}</span></span>${_el_resume($scope0_id, "b", $sg__input_count)}<button type=button${_attr_class("_iB")} title="Copy comments as markdown" aria-label="Copy comments as markdown">`);
13059
+ _if(() => {
13060
+ {
13061
+ const $scope6_id = _scope_id();
13062
+ icon_clipboard_default({ size: 14 });
13063
+ writeScope($scope6_id, {});
13064
+ return 1;
13065
+ }
13066
+ }, $scope0_id, "f", 1, 1, 1, "</button>", 1);
12938
13067
  _if(() => {
12939
- if (sessions.length === 1) {
13068
+ if (target) {
12940
13069
  const $scope1_id = _scope_id();
12941
- _html(`<button type=button${_attr_class(["_q", "_r"])}${_attr("disabled", sending)}>${_text_resume($scope1_id, "b", `Send to ${sessions[0].title || sessions[0].agent}`)}</button>${_el_resume($scope1_id, "a")}`);
12942
- _script($scope1_id, "k1");
12943
- writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
12944
- return 0;
12945
- } else if (sessions.length) {
12946
- const $scope2_id = _scope_id();
12947
- _html(`<span${_attr_class("_iy")}><button type=button${_attr_class(["_r", "_iz"])}${_attr("disabled", sending)}>${_text_resume($scope2_id, "c", "Send to")}</button>${_el_resume($scope2_id, "b")}`);
12948
- _attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
12949
- sendTarget = _new_sendTarget;
12950
- }, "k0", $scope2_id), () => {
12951
- _html(`<select${_attr_class("_iA")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
12952
- _for_of(sessions, (s) => {
13070
+ _html(`<button type=button${_attr_class(["_iB", "_iC"])}${_attr("disabled", sending)}${_attr("title", `Send comments to ${target.title || target.agent}`)}>`);
13071
+ _if(() => {
13072
+ if (sessions.length > 1) {
13073
+ const $scope2_id = _scope_id();
13074
+ _html(`<span${_attr_class(["_iF", "_iE"])}>${_text_resume($scope2_id, "b", sending ? "Sending…" : `Send to ${target.title || target.agent}`)}</span><span${_attr_class("_iD")}>${_text_resume($scope2_id, "d", sending ? "Sending…" : "Send")}</span>`);
13075
+ _subscribe($target_agent__closures, _subscribe($target_title__closures, _subscribe($sending__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))));
13076
+ return 0;
13077
+ } else {
12953
13078
  const $scope3_id = _scope_id();
12954
- _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)}`);
12955
- $si__input_sessions && writeScope($scope3_id, {});
12956
- }, "id", $scope2_id, "d", $sg__input_sessions, 1, $sg__input_sessions, "</select>", 1);
12957
- });
12958
- _html("</span>");
12959
- _script($scope2_id, "k2");
12960
- writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
12961
- return 1;
13079
+ _html(_text_resume($scope3_id, "a", sending ? "Sending…" : "Send"));
13080
+ _subscribe($sending__closures, writeScope($scope3_id, {
13081
+ _: _scope_with_id($scope1_id),
13082
+ Ca0: 1
13083
+ }));
13084
+ return 1;
13085
+ }
13086
+ }, $scope1_id, "a", $sg__input_sessions, 1, $sg__input_sessions, "</button>");
13087
+ _if(() => {
13088
+ if (sessions.length > 1) {
13089
+ const $scope4_id = _scope_id();
13090
+ _html(`<span${_attr_class("_iG")}><button type=button${_attr_class([
13091
+ "_iB",
13092
+ "_iC",
13093
+ "_iH"
13094
+ ])} aria-label="Choose session to send to"${_attr("disabled", sending)}></button>${_el_resume($scope4_id, "b")}`);
13095
+ _attr_select_value($scope4_id, "c", target.id, _resume(function(v) {
13096
+ sendTarget = v;
13097
+ }, "k0", $scope4_id), () => {
13098
+ _html(`<select${_attr_class("_iI")} aria-label="Send comments to session" tabindex=-1${_attr("disabled", sending)}>`);
13099
+ _for_of(sessions, (s) => {
13100
+ const $scope7_id = _scope_id();
13101
+ _html(`<option${_attr_option_value(s.id)}>${_text_resume($scope7_id, "b", s.title || s.agent, $sg__input_sessions)}</option>${_el_resume($scope7_id, "a", $sg__input_sessions)}`);
13102
+ $si__input_sessions && writeScope($scope7_id, {});
13103
+ }, "id", $scope4_id, "c", $sg__input_sessions, 1, $sg__input_sessions, "</select>", 1);
13104
+ });
13105
+ _html("</span>");
13106
+ _script($scope4_id, "k2");
13107
+ _subscribe($target_id__closures, _subscribe($si__input_sessions && $sessions__closures, _subscribe($sending__closures, writeScope($scope4_id, {
13108
+ _: _scope_with_id($scope1_id),
13109
+ Ca0: 2
13110
+ }))));
13111
+ return 0;
13112
+ }
13113
+ }, $scope1_id, "b", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions, 0, 1);
13114
+ _script($scope1_id, "k3");
13115
+ writeScope($scope1_id, {});
13116
+ return 0;
12962
13117
  }
12963
- }, $scope0_id, "d", 1, $sg__input_sessions, $sg__input_sessions, 0, 1);
12964
- _html("</span>");
12965
- _script($scope0_id, "k3");
13118
+ }, $scope0_id, "g");
13119
+ _html(`</div>${_el_resume($scope0_id, "a", $sg__input_count)}`);
13120
+ _script($scope0_id, "k4");
12966
13121
  writeScope($scope0_id, {
12967
- h: input.onCopy,
12968
- i: input.onSend,
12969
- k: sending,
12970
- l: $si__input_sessions && sendTarget,
12971
- m: sessions,
12972
- q: sessions[0]?.title,
12973
- r: sessions[0]?.agent,
12974
- s: sendPick
13122
+ l: input.onSend,
13123
+ m: input.onCopy,
13124
+ o: sending,
13125
+ p: $si__input_sessions && sendTarget,
13126
+ q: sessions,
13127
+ s: sessions.length,
13128
+ t: target,
13129
+ v: target?.id,
13130
+ w: target?.title,
13131
+ x: target?.agent,
13132
+ z: send,
13133
+ a0: $sending__closures,
13134
+ a4: $target_title__closures,
13135
+ a5: $target_agent__closures,
13136
+ a1: $si__input_sessions && $sessions__closures,
13137
+ a3: $target_id__closures
12975
13138
  });
12976
13139
  _resume_branch($scope0_id);
12977
13140
  });
13141
+ //#endregion
13142
+ //#region src/tags/icons/icon-folder.marko
13143
+ var icon_folder_default = _template("hb", (input) => {
13144
+ const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
13145
+ const $scope0_id = _scope_id();
13146
+ _set_serialize_reason({
13147
+ 0: $sg__input_size__OR__input_class,
13148
+ 1: $sg__input_size__OR__input_class
13149
+ });
13150
+ const $childScope = _peek_scope_id();
13151
+ icon_base_default({
13152
+ d: "M2 11V4.6C2 4.26863 2.26863 4 2.6 4H8.77805C8.92127 4 9.05977 4.05124 9.16852 4.14445L12.3315 6.85555C12.4402 6.94876 12.5787 7 12.722 7H21.4C21.7314 7 22 7.26863 22 7.6V11M2 11V19.4C2 19.7314 2.26863 20 2.6 20H21.4C21.7314 20 22 19.7314 22 19.4V11M2 11H22",
13153
+ size: input.size,
13154
+ class: input.class
13155
+ });
13156
+ _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
13157
+ });
13158
+ //#endregion
13159
+ //#region src/tags/icons/icon-branch.marko
13160
+ var icon_branch_default = _template("Y", (input) => {
13161
+ const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
13162
+ const $scope0_id = _scope_id();
13163
+ _set_serialize_reason({
13164
+ 0: $sg__input_size__OR__input_class,
13165
+ 1: $sg__input_size__OR__input_class
13166
+ });
13167
+ const $childScope = _peek_scope_id();
13168
+ icon_base_default({
13169
+ d: "M18 8C19.1046 8 20 7.10457 20 6C20 4.89543 19.1046 4 18 4C16.8954 4 16 4.89543 16 6C16 7.10457 16.8954 8 18 8Z M6 20C7.10457 20 8 19.1046 8 18C8 16.8954 7.10457 16 6 16C4.89543 16 4 16.8954 4 18C4 19.1046 4.89543 20 6 20Z M6 16V3 M8 18H9C12.5 18 18 15.9 18 9.5V8",
13170
+ size: input.size,
13171
+ class: input.class
13172
+ });
13173
+ _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
13174
+ });
12978
13175
  var findInput = "_eB _n";
12979
13176
  var findIconBtn = "_eE _l";
12980
13177
  //#endregion
@@ -13118,77 +13315,20 @@ var diff_find_default = _template("j", (input) => {
13118
13315
  _resume_branch($scope0_id);
13119
13316
  return $return;
13120
13317
  });
13121
- var worktree = "_iN _y";
13122
- //#endregion
13123
- //#region src/client/branch-label.ts
13124
- /** Fallback label for a workspace branch when the workspace name is not to
13125
- * hand: `alice-laptop-checkout-4f1hei` → `alice-laptop-checkout`.
13126
- *
13127
- * Deliberately only drops the trailing id. The branch is
13128
- * `{user}-{host}-{slug}-{id}` (server/config.ts `branchPrefix`), and both
13129
- * user and host are arbitrary — the host is this machine's hostname, so the
13130
- * `ws-` that used to be matched here was one developer's laptop leaking into
13131
- * a parser. Callers that know the workspace name should pass it instead. */
13132
- function shortWorkspaceName(wsBranch) {
13133
- const name = wsBranch.replace(/^origin\//, "");
13134
- return dropRandomId(name.includes("/") ? name.slice(name.lastIndexOf("/") + 1) : name);
13135
- }
13136
- /** Strip a trailing `-<id>` segment (workspaces.ts:
13137
- * `Math.random().toString(36).slice(2, 8)`), keeping the input when that
13138
- * would leave nothing. */
13139
- function dropRandomId(slug) {
13140
- return slug.replace(/-[a-z0-9]{1,6}$/i, "") || slug;
13141
- }
13142
- /** Topic suffix when `head` is a `-topic` lane under the workspace branch. */
13143
- function topicLane(head, wsBranch) {
13144
- if (!wsBranch) return "";
13145
- const h = head.replace(/^origin\//, "");
13146
- const ws = wsBranch.replace(/^origin\//, "");
13147
- if (h.startsWith(`${ws}-`)) return h.slice(ws.length + 1);
13148
- return "";
13149
- }
13150
- function shortHeadFallback(head) {
13151
- const short = dropRandomId(head);
13152
- if (short.length <= 20) return short;
13153
- const parts = short.split("-");
13154
- return parts.length > 1 ? parts[parts.length - 1] : short;
13155
- }
13156
- /**
13157
- * Review compare parts: render as `main` → `work` `[topic]`, not one chip.
13158
- */
13159
- function reviewCompareLabel(base, head, wsBranch = "", wsName = "") {
13160
- const baseName = (base || "base").replace(/^origin\//, "");
13161
- const headName = (head || "HEAD").replace(/^origin\//, "");
13162
- const ws = (wsBranch || "").replace(/^origin\//, "");
13163
- const onWs = !!ws && (headName === ws || headName.startsWith(`${ws}-`));
13164
- return {
13165
- base: baseName,
13166
- head: onWs ? wsName || shortWorkspaceName(ws) : shortHeadFallback(headName),
13167
- topic: onWs ? topicLane(headName, ws) : "",
13168
- title: headName === baseName ? baseName : `${headName} vs ${baseName}`
13169
- };
13170
- }
13171
- /** Short label for "local …" chips (workspace name, plus [topic] if any). */
13172
- function shortBranch(name, wsBranch = "", wsName = "") {
13173
- const head = name.replace(/^origin\//, "");
13174
- if (!head || head === "HEAD") return head || "HEAD";
13175
- const ws = wsBranch.replace(/^origin\//, "");
13176
- if (ws && (head === ws || head.startsWith(`${ws}-`))) {
13177
- const work = wsName || shortWorkspaceName(ws);
13178
- const topic = topicLane(head, ws);
13179
- return topic ? `${work} [${topic}]` : work;
13180
- }
13181
- return shortHeadFallback(head);
13182
- }
13183
- var repoTitle = "_jx _x";
13318
+ var worktree = "_jz _y";
13319
+ var repoTitle = "_jK _x";
13184
13320
  //#endregion
13185
13321
  //#region src/tags/review-head.marko
13186
13322
  var review_head_default = _template("x", (input) => {
13187
- const $scope0_reason = _scope_reason(), $sg__input_repo = _serialize_guard($scope0_reason, 12), $si__input_repo = _serialize_if($scope0_reason, 12), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_guard($scope0_reason, 5), $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 = _serialize_guard($scope0_reason, 11), $sg__input_repo__OR__input_fileCount = _serialize_guard($scope0_reason, 1), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_if($scope0_reason, 5), $sg__input_fileCount = _serialize_guard($scope0_reason, 13), $sg__input_additions__OR__input_deletions = _serialize_guard($scope0_reason, 3), $sg__input_hiddenCount = _serialize_guard($scope0_reason, 17), $sg__input_newCount__OR__input_onlyNew = _serialize_guard($scope0_reason, 4), $si__input_additions__OR__input_deletions = _serialize_if($scope0_reason, 3), $si__input_newCount__OR__input_onlyNew = _serialize_if($scope0_reason, 4), $si__input_repo__OR__input_fileCount = _serialize_if($scope0_reason, 1), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers = _serialize_if($scope0_reason, 9);
13323
+ const $scope0_reason = _scope_reason(), $sg__input_repo = _serialize_guard($scope0_reason, 11), $si__input_repo = _serialize_if($scope0_reason, 11), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_guard($scope0_reason, 5), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_if($scope0_reason, 5), $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 = _serialize_guard($scope0_reason, 10), $sg__input_repo__OR__input_fileCount = _serialize_guard($scope0_reason, 1), $sg__input_fileCount = _serialize_guard($scope0_reason, 12), $sg__input_additions__OR__input_deletions = _serialize_guard($scope0_reason, 3), $sg__input_hiddenCount = _serialize_guard($scope0_reason, 16), $sg__input_newCount__OR__input_onlyNew = _serialize_guard($scope0_reason, 4), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers = _serialize_if($scope0_reason, 8), $si__input_additions__OR__input_deletions = _serialize_if($scope0_reason, 3), $si__input_newCount__OR__input_onlyNew = _serialize_if($scope0_reason, 4), $si__input_repo__OR__input_fileCount = _serialize_if($scope0_reason, 1);
13188
13324
  const $scope0_id = _scope_id();
13325
+ const $compare_topic__closures = /* @__PURE__ */ new Set();
13189
13326
  const repo = input.repo;
13190
13327
  const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
13191
- _html(`<div${_attr_class("_jr")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}>`);
13328
+ const baseRef = (repo.pr?.baseRefName || repo.base).replace(/^origin\//, "");
13329
+ const headRef = (repo.pr?.headRefName || repo.branch).replace(/^origin\//, "");
13330
+ const unusual = !!compare$1.topic || !!input.workspaceBranch && headRef !== input.workspaceBranch || !!repo.default_branch && baseRef !== repo.default_branch;
13331
+ _html(`<div${_attr_class("_jE")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}>`);
13192
13332
  _if(() => {
13193
13333
  if (repo.pr) {
13194
13334
  const $scope6_id = _scope_id();
@@ -13197,125 +13337,139 @@ var review_head_default = _template("x", (input) => {
13197
13337
  return 0;
13198
13338
  } else {
13199
13339
  const $scope7_id = _scope_id();
13200
- _html(`<span${_attr_class([repoTitle, "_jy"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
13340
+ _html(`<span${_attr_class([repoTitle, "_jL"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
13201
13341
  $si__input_repo && writeScope($scope7_id, { _: _scope_with_id($scope0_id) });
13202
13342
  return 1;
13203
13343
  }
13204
13344
  }, $scope0_id, "b", $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);
13205
- _html(`<span${_attr_class("_jz")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_jA"])}>${_text_resume($scope0_id, "e", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_jC"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_jB"])}>${_text_resume($scope0_id, "h", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13206
13345
  _if(() => {
13207
- if (compare$1.topic) {
13208
- const $scope10_id = _scope_id();
13209
- _html(`<span${_attr_class([
13210
- "_N",
13211
- tone.accent,
13212
- "_jD"
13213
- ])}>${_text_resume($scope10_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13214
- $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope10_id, { _: _scope_with_id($scope0_id) });
13346
+ if (unusual) {
13347
+ const $scope8_id = _scope_id();
13348
+ _html(`<span${_attr_class("_jM")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_jN"])}>${_text_resume($scope8_id, "c", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_jP"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_jO"])}>${_text_resume($scope8_id, "f", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13349
+ _if(() => {
13350
+ if (compare$1.topic) {
13351
+ const $scope11_id = _scope_id();
13352
+ _html(`<span${_attr_class([
13353
+ "_N",
13354
+ tone.accent,
13355
+ "_jQ"
13356
+ ])}>${_text_resume($scope11_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13357
+ $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _subscribe($compare_topic__closures, writeScope($scope11_id, { _: _scope_with_id($scope8_id) }));
13358
+ return 0;
13359
+ }
13360
+ }, $scope8_id, "g", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, 0, 1);
13361
+ _html(`</span>${_el_resume($scope8_id, "a", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}`);
13362
+ $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope8_id, { _: _scope_with_id($scope0_id) });
13215
13363
  return 0;
13216
13364
  }
13217
- }, $scope0_id, "i", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, $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);
13218
- _html(`</span>${_el_resume($scope0_id, "c", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}`);
13365
+ }, $scope0_id, "c", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, $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);
13219
13366
  _if(() => {
13220
13367
  if (repo.rev) {
13221
- const $scope8_id = _scope_id();
13222
- _html(`<span${_attr_class(["_N", "_jE"])} title="One commit against its parent">commit ${_text_resume($scope8_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
13223
- $si__input_repo && writeScope($scope8_id, { _: _scope_with_id($scope0_id) });
13368
+ const $scope9_id = _scope_id();
13369
+ _html(`<span${_attr_class(["_N", "_jR"])} title="One commit against its parent">commit ${_text_resume($scope9_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
13370
+ $si__input_repo && writeScope($scope9_id, { _: _scope_with_id($scope0_id) });
13224
13371
  return 0;
13225
13372
  }
13226
- }, $scope0_id, "j", $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, 0, 1);
13373
+ }, $scope0_id, "d", $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, 0, 1);
13227
13374
  _if(() => {
13228
13375
  if (repo.githubDrift) {
13229
13376
  const $scope1_id = _scope_id();
13230
13377
  _html(`<button type=button${_attr_class([
13231
13378
  "_N",
13232
13379
  tone.warn,
13233
- "_jE"
13380
+ "_jR"
13234
13381
  ])}${_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")}`);
13235
13382
  _script($scope1_id, "x0");
13236
13383
  writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
13237
13384
  return 0;
13238
13385
  }
13239
- }, $scope0_id, "k", _serialize_guard($scope0_reason, 0), $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, 0, 1);
13386
+ }, $scope0_id, "e", _serialize_guard($scope0_reason, 0), $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, 0, 1);
13240
13387
  _if(() => {
13241
13388
  if (repo.contained && input.fileCount) {
13242
- const $scope9_id = _scope_id();
13243
- _html(`<span${_attr_class(["_N", "_jE"])}${_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)}`);
13244
- $si__input_repo__OR__input_fileCount && writeScope($scope9_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
13389
+ const $scope10_id = _scope_id();
13390
+ _html(`<span${_attr_class(["_N", "_jR"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope10_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope10_id, "a", $sg__input_repo)}`);
13391
+ $si__input_repo__OR__input_fileCount && writeScope($scope10_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
13245
13392
  return 0;
13246
13393
  }
13247
- }, $scope0_id, "l", $sg__input_repo__OR__input_fileCount, $sg__input_repo__OR__input_fileCount, $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);
13394
+ }, $scope0_id, "f", $sg__input_repo__OR__input_fileCount, $sg__input_repo__OR__input_fileCount, $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);
13248
13395
  _if(() => {
13249
13396
  if (input.localDiffers) {
13250
13397
  const $scope2_id = _scope_id();
13251
- _html(`<span${_attr_class(["_N", "_jE"])}${_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)}`);
13398
+ _html(`<span${_attr_class(["_N", "_jR"])}${_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)}`);
13252
13399
  $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) });
13253
13400
  return 0;
13254
13401
  }
13255
- }, $scope0_id, "m", _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);
13256
- _html(`<span${_attr_class("_js")}><span>${_text_resume($scope0_id, "o", input.fileCount, $sg__input_fileCount)} file${_text_resume($scope0_id, "p", input.fileCount === 1 ? "" : "s", $sg__input_fileCount * 2)}</span>`);
13402
+ }, $scope0_id, "g", _serialize_guard($scope0_reason, 8), _serialize_guard($scope0_reason, 13), $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);
13403
+ _html(`<span${_attr_class("_jF")}><span>${_text_resume($scope0_id, "i", input.fileCount, $sg__input_fileCount)} file${_text_resume($scope0_id, "j", input.fileCount === 1 ? "" : "s", $sg__input_fileCount * 2)}</span>`);
13257
13404
  _if(() => {
13258
13405
  if (input.additions || input.deletions) {
13259
13406
  const $scope3_id = _scope_id();
13260
- _html(`<span${_attr_class("_jt")}>+${_text_resume($scope3_id, "b", input.additions, _serialize_guard($scope0_reason, 15) * 2)}</span><span${_attr_class("_ju")}>−${_text_resume($scope3_id, "d", input.deletions, _serialize_guard($scope0_reason, 16) * 2)}</span>`);
13407
+ _html(`<span${_attr_class("_jG")}>+${_text_resume($scope3_id, "b", input.additions, _serialize_guard($scope0_reason, 14) * 2)}</span><span${_attr_class("_jH")}>−${_text_resume($scope3_id, "d", input.deletions, _serialize_guard($scope0_reason, 15) * 2)}</span>`);
13261
13408
  $si__input_additions__OR__input_deletions && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
13262
13409
  return 0;
13263
13410
  }
13264
- }, $scope0_id, "q", $sg__input_additions__OR__input_deletions, $sg__input_additions__OR__input_deletions, $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);
13411
+ }, $scope0_id, "k", $sg__input_additions__OR__input_deletions, $sg__input_additions__OR__input_deletions, $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);
13265
13412
  _if(() => {
13266
13413
  if (input.hiddenCount) {
13267
13414
  const $scope4_id = _scope_id();
13268
- _html(`<button type=button${_attr_class("_jw")} 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")}`);
13415
+ _html(`<button type=button${_attr_class("_jJ")} 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")}`);
13269
13416
  _script($scope4_id, "x1");
13270
13417
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
13271
13418
  return 0;
13272
13419
  }
13273
- }, $scope0_id, "r", $sg__input_hiddenCount, $sg__input_hiddenCount, $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);
13420
+ }, $scope0_id, "l", $sg__input_hiddenCount, $sg__input_hiddenCount, $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);
13274
13421
  _if(() => {
13275
13422
  if (input.newCount || input.onlyNew) {
13276
13423
  const $scope5_id = _scope_id();
13277
- _html(`<button type=button${_attr_class(["_jw", { ["_jv"]: 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")}`);
13424
+ _html(`<button type=button${_attr_class(["_jJ", { ["_jI"]: 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, 17))} new</button>${_el_resume($scope5_id, "a")}`);
13278
13425
  _script($scope5_id, "x2");
13279
13426
  writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
13280
13427
  return 0;
13281
13428
  }
13282
- }, $scope0_id, "s", $sg__input_newCount__OR__input_onlyNew, $sg__input_newCount__OR__input_onlyNew, $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);
13429
+ }, $scope0_id, "m", $sg__input_newCount__OR__input_onlyNew, $sg__input_newCount__OR__input_onlyNew, $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);
13283
13430
  _html(`</span></div>${_el_resume($scope0_id, "a", $sg__input_repo)}`);
13284
13431
  writeScope($scope0_id, {
13285
- w: _serialize_if($scope0_reason, 7) && input.workspaceBranch,
13286
- x: _serialize_if($scope0_reason, 6) && input.workspaceName,
13287
- y: $si__input_repo && input.loading,
13288
- z: input.onReload,
13289
- a0: $si__input_repo && input.fileCount,
13290
- a2: $si__input_additions__OR__input_deletions && input.additions,
13291
- a3: $si__input_additions__OR__input_deletions && input.deletions,
13292
- a5: _serialize_if($scope0_reason, 17) && input.hiddenCount,
13293
- a6: input.onShowHidden,
13294
- a7: $si__input_newCount__OR__input_onlyNew && input.newCount,
13295
- a8: $si__input_newCount__OR__input_onlyNew && input.onlyNew,
13296
- aa: input.onToggleNew,
13297
- ac: $si__input_repo__OR__input_fileCount && repo?.pr,
13298
- ad: _serialize_if($scope0_reason, 2) && repo?.pr?.baseRefName,
13299
- ae: _serialize_if($scope0_reason, 8) && repo?.base,
13300
- af: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && repo?.pr?.headRefName,
13301
- ag: _serialize_if($scope0_reason, 10) && repo?.branch,
13302
- aj: $si__input_repo && repo?.pr?.number,
13303
- ak: $si__input_repo && repo?.pr?.url,
13304
- al: $si__input_repo && repo?.pr?.title,
13305
- am: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && repo?.head,
13306
- an: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && repo?.baseSha,
13307
- ao: $si__input_repo && repo?.full_name,
13308
- ap: $si__input_repo && repo?.rev,
13309
- ar: $si__input_repo && repo?.pr?.headRefOid,
13310
- as: _serialize_if($scope0_reason, 13) && repo?.contained,
13311
- au: _serialize_if($scope0_reason, 14) && repo?.localHead,
13312
- b0: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && compare$1?.topic
13432
+ q: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && input.workspaceBranch,
13433
+ r: _serialize_if($scope0_reason, 6) && input.workspaceName,
13434
+ s: $si__input_repo && input.loading,
13435
+ t: input.onReload,
13436
+ u: $si__input_repo && input.fileCount,
13437
+ w: $si__input_additions__OR__input_deletions && input.additions,
13438
+ x: $si__input_additions__OR__input_deletions && input.deletions,
13439
+ z: _serialize_if($scope0_reason, 16) && input.hiddenCount,
13440
+ a0: input.onShowHidden,
13441
+ a1: $si__input_newCount__OR__input_onlyNew && input.newCount,
13442
+ a2: $si__input_newCount__OR__input_onlyNew && input.onlyNew,
13443
+ a4: input.onToggleNew,
13444
+ a6: $si__input_repo__OR__input_fileCount && repo?.pr,
13445
+ a7: _serialize_if($scope0_reason, 2) && repo?.pr?.baseRefName,
13446
+ a8: _serialize_if($scope0_reason, 7) && repo?.base,
13447
+ a9: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && repo?.pr?.headRefName,
13448
+ aa: _serialize_if($scope0_reason, 9) && repo?.branch,
13449
+ ac: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && repo?.default_branch,
13450
+ ae: $si__input_repo && repo?.pr?.number,
13451
+ af: $si__input_repo && repo?.pr?.url,
13452
+ ag: $si__input_repo && repo?.pr?.title,
13453
+ ah: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && repo?.head,
13454
+ ai: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && repo?.baseSha,
13455
+ aj: $si__input_repo && repo?.full_name,
13456
+ ak: $si__input_repo && repo?.rev,
13457
+ am: $si__input_repo && repo?.pr?.headRefOid,
13458
+ an: _serialize_if($scope0_reason, 12) && repo?.contained,
13459
+ ap: _serialize_if($scope0_reason, 13) && repo?.localHead,
13460
+ ar: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && compare$1?.topic,
13461
+ as: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && compare$1?.title,
13462
+ at: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && compare$1?.base,
13463
+ au: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && compare$1?.head,
13464
+ av: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && baseRef,
13465
+ aw: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && headRef,
13466
+ bk: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && $compare_topic__closures
13313
13467
  });
13314
13468
  });
13315
13469
  //#endregion
13316
13470
  //#region src/tags/review-repos.marko
13317
13471
  var review_repos_default = _template("y", (input) => {
13318
- const $scope0_reason = _scope_reason(), $sg__input_tabs = _serialize_guard($scope0_reason, 14), $si__input_tabs = _serialize_if($scope0_reason, 14), $si__input_tabs__OR__input_active = _serialize_if($scope0_reason, 0), $sg__input_tabs_length = _serialize_guard($scope0_reason, 15), $sg__input_tabs__OR__input_active = _serialize_guard($scope0_reason, 0), $sg__input_tabs__OR__input_active__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_guard($scope0_reason, 8), $sg__input_tabs__OR__input_active__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDifferIds = _serialize_guard($scope0_reason, 11), $si__input_tabs_length = _serialize_if($scope0_reason, 15), $si__input_localDifferIds = _serialize_if($scope0_reason, 22), $si__input_folded = _serialize_if($scope0_reason, 16), $si__input_onlyNew = _serialize_if($scope0_reason, 17), $si__input_onToggleNew = _serialize_if($scope0_reason, 18), $si__input_onShowHidden = _serialize_if($scope0_reason, 19), $si__input_workspaceBranch = _serialize_if($scope0_reason, 20), $si__input_workspaceName = _serialize_if($scope0_reason, 21), $si__input_onReload = _serialize_if($scope0_reason, 23), $si__input_loading = _serialize_if($scope0_reason, 24);
13472
+ const $scope0_reason = _scope_reason(), $sg__input_tabs = _serialize_guard($scope0_reason, 13), $si__input_tabs = _serialize_if($scope0_reason, 13), $si__input_tabs__OR__input_active = _serialize_if($scope0_reason, 0), $sg__input_tabs_length = _serialize_guard($scope0_reason, 14), $sg__input_tabs__OR__input_active = _serialize_guard($scope0_reason, 0), $sg__input_tabs__OR__input_active__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_guard($scope0_reason, 8), $sg__input_tabs__OR__input_active__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDifferIds = _serialize_guard($scope0_reason, 10), $si__input_tabs_length = _serialize_if($scope0_reason, 14), $si__input_localDifferIds = _serialize_if($scope0_reason, 21), $si__input_folded = _serialize_if($scope0_reason, 15), $si__input_onlyNew = _serialize_if($scope0_reason, 16), $si__input_onToggleNew = _serialize_if($scope0_reason, 17), $si__input_onShowHidden = _serialize_if($scope0_reason, 18), $si__input_workspaceBranch = _serialize_if($scope0_reason, 19), $si__input_workspaceName = _serialize_if($scope0_reason, 20), $si__input_onReload = _serialize_if($scope0_reason, 22), $si__input_loading = _serialize_if($scope0_reason, 23);
13319
13473
  const $scope0_id = _scope_id();
13320
13474
  const $input_folded__closures = /* @__PURE__ */ new Set();
13321
13475
  const $current_repo_id__closures = /* @__PURE__ */ new Set();
@@ -13356,30 +13510,30 @@ var review_repos_default = _template("y", (input) => {
13356
13510
  _if(() => {
13357
13511
  if (input.tabs.length) {
13358
13512
  const $scope1_id = _scope_id();
13359
- _html(`<div${_attr_class(["_iC", { ["_iB"]: many }])}>`);
13513
+ _html(`<div${_attr_class(["_jo", { ["_jn"]: many }])}>`);
13360
13514
  _if(() => {
13361
13515
  if (many) {
13362
13516
  const $scope2_id = _scope_id();
13363
- _html(`<div${_attr_class(["_iF", {
13364
- ["_iE"]: edges.end,
13365
- ["_iD"]: edges.start
13517
+ _html(`<div${_attr_class(["_jr", {
13518
+ ["_jq"]: edges.end,
13519
+ ["_jp"]: edges.start
13366
13520
  }])} role=tablist>`);
13367
13521
  _for_of(input.tabs, (tab$1) => {
13368
13522
  const $scope3_id = _scope_id();
13369
13523
  const repo = tab$1.repo;
13370
13524
  const isOn = current?.repo.id === repo.id;
13371
13525
  const isFolded = input.folded.has(repo.id);
13372
- _html(`<div${_attr_class(["_iI", {
13373
- ["_iG"]: isOn,
13374
- ["_iH"]: isFolded
13375
- }])} role=tab aria-selected=${isOn ? "true" : "false"}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_iL")} title=${isFolded ? "\"Show this section's files\"" : "\"Hide this section's files\""} aria-expanded=${isFolded ? "false" : "true"}><span${_attr_class("_iM")}>▾</span></button>${_el_resume($scope3_id, "b")}<button type=button${_attr_class("_iK")} title="Scroll to this section"><span${_attr_class(worktree)}>${_text_resume($scope3_id, "f", repo.worktree, $sg__input_tabs)}</span>`);
13526
+ _html(`<div${_attr_class(["_ju", {
13527
+ ["_js"]: isOn,
13528
+ ["_jt"]: isFolded
13529
+ }])} role=tab aria-selected=${isOn ? "true" : "false"}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_jx")} title=${isFolded ? "\"Show this section's files\"" : "\"Hide this section's files\""} aria-expanded=${isFolded ? "false" : "true"}><span${_attr_class("_jy")}>▾</span></button>${_el_resume($scope3_id, "b")}<button type=button${_attr_class("_jw")} title="Scroll to this section"><span${_attr_class(worktree)}>${_text_resume($scope3_id, "f", repo.worktree, $sg__input_tabs)}</span>`);
13376
13530
  _if(() => {
13377
13531
  if (repo.pr) {
13378
13532
  const $scope5_id = _scope_id();
13379
13533
  _html(`<span${_attr_class([
13380
13534
  "_u",
13381
13535
  "_v",
13382
- "_iO"
13536
+ "_jA"
13383
13537
  ])}>#${_text_resume($scope5_id, "b", repo.pr.number, $sg__input_tabs * 2)}</span>`);
13384
13538
  $si__input_tabs && writeScope($scope5_id, { _: _scope_with_id($scope3_id) });
13385
13539
  return 0;
@@ -13405,11 +13559,11 @@ var review_repos_default = _template("y", (input) => {
13405
13559
  if (current) {
13406
13560
  const $scope4_id = _scope_id();
13407
13561
  const one = current.repo;
13408
- _html(`<div${_attr_class("_iP")}>`);
13562
+ _html(`<div${_attr_class("_jB")}>`);
13409
13563
  _if(() => {
13410
13564
  if (!many) {
13411
13565
  const $scope6_id = _scope_id();
13412
- _html(`<span${_attr_class([worktree, "_iJ"])}>${_text_resume($scope6_id, "b", one.worktree, $sg__input_tabs__OR__input_active)}</span>`);
13566
+ _html(`<span${_attr_class([worktree, "_jv"])}>${_text_resume($scope6_id, "b", one.worktree, $sg__input_tabs__OR__input_active)}</span>`);
13413
13567
  $si__input_tabs__OR__input_active && writeScope($scope6_id, { _: _scope_with_id($scope4_id) });
13414
13568
  return 0;
13415
13569
  }
@@ -13422,18 +13576,17 @@ var review_repos_default = _template("y", (input) => {
13422
13576
  4: _serialize_guard($scope0_reason, 5),
13423
13577
  5: $sg__input_tabs__OR__input_active__OR__input_workspaceBranch__OR__input_workspaceName,
13424
13578
  6: _serialize_guard($scope0_reason, 9),
13425
- 7: _serialize_guard($scope0_reason, 10),
13426
- 8: $sg__input_tabs__OR__input_active__OR__input_workspaceBranch__OR__input_workspaceName,
13579
+ 7: $sg__input_tabs__OR__input_active__OR__input_workspaceBranch__OR__input_workspaceName,
13580
+ 8: $sg__input_tabs__OR__input_active__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDifferIds,
13427
13581
  9: $sg__input_tabs__OR__input_active__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDifferIds,
13428
- 10: $sg__input_tabs__OR__input_active__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDifferIds,
13429
- 11: _serialize_guard($scope0_reason, 12),
13582
+ 10: _serialize_guard($scope0_reason, 11),
13583
+ 11: $sg__input_tabs__OR__input_active,
13430
13584
  12: $sg__input_tabs__OR__input_active,
13431
- 13: $sg__input_tabs__OR__input_active,
13432
- 14: _serialize_guard($scope0_reason, 6),
13585
+ 13: _serialize_guard($scope0_reason, 6),
13586
+ 14: $sg__input_tabs__OR__input_active,
13433
13587
  15: $sg__input_tabs__OR__input_active,
13434
13588
  16: $sg__input_tabs__OR__input_active,
13435
- 17: $sg__input_tabs__OR__input_active,
13436
- 18: $sg__input_tabs__OR__input_active
13589
+ 17: $sg__input_tabs__OR__input_active
13437
13590
  });
13438
13591
  const $childScope = _peek_scope_id();
13439
13592
  review_head_default({
@@ -13453,7 +13606,7 @@ var review_repos_default = _template("y", (input) => {
13453
13606
  loading: input.loading
13454
13607
  });
13455
13608
  _html("</div>");
13456
- _serialize_if($scope0_reason, 13) && _subscribe($si__input_tabs_length && $many__closures, _subscribe($si__input_tabs__OR__input_active && $current_hidden__closures, _subscribe($si__input_tabs__OR__input_active && $current_fresh__closures, _subscribe($si__input_tabs__OR__input_active && $current_deletions__closures, _subscribe($si__input_tabs__OR__input_active && $current_additions__closures, _subscribe($si__input_tabs__OR__input_active && $current_files__closures, _subscribe($si__input_tabs__OR__input_active && $current_repo__closures, _subscribe($si__input_loading && $input_loading__closures, _subscribe($si__input_onReload && $input_onReload__closures, _subscribe($si__input_localDifferIds && $input_localDifferIds__closures, _subscribe($si__input_workspaceName && $input_workspaceName__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, _subscribe($si__input_onShowHidden && $input_onShowHidden__closures, _subscribe($si__input_onToggleNew && $input_onToggleNew__closures, _subscribe($si__input_onlyNew && $input_onlyNew__closures, writeScope($scope4_id, {
13609
+ _serialize_if($scope0_reason, 12) && _subscribe($si__input_tabs_length && $many__closures, _subscribe($si__input_tabs__OR__input_active && $current_hidden__closures, _subscribe($si__input_tabs__OR__input_active && $current_fresh__closures, _subscribe($si__input_tabs__OR__input_active && $current_deletions__closures, _subscribe($si__input_tabs__OR__input_active && $current_additions__closures, _subscribe($si__input_tabs__OR__input_active && $current_files__closures, _subscribe($si__input_tabs__OR__input_active && $current_repo__closures, _subscribe($si__input_loading && $input_loading__closures, _subscribe($si__input_onReload && $input_onReload__closures, _subscribe($si__input_localDifferIds && $input_localDifferIds__closures, _subscribe($si__input_workspaceName && $input_workspaceName__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, _subscribe($si__input_onShowHidden && $input_onShowHidden__closures, _subscribe($si__input_onToggleNew && $input_onToggleNew__closures, _subscribe($si__input_onlyNew && $input_onlyNew__closures, writeScope($scope4_id, {
13457
13610
  e: $si__input_tabs_length && one?.worktree,
13458
13611
  i: $si__input_localDifferIds && one?.id,
13459
13612
  _: _scope_with_id($scope1_id),
@@ -13519,7 +13672,7 @@ var review_repos_default = _template("y", (input) => {
13519
13672
  });
13520
13673
  _resume_branch($scope0_id);
13521
13674
  });
13522
- var fileFilter = "_jq _n";
13675
+ var fileFilter = "_jD _n";
13523
13676
  //#endregion
13524
13677
  //#region src/tags/file-filter.marko
13525
13678
  var file_filter_default = _template("l", (input) => {
@@ -13549,7 +13702,7 @@ var file_filter_default = _template("l", (input) => {
13549
13702
  pending = v;
13550
13703
  box.timer = setTimeout(flush, 150);
13551
13704
  }, "l2", $scope0_id);
13552
- _html(`<div${_attr_class("_jp")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
13705
+ _html(`<div${_attr_class("_jC")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
13553
13706
  type(v);
13554
13707
  }, "l0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
13555
13708
  _script($scope0_id, "l3");
@@ -13595,7 +13748,7 @@ var review_tree_default = _template("z", (input) => {
13595
13748
  dragging$1 = false;
13596
13749
  if (width != null) setDiffTreeWidth(width);
13597
13750
  }, "z2", $scope0_id);
13598
- _html(`<div${_attr_class(["_ij", { ["_ii"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_iw", { ["_iv"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_ik")}>`);
13751
+ _html(`<div${_attr_class(["_iN", { ["_iM"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_i0", { ["_iZ"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_iO")}>`);
13599
13752
  _set_serialize_reason(2);
13600
13753
  const $childScope = _peek_scope_id();
13601
13754
  file_filter_default({
@@ -13604,22 +13757,22 @@ var review_tree_default = _template("z", (input) => {
13604
13757
  filter$1 = _new_filter;
13605
13758
  }, "z3", $scope0_id)
13606
13759
  });
13607
- _html(`</div><div${_attr_class("_il")}>`);
13760
+ _html(`</div><div${_attr_class("_iP")}>`);
13608
13761
  _for_of(input.sections, (section$2) => {
13609
13762
  const $scope1_id = _scope_id();
13610
- _html(`<div${_attr_class(["_in", { ["_im"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
13763
+ _html(`<div${_attr_class(["_iR", { ["_iQ"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
13611
13764
  _if(() => {
13612
13765
  if (input.sections.length > 1) {
13613
13766
  const $scope2_id = _scope_id();
13614
- _html(`<button type=button${_attr_class("_io")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_ip", { ["_iq"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
13767
+ _html(`<button type=button${_attr_class("_iS")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_iT", { ["_iU"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
13615
13768
  icon_chevron_right_default({ size: 12 });
13616
- _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_ir")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_is")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13769
+ _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_iV")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_iW")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13617
13770
  _script($scope2_id, "z4");
13618
13771
  _subscribe($closed__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
13619
13772
  return 0;
13620
13773
  }
13621
13774
  }, $scope1_id, "b", $sg__input_sections, $sg__input_sections_length, $sg__input_sections_length, 0, 1);
13622
- _html(`<div${_attr_class(["_iu", { ["_it"]: 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)}`);
13775
+ _html(`<div${_attr_class(["_iY", { ["_iX"]: 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)}`);
13623
13776
  writeScope($scope1_id, {
13624
13777
  f: section$2?.id,
13625
13778
  h: $si__input_sections_length && section$2?.label,
@@ -13651,24 +13804,7 @@ var review_tree_default = _template("z", (input) => {
13651
13804
  });
13652
13805
  _resume_branch($scope0_id);
13653
13806
  });
13654
- var sheetDir = "_jj _ba";
13655
- //#endregion
13656
- //#region src/tags/icons/icon-comment.marko
13657
- var icon_comment_default = _template("bb", (input) => {
13658
- const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
13659
- const $scope0_id = _scope_id();
13660
- _set_serialize_reason({
13661
- 0: $sg__input_size__OR__input_class,
13662
- 1: $sg__input_size__OR__input_class
13663
- });
13664
- const $childScope = _peek_scope_id();
13665
- icon_base_default({
13666
- d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 13.8214 2.48697 15.5291 3.33782 17L2.5 21.5L7 20.6622C8.47087 21.513 10.1786 22 12 22Z",
13667
- size: input.size,
13668
- class: input.class
13669
- });
13670
- _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
13671
- });
13807
+ var sheetDir = "_jb _ba";
13672
13808
  //#endregion
13673
13809
  //#region src/tags/diff-file-sheet.marko
13674
13810
  var diff_file_sheet_default = _template("i", (input) => {
@@ -13724,9 +13860,9 @@ var diff_file_sheet_default = _template("i", (input) => {
13724
13860
  _if(() => {
13725
13861
  if (open) {
13726
13862
  const $scope1_id = _scope_id();
13727
- _html(`<div${_attr_class("_ja")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_jb")} role=dialog aria-label="Jump to file"><div${_attr_class("_jc")}><strong${_attr_class("_i_")}>Files</strong><span${_attr_class("_jd")}>${_text_resume($scope1_id, "f", input.files.length, $sg__input_files_length)}${_text_resume($scope1_id, "g", input.files.length !== total ? ` / ${total}` : "", _serialize_guard($scope0_reason, 2) * 2)}</span><button type=button${_attr_class([iconBtnLg, "_i9"])} title=Close aria-label=Close>`);
13863
+ _html(`<div${_attr_class("_i3")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_i4")} role=dialog aria-label="Jump to file"><div${_attr_class("_i5")}><strong${_attr_class("_i2")}>Files</strong><span${_attr_class("_i6")}>${_text_resume($scope1_id, "f", input.files.length, $sg__input_files_length)}${_text_resume($scope1_id, "g", input.files.length !== total ? ` / ${total}` : "", _serialize_guard($scope0_reason, 2) * 2)}</span><button type=button${_attr_class([iconBtnLg, "_i1"])} title=Close aria-label=Close>`);
13728
13864
  icon_xmark_default({ size: 16 });
13729
- _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_jl")}>`);
13865
+ _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_jd")}>`);
13730
13866
  _set_serialize_reason(2);
13731
13867
  const $childScope = _peek_scope_id();
13732
13868
  file_filter_default({
@@ -13735,13 +13871,13 @@ var diff_file_sheet_default = _template("i", (input) => {
13735
13871
  filter = _new_filter;
13736
13872
  }, "i1", $scope1_id)
13737
13873
  });
13738
- _html(`</div><div${_attr_class("_je")}>`);
13874
+ _html(`</div><div${_attr_class("_i7")}>`);
13739
13875
  _for_of(groups, (group) => {
13740
13876
  const $scope2_id = _scope_id();
13741
- _html(`<div${_attr_class("_jf")}><div${_attr_class("_jg")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
13877
+ _html(`<div${_attr_class("_i8")}><div${_attr_class("_i9")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
13742
13878
  _for_of(group.dirs, ({ dir, files }) => {
13743
13879
  const $scope3_id = _scope_id();
13744
- _html(`<div${_attr_class("_jh")}>`);
13880
+ _html(`<div${_attr_class("_i_")}>`);
13745
13881
  _if(() => {
13746
13882
  if (dir) {
13747
13883
  const $scope5_id = _scope_id();
@@ -13752,11 +13888,11 @@ var diff_file_sheet_default = _template("i", (input) => {
13752
13888
  }, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
13753
13889
  _for_of(files, ({ file, name }) => {
13754
13890
  const $scope4_id = _scope_id();
13755
- _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_ji", "_y"])}><span${_attr_class("__")}${_attr("data-status", file.status)}>${_text_resume($scope4_id, "c", file.status, $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_jk")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
13891
+ _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_ja", "_y"])}><span${_attr_class("__")}${_attr("data-status", file.status)}>${_text_resume($scope4_id, "c", file.status, $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_jc")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
13756
13892
  _if(() => {
13757
13893
  if (newKeys.has(file.key)) {
13758
13894
  const $scope6_id = _scope_id();
13759
- _html(`<span${_attr_class(["_A", "_jn"])} title="Changed since your last visit"></span>`);
13895
+ _html(`<span${_attr_class(["_A", "_jf"])} title="Changed since your last visit"></span>`);
13760
13896
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
13761
13897
  return 0;
13762
13898
  }
@@ -13766,7 +13902,7 @@ var diff_file_sheet_default = _template("i", (input) => {
13766
13902
  const $scope7_id = _scope_id();
13767
13903
  icon_comment_default({
13768
13904
  size: 12,
13769
- class: "_jo"
13905
+ class: "_jg"
13770
13906
  });
13771
13907
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
13772
13908
  return 0;
@@ -13791,7 +13927,7 @@ var diff_file_sheet_default = _template("i", (input) => {
13791
13927
  _if(() => {
13792
13928
  if (!input.files.length) {
13793
13929
  const $scope8_id = _scope_id();
13794
- _html(`<p${_attr_class("_jm")}>No files match.</p>`);
13930
+ _html(`<p${_attr_class("_je")}>No files match.</p>`);
13795
13931
  $si__input_files_length && writeScope($scope8_id, {});
13796
13932
  return 0;
13797
13933
  }
@@ -14044,6 +14180,11 @@ var review_view_default = _template("A", (input) => {
14044
14180
  });
14045
14181
  return out;
14046
14182
  })();
14183
+ const compareLabel = rev ? commitOptions.find((c) => c.sha === rev)?.label ?? shortSha(rev, 7) : {
14184
+ committed: "Committed",
14185
+ working: "Working tree",
14186
+ dirty: "Uncommitted"
14187
+ }[scope];
14047
14188
  const treeSections = shownRepos.map((r) => ({
14048
14189
  id: r.id,
14049
14190
  label: r.worktree,
@@ -14080,6 +14221,10 @@ var review_view_default = _template("A", (input) => {
14080
14221
  hidden: r.files.length - st.files
14081
14222
  };
14082
14223
  });
14224
+ const compareTitle = repoTabs.map(({ repo: r }) => {
14225
+ const c = reviewCompareLabel(r.pr?.baseRefName || r.base, r.pr?.headRefName || r.branch, input.workspaceBranch || "", input.workspaceName || "");
14226
+ return `${r.worktree}: ${c.title}`;
14227
+ }).join("\n");
14083
14228
  const fileWorktree = _resume((repo) => repo.includes("#") ? repo.split("#")[0] : repo, "A17");
14084
14229
  const anchorFor = _resume((file, range) => {
14085
14230
  const section = repoList.find((r) => r.id === file.repo);
@@ -14223,7 +14368,7 @@ var review_view_default = _template("A", (input) => {
14223
14368
  else viewBox.scrollToLine(hit.key, hit.line, hit.side);
14224
14369
  }, 0);
14225
14370
  };
14226
- _html(`<div${_attr_class("_gl")}><div${_attr_class("_gq")}><div${_attr_class("_gX")}><div${_attr_class("_gr")}><div${_attr_class(["_gA", { ["_gz"]: !comments.length }])}>`);
14371
+ _html(`<div${_attr_class("_gl")}><div${_attr_class("_gq")}><div${_attr_class("_gZ")}><div${_attr_class("_gr")}><div${_attr_class("_gy")}>`);
14227
14372
  _if(() => {
14228
14373
  if (input.onExit) {
14229
14374
  const $scope1_id = _scope_id();
@@ -14233,25 +14378,29 @@ var review_view_default = _template("A", (input) => {
14233
14378
  _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 2) && _scope_with_id($scope0_id) });
14234
14379
  return 0;
14235
14380
  }
14236
- }, $scope0_id, "f", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 7), 1, 0, 1);
14381
+ }, $scope0_id, "f", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 9), 1, 0, 1);
14237
14382
  _html(`<h1${_attr_class(pageTitle)}>Review</h1>`);
14238
14383
  _if(() => {
14239
14384
  if (comments.length) {
14240
14385
  const $scope2_id = _scope_id();
14241
- _html(`<span${_attr_class("_gu")}>${_text_resume($scope2_id, "b", comments.length)} comment${_text_resume($scope2_id, "c", comments.length === 1 ? "" : "s", 2)}</span><span${_attr_class("_gt")}>`);
14242
- _set_serialize_reason(_serialize_guard($scope0_reason, 8));
14386
+ _html(`<span${_attr_class("_gt")}>`);
14387
+ _set_serialize_reason({
14388
+ 0: _serialize_guard($scope0_reason, 10),
14389
+ 1: 1
14390
+ });
14243
14391
  const $childScope = _peek_scope_id();
14244
14392
  diff_send_default({
14393
+ count: comments.length,
14245
14394
  sessions: input.sessions,
14246
14395
  onCopy: copyMarkdown,
14247
14396
  onSend: sendTo
14248
14397
  });
14249
14398
  _html("</span>");
14250
- writeScope($scope2_id, { e: _existing_scope($childScope) });
14399
+ writeScope($scope2_id, { b: _existing_scope($childScope) });
14251
14400
  return 0;
14252
14401
  }
14253
- }, $scope0_id, "h");
14254
- _html(`</div>${_el_resume($scope0_id, "e")}<div${_attr_class(["_gp", "_gU"])}>`);
14402
+ }, $scope0_id, "h", 1, 1, 1, 0, 1);
14403
+ _html(`</div><div${_attr_class(["_gp", "_gY"])}>`);
14255
14404
  _if(() => {
14256
14405
  if (hasFiles) {
14257
14406
  const $scope9_id = _scope_id();
@@ -14278,25 +14427,32 @@ var review_view_default = _template("A", (input) => {
14278
14427
  _if(() => {
14279
14428
  if (hasFiles) {
14280
14429
  const $scope10_id = _scope_id();
14281
- _html(`<button${_attr_class(["_q", "_gJ"])} title="Jump to file">Files (${_text_resume($scope10_id, "b", shownFiles.length, 2)})</button>${_el_resume($scope10_id, "a")}`);
14430
+ _html(`<button${_attr_class([
14431
+ iconBtnRow,
14432
+ "_gn",
14433
+ "_gK"
14434
+ ])}${_attr("title", `Jump to file (${shownFiles.length})`)}${_attr("aria-label", `Jump to file (${shownFiles.length} files)`)}><span${_attr_class("_gL")} aria-hidden=true>`);
14435
+ icon_folder_default({
14436
+ size: 20,
14437
+ class: "_gM"
14438
+ });
14439
+ _html(`<span${_attr_class("_gN")}>${_text_resume($scope10_id, "e", shownFiles.length > 99 ? "99+" : shownFiles.length)}</span></span></button>${_el_resume($scope10_id, "a")}`);
14282
14440
  _script($scope10_id, "A41");
14283
14441
  writeScope($scope10_id, {});
14284
14442
  return 0;
14285
14443
  }
14286
14444
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
14287
- _html(`<span${_attr_class([
14288
- "_o",
14289
- "_gB",
14290
- "_gV"
14291
- ])}>`);
14292
- _attr_select_value($scope0_id, "o", rev ? `rev:${rev}` : scope, _resume(function(v) {
14445
+ _html(`<span${_attr_class("_gz")}><button${_attr_class([
14446
+ iconBtnRow,
14447
+ "_gn",
14448
+ { ["_gm"]: !!rev }
14449
+ ])}${_attr("title", `${compareLabel}\n${compareTitle}`)} aria-label=Compare${_attr("disabled", loading)}>`);
14450
+ icon_branch_default({ size: 14 });
14451
+ _html(`</button>${_el_resume($scope0_id, "o")}`);
14452
+ _attr_select_value($scope0_id, "q", rev ? `rev:${rev}` : scope, _resume(function(v) {
14293
14453
  pickCompare(v);
14294
14454
  }, "A0", $scope0_id), () => {
14295
- _html(`<select${_attr_class([
14296
- "_p",
14297
- "_gC",
14298
- "_gW"
14299
- ])} aria-label=Compare${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option>`);
14455
+ _html(`<select${_attr_class("_gA")} aria-label=Compare tabindex=-1${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option>`);
14300
14456
  _if(() => {
14301
14457
  if (commitOptions.length) {
14302
14458
  const $scope12_id = _scope_id();
@@ -14309,10 +14465,10 @@ var review_view_default = _template("A", (input) => {
14309
14465
  writeScope($scope12_id, {});
14310
14466
  return 0;
14311
14467
  }
14312
- }, $scope0_id, "p", 1, 1, 1, 0, 1);
14468
+ }, $scope0_id, "r", 1, 1, 1, 0, 1);
14313
14469
  _html("</select>");
14314
14470
  });
14315
- _html(`${_el_resume($scope0_id, "o")}</span> <div${_attr_class(["_gy", { ["_gx"]: !findOpen }])}>`);
14471
+ _html(`${_el_resume($scope0_id, "q")}</span> <div${_attr_class(["_gx", { ["_gw"]: !findOpen }])}>`);
14316
14472
  _set_serialize_reason(2);
14317
14473
  const $childScope3 = _peek_scope_id();
14318
14474
  let findFocus = diff_find_default({
@@ -14328,14 +14484,14 @@ var review_view_default = _template("A", (input) => {
14328
14484
  onFindState(s);
14329
14485
  }
14330
14486
  });
14331
- _var($scope0_id, "s", $childScope3, "A42");
14332
- _html(`</div>${_el_resume($scope0_id, "q")}`);
14487
+ _var($scope0_id, "u", $childScope3, "A42");
14488
+ _html(`</div>${_el_resume($scope0_id, "s")}`);
14333
14489
  _if(() => {
14334
14490
  if (hasFiles && !pinnedFind) {
14335
14491
  const $scope11_id = _scope_id();
14336
14492
  _html(`<button${_attr_class([
14337
14493
  iconBtnRow,
14338
- "_gw",
14494
+ "_gv",
14339
14495
  "_gn"
14340
14496
  ])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
14341
14497
  icon_search_default({ size: 14 });
@@ -14344,8 +14500,16 @@ var review_view_default = _template("A", (input) => {
14344
14500
  writeScope($scope11_id, {});
14345
14501
  return 0;
14346
14502
  }
14347
- }, $scope0_id, "t", 1, 1, 1, 0, 1);
14503
+ }, $scope0_id, "v", 1, 1, 1, 0, 1);
14348
14504
  _html("</div>");
14505
+ _if(() => {
14506
+ if (!repos && loading) {
14507
+ const $scope14_id = _scope_id();
14508
+ _html(`<div${_attr_class("_gH")} aria-hidden=true><div${_attr_class(["_gD", "_gI"])}></div><div${_attr_class(["_gD", "_gJ"])}></div></div>`);
14509
+ writeScope($scope14_id, {});
14510
+ return 0;
14511
+ }
14512
+ }, $scope0_id, "w", 1, 1, 1, 0, 1);
14349
14513
  _set_serialize_reason({
14350
14514
  0: 1,
14351
14515
  1: 1,
@@ -14364,12 +14528,11 @@ var review_view_default = _template("A", (input) => {
14364
14528
  14: 1,
14365
14529
  15: 1,
14366
14530
  16: 1,
14367
- 17: 1,
14368
- 20: _serialize_guard($scope0_reason, 9),
14369
- 21: _serialize_guard($scope0_reason, 10),
14531
+ 19: _serialize_guard($scope0_reason, 7),
14532
+ 20: _serialize_guard($scope0_reason, 8),
14533
+ 21: 1,
14370
14534
  22: 1,
14371
- 23: 1,
14372
- 24: 1
14535
+ 23: 1
14373
14536
  });
14374
14537
  const $childScope4 = _peek_scope_id();
14375
14538
  review_repos_default({
@@ -14415,7 +14578,7 @@ var review_view_default = _template("A", (input) => {
14415
14578
  onReload: reload,
14416
14579
  loading
14417
14580
  });
14418
- _html(`</div><div${_attr_class("_gK")}>`);
14581
+ _html(`</div><div${_attr_class("_gO")}>`);
14419
14582
  _if(() => {
14420
14583
  if (error) {
14421
14584
  const $scope3_id = _scope_id();
@@ -14434,7 +14597,7 @@ var review_view_default = _template("A", (input) => {
14434
14597
  writeScope($scope3_id, {});
14435
14598
  return 0;
14436
14599
  }
14437
- }, $scope0_id, "w", 1, 1, 1, 0, 1);
14600
+ }, $scope0_id, "z", 1, 1, 1, 0, 1);
14438
14601
  _for_of(repoList.filter((r) => r.baseMissing), (repo) => {
14439
14602
  const $scope6_id = _scope_id();
14440
14603
  const $for_content__repo_base__closures = /* @__PURE__ */ new Set();
@@ -14456,15 +14619,20 @@ var review_view_default = _template("A", (input) => {
14456
14619
  f: $for_content__repo_base__closures,
14457
14620
  a: _existing_scope($childScope5)
14458
14621
  });
14459
- }, "id", $scope0_id, "x", 1, 1, 1, 0, 1);
14622
+ }, "id", $scope0_id, "a0", 1, 1, 1, 0, 1);
14460
14623
  _if(() => {
14461
14624
  if (!repos && loading) {
14462
- const $scope14_id = _scope_id();
14463
- _html(`<div${_attr_class("_gE")} aria-hidden=true><div${_attr_class(["_gF", "_gG"])}></div><div${_attr_class(["_gF", "_gH"])}></div><div${_attr_class(["_gF", "_gI"])}></div></div>`);
14464
- writeScope($scope14_id, {});
14625
+ const $scope15_id = _scope_id();
14626
+ _html(`<div${_attr_class("_gC")} aria-hidden=true>`);
14627
+ forTo(2, 0, 1, () => {
14628
+ _scope_id();
14629
+ _html(`<div${_attr_class("_gE")}><div${_attr_class(["_gD", "_gF"])}></div><div${_attr_class(["_gD", "_gG"])}></div></div>`);
14630
+ });
14631
+ _html("</div>");
14632
+ writeScope($scope15_id, {});
14465
14633
  return 0;
14466
14634
  }
14467
- }, $scope0_id, "y", 1, 1, 1, 0, 1);
14635
+ }, $scope0_id, "a1", 1, 1, 1, 0, 1);
14468
14636
  _if(() => {
14469
14637
  if (repos && !allFiles.length) {
14470
14638
  const $scope8_id = _scope_id();
@@ -14477,8 +14645,8 @@ var review_view_default = _template("A", (input) => {
14477
14645
  writeScope($scope5_id, {});
14478
14646
  return 1;
14479
14647
  }
14480
- }, $scope0_id, "z", 1, 1, 1, 0, 1);
14481
- _html(`</div></div><div${_attr_class("_gL")} data-diff-main></div>${_el_resume($scope0_id, "a0")}</div>`);
14648
+ }, $scope0_id, "a2", 1, 1, 1, 0, 1);
14649
+ _html(`</div></div><div${_attr_class("_gP")} data-diff-main></div>${_el_resume($scope0_id, "a3")}</div>`);
14482
14650
  _set_serialize_reason(26);
14483
14651
  const $childScope6 = _peek_scope_id();
14484
14652
  review_tree_default({
@@ -14541,102 +14709,107 @@ var review_view_default = _template("A", (input) => {
14541
14709
  _script($scope0_id, "A49");
14542
14710
  _script($scope0_id, "A50");
14543
14711
  writeScope($scope0_id, {
14544
- a5: input.workspaceId,
14545
- a6: input.scope,
14546
- a7: input.rev,
14547
- a8: _serialize_if($scope0_reason, 4) && input.findOpen,
14548
- a9: _serialize_if($scope0_reason, 3) && input.findOpenChange,
14549
- ab: _serialize_if($scope0_reason, 6) && input.findTick,
14550
- ac: _serialize_if($scope0_reason, 5) && input.findTickChange,
14551
- ae: input.onFileChange,
14552
- af: input.focusPr,
14553
- ag: input.focusFile,
14554
- ah: input.active,
14555
- ai: input.onScopeChange,
14556
- aj: input.onRevChange,
14557
- ak: input.onSent,
14558
- am: input.sessions,
14559
- ap: input.focusNonce,
14560
- aq: input.focusFileNonce,
14561
- ar: repos,
14562
- at: comments,
14563
- av: comments?.length,
14564
- aw: draft,
14565
- ax: error,
14566
- ay: loading,
14567
- b0: fileFilter,
14568
- b3: onlyNew,
14569
- b4: scope,
14570
- b5: rev,
14571
- b6: treeOpen,
14572
- b8: findOpen,
14573
- ba: pinnedFind,
14574
- bc: findTick,
14575
- bf: findState?.query,
14576
- bh: findState?.hit,
14577
- bi: findState?.hit?.key,
14578
- bj: collapsedFiles,
14579
- bk: activeRepo,
14580
- bl: foldedRepos,
14581
- bn: headBox.sig,
14582
- bo: headBox.timer,
14583
- bq: loadBox.seq,
14584
- br: viewBox,
14585
- bt: posBox.anchor,
14586
- bv: posBox.raf,
14587
- bx: restoreBox.pos,
14588
- bz: restoreBox.jump,
14589
- c2: restorePos,
14590
- c3: savePos,
14591
- c4: jumpTo,
14592
- c5: focusPrSection,
14593
- c7: load,
14594
- cc: reload,
14595
- cd: reloadSoon,
14596
- ce: loadReview,
14597
- cf: setScope,
14598
- cg: setRev,
14599
- ci: pickCompare,
14600
- ck: markSeen,
14601
- cl: repoList,
14602
- cn: shownRepos,
14603
- co: allFiles,
14604
- cq: allFiles?.length,
14605
- cs: fileFiltered,
14606
- ct: findKeys,
14607
- cv: listFiles,
14608
- cz: shownFiles,
14609
- d1: shownFiles?.length,
14610
- d3: commentsByFile,
14611
- da: commitOptions,
14612
- dg: fileWorktree,
14613
- dh: anchorFor,
14614
- di: filesByKey,
14615
- dj: fileByKey,
14616
- dl: saveComment,
14617
- dm: deleteRemote,
14618
- do: removeComment,
14619
- dp: editComment,
14620
- dr: sendGate.busy,
14621
- dt: dispatch,
14622
- dw: copyMarkdown,
14623
- dx: sendTo,
14624
- dy: sendOneComment,
14625
- dz: sendDraftComment,
14626
- e0: openFind,
14627
- e3: findFocus,
14628
- e5: dockBox.home,
14629
- e6: dockBox.raf,
14630
- e8: dockFind,
14631
- b9: input.findOpenChange || void 0,
14632
- bd: input.findTickChange || void 0,
14712
+ a8: input.workspaceId,
14713
+ a9: input.scope,
14714
+ aa: input.rev,
14715
+ ab: _serialize_if($scope0_reason, 4) && input.findOpen,
14716
+ ac: _serialize_if($scope0_reason, 3) && input.findOpenChange,
14717
+ ae: _serialize_if($scope0_reason, 6) && input.findTick,
14718
+ af: _serialize_if($scope0_reason, 5) && input.findTickChange,
14719
+ ah: input.onFileChange,
14720
+ ai: input.focusPr,
14721
+ aj: input.focusFile,
14722
+ ak: input.active,
14723
+ al: input.onScopeChange,
14724
+ am: input.onRevChange,
14725
+ an: input.workspaceBranch,
14726
+ ao: input.workspaceName,
14727
+ ap: input.onSent,
14728
+ ar: input.sessions,
14729
+ as: input.focusNonce,
14730
+ at: input.focusFileNonce,
14731
+ au: repos,
14732
+ aw: comments,
14733
+ ay: comments?.length,
14734
+ az: draft,
14735
+ b0: error,
14736
+ b1: loading,
14737
+ b3: fileFilter,
14738
+ b6: onlyNew,
14739
+ b7: scope,
14740
+ b8: rev,
14741
+ b9: treeOpen,
14742
+ bb: findOpen,
14743
+ bd: pinnedFind,
14744
+ bf: findTick,
14745
+ bi: findState?.query,
14746
+ bk: findState?.hit,
14747
+ bl: findState?.hit?.key,
14748
+ bm: collapsedFiles,
14749
+ bn: activeRepo,
14750
+ bo: foldedRepos,
14751
+ bq: headBox.sig,
14752
+ br: headBox.timer,
14753
+ bt: loadBox.seq,
14754
+ bu: viewBox,
14755
+ bw: posBox.anchor,
14756
+ by: posBox.raf,
14757
+ c0: restoreBox.pos,
14758
+ c2: restoreBox.jump,
14759
+ c5: restorePos,
14760
+ c6: savePos,
14761
+ c7: jumpTo,
14762
+ c8: focusPrSection,
14763
+ ca: load,
14764
+ cf: reload,
14765
+ cg: reloadSoon,
14766
+ ch: loadReview,
14767
+ ci: setScope,
14768
+ cj: setRev,
14769
+ cl: pickCompare,
14770
+ cn: markSeen,
14771
+ co: repoList,
14772
+ cq: shownRepos,
14773
+ cr: allFiles,
14774
+ ct: allFiles?.length,
14775
+ cv: fileFiltered,
14776
+ cw: findKeys,
14777
+ cy: listFiles,
14778
+ d2: shownFiles,
14779
+ d4: shownFiles?.length,
14780
+ d6: commentsByFile,
14781
+ dd: commitOptions,
14782
+ dg: compareLabel,
14783
+ dk: _serialize_if($scope0_reason, 1) && repoTabs,
14784
+ dm: compareTitle,
14785
+ do: fileWorktree,
14786
+ dp: anchorFor,
14787
+ dq: filesByKey,
14788
+ dr: fileByKey,
14789
+ dt: saveComment,
14790
+ du: deleteRemote,
14791
+ dw: removeComment,
14792
+ dx: editComment,
14793
+ dz: sendGate.busy,
14794
+ e1: dispatch,
14795
+ e4: copyMarkdown,
14796
+ e5: sendTo,
14797
+ e6: sendOneComment,
14798
+ e7: sendDraftComment,
14799
+ e8: openFind,
14800
+ eb: findFocus,
14801
+ ed: dockBox.home,
14802
+ ee: dockBox.raf,
14803
+ eg: dockFind,
14804
+ bc: input.findOpenChange || void 0,
14805
+ bg: input.findTickChange || void 0,
14633
14806
  l: _existing_scope($childScope2),
14634
- r: _existing_scope($childScope3),
14635
- u: _existing_scope($childScope4),
14636
- ed: $error__closures,
14637
- eg: $scope__closures,
14638
- a1: _existing_scope($childScope6),
14639
- a2: _existing_scope($childScope7)
14807
+ t: _existing_scope($childScope3),
14808
+ x: _existing_scope($childScope4),
14809
+ el: $error__closures,
14810
+ eo: $scope__closures,
14811
+ a4: _existing_scope($childScope6),
14812
+ a5: _existing_scope($childScope7)
14640
14813
  });
14641
14814
  _resume_branch($scope0_id);
14642
14815
  return $return;
@@ -14758,23 +14931,6 @@ var skillRow = "_f_ _cI";
14758
14931
  var skillName = "_gb _f8 _cK";
14759
14932
  var skillDesc = "_ge _cL";
14760
14933
  //#endregion
14761
- //#region src/tags/icons/icon-clipboard.marko
14762
- var icon_clipboard_default = _template("ab", (input) => {
14763
- const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
14764
- const $scope0_id = _scope_id();
14765
- _set_serialize_reason({
14766
- 0: $sg__input_size__OR__input_class,
14767
- 1: $sg__input_size__OR__input_class
14768
- });
14769
- const $childScope = _peek_scope_id();
14770
- icon_base_default({
14771
- d: "M8.5 4H6C4.89543 4 4 4.89543 4 6V20C4 21.1046 4.89543 22 6 22H18C19.1046 22 20 21.1046 20 20V6C20 4.89543 19.1046 4 18 4H15.5 M8 6.4V4.5C8 4.22386 8.22386 4 8.5 4C8.77614 4 9.00422 3.77604 9.05152 3.50398C9.19968 2.65171 9.77399 1 12 1C14.226 1 14.8003 2.65171 14.9485 3.50398C14.9958 3.77604 15.2239 4 15.5 4C15.7761 4 16 4.22386 16 4.5V6.4C16 6.73137 15.7314 7 15.4 7H8.6C8.26863 7 8 6.73137 8 6.4Z",
14772
- size: input.size,
14773
- class: input.class
14774
- });
14775
- _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
14776
- });
14777
- //#endregion
14778
14934
  //#region src/tags/icons/icon-archive.marko
14779
14935
  var icon_archive_default = _template("Q", (input) => {
14780
14936
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
@@ -14793,7 +14949,7 @@ var icon_archive_default = _template("Q", (input) => {
14793
14949
  });
14794
14950
  //#endregion
14795
14951
  //#region src/tags/icons/icon-trash.marko
14796
- var icon_trash_default = _template("vb", (input) => {
14952
+ var icon_trash_default = _template("wb", (input) => {
14797
14953
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
14798
14954
  const $scope0_id = _scope_id();
14799
14955
  _set_serialize_reason({
@@ -14808,27 +14964,10 @@ var icon_trash_default = _template("vb", (input) => {
14808
14964
  });
14809
14965
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
14810
14966
  });
14811
- var resultRow = "_hT _I";
14812
- var resultBranch = "_hU _cP _X _W _3 _l";
14813
- var urlAction = "_hV _cP _X _W _cQ";
14814
- var addedRow = "_h6 _cI";
14815
- //#endregion
14816
- //#region src/tags/icons/icon-branch.marko
14817
- var icon_branch_default = _template("Y", (input) => {
14818
- const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
14819
- const $scope0_id = _scope_id();
14820
- _set_serialize_reason({
14821
- 0: $sg__input_size__OR__input_class,
14822
- 1: $sg__input_size__OR__input_class
14823
- });
14824
- const $childScope = _peek_scope_id();
14825
- icon_base_default({
14826
- d: "M18 8C19.1046 8 20 7.10457 20 6C20 4.89543 19.1046 4 18 4C16.8954 4 16 4.89543 16 6C16 7.10457 16.8954 8 18 8Z M6 20C7.10457 20 8 19.1046 8 18C8 16.8954 7.10457 16 6 16C4.89543 16 4 16.8954 4 18C4 19.1046 4.89543 20 6 20Z M6 16V3 M8 18H9C12.5 18 18 15.9 18 9.5V8",
14827
- size: input.size,
14828
- class: input.class
14829
- });
14830
- _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
14831
- });
14967
+ var resultRow = "_ij _I";
14968
+ var resultBranch = "_ik _cP _X _W _3 _l";
14969
+ var urlAction = "_il _cP _X _W _cQ";
14970
+ var addedRow = "_iw _cI";
14832
14971
  //#endregion
14833
14972
  //#region src/tags/branch-pick.marko
14834
14973
  var branch_pick_default = _template("f", (input) => {
@@ -14841,7 +14980,7 @@ var branch_pick_default = _template("f", (input) => {
14841
14980
  let branchFilter = "";
14842
14981
  let reloadTick = 0;
14843
14982
  let refreshing = false;
14844
- _html(`<div${_attr_class("_hW")}>`);
14983
+ _html(`<div${_attr_class("_im")}>`);
14845
14984
  _if(() => {
14846
14985
  {
14847
14986
  const $scope4_id = _scope_id();
@@ -14948,10 +15087,10 @@ var repo_picker_default = _template("w", (input$2) => {
14948
15087
  }, $scope0_id) };
14949
15088
  const addedList = sheet ? input$2.added || [] : [];
14950
15089
  const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || ssoPending.length || sheet && !!input$2.added);
14951
- _html(`<div${_attr_class(["_cY", {
14952
- ["_cZ"]: !input$2.open,
14953
- ["_c0"]: input$2.pinned
14954
- }])}><label${_attr_class(["_0", "_c1"])}>`);
15090
+ _html(`<div${_attr_class(["_d4", {
15091
+ ["_d5"]: !input$2.open,
15092
+ ["_d6"]: input$2.pinned
15093
+ }])}><label${_attr_class(["_0", "_d7"])}>`);
14955
15094
  icon_search_default({
14956
15095
  size: 14,
14957
15096
  class: "_1"
@@ -14963,14 +15102,14 @@ var repo_picker_default = _template("w", (input$2) => {
14963
15102
  }, "w0", $scope0_id))}${_attr_class([
14964
15103
  "_Y",
14965
15104
  "_2",
14966
- "_c2"
14967
- ])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "d")}</label><button${_attr_class([iconBtnRow, "_c4"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
15105
+ "_d8"
15106
+ ])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "d")}</label><button${_attr_class([iconBtnRow, "_d_"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
14968
15107
  icon_xmark_default({ size: 14 });
14969
15108
  _html(`</button>${_el_resume($scope0_id, "e")}<div${_attr_class(pop$1)}${_attr("hidden", !hasBody || !input$2.open && !input$2.pinned)}>`);
14970
15109
  _if(() => {
14971
15110
  if (ssoPending.length) {
14972
15111
  const $scope11_id = _scope_id();
14973
- _html(`<div${_attr_class("_hP")}>`);
15112
+ _html(`<div${_attr_class("_if")}>`);
14974
15113
  ssoBlock.content({});
14975
15114
  _html("</div>");
14976
15115
  writeScope($scope11_id, {});
@@ -14980,12 +15119,12 @@ var repo_picker_default = _template("w", (input$2) => {
14980
15119
  _if(() => {
14981
15120
  if (pasted) {
14982
15121
  const $scope1_id = _scope_id();
14983
- _html(`<ul${_attr_class("_hQ")}><li><div${_attr_class(["_hS", "_hR"])}><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)`)}>`);
15122
+ _html(`<ul${_attr_class("_ig")}><li><div${_attr_class(["_ii", "_ih"])}><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)`)}>`);
14984
15123
  icon_plus_default({
14985
15124
  size: 12,
14986
- class: "_hY"
15125
+ class: "_io"
14987
15126
  });
14988
- _html(`<span${_attr_class("_hZ")}>${_text_resume($scope1_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope1_id, "c")}`);
15127
+ _html(`<span${_attr_class("_ip")}>${_text_resume($scope1_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope1_id, "c")}`);
14989
15128
  _if(() => {
14990
15129
  if (pastedForkable) {
14991
15130
  const $scope10_id = _scope_id();
@@ -15044,15 +15183,15 @@ var repo_picker_default = _template("w", (input$2) => {
15044
15183
  _if(() => {
15045
15184
  if (results.length) {
15046
15185
  const $scope3_id = _scope_id();
15047
- _html(`<ul${_attr_class("_hQ")}>`);
15186
+ _html(`<ul${_attr_class("_ig")}>`);
15048
15187
  _for_of(results, (repo, i) => {
15049
15188
  const $scope4_id = _scope_id();
15050
- _html(`<li><div${_attr_class(["_hS", { ["_hR"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
15189
+ _html(`<li><div${_attr_class(["_ii", { ["_ih"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
15051
15190
  icon_plus_default({
15052
15191
  size: 12,
15053
- class: "_hY"
15192
+ class: "_io"
15054
15193
  });
15055
- _html(`<span${_attr_class("_hZ")}>${_text_resume($scope4_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cO"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
15194
+ _html(`<span${_attr_class("_ip")}>${_text_resume($scope4_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cO"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
15056
15195
  icon_branch_default({ size: 12 });
15057
15196
  _html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
15058
15197
  _if(() => {
@@ -15095,7 +15234,7 @@ var repo_picker_default = _template("w", (input$2) => {
15095
15234
  _if(() => {
15096
15235
  if (sheet && input$2.added) {
15097
15236
  const $scope6_id = _scope_id();
15098
- _html(`<div${_attr_class("_h4")}><p${_attr_class("_h5")}>Repos <span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "d", addedList.length, $sg__input_added)}</span></p><ul${_attr_class(list$2)}>`);
15237
+ _html(`<div${_attr_class("_iu")}><p${_attr_class("_iv")}>Repos <span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "d", addedList.length, $sg__input_added)}</span></p><ul${_attr_class(list$2)}>`);
15099
15238
  _for_of(addedList, (repo) => {
15100
15239
  const $scope15_id = _scope_id();
15101
15240
  _html(`<li${_attr_class([addedRow, { ["_cN"]: repo.pending }])}>`);
@@ -15109,13 +15248,13 @@ var repo_picker_default = _template("w", (input$2) => {
15109
15248
  const $scope18_id = _scope_id();
15110
15249
  icon_check_default({
15111
15250
  size: 12,
15112
- class: "_hY"
15251
+ class: "_io"
15113
15252
  });
15114
15253
  $si__input_added && writeScope($scope18_id, {});
15115
15254
  return 1;
15116
15255
  }
15117
15256
  }, $scope15_id, "b", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
15118
- _html(`<span${_attr_class("_hZ")}>${_text_resume($scope15_id, "d", repoLabel$1(repo.name), $sg__input_added)}</span>`);
15257
+ _html(`<span${_attr_class("_ip")}>${_text_resume($scope15_id, "d", repoLabel$1(repo.name), $sg__input_added)}</span>`);
15119
15258
  _if(() => {
15120
15259
  if (repo.baseBranch) {
15121
15260
  const $scope16_id = _scope_id();
@@ -15877,13 +16016,13 @@ var manage_workspace_default = _template("p", (input) => {
15877
16016
  });
15878
16017
  _resume_branch($scope0_id);
15879
16018
  });
15880
- var curRow = "_eT _cI";
15881
- var archived = "_eY _cd";
15882
- var archivedHint = "_eZ _W";
15883
- var archivedRow = "_e0 _cG _cE";
16019
+ var curRow = "_fZ _cI";
16020
+ var archived = "_f4 _cd";
16021
+ var archivedHint = "_f5 _W";
16022
+ var archivedRow = "_f6 _cG _cE";
15884
16023
  //#endregion
15885
16024
  //#region src/tags/icons/icon-group.marko
15886
- var icon_group_default = _template("ib", (input) => {
16025
+ var icon_group_default = _template("jb", (input) => {
15887
16026
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
15888
16027
  const $scope0_id = _scope_id();
15889
16028
  _set_serialize_reason({
@@ -15900,8 +16039,8 @@ var icon_group_default = _template("ib", (input) => {
15900
16039
  });
15901
16040
  //#endregion
15902
16041
  //#region src/tags/join-dialog.css.ts
15903
- var dlg = "_h7 _gZ";
15904
- var hint = "_h8 _W";
16042
+ var dlg = "_h4 _g1";
16043
+ var hint = "_h5 _W";
15905
16044
  //#endregion
15906
16045
  //#region src/tags/join-dialog.marko
15907
16046
  var api$3;
@@ -16030,26 +16169,26 @@ var join_dialog_default = _template("m", (input) => {
16030
16169
  content: _content("m12", () => {
16031
16170
  _scope_reason();
16032
16171
  const $scope1_id = _scope_id();
16033
- _html(`<h2${_attr_class("_g0")}${_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([
16172
+ _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([
16034
16173
  "_Y",
16035
16174
  "_y",
16036
- "_h_"
16175
+ "_h7"
16037
16176
  ])} placeholder="{ &#34;name&#34;: …, &#34;branch&#34;: …, &#34;repos&#34;: [&#34;owner/name&#34;, …] }" 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")}`);
16038
16177
  _if(() => {
16039
16178
  if (parsed.error) {
16040
16179
  const $scope8_id = _scope_id();
16041
- _html(`<p${_attr_class([hint, "_h9"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16180
+ _html(`<p${_attr_class([hint, "_h6"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16042
16181
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
16043
16182
  return 0;
16044
16183
  } else if (parsed.ok) {
16045
16184
  const $scope3_id = _scope_id();
16046
- _html(`<ul${_attr_class("_ia")}>`);
16185
+ _html(`<ul${_attr_class("_h8")}>`);
16047
16186
  _for_of(parsed.ok.repos, (fullName) => {
16048
16187
  const $scope9_id = _scope_id();
16049
- _html(`<li${_attr_class("_ib")}><span${_attr_class("_ic")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
16188
+ _html(`<li${_attr_class("_h9")}><span${_attr_class("_h_")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
16050
16189
  writeScope($scope9_id, {});
16051
16190
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
16052
- _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("_id")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16191
+ _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("_ia")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16053
16192
  name = _new_name;
16054
16193
  }, "m1", $scope3_id))}${_attr_class("_Y")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
16055
16194
  _script($scope3_id, "m8");
@@ -16086,10 +16225,10 @@ var join_dialog_default = _template("m", (input) => {
16086
16225
  _if(() => {
16087
16226
  if (busy && steps$2.length) {
16088
16227
  const $scope6_id = _scope_id();
16089
- _html(`<ul${_attr_class("_ie")}>`);
16228
+ _html(`<ul${_attr_class("_ib")}>`);
16090
16229
  _for_of(steps$2, (step$2, i) => {
16091
16230
  const $scope7_id = _scope_id();
16092
- _html(`<li${_attr_class(["_ig", { ["_if"]: i === steps$2.length - 1 }])}>`);
16231
+ _html(`<li${_attr_class(["_id", { ["_ic"]: i === steps$2.length - 1 }])}>`);
16093
16232
  _if(() => {
16094
16233
  if (i === steps$2.length - 1) {
16095
16234
  const $scope10_id = _scope_id();
@@ -16098,7 +16237,7 @@ var join_dialog_default = _template("m", (input) => {
16098
16237
  return 0;
16099
16238
  } else {
16100
16239
  const $scope11_id = _scope_id();
16101
- _html(`<span${_attr_class("_ih")}>`);
16240
+ _html(`<span${_attr_class("_ie")}>`);
16102
16241
  icon_check_default({ size: 14 });
16103
16242
  _html("</span>");
16104
16243
  writeScope($scope11_id, {});
@@ -16301,9 +16440,9 @@ var new_workspace_default = _template("s", (input) => {
16301
16440
  return 0;
16302
16441
  }
16303
16442
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
16304
- _html(`<label${_attr_class("_eO")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16443
+ _html(`<label${_attr_class("_fU")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16305
16444
  name = _new_name;
16306
- }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_cd")}><div${_attr_class("_eR")}><h2${_attr_class("_cr")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "n", selected.length)}</span><div${_attr_class("_z")}></div><button type=button${_attr_class([iconBtnRow, "_eQ"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
16445
+ }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_cd")}><div${_attr_class("_fX")}><h2${_attr_class("_cr")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "n", selected.length)}</span><div${_attr_class("_z")}></div><button type=button${_attr_class([iconBtnRow, "_fW"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
16307
16446
  icon_plus_default({ size: 16 });
16308
16447
  _html(`</button>${_el_resume($scope0_id, "p")}`);
16309
16448
  _set_serialize_reason(34);
@@ -16341,7 +16480,7 @@ var new_workspace_default = _template("s", (input) => {
16341
16480
  _html(`</button>${_el_resume($scope0_id, "t")}</div><ul${_attr_class(list$2)}>`);
16342
16481
  _for_of(selected, (repo) => {
16343
16482
  const $scope3_id = _scope_id();
16344
- _html(`<li${_attr_class("_eS")}><div${_attr_class(curRow)}><span${_attr_class("_cK")}>${_text_resume($scope3_id, "d", repoLabel$1(repo.fullName))}</span><span${_attr_class("_cM")}>`);
16483
+ _html(`<li${_attr_class("_fY")}><div${_attr_class(curRow)}><span${_attr_class("_cK")}>${_text_resume($scope3_id, "d", repoLabel$1(repo.fullName))}</span><span${_attr_class("_cM")}>`);
16345
16484
  _if(() => {
16346
16485
  if (repo.fork !== void 0) {
16347
16486
  const $scope4_id = _scope_id();
@@ -16381,7 +16520,7 @@ var new_workspace_default = _template("s", (input) => {
16381
16520
  _if(() => {
16382
16521
  if (branchesFor === repo.fullName) {
16383
16522
  const $scope9_id = _scope_id();
16384
- _html(`<div${_attr_class("_eU")}>`);
16523
+ _html(`<div${_attr_class("_f0")}>`);
16385
16524
  const $childScope4 = _peek_scope_id();
16386
16525
  branch_pick_default({
16387
16526
  repo: repo.fullName,
@@ -16419,10 +16558,10 @@ var new_workspace_default = _template("s", (input) => {
16419
16558
  _if(() => {
16420
16559
  if (busy && steps.length) {
16421
16560
  const $scope10_id = _scope_id();
16422
- _html(`<ul${_attr_class("_eV")}>`);
16561
+ _html(`<ul${_attr_class("_f1")}>`);
16423
16562
  _for_of(steps, (step, i) => {
16424
16563
  const $scope11_id = _scope_id();
16425
- _html(`<li${_attr_class(["_e1", { ["_eW"]: i === steps.length - 1 }])}>`);
16564
+ _html(`<li${_attr_class(["_f7", { ["_f2"]: i === steps.length - 1 }])}>`);
16426
16565
  _if(() => {
16427
16566
  if (i === steps.length - 1) {
16428
16567
  const $scope15_id = _scope_id();
@@ -16431,7 +16570,7 @@ var new_workspace_default = _template("s", (input) => {
16431
16570
  return 0;
16432
16571
  } else {
16433
16572
  const $scope16_id = _scope_id();
16434
- _html(`<span${_attr_class("_eX")}>`);
16573
+ _html(`<span${_attr_class("_f3")}>`);
16435
16574
  icon_check_default({ size: 14 });
16436
16575
  _html("</span>");
16437
16576
  writeScope($scope16_id, {});
@@ -16445,15 +16584,15 @@ var new_workspace_default = _template("s", (input) => {
16445
16584
  return 0;
16446
16585
  }
16447
16586
  }, $scope0_id, "y", 1, 1, 1, 0, 1);
16448
- _html(`<div${_attr_class("_eM")}><button type=button${_attr_class([
16587
+ _html(`<div${_attr_class("_fS")}><button type=button${_attr_class([
16449
16588
  btnLg,
16450
16589
  "_r",
16451
- "_eN"
16590
+ "_fT"
16452
16591
  ])}${_attr("disabled", busy || !!restoring || !name.trim())}>${_text_resume($scope0_id, "a1", busy ? "Creating…" : "Create workspace")}</button>${_el_resume($scope0_id, "a0")}</div></div><div${_attr_class("_eh")}>`);
16453
16592
  _if(() => {
16454
16593
  if (archived$1.length) {
16455
16594
  const $scope5_id = _scope_id();
16456
- _html(`<section${_attr_class(archived)}><div${_attr_class("_eR")}><h2${_attr_class("_cr")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope5_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)}>`);
16595
+ _html(`<section${_attr_class(archived)}><div${_attr_class("_fX")}><h2${_attr_class("_cr")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope5_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)}>`);
16457
16596
  _for_of(archived$1, (ws) => {
16458
16597
  const $scope6_id = _scope_id();
16459
16598
  _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_cj")}><span${_attr_class("_ck")}>${_text_resume($scope6_id, "d", ws.name, $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_y"])}${_attr("title", ws.display_path || ws.path)}>${_text_resume($scope6_id, "f", ws.display_path || ws.path, $sg__input_workspaces)}</span>${_el_resume($scope6_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnSm)}${_attr("disabled", busy || !!restoring)}>`);
@@ -16736,7 +16875,7 @@ var term_default = _template("I", (input) => {
16736
16875
  }
16737
16876
  }, "I9", $scope0_id);
16738
16877
  input.keys;
16739
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_e2")}><div${_attr_class("_e3")}></div>${_el_resume($scope0_id, "b")}`);
16878
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_fH")}><div${_attr_class("_fI")}></div>${_el_resume($scope0_id, "b")}`);
16740
16879
  _if(() => {
16741
16880
  if (findOpen) {
16742
16881
  const $scope4_id = _scope_id();
@@ -16763,7 +16902,7 @@ var term_default = _template("I", (input) => {
16763
16902
  _if(() => {
16764
16903
  if (uploading) {
16765
16904
  const $scope5_id = _scope_id();
16766
- _html(`<div${_attr_class("_e9")}>uploading…</div>`);
16905
+ _html(`<div${_attr_class("_fO")}>uploading…</div>`);
16767
16906
  writeScope($scope5_id, {});
16768
16907
  return 0;
16769
16908
  }
@@ -16771,7 +16910,7 @@ var term_default = _template("I", (input) => {
16771
16910
  _if(() => {
16772
16911
  if (copiedFlash) {
16773
16912
  const $scope6_id = _scope_id();
16774
- _html(`<div${_attr_class("_e8")}>Copied</div>`);
16913
+ _html(`<div${_attr_class("_fN")}>Copied</div>`);
16775
16914
  writeScope($scope6_id, {});
16776
16915
  return 0;
16777
16916
  }
@@ -16780,7 +16919,7 @@ var term_default = _template("I", (input) => {
16780
16919
  _if(() => {
16781
16920
  if (trapOpen) {
16782
16921
  const $scope3_id = _scope_id();
16783
- _html(`<div${_attr_class("_e_")}><div${_attr_class("_fa")}><p${_attr_class("_fb")}>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")}`);
16922
+ _html(`<div${_attr_class("_fP")}><div${_attr_class("_fQ")}><p${_attr_class("_fR")}>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")}`);
16784
16923
  _script($scope3_id, "I16");
16785
16924
  _script($scope3_id, "I17");
16786
16925
  writeScope($scope3_id, {});
@@ -17073,9 +17212,9 @@ var work_view_default = _template("N", (input) => {
17073
17212
  3: 1,
17074
17213
  5: 1,
17075
17214
  7: $sg__input_workspace,
17076
- 8: 1,
17215
+ 8: $sg__input_workspace,
17077
17216
  9: $sg__input_workspace,
17078
- 10: $sg__input_workspace
17217
+ 10: 1
17079
17218
  });
17080
17219
  const $childScope = _peek_scope_id();
17081
17220
  let reviewFindFocus = $ReviewView_withLoadAssets({
@@ -17365,8 +17504,8 @@ var work_view_default = _template("N", (input) => {
17365
17504
  });
17366
17505
  //#endregion
17367
17506
  //#region src/tags/key-bar.css.ts
17368
- var kbtn = "_bG _5 _l";
17369
- _template("xb", (input) => {
17507
+ var kbtn = "_b0 _5 _l";
17508
+ _template("yb", (input) => {
17370
17509
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
17371
17510
  const $scope0_id = _scope_id();
17372
17511
  _set_serialize_reason({
@@ -17381,8 +17520,8 @@ _template("xb", (input) => {
17381
17520
  });
17382
17521
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
17383
17522
  });
17384
- var sessOpen = "_fg _I";
17385
- var sessRename = "_fk _J";
17523
+ var sessOpen = "_e8 _I";
17524
+ var sessRename = "_fb _J";
17386
17525
  //#endregion
17387
17526
  //#region src/tags/usage-pcts.marko
17388
17527
  var usage_pcts_default = _template("M", (input) => {
@@ -17394,22 +17533,22 @@ var usage_pcts_default = _template("M", (input) => {
17394
17533
  if (windows.length) {
17395
17534
  const $scope1_id = _scope_id();
17396
17535
  _html(`<span${_attr_class([
17397
- "_hJ",
17536
+ "_hL",
17398
17537
  input.class,
17399
- { ["_hK"]: agent.stale_seconds != null }
17538
+ { ["_hM"]: agent.stale_seconds != null }
17400
17539
  ])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
17401
17540
  _for_of(windows, (win$1, i) => {
17402
17541
  const $scope2_id = _scope_id();
17403
- _html(`<span${_attr_class("_hL")}>`);
17542
+ _html(`<span${_attr_class("_hN")}>`);
17404
17543
  _if(() => {
17405
17544
  if (i) {
17406
17545
  const $scope3_id = _scope_id();
17407
- _html(`<span${_attr_class("_hO")} aria-hidden=true>·</span>`);
17546
+ _html(`<span${_attr_class("_hQ")} aria-hidden=true>·</span>`);
17408
17547
  $si__input_agent && writeScope($scope3_id, {});
17409
17548
  return 0;
17410
17549
  }
17411
17550
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
17412
- _html(`<span${_attr_class("_hM")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hN", win$1.used_percent >= 90 ? "_hy" : win$1.used_percent >= 70 ? "_hx" : win$1.used_percent >= 40 ? "_hw" : "_hv"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
17551
+ _html(`<span${_attr_class("_hO")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hP", win$1.used_percent >= 90 ? "_ho" : win$1.used_percent >= 70 ? "_hn" : win$1.used_percent >= 40 ? "_hm" : "_hl"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
17413
17552
  $si__input_agent && writeScope($scope2_id, {});
17414
17553
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
17415
17554
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -17451,7 +17590,7 @@ _template("n", (input) => {
17451
17590
  align: "center",
17452
17591
  gap: 8
17453
17592
  }), "n2", $scope0_id);
17454
- _html(`<button${_attr_class([kbtn, "_fc"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17593
+ _html(`<button${_attr_class([kbtn, "_e4"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17455
17594
  _set_serialize_reason({
17456
17595
  1: $sg__input_sessions__OR__input_sessionId,
17457
17596
  2: $sg__input_sessions__OR__input_sessionId
@@ -17465,11 +17604,11 @@ _template("n", (input) => {
17465
17604
  "_A",
17466
17605
  "_bb",
17467
17606
  phase[sessionPhase(current$2?.state)]
17468
- ])}></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", "_fd"])}>`);
17607
+ ])}></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", "_e5"])}>`);
17469
17608
  _for_of(input.sessions, (s) => {
17470
17609
  const $scope1_id = _scope_id();
17471
17610
  const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
17472
- _html(`<div${_attr_class(["_ff", { ["_fe"]: s.id === input.sessionId }])}>`);
17611
+ _html(`<div${_attr_class(["_e7", { ["_e6"]: s.id === input.sessionId }])}>`);
17473
17612
  _if(() => {
17474
17613
  if (renamingId === s.id) {
17475
17614
  const $scope5_id = _scope_id();
@@ -17501,7 +17640,7 @@ _template("n", (input) => {
17501
17640
  agent: activeAgent(s),
17502
17641
  size: 14
17503
17642
  });
17504
- _html(`<span${_attr_class("_fh")}><span${_attr_class("_fj")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17643
+ _html(`<span${_attr_class("_e9")}><span${_attr_class("_fa")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17505
17644
  _if(() => {
17506
17645
  if (s.id === input.sessionId) {
17507
17646
  const $scope7_id = _scope_id();
@@ -17513,7 +17652,7 @@ _template("n", (input) => {
17513
17652
  const $childScope4 = _peek_scope_id();
17514
17653
  usage_pcts_default({
17515
17654
  agent: plan,
17516
- class: "_fi"
17655
+ class: "_e_"
17517
17656
  });
17518
17657
  writeScope($scope8_id, { a: _existing_scope($childScope4) });
17519
17658
  return 0;
@@ -17530,7 +17669,7 @@ _template("n", (input) => {
17530
17669
  _if(() => {
17531
17670
  if (input.onRenameSession) {
17532
17671
  const $scope6_id = _scope_id();
17533
- _html(`<button${_attr_class(["_fl", "_fm"])} title="Rename session">`);
17672
+ _html(`<button${_attr_class(["_fc", "_fd"])} title="Rename session">`);
17534
17673
  icon_edit_default({ size: 12 });
17535
17674
  _html(`</button>${_el_resume($scope6_id, "a")}`);
17536
17675
  _script($scope6_id, "n5");
@@ -17542,7 +17681,7 @@ _template("n", (input) => {
17542
17681
  if (input.onCloseSession) {
17543
17682
  const $scope3_id = _scope_id();
17544
17683
  arm_button_default({
17545
- class: ["_fl", "_7"],
17684
+ class: ["_fc", "_7"],
17546
17685
  title: "Close session",
17547
17686
  armedTitle: "Close?",
17548
17687
  onFire: _resume(function() {
@@ -17574,7 +17713,7 @@ _template("n", (input) => {
17574
17713
  m: $si__input_sessions && $for_content__s_agent__closures
17575
17714
  });
17576
17715
  }, "id", $scope0_id, "e", 1, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
17577
- _html(`<div${_attr_class("_fn")}><span${_attr_class("_fo")}>New session</span><div${_attr_class("_fp")}>`);
17716
+ _html(`<div${_attr_class("_fe")}><span${_attr_class("_ff")}>New session</span><div${_attr_class("_fg")}>`);
17578
17717
  _for_of(["shell", ...input.agents], (agent) => {
17579
17718
  const $scope4_id = _scope_id();
17580
17719
  _html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
@@ -17633,7 +17772,7 @@ _template("db", (input) => {
17633
17772
  });
17634
17773
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
17635
17774
  });
17636
- _template("jb", (input) => {
17775
+ _template("kb", (input) => {
17637
17776
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
17638
17777
  const $scope0_id = _scope_id();
17639
17778
  _set_serialize_reason({
@@ -17693,7 +17832,7 @@ _template("fb", (input) => {
17693
17832
  });
17694
17833
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
17695
17834
  });
17696
- _template("ub", (input) => {
17835
+ _template("vb", (input) => {
17697
17836
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
17698
17837
  const $scope0_id = _scope_id();
17699
17838
  _set_serialize_reason({
@@ -18337,7 +18476,7 @@ var app_page_default = _template("c", (input) => {
18337
18476
  });
18338
18477
  //#endregion
18339
18478
  //#region src/routes/_app/new/+page.marko
18340
- var _page_default$4 = _template("zb", (input) => {
18479
+ var _page_default$4 = _template("Ab", (input) => {
18341
18480
  _scope_reason();
18342
18481
  _scope_id();
18343
18482
  app_page_default({ initial: {
@@ -18375,7 +18514,7 @@ var GET$26 = Run.GET(async (_ctx, next) => {
18375
18514
  });
18376
18515
  //#endregion
18377
18516
  //#region src/routes/_app/settings/+page.marko
18378
- var _page_default$3 = _template("Ab", (input) => {
18517
+ var _page_default$3 = _template("Bb", (input) => {
18379
18518
  _scope_reason();
18380
18519
  _scope_id();
18381
18520
  app_page_default({ initial: {
@@ -18408,7 +18547,7 @@ function head3(context) {
18408
18547
  }
18409
18548
  //#endregion
18410
18549
  //#region src/routes/_app/w/$id/+page.marko
18411
- var _page_default$2 = _template("Bb", (input) => {
18550
+ var _page_default$2 = _template("Cb", (input) => {
18412
18551
  _scope_reason();
18413
18552
  _scope_id();
18414
18553
  const $global$3 = $global();
@@ -18442,7 +18581,7 @@ function head4(context) {
18442
18581
  }
18443
18582
  //#endregion
18444
18583
  //#region src/routes/_app/w/$id/manage/+page.marko
18445
- var _page_default$1 = _template("Cb", (input) => {
18584
+ var _page_default$1 = _template("Db", (input) => {
18446
18585
  _scope_reason();
18447
18586
  _scope_id();
18448
18587
  app_page_default({ initial: {
@@ -18474,7 +18613,7 @@ function head5(context) {
18474
18613
  }
18475
18614
  //#endregion
18476
18615
  //#region src/routes/_app/w/$id/review/+page.marko
18477
- var _page_default = _template("Db", (input) => {
18616
+ var _page_default = _template("Eb", (input) => {
18478
18617
  _scope_reason();
18479
18618
  _scope_id();
18480
18619
  const $global$1 = $global();
@@ -26743,4 +26882,4 @@ server.listen(port, () => {
26743
26882
  //#endregion
26744
26883
  export {};
26745
26884
 
26746
- ;var __MARKO_MANIFEST__={"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-D2thnWCA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D2thnWCA.css\"",">",2,"stylesheet#/assets/app-page-CkAL3lQR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CkAL3lQR.css\"",">"],"defer":[2,"/assets/w-J2Xsk9fP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-J2Xsk9fP.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/_DBbja6xF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DBbja6xF.js\"",">",2,"modulepreload#/assets/_DaM16tbY.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DaM16tbY.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-D2thnWCA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D2thnWCA.css\"",">",2,"stylesheet#/assets/app-page-CkAL3lQR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CkAL3lQR.css\"",">"],"defer":[2,"/assets/new-J2Xsk9fP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-J2Xsk9fP.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/_DBbja6xF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DBbja6xF.js\"",">",2,"modulepreload#/assets/_DaM16tbY.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DaM16tbY.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-D2thnWCA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D2thnWCA.css\"",">",2,"stylesheet#/assets/app-page-CkAL3lQR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CkAL3lQR.css\"",">"],"defer":[2,"/assets/settings-J2Xsk9fP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-J2Xsk9fP.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/_DBbja6xF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DBbja6xF.js\"",">",2,"modulepreload#/assets/_DaM16tbY.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DaM16tbY.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-D2thnWCA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D2thnWCA.css\"",">",2,"stylesheet#/assets/app-page-CkAL3lQR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CkAL3lQR.css\"",">"],"defer":[2,"/assets/w._-J2Xsk9fP.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-J2Xsk9fP.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/_DBbja6xF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DBbja6xF.js\"",">",2,"modulepreload#/assets/_DaM16tbY.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DaM16tbY.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-D2thnWCA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D2thnWCA.css\"",">",2,"stylesheet#/assets/app-page-CkAL3lQR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CkAL3lQR.css\"",">"],"defer":[2,"/assets/w._-RF3fHU9s.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-RF3fHU9s.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/_DBbja6xF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DBbja6xF.js\"",">",2,"modulepreload#/assets/_DaM16tbY.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DaM16tbY.js\"",">"]},"_A":{"block":[2,"stylesheet#/assets/review-view-BVFq2WLB.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-BVFq2WLB.css\"",">",2,"stylesheet#/assets/icon-arrow-down-D2thnWCA.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-D2thnWCA.css\"",">"],"defer":[2,"/assets/review-view-D-42NSpI.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-D-42NSpI.js\"","></script>",2,"modulepreload#/assets/_tmN7XIcz.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_tmN7XIcz.js\"",">"]}};
26885
+ ;var __MARKO_MANIFEST__={"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-D2thnWCA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D2thnWCA.css\"",">",2,"stylesheet#/assets/app-page-CPgV7nno.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CPgV7nno.css\"",">"],"defer":[2,"/assets/settings-Dt00pIqK.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-Dt00pIqK.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_DZ999WI0.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DZ999WI0.js\"",">",2,"modulepreload#/assets/_CmxWKvu7.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CmxWKvu7.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-D2thnWCA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D2thnWCA.css\"",">",2,"stylesheet#/assets/app-page-CPgV7nno.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CPgV7nno.css\"",">"],"defer":[2,"/assets/w-Dt00pIqK.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-Dt00pIqK.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_DZ999WI0.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DZ999WI0.js\"",">",2,"modulepreload#/assets/_CmxWKvu7.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CmxWKvu7.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-D2thnWCA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D2thnWCA.css\"",">",2,"stylesheet#/assets/app-page-CPgV7nno.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CPgV7nno.css\"",">"],"defer":[2,"/assets/w._-Dt00pIqK.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Dt00pIqK.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_DZ999WI0.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DZ999WI0.js\"",">",2,"modulepreload#/assets/_CmxWKvu7.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CmxWKvu7.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-D2thnWCA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D2thnWCA.css\"",">",2,"stylesheet#/assets/app-page-CPgV7nno.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CPgV7nno.css\"",">"],"defer":[2,"/assets/w._-H70KYAMD.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-H70KYAMD.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_DZ999WI0.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DZ999WI0.js\"",">",2,"modulepreload#/assets/_CmxWKvu7.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CmxWKvu7.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-D2thnWCA.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-D2thnWCA.css\"",">",2,"stylesheet#/assets/app-page-CPgV7nno.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CPgV7nno.css\"",">"],"defer":[2,"/assets/new-Dt00pIqK.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-Dt00pIqK.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_DZ999WI0.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DZ999WI0.js\"",">",2,"modulepreload#/assets/_CmxWKvu7.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CmxWKvu7.js\"",">"]},"_A":{"block":[2,"stylesheet#/assets/review-view-BzdF2mqZ.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-BzdF2mqZ.css\"",">",2,"stylesheet#/assets/icon-arrow-down-D2thnWCA.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-D2thnWCA.css\"",">"],"defer":[2,"/assets/review-view-DcsDfTWS.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-DcsDfTWS.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">"]}};