@dylanpiercey/work 0.0.177 → 0.0.179

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 (92) hide show
  1. package/dist/_BjQ0kG_Y.js +2 -0
  2. package/dist/{_B9zhiogp.js → _CT1XA_pS.js} +2 -2
  3. package/dist/{_BRBF-t9p.js → _DSLqyqdU.js} +6 -1
  4. package/dist/index.mjs +835 -722
  5. package/dist/public/assets/_-igetr1k.js +87 -0
  6. package/dist/public/assets/_-igetr1k.js.br +0 -0
  7. package/dist/public/assets/_BDWRaHhB.js +1 -0
  8. package/dist/public/assets/_BDWRaHhB.js.br +0 -0
  9. package/dist/public/assets/_BNadakYr.js +1 -0
  10. package/dist/public/assets/_BRK2K3ed.js +1 -0
  11. package/dist/public/assets/_BRK2K3ed.js.br +0 -0
  12. package/dist/public/assets/_BXzw1p3o.js +1 -0
  13. package/dist/public/assets/_BvvLGQIh.js +1 -0
  14. package/dist/public/assets/_C9JuvGlK.js +1 -0
  15. package/dist/public/assets/_CN0CvJPp.js +1 -0
  16. package/dist/public/assets/_CYn4iSdr.js +1 -0
  17. package/dist/public/assets/_Cbs95QrP.js +1 -0
  18. package/dist/public/assets/_Cti1-2Pj.js +1 -0
  19. package/dist/public/assets/_D1-pYND-.js +1 -0
  20. package/dist/public/assets/_DH9_E-rQ.js +1 -0
  21. package/dist/public/assets/_DJPL6L5P.js +1 -0
  22. package/dist/public/assets/_DaHzxs4q.js +1 -0
  23. package/dist/public/assets/_DcR7jLIq.js +2802 -0
  24. package/dist/public/assets/_DcR7jLIq.js.br +0 -0
  25. package/dist/public/assets/_Dhq3yTn3.js +1 -0
  26. package/dist/public/assets/_FhpoOYKO.js +1 -0
  27. package/dist/public/assets/_USOgcb2G.js +1 -0
  28. package/dist/public/assets/_hL-CwTLk.js +1 -0
  29. package/dist/public/assets/_pUSDs8I1.js +1 -0
  30. package/dist/public/assets/_vCtApeJ4.js +1 -0
  31. package/dist/public/assets/_wM1MuM4A.js +1 -0
  32. package/dist/public/assets/_wk_nezEr.js +1 -0
  33. package/dist/public/assets/_zOsFf2Ho.js +1 -0
  34. package/dist/public/assets/{app-page-DD1F0TTl.css → app-page-Bttz6PCd.css} +1 -1
  35. package/dist/public/assets/app-page-Bttz6PCd.css.br +0 -0
  36. package/dist/public/assets/{icon-arrow-down-Djyi23Q9.css → icon-arrow-down-B_tgvd3z.css} +1 -1
  37. package/dist/public/assets/icon-arrow-down-B_tgvd3z.css.br +0 -0
  38. package/dist/public/assets/new-Cu6jGozd.js +1 -0
  39. package/dist/public/assets/review-view-B8kS7P6x.css +1 -0
  40. package/dist/public/assets/review-view-B8kS7P6x.css.br +0 -0
  41. package/dist/public/assets/review-view-foAMMQMz.js +2 -0
  42. package/dist/public/assets/settings-Cu6jGozd.js +1 -0
  43. package/dist/public/assets/w-Cu6jGozd.js +1 -0
  44. package/dist/public/assets/w._-Cu6jGozd.js +1 -0
  45. package/dist/public/assets/w._-R7bTAfAQ.js +1 -0
  46. package/dist/public/assets/{worker-C0KwUb8K.js → worker-BRm_gkJp.js} +3 -3
  47. package/dist/public/assets/worker-BRm_gkJp.js.br +0 -0
  48. package/lib/preview/media.d.mts +10 -0
  49. package/lib/preview/media.mjs +41 -0
  50. package/lib/review/markdown.mjs +14 -6
  51. package/package.json +2 -1
  52. package/dist/_Cr-5sjB_.js +0 -2
  53. package/dist/public/assets/_4WrdbxBF.js +0 -1
  54. package/dist/public/assets/_4WrdbxBF.js.br +0 -0
  55. package/dist/public/assets/_B0OVfJVa.js +0 -83
  56. package/dist/public/assets/_B0OVfJVa.js.br +0 -0
  57. package/dist/public/assets/_B1OIFWW-.js +0 -1
  58. package/dist/public/assets/_Bfd2dVOp.js +0 -1
  59. package/dist/public/assets/_BkDIoDws.js +0 -1
  60. package/dist/public/assets/_CCHp7HT3.js +0 -1
  61. package/dist/public/assets/_CFA_6zcC.js +0 -1
  62. package/dist/public/assets/_CGPWu3ME.js +0 -1
  63. package/dist/public/assets/_C_X4FoTd.js +0 -1
  64. package/dist/public/assets/_CiAUVpQt.js +0 -2802
  65. package/dist/public/assets/_CiAUVpQt.js.br +0 -0
  66. package/dist/public/assets/_CtGD9jYW.js +0 -1
  67. package/dist/public/assets/_CtJJRDR2.js +0 -1
  68. package/dist/public/assets/_D3jkeyvE.js +0 -1
  69. package/dist/public/assets/_DB_NZjCY.js +0 -1
  70. package/dist/public/assets/_DJMv-6bg.js +0 -1
  71. package/dist/public/assets/_DMt4uXYu.js +0 -1
  72. package/dist/public/assets/_D_N_Xeps.js +0 -1
  73. package/dist/public/assets/_D_Y3vCMi.js +0 -1
  74. package/dist/public/assets/_DoS_32IX.js +0 -1
  75. package/dist/public/assets/_PVFFUgEr.js +0 -1
  76. package/dist/public/assets/_QM85-dob.js +0 -1
  77. package/dist/public/assets/_bLcqPuzt.js +0 -1
  78. package/dist/public/assets/_bLcqPuzt.js.br +0 -0
  79. package/dist/public/assets/_flJGtG_5.js +0 -1
  80. package/dist/public/assets/_kARTodxS.js +0 -1
  81. package/dist/public/assets/_tSMLmX8f.js +0 -1
  82. package/dist/public/assets/app-page-DD1F0TTl.css.br +0 -0
  83. package/dist/public/assets/icon-arrow-down-Djyi23Q9.css.br +0 -0
  84. package/dist/public/assets/new-BwcyiB1L.js +0 -1
  85. package/dist/public/assets/review-view-3q-u988K.css +0 -1
  86. package/dist/public/assets/review-view-3q-u988K.css.br +0 -0
  87. package/dist/public/assets/review-view-CiWwWm6V.js +0 -2
  88. package/dist/public/assets/settings-BwcyiB1L.js +0 -1
  89. package/dist/public/assets/w-BwcyiB1L.js +0 -1
  90. package/dist/public/assets/w._-BwcyiB1L.js +0 -1
  91. package/dist/public/assets/w._-gFT3A4in.js +0 -1
  92. package/dist/public/assets/worker-C0KwUb8K.js.br +0 -0
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
2
- import { $ as disabledAgents, A as clearAgentPhase, B as deleteSubscription, C as reportsWorking, Ct as gh, D as agentFromCommand, Dt as config, E as agentFamily, Et as tmux, F as getInstance, G as subscribe, H as saveSubscription, I as iconSvg, J as shared, K as subscriberCount, L as manifest, M as setScrapedPhase, N as setSessionViewers, O as agentLabel, P as ACCENT_RE, Q as allPrefs, R as normalizeAccent, S as readHookPayload, St as TMUX_SOCKET, T as agentBadge, Tt as run, U as publish, V as pushPublicKey, W as publishJson, X as withLock, Y as swr, Z as agentChoices, _ as sendToSession, _t as toolById, a as ensureTmuxServer, at as setSetting, b as tmuxWasStarted, bt as get$1, c as killSession, ct as ghKnownHosts, d as listSessions, dt as setupPath, et as enabledAgents, f as markTmuxStarted, ft as which, g as renameSession, gt as agentLabel$1, h as panePids, ht as agentById, i as disposeSessions, it as setPref, j as setAgentPhase, k as agentMeta, l as killWorkspaceSessions, lt as miseInstalls, mt as TOOLS, n as clearTmuxStarted, nt as preferredAgent, o as forgetPanes, ot as discoverAgents, p as newSessionArgs, pt as DEFAULT_GITHUB_HOST, q as subscriberJoins, r as createSession, rt as setDisabledAgents, s as getSession, st as doctor, t as cleanEnv, tt as getSetting, u as listPanes, ut as miseVersions, v as sessionStates, vt as all, w as blankRow, wt as git, x as AGENTS, xt as workspacePath, y as tmuxName, yt as db, z as setInstance } from "./_BRBF-t9p.js";
2
+ import { $ as disabledAgents, A as clearAgentPhase, B as deleteSubscription, C as reportsWorking, Ct as gh, D as agentFromCommand, Dt as config, E as agentFamily, Et as tmux, F as getInstance, G as subscribe, H as saveSubscription, I as iconSvg, J as shared, K as subscriberCount, L as manifest, M as setScrapedPhase, N as setSessionViewers, O as agentLabel, P as ACCENT_RE, Q as allPrefs, R as normalizeAccent, S as readHookPayload, St as TMUX_SOCKET, T as agentBadge, Tt as run, U as publish, V as pushPublicKey, W as publishJson, X as withLock, Y as swr, Z as agentChoices, _ as sendToSession, _t as toolById, a as ensureTmuxServer, at as setSetting, b as tmuxWasStarted, bt as get$1, c as killSession, ct as ghKnownHosts, d as listSessions, dt as setupPath, et as enabledAgents, f as markTmuxStarted, ft as which, g as renameSession, gt as agentLabel$1, h as panePids, ht as agentById, i as disposeSessions, it as setPref, j as setAgentPhase, k as agentMeta, l as killWorkspaceSessions, lt as miseInstalls, mt as TOOLS, n as clearTmuxStarted, nt as preferredAgent, o as forgetPanes, ot as discoverAgents, p as newSessionArgs, pt as DEFAULT_GITHUB_HOST, q as subscriberJoins, r as createSession, rt as setDisabledAgents, s as getSession, st as doctor, t as cleanEnv, tt as getSetting, u as listPanes, ut as miseVersions, v as sessionStates, vt as all, w as blankRow, wt as git, x as AGENTS, xt as workspacePath, y as tmuxName, yt as db, z as setInstance } from "./_DSLqyqdU.js";
3
3
  import fs from "node:fs";
4
4
  import http, { createServer } from "node:http";
5
5
  import path from "node:path";
@@ -13,7 +13,7 @@ import fs$1 from "node:fs/promises";
13
13
  import crypto, { createHash } from "node:crypto";
14
14
  import net from "node:net";
15
15
  import pty from "node-pty";
16
- //#region node_modules/.pnpm/@marko+run@0.11.12_@types+node@26.4.0_esbuild@0.27.7_marko@6.3.48/node_modules/@marko/run/dist/adapter/middleware.js
16
+ //#region node_modules/.pnpm/@marko+run@0.11.12_@types+node@26.5.0_esbuild@0.27.7_marko@6.3.49/node_modules/@marko/run/dist/adapter/middleware.js
17
17
  function getOrigin(req, trustProxy) {
18
18
  const protocol = trustProxy && getForwardedHeader(req, "proto") || req.socket.encrypted && "https" || req.protocol || "http";
19
19
  let host = trustProxy && getForwardedHeader(req, "host") || req.headers.host;
@@ -973,7 +973,7 @@ async function parseFormData(request, optionsOrUploadHandler, uploadHandler) {
973
973
  return formData;
974
974
  }
975
975
  //#endregion
976
- //#region node_modules/.pnpm/@marko+run@0.11.12_@types+node@26.4.0_esbuild@0.27.7_marko@6.3.48/node_modules/@marko/run/dist/runtime/internal.js
976
+ //#region node_modules/.pnpm/@marko+run@0.11.12_@types+node@26.5.0_esbuild@0.27.7_marko@6.3.49/node_modules/@marko/run/dist/runtime/internal.js
977
977
  var httpVerbs = [
978
978
  "get",
979
979
  "head",
@@ -1535,28 +1535,20 @@ function _addIssue(context, label, dataset, config$1, other) {
1535
1535
  if (dataset.issues) dataset.issues.push(issue);
1536
1536
  else dataset.issues = [issue];
1537
1537
  }
1538
- var _standardCache = /* @__PURE__ */ new WeakMap();
1539
1538
  /**
1540
- * Returns the Standard Schema properties.
1539
+ * Compares two values using the SameValueZero algorithm, which treats `NaN`
1540
+ * as equal to itself unlike `===`.
1541
1541
  *
1542
- * @param context The schema context.
1542
+ * @param value1 The first value.
1543
+ * @param value2 The second value.
1543
1544
  *
1544
- * @returns The Standard Schema properties.
1545
+ * @returns Whether the values are equal.
1546
+ *
1547
+ * @internal
1545
1548
  */
1546
1549
  /* @__NO_SIDE_EFFECTS__ */
1547
- function _getStandardProps(context) {
1548
- let cached = _standardCache.get(context);
1549
- if (!cached) {
1550
- cached = {
1551
- version: 1,
1552
- vendor: "valibot",
1553
- validate(value$1) {
1554
- return context["~run"]({ value: value$1 }, /* @__PURE__ */ getGlobalConfig());
1555
- }
1556
- };
1557
- _standardCache.set(context, cached);
1558
- }
1559
- return cached;
1550
+ function _isSameValueZero(value1, value2) {
1551
+ return value1 === value2 || Number.isNaN(value1) && Number.isNaN(value2);
1560
1552
  }
1561
1553
  /**
1562
1554
  * Disallows inherited object properties and prevents object prototype
@@ -1589,6 +1581,26 @@ function _joinExpects(values$1, separator) {
1589
1581
  if (list.length > 1) return `(${list.join(` ${separator} `)})`;
1590
1582
  return list[0] ?? "never";
1591
1583
  }
1584
+ /**
1585
+ * Eagerly creates and attaches the Standard Schema properties of a schema.
1586
+ *
1587
+ * Hint: The contextual `this` type includes the standard properties that are
1588
+ * attached before the schema is returned.
1589
+ *
1590
+ * @param schema The schema to attach standard properties to.
1591
+ *
1592
+ * @returns The schema with standard properties attached.
1593
+ *
1594
+ * @internal
1595
+ */
1596
+ function _standardSchema(schema) {
1597
+ schema["~standard"] = {
1598
+ version: 1,
1599
+ vendor: "valibot",
1600
+ validate: (value$1) => schema["~run"]({ value: value$1 }, /* @__PURE__ */ getGlobalConfig())
1601
+ };
1602
+ return schema;
1603
+ }
1592
1604
  /* @__NO_SIDE_EFFECTS__ */
1593
1605
  function integer(message$1) {
1594
1606
  return {
@@ -1697,6 +1709,7 @@ function url(message$1) {
1697
1709
  expects: null,
1698
1710
  requirement(input) {
1699
1711
  try {
1712
+ if (URL.canParse) return URL.canParse(input);
1700
1713
  new URL(input);
1701
1714
  return true;
1702
1715
  } catch {
@@ -1738,7 +1751,7 @@ function getDefault(schema, dataset, config$1) {
1738
1751
  }
1739
1752
  /* @__NO_SIDE_EFFECTS__ */
1740
1753
  function array(item, message$1) {
1741
- return {
1754
+ return _standardSchema({
1742
1755
  kind: "schema",
1743
1756
  type: "array",
1744
1757
  reference: array,
@@ -1746,9 +1759,6 @@ function array(item, message$1) {
1746
1759
  async: false,
1747
1760
  item,
1748
1761
  message: message$1,
1749
- get "~standard"() {
1750
- return /* @__PURE__ */ _getStandardProps(this);
1751
- },
1752
1762
  "~run"(dataset, config$1) {
1753
1763
  const input = dataset.value;
1754
1764
  if (Array.isArray(input)) {
@@ -1782,30 +1792,27 @@ function array(item, message$1) {
1782
1792
  } else _addIssue(this, "type", dataset, config$1);
1783
1793
  return dataset;
1784
1794
  }
1785
- };
1795
+ });
1786
1796
  }
1787
1797
  /* @__NO_SIDE_EFFECTS__ */
1788
1798
  function boolean(message$1) {
1789
- return {
1799
+ return _standardSchema({
1790
1800
  kind: "schema",
1791
1801
  type: "boolean",
1792
1802
  reference: boolean,
1793
1803
  expects: "boolean",
1794
1804
  async: false,
1795
1805
  message: message$1,
1796
- get "~standard"() {
1797
- return /* @__PURE__ */ _getStandardProps(this);
1798
- },
1799
1806
  "~run"(dataset, config$1) {
1800
1807
  if (typeof dataset.value === "boolean") dataset.typed = true;
1801
1808
  else _addIssue(this, "type", dataset, config$1);
1802
1809
  return dataset;
1803
1810
  }
1804
- };
1811
+ });
1805
1812
  }
1806
1813
  /* @__NO_SIDE_EFFECTS__ */
1807
1814
  function literal(literal_, message$1) {
1808
- return {
1815
+ return _standardSchema({
1809
1816
  kind: "schema",
1810
1817
  type: "literal",
1811
1818
  reference: literal,
@@ -1813,19 +1820,16 @@ function literal(literal_, message$1) {
1813
1820
  async: false,
1814
1821
  literal: literal_,
1815
1822
  message: message$1,
1816
- get "~standard"() {
1817
- return /* @__PURE__ */ _getStandardProps(this);
1818
- },
1819
1823
  "~run"(dataset, config$1) {
1820
- if (dataset.value === this.literal) dataset.typed = true;
1824
+ if (/* @__PURE__ */ _isSameValueZero(dataset.value, this.literal)) dataset.typed = true;
1821
1825
  else _addIssue(this, "type", dataset, config$1);
1822
1826
  return dataset;
1823
1827
  }
1824
- };
1828
+ });
1825
1829
  }
1826
1830
  /* @__NO_SIDE_EFFECTS__ */
1827
1831
  function nullable(wrapped, default_) {
1828
- return {
1832
+ return _standardSchema({
1829
1833
  kind: "schema",
1830
1834
  type: "nullable",
1831
1835
  reference: nullable,
@@ -1833,9 +1837,6 @@ function nullable(wrapped, default_) {
1833
1837
  async: false,
1834
1838
  wrapped,
1835
1839
  default: default_,
1836
- get "~standard"() {
1837
- return /* @__PURE__ */ _getStandardProps(this);
1838
- },
1839
1840
  "~run"(dataset, config$1) {
1840
1841
  if (dataset.value === null) {
1841
1842
  if (this.default !== void 0) dataset.value = /* @__PURE__ */ getDefault(this, dataset, config$1);
@@ -1846,30 +1847,27 @@ function nullable(wrapped, default_) {
1846
1847
  }
1847
1848
  return this.wrapped["~run"](dataset, config$1);
1848
1849
  }
1849
- };
1850
+ });
1850
1851
  }
1851
1852
  /* @__NO_SIDE_EFFECTS__ */
1852
1853
  function number(message$1) {
1853
- return {
1854
+ return _standardSchema({
1854
1855
  kind: "schema",
1855
1856
  type: "number",
1856
1857
  reference: number,
1857
1858
  expects: "number",
1858
1859
  async: false,
1859
1860
  message: message$1,
1860
- get "~standard"() {
1861
- return /* @__PURE__ */ _getStandardProps(this);
1862
- },
1863
1861
  "~run"(dataset, config$1) {
1864
1862
  if (typeof dataset.value === "number" && !isNaN(dataset.value)) dataset.typed = true;
1865
1863
  else _addIssue(this, "type", dataset, config$1);
1866
1864
  return dataset;
1867
1865
  }
1868
- };
1866
+ });
1869
1867
  }
1870
1868
  /* @__NO_SIDE_EFFECTS__ */
1871
1869
  function object(entries$1, message$1) {
1872
- return {
1870
+ return _standardSchema({
1873
1871
  kind: "schema",
1874
1872
  type: "object",
1875
1873
  reference: object,
@@ -1877,9 +1875,6 @@ function object(entries$1, message$1) {
1877
1875
  async: false,
1878
1876
  entries: entries$1,
1879
1877
  message: message$1,
1880
- get "~standard"() {
1881
- return /* @__PURE__ */ _getStandardProps(this);
1882
- },
1883
1878
  "~run"(dataset, config$1) {
1884
1879
  const input = dataset.value;
1885
1880
  if (input && typeof input === "object") {
@@ -1930,11 +1925,11 @@ function object(entries$1, message$1) {
1930
1925
  } else _addIssue(this, "type", dataset, config$1);
1931
1926
  return dataset;
1932
1927
  }
1933
- };
1928
+ });
1934
1929
  }
1935
1930
  /* @__NO_SIDE_EFFECTS__ */
1936
1931
  function optional(wrapped, default_) {
1937
- return {
1932
+ return _standardSchema({
1938
1933
  kind: "schema",
1939
1934
  type: "optional",
1940
1935
  reference: optional,
@@ -1942,9 +1937,6 @@ function optional(wrapped, default_) {
1942
1937
  async: false,
1943
1938
  wrapped,
1944
1939
  default: default_,
1945
- get "~standard"() {
1946
- return /* @__PURE__ */ _getStandardProps(this);
1947
- },
1948
1940
  "~run"(dataset, config$1) {
1949
1941
  if (dataset.value === void 0) {
1950
1942
  if (this.default !== void 0) dataset.value = /* @__PURE__ */ getDefault(this, dataset, config$1);
@@ -1955,11 +1947,11 @@ function optional(wrapped, default_) {
1955
1947
  }
1956
1948
  return this.wrapped["~run"](dataset, config$1);
1957
1949
  }
1958
- };
1950
+ });
1959
1951
  }
1960
1952
  /* @__NO_SIDE_EFFECTS__ */
1961
1953
  function picklist(options, message$1) {
1962
- return {
1954
+ return _standardSchema({
1963
1955
  kind: "schema",
1964
1956
  type: "picklist",
1965
1957
  reference: picklist,
@@ -1967,19 +1959,16 @@ function picklist(options, message$1) {
1967
1959
  async: false,
1968
1960
  options,
1969
1961
  message: message$1,
1970
- get "~standard"() {
1971
- return /* @__PURE__ */ _getStandardProps(this);
1972
- },
1973
1962
  "~run"(dataset, config$1) {
1974
1963
  if (this.options.includes(dataset.value)) dataset.typed = true;
1975
1964
  else _addIssue(this, "type", dataset, config$1);
1976
1965
  return dataset;
1977
1966
  }
1978
- };
1967
+ });
1979
1968
  }
1980
1969
  /* @__NO_SIDE_EFFECTS__ */
1981
1970
  function record(key, value$1, message$1) {
1982
- return {
1971
+ return _standardSchema({
1983
1972
  kind: "schema",
1984
1973
  type: "record",
1985
1974
  reference: record,
@@ -1988,9 +1977,6 @@ function record(key, value$1, message$1) {
1988
1977
  key,
1989
1978
  value: value$1,
1990
1979
  message: message$1,
1991
- get "~standard"() {
1992
- return /* @__PURE__ */ _getStandardProps(this);
1993
- },
1994
1980
  "~run"(dataset, config$1) {
1995
1981
  const input = dataset.value;
1996
1982
  if (input && typeof input === "object") {
@@ -2043,26 +2029,23 @@ function record(key, value$1, message$1) {
2043
2029
  } else _addIssue(this, "type", dataset, config$1);
2044
2030
  return dataset;
2045
2031
  }
2046
- };
2032
+ });
2047
2033
  }
2048
2034
  /* @__NO_SIDE_EFFECTS__ */
2049
2035
  function string(message$1) {
2050
- return {
2036
+ return _standardSchema({
2051
2037
  kind: "schema",
2052
2038
  type: "string",
2053
2039
  reference: string,
2054
2040
  expects: "string",
2055
2041
  async: false,
2056
2042
  message: message$1,
2057
- get "~standard"() {
2058
- return /* @__PURE__ */ _getStandardProps(this);
2059
- },
2060
2043
  "~run"(dataset, config$1) {
2061
2044
  if (typeof dataset.value === "string") dataset.typed = true;
2062
2045
  else _addIssue(this, "type", dataset, config$1);
2063
2046
  return dataset;
2064
2047
  }
2065
- };
2048
+ });
2066
2049
  }
2067
2050
  /**
2068
2051
  * Returns the sub issues of the provided datasets for the union issue.
@@ -2082,7 +2065,7 @@ function _subIssues(datasets) {
2082
2065
  }
2083
2066
  /* @__NO_SIDE_EFFECTS__ */
2084
2067
  function union(options, message$1) {
2085
- return {
2068
+ return _standardSchema({
2086
2069
  kind: "schema",
2087
2070
  type: "union",
2088
2071
  reference: union,
@@ -2090,9 +2073,6 @@ function union(options, message$1) {
2090
2073
  async: false,
2091
2074
  options,
2092
2075
  message: message$1,
2093
- get "~standard"() {
2094
- return /* @__PURE__ */ _getStandardProps(this);
2095
- },
2096
2076
  "~run"(dataset, config$1) {
2097
2077
  let validDataset;
2098
2078
  let typedDatasets;
@@ -2117,7 +2097,7 @@ function union(options, message$1) {
2117
2097
  else _addIssue(this, "type", dataset, config$1, { issues: /* @__PURE__ */ _subIssues(untypedDatasets) });
2118
2098
  return dataset;
2119
2099
  }
2120
- };
2100
+ });
2121
2101
  }
2122
2102
  /**
2123
2103
  * Creates a unknown schema.
@@ -2126,29 +2106,23 @@ function union(options, message$1) {
2126
2106
  */
2127
2107
  /* @__NO_SIDE_EFFECTS__ */
2128
2108
  function unknown() {
2129
- return {
2109
+ return _standardSchema({
2130
2110
  kind: "schema",
2131
2111
  type: "unknown",
2132
2112
  reference: unknown,
2133
2113
  expects: "unknown",
2134
2114
  async: false,
2135
- get "~standard"() {
2136
- return /* @__PURE__ */ _getStandardProps(this);
2137
- },
2138
2115
  "~run"(dataset) {
2139
2116
  dataset.typed = true;
2140
2117
  return dataset;
2141
2118
  }
2142
- };
2119
+ });
2143
2120
  }
2144
2121
  /* @__NO_SIDE_EFFECTS__ */
2145
2122
  function pipe(...pipe$1) {
2146
- return {
2123
+ return _standardSchema({
2147
2124
  ...pipe$1[0],
2148
2125
  pipe: pipe$1,
2149
- get "~standard"() {
2150
- return /* @__PURE__ */ _getStandardProps(this);
2151
- },
2152
2126
  "~run"(dataset, config$1) {
2153
2127
  for (const item of pipe$1) if (item.kind !== "metadata") {
2154
2128
  if (dataset.issues && (item.kind === "schema" || item.kind === "transformation")) {
@@ -2159,7 +2133,7 @@ function pipe(...pipe$1) {
2159
2133
  }
2160
2134
  return dataset;
2161
2135
  }
2162
- };
2136
+ });
2163
2137
  }
2164
2138
  /**
2165
2139
  * Parses an unknown input based on a schema.
@@ -4175,7 +4149,7 @@ var Query$2 = /* @__PURE__ */ object({
4175
4149
  });
4176
4150
  //#endregion
4177
4151
  //#region __marko-run__index.js
4178
- var getHandler$27 = normalizeHandler(Run.GET({ search: Query$2 }, async (ctx) => {
4152
+ var getHandler$28 = normalizeHandler(Run.GET({ search: Query$2 }, async (ctx) => {
4179
4153
  const active = listWorkspaces().filter((ws) => ws.status === "active");
4180
4154
  const { ws: linked, session } = checked(ctx.search, "query");
4181
4155
  if (linked && active.some((ws) => ws.id === linked)) return ctx.redirect(`/w/${encodeURIComponent(linked)}${session ? `?s=${encodeURIComponent(session)}` : ""}`, 302);
@@ -4189,10 +4163,10 @@ var getHandler$27 = normalizeHandler(Run.GET({ search: Query$2 }, async (ctx) =>
4189
4163
  }
4190
4164
  return ctx.redirect("/new", 302);
4191
4165
  }), "GET");
4192
- var get1_options = normalizeOptions("GET", getHandler$27);
4166
+ var get1_options = normalizeOptions("GET", getHandler$28);
4193
4167
  var head1_options = {};
4194
4168
  function get1(context) {
4195
- return call(getHandler$27, noContent, context);
4169
+ return call(getHandler$28, noContent, context);
4196
4170
  }
4197
4171
  function head1(context) {
4198
4172
  return stripResponseBody(get1(context));
@@ -4770,7 +4744,7 @@ function renderParts(g, parts) {
4770
4744
  return html;
4771
4745
  }
4772
4746
  //#endregion
4773
- //#region node_modules/.pnpm/marko@6.3.48/node_modules/marko/dist/html.mjs
4747
+ //#region node_modules/.pnpm/marko@6.3.49/node_modules/marko/dist/html.mjs
4774
4748
  var empty = [], rest = Symbol(), unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeStyleAttr = (c) => c === ";" ? "\\3B " : "\\\\", toDelimitedString = function toDelimitedString(val, delimiter, stringify) {
4775
4749
  let str = "", sep = "", part;
4776
4750
  if (val) if (typeof val != "object") str += val;
@@ -5019,7 +4993,7 @@ var empty = [], rest = Symbol(), unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeSty
5019
4993
  return code >= 55296 && code <= 57343 ? "\\u" + code.toString(16).padStart(4, "0") : match;
5020
4994
  }, unsafeQuoteReg = /["\\<\n\r\u2028\u2029\0\ud800-\udfff]/u, $chunk, kPendingContexts = Symbol("Pending Contexts"), kBranchId = Symbol("Branch Id"), kIsAsync = Symbol("Is Async"), writeScope = (scopeId, partialScope) => {
5021
4995
  let { state } = $chunk.boundary, target = $chunk.serializeState, scope = scopeWithId(state, scopeId), pending = target.writeScopes[scopeId];
5022
- return state.needsMainRuntime = !0, Object.assign(scope, partialScope), pending && pending !== partialScope ? Object.assign(pending, partialScope) : target.writeScopes[scopeId] = partialScope, target.flushScopes = !0, scope;
4996
+ return state.needsMainRuntime = !0, countResumeWrite($chunk.boundary), Object.assign(scope, partialScope), pending && pending !== partialScope ? Object.assign(pending, partialScope) : target.writeScopes[scopeId] = partialScope, target.flushScopes = !0, scope;
5023
4997
  }, NOOP$2 = () => {}, tick = globalThis.setImmediate || globalThis.setTimeout || globalThis.queueMicrotask || ((cb) => Promise.resolve().then(cb)), tickQueue, kSelectedValue = Symbol("selectedValue"), checkedValuesRefs = /* @__PURE__ */ new WeakMap(), singleQuoteAttrReplacements = /['\r]|&(?=[#a-zA-Z])/g, doubleQuoteAttrReplacements = /["\r]|&(?=[#a-zA-Z])/g, needsQuotedAttr = /["'>\s]|&[#a-zA-Z]|\/$/g, voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|param|source|track|wbr)$/, _dynamic_tag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, serializeReason) => {
5024
4998
  let shouldResume = serializeReason !== 0, renderer = normalizeDynamicRenderer(tag), state = getState(), branchId = _peek_scope_id(), rendered, result;
5025
4999
  if (typeof renderer == "string") {
@@ -5897,8 +5871,8 @@ function withContext(key, value, cb, cbValue) {
5897
5871
  ctx[kPendingContexts]--, ctx[key] = prev;
5898
5872
  }
5899
5873
  }
5900
- function withBranchId(branchId, cb) {
5901
- return withContext(kBranchId, branchId, cb);
5874
+ function withBranchId(branchId, cb, cbValue) {
5875
+ return withContext(kBranchId, branchId, cb, cbValue);
5902
5876
  }
5903
5877
  function _html(html) {
5904
5878
  $chunk.writeHTML(html);
@@ -5906,8 +5880,8 @@ function _html(html) {
5906
5880
  function writeScript(script) {
5907
5881
  $chunk.writeScript(script);
5908
5882
  }
5909
- function _script(scopeId, registryId) {
5910
- ($chunk.serializeState.readyId || $chunk.context?.[kIsAsync]) && _resume_branch(scopeId), $chunk.boundary.state.needsMainRuntime = !0, $chunk.writeEffect(scopeId, registryId);
5883
+ function _script(scopeId, registryId, serializeMarker) {
5884
+ serializeMarker === 0 && ($chunk.serializeState.readyId || $chunk.context?.[kIsAsync]) && _resume_branch(scopeId), $chunk.boundary.state.needsMainRuntime = !0, $chunk.writeEffect(scopeId, registryId);
5911
5885
  }
5912
5886
  function _trailers(html) {
5913
5887
  $chunk.boundary.state.trailerHTML += html;
@@ -6031,6 +6005,9 @@ function writeWaitReady(readyId, renderer, input) {
6031
6005
  }), bodyEnd = body.render(renderer, input);
6032
6006
  body === bodyEnd ? (chunk.writeHTML(body.html), body.deferOwnReady(), chunk.deferredReady = push(chunk.deferredReady, body)) : (bodyEnd.next = $chunk = chunk.fork(boundary, chunk.next), chunk.next = body);
6033
6007
  }
6008
+ function countResumeWrite(boundary) {
6009
+ for (; boundary; boundary = boundary.parent) boundary.resumeWrites++;
6010
+ }
6034
6011
  var State = class {
6035
6012
  tagId = 1;
6036
6013
  scopeId = 1;
@@ -6087,6 +6064,7 @@ var State = class {
6087
6064
  var Boundary = class extends AbortController {
6088
6065
  onNext = NOOP$2;
6089
6066
  count = 0;
6067
+ resumeWrites = 0;
6090
6068
  state;
6091
6069
  parent;
6092
6070
  constructor(state, signal, parent) {
@@ -6131,7 +6109,7 @@ var Chunk = class Chunk {
6131
6109
  this.html += html;
6132
6110
  }
6133
6111
  writeEffect(scopeId, registryId) {
6134
- this.lastEffect === registryId ? this.effects += " " + scopeId : (this.lastEffect = registryId, this.effects = concatEffects(this.effects, registryId + " " + scopeId));
6112
+ countResumeWrite(this.boundary), this.lastEffect === registryId ? this.effects += " " + scopeId : (this.lastEffect = registryId, this.effects = concatEffects(this.effects, registryId + " " + scopeId));
6135
6113
  }
6136
6114
  writeScript(script) {
6137
6115
  this.scripts = concatScripts(this.scripts, script);
@@ -6208,7 +6186,9 @@ var Chunk = class Chunk {
6208
6186
  }
6209
6187
  readyResumeScripts && (needsWalk = !0);
6210
6188
  let effects = this.async ? "" : this.effects, { html, scripts } = this;
6211
- if (state.needsMainRuntime && !state.hasMainRuntime && (state.hasMainRuntime = !0, scripts = concatScripts(scripts, "(e=>(self[e]||=(l,f=e+l,s=f.length,a={},d=[],t=document,n=t.createTreeWalker(t,129))=>t=self[e][l]={i:f,d:t,l:a,v:d,x(){},w(e,l,r){for(;e=n.nextNode();)t.x(l=(l=e.data)&&!l.indexOf(f)&&(a[r=l.slice(s+1)]=e,l[s]),r,e),l>\"#\"&&d.push(e)}},self[e]))(\"" + $global.runtimeId + "\")(\"" + $global.renderId + "\")")), scripts = concatScripts(scripts, readyResumeScripts), effects && (needsWalk = !0, state.resumes = state.resumes ? state.resumes + ",\"" + effects + "\"" : "\"" + effects + "\""), state.writeReorders) {
6189
+ state.needsMainRuntime && !state.hasMainRuntime && (state.hasMainRuntime = !0, scripts = concatScripts(scripts, "(e=>(self[e]||=(l,f=e+l,s=f.length,a={},d=[],t=document,n=t.createTreeWalker(t,129))=>t=self[e][l]={i:f,d:t,l:a,v:d,x(){},w(e,l,r){for(;e=n.nextNode();)t.x(l=(l=e.data)&&!l.indexOf(f)&&(r=l.slice(s+1),(l=l[s])>\"#\"||(a[r]=e),l),r,e),l>\"#\"&&d.push(e)}},self[e]))(\"" + $global.runtimeId + "\")(\"" + $global.renderId + "\")")), scripts = concatScripts(scripts, readyResumeScripts), effects && (needsWalk = !0, state.resumes = state.resumes ? state.resumes + ",\"" + effects + "\"" : "\"" + effects + "\"");
6190
+ let reordered = "", needsResumeArray = !1;
6191
+ if (state.writeReorders) {
6212
6192
  let carried = null;
6213
6193
  for (let reorderedChunk of state.writeReorders) {
6214
6194
  if (reorderedChunk.async && reorderedChunk.consumed) {
@@ -6220,7 +6200,7 @@ var Chunk = class Chunk {
6220
6200
  }
6221
6201
  reorderedChunk.async = !1;
6222
6202
  }
6223
- needsWalk = !0, state.hasReorderRuntime || (state.hasReorderRuntime = !0, scripts = concatScripts(scripts, "(e=>{if(e.j)return;let i,l,r,t=e.p={},c=(i,l)=>e.l[i].replaceWith(...l.childNodes);e.j={},e.x=(n,a,d,o,g)=>{d==r&&i(),\"#\"==n?(t[a]=l).i++:\"!\"==n?e.l[a]&&t[a]&&(r=d.nextSibling,i=()=>t[a].c()):\"T\"==d.tagName&&(a=d.getAttribute(e.i))&&(r=d.nextSibling,i=()=>{d.remove(),o||c(a,d),l.c()},l=t[a]||(o=t[a]={i:e.l[a]?1:2,c(i=e.l[\"^\"+a],f=d.cloneNode()){if(--o.i)return 1;for(;f.prepend(r=e.l[a].previousSibling||i),i!=r;);c(a,d)}}),(n=e.j[a])&&(g=l.c,l.c=()=>g()||n(e.r)))}})(" + runtimePrefix + ")"));
6203
+ needsWalk = !0, state.hasReorderRuntime || (state.hasReorderRuntime = !0, scripts = concatScripts(scripts, "(e=>{if(e.j)return;let i,l,r,t=e.p={},c=(i,l)=>e.l[i].replaceWith(...l.childNodes);e.j={},e.x=(n,a,d,o,g)=>{d==r&&i(),\"#\"==n?(t[a]=l).i++:\"!\"==n?e.l[a]&&t[a]&&(r=d.nextSibling,i=()=>t[a].c()):\"T\"==d.tagName&&(a=d.getAttribute(e.i))&&(r=d.nextSibling,i=()=>{d.remove(),o||c(a,d),l.c()},l=t[a]||(o=t[a]={i:e.l[a]?1:2,r:a,c(i=e.l[\"^\"+a],f=d.cloneNode()){if(--o.i)return 1;for(;f.prepend(r=e.l[a].previousSibling||i),i!=r;);c(a,d)}}),e.v.push({data:e.i+\"*\"+l.r}),(n=e.j[a])&&(g=l.c,l.c=()=>g()||n(e.r)))}})(" + runtimePrefix + ")"));
6224
6204
  let { reorderId } = reorderedChunk, readyReservations = [], reorderHTML = "", reorderEffects = "", reorderScripts = "", cur = reorderedChunk;
6225
6205
  for (reorderedChunk.reorderId = null;;) {
6226
6206
  cur.flushPlaceholder(), cur.deferOwnReady();
@@ -6228,13 +6208,13 @@ var Chunk = class Chunk {
6228
6208
  if (cur.consumed = !0, reorderHTML += cur.html, reorderEffects = concatEffects(reorderEffects, cur.effects), reorderScripts = concatScripts(reorderScripts, concatScripts(readyResumeScripts, cur.scripts)), cur.async && (reorderHTML += state.mark("#", cur.reorderId = state.nextReorderId()), state.reorder(cur), cur.html = cur.effects = cur.scripts = cur.lastEffect = "", cur.next = null), next) cur = next;
6229
6209
  else break;
6230
6210
  }
6231
- reorderEffects && (state.hasWrittenResume || (state.hasWrittenResume = !0, scripts = concatScripts(scripts, runtimePrefix + ".r=[]")), reorderScripts = concatScripts(reorderScripts, "_.push(\"" + reorderEffects + "\")"));
6232
- for (let reservation of readyReservations) scripts = concatScripts(scripts, reservation);
6233
- scripts = concatScripts(scripts, reorderScripts && runtimePrefix + ".j" + toAccess(reorderId) + "=_=>{" + reorderScripts + "}"), html += "<t hidden " + state.commentPrefix + "=" + reorderId + ">" + reorderHTML + "</t>";
6211
+ reorderEffects && (needsResumeArray = !0, reorderScripts = concatScripts(reorderScripts, "_.push(\"" + reorderEffects + "\")"));
6212
+ for (let reservation of readyReservations) reordered = concatScripts(reordered, reservation);
6213
+ reordered = concatScripts(reordered, reorderScripts && runtimePrefix + ".j" + toAccess(reorderId) + "=_=>{" + reorderScripts + "}"), html += "<t hidden " + state.commentPrefix + "=" + reorderId + ">" + reorderHTML + "</t>";
6234
6214
  }
6235
6215
  state.writeReorders = carried;
6236
6216
  }
6237
- return flushSerializer(boundary, state), state.resumes && (state.hasWrittenResume ? scripts = concatScripts(scripts, runtimePrefix + ".r.push(" + state.resumes + ")") : (state.hasWrittenResume = !0, scripts = concatScripts(scripts, runtimePrefix + ".r=[" + state.resumes + "]"))), needsWalk && (scripts = concatScripts(scripts, runtimePrefix + ".w()")), this.html = html, this.scripts = scripts, this.async || (this.effects = this.lastEffect = ""), state.resumes = "", this;
6217
+ return flushSerializer(boundary, state), state.resumes ? state.hasWrittenResume ? scripts = concatScripts(scripts, runtimePrefix + ".r.push(" + state.resumes + ")") : (state.hasWrittenResume = !0, scripts = concatScripts(scripts, runtimePrefix + ".r=[" + state.resumes + "]")) : needsResumeArray && !state.hasWrittenResume && (state.hasWrittenResume = !0, scripts = concatScripts(scripts, runtimePrefix + ".r=[]")), scripts = concatScripts(scripts, reordered), needsWalk && (scripts = concatScripts(scripts, runtimePrefix + ".w()")), this.html = html, this.scripts = scripts, this.async || (this.effects = this.lastEffect = ""), state.resumes = "", this;
6238
6218
  }
6239
6219
  flushHTML() {
6240
6220
  let { boundary } = this, { state } = boundary;
@@ -6691,7 +6671,7 @@ function toObjectExpression(options) {
6691
6671
  //#endregion
6692
6672
  //#region src/routes/+layout.marko
6693
6673
  var _layout_default = _template("a", (input) => {
6694
- const $scope0_reason = _scope_reason();
6674
+ const $scope0_reason = _scope_reason(), $sg__input_content = _serialize_guard($scope0_reason, 0);
6695
6675
  const $scope0_id = _scope_id();
6696
6676
  const data = $global().data;
6697
6677
  const inst = data?.instance;
@@ -6714,7 +6694,7 @@ var _layout_default = _template("a", (input) => {
6714
6694
  _html(`<meta name=theme-color media="(prefers-color-scheme: light)"${_attr_or("content", accent, " content=#fafafa")}><meta name=theme-color media="(prefers-color-scheme: dark)"${_attr_or("content", accent, " content=#131316")}>`);
6715
6695
  }
6716
6696
  _html(`<link rel=manifest href=/api/instance/manifest crossorigin=use-credentials><link rel=icon${_attr("href", iconHref)} type=image/svg+xml><link rel=apple-touch-icon${_attr("href", touchIconHref)}><meta name=apple-mobile-web-app-title${_attr("content", name)}><title>${_escape(name)}</title>${_flush_head()}</head><body>`);
6717
- _dynamic_tag($scope0_id, "h", input.content, {}, 0, 0, _serialize_guard($scope0_reason, 0));
6697
+ _dynamic_tag($scope0_id, "h", input.content, {}, 0, 0, $sg__input_content);
6718
6698
  _trailers("</body></html>");
6719
6699
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, {});
6720
6700
  }, 1);
@@ -6999,14 +6979,14 @@ var openable = (ws) => ws.status === "active" && !ws.pending;
6999
6979
  */
7000
6980
  var numbered = (all) => all.filter(openable).sort((a, b) => a.name.localeCompare(b.name));
7001
6981
  var toastKind = {
7002
- error: "_bl",
7003
- warn: "_bm",
7004
- info: "_bn"
6982
+ error: "_bj",
6983
+ warn: "_bk",
6984
+ info: "_bl"
7005
6985
  };
7006
6986
  var toastTitle = {
7007
- error: "_bo",
7008
- warn: "_bp",
7009
- info: "_bq"
6987
+ error: "_bm",
6988
+ warn: "_bn",
6989
+ info: "_bo"
7010
6990
  };
7011
6991
  //#endregion
7012
6992
  //#region src/styles/tokens.css.ts
@@ -7019,10 +6999,10 @@ var iconSize = {
7019
6999
  //#endregion
7020
7000
  //#region src/tags/icons/icon-base.marko
7021
7001
  var icon_base_default = _template("W", (input) => {
7022
- const $scope0_reason = _scope_reason();
7002
+ const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0), $sg__input_d = _serialize_guard($scope0_reason, 2);
7023
7003
  const $scope0_id = _scope_id();
7024
7004
  const size = input.size ?? iconSize.md;
7025
- _html(`<svg${_attr_class(["_m", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden=true><path${_attr("d", input.d)}></path>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</svg>${_el_resume($scope0_id, "a", _serialize_guard($scope0_reason, 0))}`);
7005
+ _html(`<svg${_attr_class(["_m", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden=true><path${_attr("d", input.d)}></path>${_el_resume($scope0_id, "b", $sg__input_d)}</svg>${_el_resume($scope0_id, "a", $sg__input_size__OR__input_class)}`);
7026
7006
  _serialize_if($scope0_reason, 1) && writeScope($scope0_id, {});
7027
7007
  });
7028
7008
  //#endregion
@@ -7045,29 +7025,29 @@ var icon_xmark_default = _template("zb", (input) => {
7045
7025
  //#endregion
7046
7026
  //#region src/tags/toast.marko
7047
7027
  var toast_default = _template("J", (input) => {
7048
- const $scope0_reason = _scope_reason(), $sg__input_title = _serialize_guard($scope0_reason, 7), $sg__input_title__OR__input_content__OR__input_action__OR__input_onDismiss = _serialize_guard($scope0_reason, 5), $sg__input_content = _serialize_guard($scope0_reason, 8), $sg__input_action = _serialize_guard($scope0_reason, 9), $sg__input_action__OR__input_onDismiss = _serialize_guard($scope0_reason, 3), $sg__input_onDismiss = _serialize_guard($scope0_reason, 11), $si__input_content = _serialize_if($scope0_reason, 8), $si__input_action__OR__input_onDismiss = _serialize_if($scope0_reason, 3), $si__input_action_content = _serialize_if($scope0_reason, 10);
7028
+ const $scope0_reason = _scope_reason(), $sg__input_kind = _serialize_guard($scope0_reason, 6), $sg__input_title = _serialize_guard($scope0_reason, 7), $sg__input_content = _serialize_guard($scope0_reason, 8), $sg__input_title__OR__input_content__OR__input_action__OR__input_onDismiss = _serialize_guard($scope0_reason, 5), $sg__input_action_content = _serialize_guard($scope0_reason, 10), $sg__input_action = _serialize_guard($scope0_reason, 9), $sg__input_action__OR__input_onDismiss = _serialize_guard($scope0_reason, 3), $sg__input_onDismiss = _serialize_guard($scope0_reason, 11), $si__input_content = _serialize_if($scope0_reason, 8), $si__input_action__OR__input_onDismiss = _serialize_if($scope0_reason, 3), $si__input_action_content = _serialize_if($scope0_reason, 10);
7049
7029
  const $scope0_id = _scope_id();
7050
7030
  const $input_action_content__closures = /* @__PURE__ */ new Set();
7051
7031
  const { kind: inputKind, placement: inputPlacement, title, class: inputClass, content, action, onDismiss, ...htmlInput } = input;
7052
7032
  const kind = inputKind || "error";
7053
7033
  const placement = inputPlacement || "float";
7054
7034
  const placementClass = {
7055
- float: "_bj",
7056
- inline: "_bk"
7035
+ float: "_bh",
7036
+ inline: "_bi"
7057
7037
  }[placement];
7058
7038
  _html(`<div${_attr_class([
7059
- "_bi",
7039
+ "_bg",
7060
7040
  toastKind[kind],
7061
7041
  placementClass,
7062
7042
  inputClass
7063
7043
  ])} role=${kind === "error" ? "alert" : "status"}${_attrs_partial(htmlInput, {
7064
7044
  class: 1,
7065
7045
  role: 1
7066
- }, "a", $scope0_id, "div")}><div${_attr_class("_br")}>`);
7046
+ }, "a", $scope0_id, "div")}><div${_attr_class("_bp")}>`);
7067
7047
  _if(() => {
7068
7048
  if (title) {
7069
7049
  const $scope1_id = _scope_id();
7070
- _html(`<strong${_attr_class(toastTitle[kind])}>${_text_resume($scope1_id, "b", title, $sg__input_title)}</strong>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 6))}`);
7050
+ _html(`<strong${_attr_class(toastTitle[kind])}>${_text_resume($scope1_id, "b", title, $sg__input_title)}</strong>${_el_resume($scope1_id, "a", $sg__input_kind)}`);
7071
7051
  _serialize_if($scope0_reason, 1) && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
7072
7052
  return 0;
7073
7053
  }
@@ -7075,7 +7055,7 @@ var toast_default = _template("J", (input) => {
7075
7055
  _if(() => {
7076
7056
  if (content) {
7077
7057
  const $scope2_id = _scope_id();
7078
- _html(`<div${_attr_class("_bs")}>`);
7058
+ _html(`<div${_attr_class("_bq")}>`);
7079
7059
  _dynamic_tag($scope2_id, "b", content, {}, 0, 0, $sg__input_content);
7080
7060
  _html("</div>");
7081
7061
  $si__input_content && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
@@ -7086,11 +7066,11 @@ var toast_default = _template("J", (input) => {
7086
7066
  _if(() => {
7087
7067
  if (action || onDismiss) {
7088
7068
  const $scope3_id = _scope_id();
7089
- _html(`<div${_attr_class(["_bt", action && "_bu"])}>`);
7069
+ _html(`<div${_attr_class(["_br", action && "_bs"])}>`);
7090
7070
  _if(() => {
7091
7071
  if (action) {
7092
7072
  const $scope4_id = _scope_id();
7093
- _dynamic_tag($scope4_id, "a", action.content, {}, 0, 0, _serialize_guard($scope0_reason, 10));
7073
+ _dynamic_tag($scope4_id, "a", action.content, {}, 0, 0, $sg__input_action_content);
7094
7074
  $si__input_action__OR__input_onDismiss && _subscribe($si__input_action_content && $input_action_content__closures, writeScope($scope4_id, { _: _scope_with_id($scope3_id) }));
7095
7075
  return 0;
7096
7076
  }
@@ -7098,7 +7078,7 @@ var toast_default = _template("J", (input) => {
7098
7078
  _if(() => {
7099
7079
  if (onDismiss) {
7100
7080
  const $scope5_id = _scope_id();
7101
- _html(`<button${_attr_class([iconBtnRow, "_bv"])} type=button title=Dismiss aria-label=Dismiss>`);
7081
+ _html(`<button${_attr_class([iconBtnRow, "_bt"])} type=button title=Dismiss aria-label=Dismiss>`);
7102
7082
  icon_xmark_default({ size: 14 });
7103
7083
  _html(`</button>${_el_resume($scope5_id, "a")}`);
7104
7084
  _script($scope5_id, "J0");
@@ -7126,7 +7106,6 @@ var toast_default = _template("J", (input) => {
7126
7106
  u: _serialize_if($scope0_reason, 2) && placementClass,
7127
7107
  z: $si__input_action_content && $input_action_content__closures
7128
7108
  });
7129
- _resume_branch($scope0_id);
7130
7109
  });
7131
7110
  //#endregion
7132
7111
  //#region src/tags/connection-pill.marko
@@ -7136,7 +7115,6 @@ var connection_pill_default = _template("g", (input) => {
7136
7115
  _if(() => {}, $scope0_id, "a", 1, 1, 1, 0, 1);
7137
7116
  _script($scope0_id, "g0");
7138
7117
  writeScope($scope0_id, {});
7139
- _resume_branch($scope0_id);
7140
7118
  });
7141
7119
  //#endregion
7142
7120
  //#region src/client/prefs.ts
@@ -7322,15 +7300,15 @@ var agentRow = "_c3 _cE";
7322
7300
  var toolGrid = "_da _cO";
7323
7301
  var toolRow = "_db _cP";
7324
7302
  var themeSeg = "_dy _bd";
7325
- var checkList = "_d4 _cg";
7326
- var list$2 = "_cQ _ci _cD _cO";
7303
+ var checkList = "_d4 _bE";
7304
+ var list$2 = "_cQ _bG _cD _cO";
7327
7305
  var flatCardRow = "_cR _cP";
7328
7306
  var chip$1 = "_c0 _X _W";
7329
7307
  var pop$1 = "_cz _9";
7330
7308
  var spinner = "_cC _1 _G";
7331
- var busy = "_ej _ei";
7332
- var pop = "_el _9";
7333
- var sectionCount$1 = "_cf _N _O";
7309
+ var busy = "_ea _d_";
7310
+ var pop = "_ec _9";
7311
+ var sectionCount$1 = "_bD _N _O";
7334
7312
  //#endregion
7335
7313
  //#region src/tags/icons/icon-refresh.marko
7336
7314
  var icon_refresh_default = _template("pb", (input) => {
@@ -7368,32 +7346,32 @@ var icon_back_default = _template("V", (input) => {
7368
7346
  //#endregion
7369
7347
  //#region src/tags/page-head.marko
7370
7348
  var page_head_default = _template("t", (input) => {
7371
- const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 3), $sg__input_meta = _serialize_guard($scope0_reason, 6), $sg__input_actions = _serialize_guard($scope0_reason, 7), $si__input_backHref__OR__input_onBack = _serialize_if($scope0_reason, 1), $si__input_meta = _serialize_if($scope0_reason, 6), $si__input_actions = _serialize_if($scope0_reason, 7);
7349
+ const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_backTitle = _serialize_guard($scope0_reason, 0), $sg__input_meta = _serialize_guard($scope0_reason, 6), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 3), $sg__input_actions = _serialize_guard($scope0_reason, 7), $sg__input_backHref__OR__input_onBack = _serialize_guard($scope0_reason, 1), $sg__input_titleId = _serialize_guard($scope0_reason, 4), $sg__input_title = _serialize_guard($scope0_reason, 5), $si__input_backHref__OR__input_onBack = _serialize_if($scope0_reason, 1), $si__input_meta = _serialize_if($scope0_reason, 6), $si__input_actions = _serialize_if($scope0_reason, 7);
7372
7350
  const $scope0_id = _scope_id();
7373
- _html(`<header${_attr_class("_eb")}>`);
7351
+ _html(`<header${_attr_class("_ei")}>`);
7374
7352
  _if(() => {
7375
7353
  if (input.backHref) {
7376
7354
  const $scope1_id = _scope_id();
7377
- _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_en"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7355
+ _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_fp"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7378
7356
  icon_back_default({ size: 14 });
7379
- _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
7357
+ _html(`</a>${_el_resume($scope1_id, "a", $sg__input_backHref__OR__input_backTitle)}`);
7380
7358
  _serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
7381
7359
  return 0;
7382
7360
  } else if (input.onBack) {
7383
7361
  const $scope2_id = _scope_id();
7384
- _html(`<button${_attr_class([iconBtnRow, "_en"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7362
+ _html(`<button${_attr_class([iconBtnRow, "_fp"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7385
7363
  icon_back_default({ size: 14 });
7386
7364
  _html(`</button>${_el_resume($scope2_id, "a")}`);
7387
7365
  _script($scope2_id, "t0");
7388
7366
  writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
7389
7367
  return 1;
7390
7368
  }
7391
- }, $scope0_id, "b", _serialize_guard($scope0_reason, 2), _serialize_guard($scope0_reason, 1), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
7392
- _html(`<div${_attr_class("_ed")}><h1${_attr("id", input.titleId)}${_attr_class("_ec")}>${_text_resume($scope0_id, "e", input.title, _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
7369
+ }, $scope0_id, "b", _serialize_guard($scope0_reason, 2), $sg__input_backHref__OR__input_onBack, $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
7370
+ _html(`<div${_attr_class("_ek")}><h1${_attr("id", input.titleId)}${_attr_class("_ej")}>${_text_resume($scope0_id, "e", input.title, $sg__input_title)}</h1>${_el_resume($scope0_id, "d", $sg__input_titleId)}`);
7393
7371
  _if(() => {
7394
7372
  if (input.meta) {
7395
7373
  const $scope3_id = _scope_id();
7396
- _html(`<p${_attr_class("_ee")}>`);
7374
+ _html(`<p${_attr_class("_el")}>`);
7397
7375
  _dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
7398
7376
  _html("</p>");
7399
7377
  $si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
@@ -7404,7 +7382,7 @@ var page_head_default = _template("t", (input) => {
7404
7382
  _if(() => {
7405
7383
  if (input.actions) {
7406
7384
  const $scope4_id = _scope_id();
7407
- _html(`<div${_attr_class("_ef")}>`);
7385
+ _html(`<div${_attr_class("_em")}>`);
7408
7386
  _dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7409
7387
  _html("</div>");
7410
7388
  $si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7472,7 +7450,7 @@ var icon_agent_default = _template("P", (input) => {
7472
7450
  n: $badge__closures
7473
7451
  });
7474
7452
  });
7475
- var usageNote = "_g6 _W";
7453
+ var usageNote = "_hc _W";
7476
7454
  //#endregion
7477
7455
  //#region src/tags/icons/icon-warning.marko
7478
7456
  var icon_warning_default = _template("xb", (input) => {
@@ -7499,14 +7477,14 @@ function resetLabel(iso, stale) {
7499
7477
  return duration(ms);
7500
7478
  }
7501
7479
  var usage_meters_default = _template("L", (input) => {
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);
7480
+ const $scope0_reason = _scope_reason(), $sg__input_agent = _serialize_guard($scope0_reason, 1), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $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);
7503
7481
  const $scope0_id = _scope_id();
7504
7482
  const agent = input.agent;
7505
- _html(`<div${_attr_class(["_g0", { ["_g1"]: input.hideName }])}><div${_attr_class("_g2")}>`);
7483
+ _html(`<div${_attr_class(["_g7", { ["_g8"]: input.hideName }])}><div${_attr_class("_g9")}>`);
7506
7484
  _if(() => {
7507
7485
  if (!input.hideName) {
7508
7486
  const $scope1_id = _scope_id();
7509
- _html(`<strong${_attr_class("_hk")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7487
+ _html(`<strong${_attr_class("_hr")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7510
7488
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
7511
7489
  return 0;
7512
7490
  }
@@ -7514,7 +7492,7 @@ var usage_meters_default = _template("L", (input) => {
7514
7492
  _if(() => {
7515
7493
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
7516
7494
  const $scope2_id = _scope_id();
7517
- _html(`<span${_attr_class("_g3")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7495
+ _html(`<span${_attr_class("_g_")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7518
7496
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
7519
7497
  return 0;
7520
7498
  }
@@ -7522,21 +7500,21 @@ var usage_meters_default = _template("L", (input) => {
7522
7500
  _if(() => {
7523
7501
  if (agent.stale_seconds != null) {
7524
7502
  const $scope3_id = _scope_id();
7525
- _html(`<span${_attr_class("_g4")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7503
+ _html(`<span${_attr_class("_ha")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7526
7504
  icon_warning_default({ size: 12 });
7527
7505
  _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)}`);
7528
7506
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7529
7507
  return 0;
7530
7508
  }
7531
7509
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
7532
- _html(`</div><div${_attr_class(["_g5", { ["_hl"]: agent.stale_seconds != null }])}>`);
7510
+ _html(`</div><div${_attr_class(["_hb", { ["_hs"]: agent.stale_seconds != null }])}>`);
7533
7511
  _for_of(agent.windows || [], (win) => {
7534
7512
  const $scope4_id = _scope_id();
7535
7513
  const pct = pctText(win.used_percent);
7536
7514
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
7537
- const fillClass = win.used_percent >= 90 ? "_hd" : win.used_percent >= 70 ? "_hc" : win.used_percent >= 40 ? "_hb" : "_ha";
7538
- const pctClass = win.used_percent >= 90 ? "_hi" : win.used_percent >= 70 ? "_hh" : win.used_percent >= 40 ? "_hg" : "_hf";
7539
- _html(`<div${_attr_class("_g7")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_g8")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_g9")}><span${_attr_class(["_g_", 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(["_he", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hj")}>`);
7515
+ const fillClass = win.used_percent >= 90 ? "_hk" : win.used_percent >= 70 ? "_hj" : win.used_percent >= 40 ? "_hi" : "_hh";
7516
+ const pctClass = win.used_percent >= 90 ? "_hp" : win.used_percent >= 70 ? "_ho" : win.used_percent >= 40 ? "_hn" : "_hm";
7517
+ _html(`<div${_attr_class("_hd")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_he")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hf")}><span${_attr_class(["_hg", 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(["_hl", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hq")}>`);
7540
7518
  _if(() => {
7541
7519
  if (label) {
7542
7520
  const $scope6_id = _scope_id();
@@ -7571,10 +7549,10 @@ var usage_meters_default = _template("L", (input) => {
7571
7549
  //#endregion
7572
7550
  //#region src/tags/icons/icon-github.marko
7573
7551
  var icon_github_default = _template("ib", (input) => {
7574
- const $scope0_reason = _scope_reason();
7552
+ const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7575
7553
  const $scope0_id = _scope_id();
7576
7554
  const size = input.size ?? iconSize.md;
7577
- _html(`<svg${_attr_class(["_m", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=currentColor aria-hidden=true><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg>${_el_resume($scope0_id, "a", _serialize_guard($scope0_reason, 0))}`);
7555
+ _html(`<svg${_attr_class(["_m", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=currentColor aria-hidden=true><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg>${_el_resume($scope0_id, "a", $sg__input_size__OR__input_class)}`);
7578
7556
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, {});
7579
7557
  });
7580
7558
  //#endregion
@@ -7614,7 +7592,7 @@ var icon_search_default = _template("qb", (input) => {
7614
7592
  //#endregion
7615
7593
  //#region src/tags/add-field.marko
7616
7594
  var add_field_default = _template("b", (input$3) => {
7617
- const $scope0_reason = _scope_reason(), $si__input_searching__OR__input_icon = _serialize_if($scope0_reason, 0), $sg__input_searching__OR__input_icon = _serialize_guard($scope0_reason, 0), $sg__input_content = _serialize_guard($scope0_reason, 8), $si__input_icon = _serialize_if($scope0_reason, 6);
7595
+ const $scope0_reason = _scope_reason(), $sg__input_icon = _serialize_guard($scope0_reason, 6), $si__input_searching__OR__input_icon = _serialize_if($scope0_reason, 0), $sg__input_searching__OR__input_icon = _serialize_guard($scope0_reason, 0), $sg__input_submitLabel__OR__input_busy = _serialize_guard($scope0_reason, 1), $sg__input_content = _serialize_guard($scope0_reason, 8), $si__input_icon = _serialize_if($scope0_reason, 6);
7618
7596
  const $scope0_id = _scope_id();
7619
7597
  let open = input$3.open;
7620
7598
  let value = input$3.value;
@@ -7647,7 +7625,7 @@ var add_field_default = _template("b", (input$3) => {
7647
7625
  return 0;
7648
7626
  } else if (input$3.icon) {
7649
7627
  const $scope2_id = _scope_id();
7650
- _dynamic_tag($scope2_id, "a", input$3.icon, {}, 0, 0, _serialize_guard($scope0_reason, 6));
7628
+ _dynamic_tag($scope2_id, "a", input$3.icon, {}, 0, 0, $sg__input_icon);
7651
7629
  $si__input_searching__OR__input_icon && writeScope($scope2_id, { _: $si__input_icon && _scope_with_id($scope0_id) });
7652
7630
  return 1;
7653
7631
  } else {
@@ -7674,7 +7652,7 @@ var add_field_default = _template("b", (input$3) => {
7674
7652
  btnSm,
7675
7653
  "_r",
7676
7654
  "_cx"
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")}`);
7655
+ ])} type=submit${_attr("hidden", !open)}${_attr("disabled", !value.trim() || input$3.busy)}>${_text_resume($scope3_id, "b", input$3.busy ? "Adding…" : input$3.submitLabel, $sg__input_submitLabel__OR__input_busy)}</button>${_el_resume($scope3_id, "a")}`);
7678
7656
  writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7679
7657
  return 0;
7680
7658
  }
@@ -7713,7 +7691,6 @@ var add_field_default = _template("b", (input$3) => {
7713
7691
  a3: input$3.openChange || void 0,
7714
7692
  a6: input$3.valueChange || void 0
7715
7693
  });
7716
- _resume_branch($scope0_id);
7717
7694
  });
7718
7695
  //#endregion
7719
7696
  //#region src/tags/icons/icon-check.marko
@@ -7735,7 +7712,7 @@ var icon_check_default = _template("Z", (input) => {
7735
7712
  //#endregion
7736
7713
  //#region src/tags/arm-button.marko
7737
7714
  var arm_button_default = _template("e", (input) => {
7738
- const $scope0_reason = _scope_reason();
7715
+ const $scope0_reason = _scope_reason(), $sg__input_armedLabel = _serialize_guard($scope0_reason, 2), $sg__input_content = _serialize_guard($scope0_reason, 3);
7739
7716
  const $scope0_id = _scope_id();
7740
7717
  let armed$1 = input.armed;
7741
7718
  const timer = { id: 0 };
@@ -7743,12 +7720,12 @@ var arm_button_default = _template("e", (input) => {
7743
7720
  _if(() => {
7744
7721
  if (armed$1 && input.armedLabel) {
7745
7722
  const $scope1_id = _scope_id();
7746
- _html(_text_resume($scope1_id, "a", input.armedLabel, _serialize_guard($scope0_reason, 2)));
7723
+ _html(_text_resume($scope1_id, "a", input.armedLabel, $sg__input_armedLabel));
7747
7724
  writeScope($scope1_id, {});
7748
7725
  return 0;
7749
7726
  } else {
7750
7727
  const $scope2_id = _scope_id();
7751
- _dynamic_tag($scope2_id, "a", input.content, {}, 0, 0, _serialize_guard($scope0_reason, 3));
7728
+ _dynamic_tag($scope2_id, "a", input.content, {}, 0, 0, $sg__input_content);
7752
7729
  writeScope($scope2_id, {});
7753
7730
  return 1;
7754
7731
  }
@@ -7768,7 +7745,6 @@ var arm_button_default = _template("e", (input) => {
7768
7745
  w: timer.id,
7769
7746
  r: input.armedChange || void 0
7770
7747
  });
7771
- _resume_branch($scope0_id);
7772
7748
  });
7773
7749
  //#endregion
7774
7750
  //#region src/tags/sso-auth.marko
@@ -7812,14 +7788,14 @@ var sso_auth_default = _template("G", (input) => {
7812
7788
  localCode = null;
7813
7789
  }
7814
7790
  }, "G0", $scope0_id);
7815
- _html(`<div${_attr_class(["_hm", input.class])}>`);
7791
+ _html(`<div${_attr_class(["_ht", input.class])}>`);
7816
7792
  _for_of(input.items, (s) => {
7817
7793
  const $scope1_id = _scope_id();
7818
- _html(`<div${_attr_class("_hn")}><span${_attr_class("_hp")}><span${_attr_class("_hq")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hr", "_hs"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7794
+ _html(`<div${_attr_class("_hu")}><span${_attr_class("_hw")}><span${_attr_class("_hx")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hy", "_hz"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7819
7795
  _if(() => {
7820
7796
  if (!busy) {
7821
7797
  const $scope2_id = _scope_id();
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, "_ht"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7798
+ _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")}`);
7823
7799
  _script($scope2_id, "G1");
7824
7800
  writeScope($scope2_id, {});
7825
7801
  return 0;
@@ -7834,13 +7810,13 @@ var sso_auth_default = _template("G", (input) => {
7834
7810
  _if(() => {
7835
7811
  if (localBusy && localCode) {
7836
7812
  const $scope4_id = _scope_id();
7837
- _html(`<div${_attr_class(["_hn", "_hu"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hv")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hw")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7813
+ _html(`<div${_attr_class(["_hu", "_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>`);
7838
7814
  _script($scope4_id, "G2");
7839
7815
  writeScope($scope4_id, {});
7840
7816
  return 0;
7841
7817
  } else if (localBusy) {
7842
7818
  const $scope6_id = _scope_id();
7843
- _html(`<div${_attr_class(["_hn", "_hu"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7819
+ _html(`<div${_attr_class(["_hu", "_hB"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7844
7820
  writeScope($scope6_id, {});
7845
7821
  return 1;
7846
7822
  }
@@ -7848,14 +7824,14 @@ var sso_auth_default = _template("G", (input) => {
7848
7824
  _if(() => {
7849
7825
  if (localError) {
7850
7826
  const $scope5_id = _scope_id();
7851
- _html(`<p${_attr_class(["_hn", "_hx"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7827
+ _html(`<p${_attr_class(["_hu", "_hE"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7852
7828
  writeScope($scope5_id, {});
7853
7829
  return 0;
7854
7830
  }
7855
7831
  }, $scope0_id, "d", 1, 1, 1, 0, 1);
7856
7832
  _for_of(skipped, (s) => {
7857
7833
  const $scope3_id = _scope_id();
7858
- _html(`<div${_attr_class(["_hn", "_ho"])}><span${_attr_class("_hp")}><span${_attr_class("_hq")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hr")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_ht"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7834
+ _html(`<div${_attr_class(["_hu", "_hv"])}><span${_attr_class("_hw")}><span${_attr_class("_hx")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hy")}>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>`);
7859
7835
  _script($scope3_id, "G3");
7860
7836
  writeScope($scope3_id, {
7861
7837
  i: s?.org,
@@ -7875,7 +7851,6 @@ var sso_auth_default = _template("G", (input) => {
7875
7851
  x: busy,
7876
7852
  z: authorize
7877
7853
  });
7878
- _resume_branch($scope0_id);
7879
7854
  });
7880
7855
  //#endregion
7881
7856
  //#region src/tags/icons/icon-chevron-right.marko
@@ -7897,7 +7872,7 @@ var icon_chevron_right_default = _template("$", (input) => {
7897
7872
  //#endregion
7898
7873
  //#region src/tags/skill-chip.marko
7899
7874
  var skill_chip_default = _template("F", (input) => {
7900
- const $scope0_reason = _scope_reason(), $sg__input_name = _serialize_guard($scope0_reason, 14), $sg__input_hint = _serialize_guard($scope0_reason, 15), $sg__input_description = _serialize_guard($scope0_reason, 16), $sg__input_hint__OR__input_description__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal__OR__input_tags__OR__input_actions__OR__input_trailing = _serialize_guard($scope0_reason, 10), $sg__input_source = _serialize_guard($scope0_reason, 18), $si__input_source = _serialize_if($scope0_reason, 18), $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal = _serialize_if($scope0_reason, 9), $sg__input_sourceUrl__OR__input_source__OR__input_noteLocal = _serialize_guard($scope0_reason, 8), $sg__input_tags = _serialize_guard($scope0_reason, 19), $sg__input_actions = _serialize_guard($scope0_reason, 20), $sg__input_trailing = _serialize_guard($scope0_reason, 21), $sg__input_busy = _serialize_guard($scope0_reason, 13), $si__input_busy = _serialize_if($scope0_reason, 13), $si__input_busy__OR__input_hint = _serialize_if($scope0_reason, 1), $si__input_busy__OR__input_description = _serialize_if($scope0_reason, 2), $si__input_busy__OR__input_tags = _serialize_if($scope0_reason, 3), $si__input_busy__OR__input_actions = _serialize_if($scope0_reason, 4), $si__input_busy__OR__input_trailing = _serialize_if($scope0_reason, 5), $si__input_hint = _serialize_if($scope0_reason, 15), $si__input_description = _serialize_if($scope0_reason, 16), $si__input_sourceUrl = _serialize_if($scope0_reason, 17), $si__input_tags = _serialize_if($scope0_reason, 19), $si__input_actions = _serialize_if($scope0_reason, 20), $si__input_trailing = _serialize_if($scope0_reason, 21);
7875
+ const $scope0_reason = _scope_reason(), $sg__input_busy = _serialize_guard($scope0_reason, 13), $sg__input_name = _serialize_guard($scope0_reason, 14), $sg__input_hint = _serialize_guard($scope0_reason, 15), $sg__input_description = _serialize_guard($scope0_reason, 16), $sg__input_hint__OR__input_description__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal__OR__input_tags__OR__input_actions__OR__input_trailing = _serialize_guard($scope0_reason, 10), $sg__input_sourceUrl__OR__input_source = _serialize_guard($scope0_reason, 6), $sg__input_source = _serialize_guard($scope0_reason, 18), $si__input_source = _serialize_if($scope0_reason, 18), $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal = _serialize_if($scope0_reason, 9), $sg__input_sourceUrl__OR__input_source__OR__input_noteLocal = _serialize_guard($scope0_reason, 8), $sg__input_tags = _serialize_guard($scope0_reason, 19), $sg__input_actions = _serialize_guard($scope0_reason, 20), $sg__input_trailing = _serialize_guard($scope0_reason, 21), $si__input_busy = _serialize_if($scope0_reason, 13), $si__input_busy__OR__input_hint = _serialize_if($scope0_reason, 1), $si__input_busy__OR__input_description = _serialize_if($scope0_reason, 2), $si__input_busy__OR__input_tags = _serialize_if($scope0_reason, 3), $si__input_busy__OR__input_actions = _serialize_if($scope0_reason, 4), $si__input_busy__OR__input_trailing = _serialize_if($scope0_reason, 5), $si__input_hint = _serialize_if($scope0_reason, 15), $si__input_description = _serialize_if($scope0_reason, 16), $si__input_sourceUrl = _serialize_if($scope0_reason, 17), $si__input_tags = _serialize_if($scope0_reason, 19), $si__input_actions = _serialize_if($scope0_reason, 20), $si__input_trailing = _serialize_if($scope0_reason, 21);
7901
7876
  const $scope0_id = _scope_id();
7902
7877
  const $input_hint__closures = /* @__PURE__ */ new Set();
7903
7878
  const $input_description__closures = /* @__PURE__ */ new Set();
@@ -7906,7 +7881,7 @@ var skill_chip_default = _template("F", (input) => {
7906
7881
  const $input_tags__closures = /* @__PURE__ */ new Set();
7907
7882
  const $input_actions__closures = /* @__PURE__ */ new Set();
7908
7883
  const $input_trailing__closures = /* @__PURE__ */ new Set();
7909
- _html(`<li${_attr_class("_eh")}>`);
7884
+ _html(`<li${_attr_class("_d9")}>`);
7910
7885
  _if(() => {
7911
7886
  if (input.busy != null) {
7912
7887
  const $scope1_id = _scope_id();
@@ -7916,20 +7891,20 @@ var skill_chip_default = _template("F", (input) => {
7916
7891
  } else {
7917
7892
  const $scope2_id = _scope_id();
7918
7893
  const popId = _id();
7919
- _html(`<button${_attr_class("_ei")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7894
+ _html(`<button${_attr_class("_d_")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7920
7895
  _if(() => {
7921
7896
  if (input.hint) {
7922
7897
  const $scope3_id = _scope_id();
7923
- _html(`<span${_attr_class("_ek")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7898
+ _html(`<span${_attr_class("_eb")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7924
7899
  $si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
7925
7900
  return 0;
7926
7901
  }
7927
7902
  }, $scope2_id, "c", $sg__input_hint, $sg__input_hint, $sg__input_hint__OR__input_description__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal__OR__input_tags__OR__input_actions__OR__input_trailing, 0, 1);
7928
- _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_ck", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7903
+ _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_bI", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7929
7904
  _if(() => {
7930
7905
  if (input.description) {
7931
7906
  const $scope4_id = _scope_id();
7932
- _html(`<span${_attr_class("_cm")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7907
+ _html(`<span${_attr_class("_bK")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7933
7908
  $si__input_busy__OR__input_description && _subscribe($si__input_description && $input_description__closures, writeScope($scope4_id, { _: _scope_with_id($scope2_id) }));
7934
7909
  return 0;
7935
7910
  }
@@ -7937,12 +7912,12 @@ var skill_chip_default = _template("F", (input) => {
7937
7912
  _if(() => {
7938
7913
  if (input.sourceUrl) {
7939
7914
  const $scope5_id = _scope_id();
7940
- _html(`<a${_attr_class(["_cm", "_K"])}${_attr("href", input.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${input.source} on GitHub`)}>${_text_resume($scope5_id, "b", input.source, $sg__input_source)}</a>${_el_resume($scope5_id, "a", _serialize_guard($scope0_reason, 6))}`);
7915
+ _html(`<a${_attr_class(["_bK", "_K"])}${_attr("href", input.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${input.source} on GitHub`)}>${_text_resume($scope5_id, "b", input.source, $sg__input_source)}</a>${_el_resume($scope5_id, "a", $sg__input_sourceUrl__OR__input_source)}`);
7941
7916
  $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, _subscribe($si__input_sourceUrl && $input_sourceUrl__closures, writeScope($scope5_id, { _: _scope_with_id($scope2_id) })));
7942
7917
  return 0;
7943
7918
  } else if (input.source) {
7944
7919
  const $scope6_id = _scope_id();
7945
- _html(`<span${_attr_class("_cm")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7920
+ _html(`<span${_attr_class("_bK")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7946
7921
  $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, writeScope($scope6_id, {
7947
7922
  _: _scope_with_id($scope2_id),
7948
7923
  Cs: $si__input_source && 1
@@ -7950,7 +7925,7 @@ var skill_chip_default = _template("F", (input) => {
7950
7925
  return 1;
7951
7926
  } else if (input.noteLocal) {
7952
7927
  const $scope10_id = _scope_id();
7953
- _html(`<span${_attr_class(["_cm", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7928
+ _html(`<span${_attr_class(["_bK", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7954
7929
  _serialize_if($scope0_reason, 8) && writeScope($scope10_id, {});
7955
7930
  return 2;
7956
7931
  }
@@ -7958,7 +7933,7 @@ var skill_chip_default = _template("F", (input) => {
7958
7933
  _if(() => {
7959
7934
  if (input.tags) {
7960
7935
  const $scope7_id = _scope_id();
7961
- _html(`<span${_attr_class("_cl")}>`);
7936
+ _html(`<span${_attr_class("_bJ")}>`);
7962
7937
  _dynamic_tag($scope7_id, "b", input.tags, {}, 0, 0, $sg__input_tags);
7963
7938
  _html("</span>");
7964
7939
  $si__input_busy__OR__input_tags && _subscribe($si__input_tags && $input_tags__closures, writeScope($scope7_id, { _: _scope_with_id($scope2_id) }));
@@ -7968,7 +7943,7 @@ var skill_chip_default = _template("F", (input) => {
7968
7943
  _if(() => {
7969
7944
  if (input.actions) {
7970
7945
  const $scope8_id = _scope_id();
7971
- _html(`<div${_attr_class("_em")}>`);
7946
+ _html(`<div${_attr_class("_ed")}>`);
7972
7947
  _dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7973
7948
  _html("</div>");
7974
7949
  $si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
@@ -8079,7 +8054,7 @@ var icon_moon_default = _template("nb", (input) => {
8079
8054
  });
8080
8055
  //#endregion
8081
8056
  //#region src/tags/prompt-dialog.css.ts
8082
- var promptDlg = "_hD _hz";
8057
+ var promptDlg = "_g6 _g2";
8083
8058
  //#endregion
8084
8059
  //#region src/tags/dialog-close.marko
8085
8060
  var dialog_close_default = _template("h", (input) => {
@@ -8098,12 +8073,12 @@ var dialog_close_default = _template("h", (input) => {
8098
8073
  //#endregion
8099
8074
  //#region src/tags/modal-view.marko
8100
8075
  var modal_view_default = _template("q", (input) => {
8101
- const $scope0_reason = _scope_reason(), $si__input_openChange__OR__input_footer = _serialize_if($scope0_reason, 1), $sg__input_openChange__OR__input_footer = _serialize_guard($scope0_reason, 1), $si__input_openChange = _serialize_if($scope0_reason, 5);
8076
+ const $scope0_reason = _scope_reason(), $sg__input_footer_content = _serialize_guard($scope0_reason, 7), $si__input_openChange__OR__input_footer = _serialize_if($scope0_reason, 1), $sg__input_openChange__OR__input_footer = _serialize_guard($scope0_reason, 1), $si__input_openChange = _serialize_if($scope0_reason, 5);
8102
8077
  const $scope0_id = _scope_id();
8103
8078
  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;
8104
8079
  const dismissable = input.dismissable !== false;
8105
8080
  let open = input.open;
8106
- _html(`<dialog${_attr_class(["_hy", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8081
+ _html(`<dialog${_attr_class(["_g1", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8107
8082
  ...htmlInput,
8108
8083
  open: null
8109
8084
  }, {
@@ -8113,20 +8088,20 @@ var modal_view_default = _template("q", (input) => {
8113
8088
  closedby: 1,
8114
8089
  "on-cancel": 1,
8115
8090
  "on-close": 1
8116
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_hB")}>`);
8091
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_g4")}>`);
8117
8092
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
8118
8093
  _html("</div>");
8119
8094
  _if(() => {
8120
8095
  if (footer) {
8121
8096
  const $scope1_id = _scope_id();
8122
- _html(`<form method=dialog${_attr_class("_hC")}>`);
8123
- _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
8097
+ _html(`<form method=dialog${_attr_class("_g5")}>`);
8098
+ _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, $sg__input_footer_content);
8124
8099
  _html("</form>");
8125
8100
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
8126
8101
  return 0;
8127
8102
  } else if (input.openChange) {
8128
8103
  const $scope2_id = _scope_id();
8129
- _html(`<form method=dialog${_attr_class("_hC")}>`);
8104
+ _html(`<form method=dialog${_attr_class("_g5")}>`);
8130
8105
  dialog_close_default({
8131
8106
  class: ["_q", "_r"],
8132
8107
  content: _content("q0", () => {
@@ -8157,7 +8132,6 @@ var modal_view_default = _template("q", (input) => {
8157
8132
  v: open,
8158
8133
  w: input.openChange || void 0
8159
8134
  });
8160
- _resume_branch($scope0_id);
8161
8135
  });
8162
8136
  //#endregion
8163
8137
  //#region src/tags/prompt-dialog.marko
@@ -8205,12 +8179,11 @@ var prompt_dialog_default = _template("u", (input) => {
8205
8179
  _html(`<button type=button${_attr_class(["_q", "_r"])}${_attr("disabled", !value.trim())}>${_text_resume($scope1_id, "d", input.submitLabel || "OK", _serialize_guard($scope0_reason, 3))}</button>${_el_resume($scope1_id, "c")}`);
8206
8180
  _script($scope1_id, "u4");
8207
8181
  _subscribe($value__closures, _subscribe($si__input_submitLabel && $input_submitLabel__closures, writeScope($scope1_id, { _: _scope_with_id($scope0_id) })));
8208
- _resume_branch($scope1_id);
8209
8182
  }, $scope0_id) }),
8210
8183
  content: _content("u7", () => {
8211
8184
  _scope_reason();
8212
8185
  const $scope2_id = _scope_id();
8213
- _html(`<h2${_attr_class("_hA")}${_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) => {
8186
+ _html(`<h2${_attr_class("_g3")}${_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) => {
8214
8187
  value = _new_value;
8215
8188
  }, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
8216
8189
  _script($scope2_id, "u5");
@@ -8218,7 +8191,6 @@ var prompt_dialog_default = _template("u", (input) => {
8218
8191
  _: _scope_with_id($scope0_id),
8219
8192
  Cu: 1
8220
8193
  })))));
8221
- _resume_branch($scope2_id);
8222
8194
  }, $scope0_id)
8223
8195
  });
8224
8196
  _script($scope0_id, "u8");
@@ -8236,7 +8208,6 @@ var prompt_dialog_default = _template("u", (input) => {
8236
8208
  t: $si__input_placeholder && $input_placeholder__closures,
8237
8209
  a: _existing_scope($childScope)
8238
8210
  });
8239
- _resume_branch($scope0_id);
8240
8211
  });
8241
8212
  //#endregion
8242
8213
  //#region src/tags/settings-page.marko
@@ -8754,7 +8725,7 @@ var settings_page_default = _template("B", (input) => {
8754
8725
  const githubId = _id();
8755
8726
  const backupId = _id();
8756
8727
  const machineId = _id();
8757
- _html(`<div${_attr_class("_d8")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d9")}><div${_attr_class("_d_")}>`);
8728
+ _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
8758
8729
  _set_serialize_reason({
8759
8730
  0: _serialize_guard($scope0_reason, 4),
8760
8731
  1: $sg__input_backHref__OR__input_onExit,
@@ -8783,10 +8754,9 @@ var settings_page_default = _template("B", (input) => {
8783
8754
  _: _scope_with_id($scope0_id),
8784
8755
  b: _existing_scope($childScope)
8785
8756
  }));
8786
- _resume_branch($scope12_id);
8787
8757
  }, $scope0_id) })
8788
8758
  });
8789
- _html(`<div${_attr_class("_ea")}>`);
8759
+ _html(`<div${_attr_class("_eh")}>`);
8790
8760
  _if(() => {
8791
8761
  if (setup && !setup.ready) {
8792
8762
  const $scope4_id = _scope_id();
@@ -8799,7 +8769,6 @@ var settings_page_default = _template("B", (input) => {
8799
8769
  const $scope5_id = _scope_id();
8800
8770
  _html(`Missing ${_text_resume($scope5_id, "a", setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "), 2)}.`);
8801
8771
  _subscribe($setup_missing__closures, writeScope($scope5_id, { _: _scope_with_id($scope4_id) }));
8802
- _resume_branch($scope5_id);
8803
8772
  }, $scope4_id)
8804
8773
  });
8805
8774
  writeScope($scope4_id, {});
@@ -8819,7 +8788,6 @@ var settings_page_default = _template("B", (input) => {
8819
8788
  const $scope11_id = _scope_id();
8820
8789
  _html(_text_resume($scope11_id, "a", error));
8821
8790
  _subscribe($error__closures, writeScope($scope11_id, { _: _scope_with_id($scope10_id) }));
8822
- _resume_branch($scope11_id);
8823
8791
  }, $scope10_id)
8824
8792
  });
8825
8793
  writeScope($scope10_id, {});
@@ -8868,7 +8836,7 @@ var settings_page_default = _template("B", (input) => {
8868
8836
  _: _scope_with_id($scope0_id)
8869
8837
  });
8870
8838
  }, $scope0_id) };
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("_c4")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8839
+ _html(`<section${_attr_class("_bB")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bC")}><h2${_attr("id", agentsId)}${_attr_class("_bP")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_c4")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8872
8840
  _attr_select_value($scope0_id, "p", input.preferred, _resume(function(v) {
8873
8841
  setPreferred(v);
8874
8842
  }, "B0", $scope0_id), () => {
@@ -8894,7 +8862,7 @@ var settings_page_default = _template("B", (input) => {
8894
8862
  agent: a.id,
8895
8863
  size: 18
8896
8864
  });
8897
- _html(`<div${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8865
+ _html(`<div${_attr_class("_bH")}><span${_attr_class("_bJ")}><span${_attr_class("_bI")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8898
8866
  _if(() => {
8899
8867
  if (lone && input.preferred === lone.id) {
8900
8868
  const $scope85_id = _scope_id();
@@ -8912,7 +8880,7 @@ var settings_page_default = _template("B", (input) => {
8912
8880
  return 0;
8913
8881
  } else if (!a.installed) {
8914
8882
  const $scope86_id = _scope_id();
8915
- _html(`<span${_attr_class("_cm")}>Not installed</span>`);
8883
+ _html(`<span${_attr_class("_bK")}>Not installed</span>`);
8916
8884
  writeScope($scope86_id, {});
8917
8885
  return 1;
8918
8886
  }
@@ -9030,17 +8998,17 @@ var settings_page_default = _template("B", (input) => {
9030
8998
  _if(() => {
9031
8999
  if (!usage && families.length) {
9032
9000
  const $scope90_id = _scope_id();
9033
- _html(`<p${_attr_class("_co")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
9001
+ _html(`<p${_attr_class("_bM")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
9034
9002
  writeScope($scope90_id, {});
9035
9003
  return 0;
9036
9004
  } else if (usage?.error) {
9037
9005
  const $scope9_id = _scope_id();
9038
- _html(`<p${_attr_class("_co")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
9006
+ _html(`<p${_attr_class("_bM")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
9039
9007
  writeScope($scope9_id, {});
9040
9008
  return 1;
9041
9009
  }
9042
9010
  }, $scope0_id, "t", 1, 1, 1, 0, 1);
9043
- _html(`</section></div><div${_attr_class("_ea")}><section${_attr_class("_cd")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_ce")}><h2${_attr("id", githubId)}${_attr_class("_cr")}>GitHub</h2>`);
9011
+ _html(`</section></div><div${_attr_class("_eh")}><section${_attr_class("_bB")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bC")}><h2${_attr("id", githubId)}${_attr_class("_bP")}>GitHub</h2>`);
9044
9012
  _if(() => {
9045
9013
  if (setup) {
9046
9014
  const $scope41_id = _scope_id();
@@ -9077,7 +9045,7 @@ var settings_page_default = _template("B", (input) => {
9077
9045
  return 0;
9078
9046
  }
9079
9047
  }, $scope0_id, "y");
9080
- _html(`</div><div${_attr_class(["_ci", "_cD"])}>`);
9048
+ _html(`</div><div${_attr_class(["_bG", "_cD"])}>`);
9081
9049
  _for_of(setup?.github || [], (h) => {
9082
9050
  const $scope7_id = _scope_id();
9083
9051
  const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
@@ -9089,7 +9057,7 @@ var settings_page_default = _template("B", (input) => {
9089
9057
  size: 18,
9090
9058
  class: "_dk"
9091
9059
  });
9092
- _html(`<div${_attr_class("_cj")}><span${_attr_class("_cl")}><span${_attr_class("_ck")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
9060
+ _html(`<div${_attr_class("_bH")}><span${_attr_class("_bJ")}><span${_attr_class("_bI")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
9093
9061
  _if(() => {
9094
9062
  if (h.isEnterprise) {
9095
9063
  const $scope94_id = _scope_id();
@@ -9102,12 +9070,12 @@ var settings_page_default = _template("B", (input) => {
9102
9070
  _if(() => {
9103
9071
  if (busy) {
9104
9072
  const $scope14_id = _scope_id();
9105
- _html(`<span${_attr_class(["_cm", "_dl"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9073
+ _html(`<span${_attr_class(["_bK", "_dl"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9106
9074
  _subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Ch1: 1 })));
9107
9075
  return 0;
9108
9076
  } else if (h.authed) {
9109
9077
  const $scope92_id = _scope_id();
9110
- _html(`<span${_attr_class(["_cm", "_dl"])}>`);
9078
+ _html(`<span${_attr_class(["_bK", "_dl"])}>`);
9111
9079
  icon_check_default({
9112
9080
  size: 12,
9113
9081
  class: "_dm"
@@ -9118,7 +9086,7 @@ var settings_page_default = _template("B", (input) => {
9118
9086
  } else if (h.error) {
9119
9087
  const $scope93_id = _scope_id();
9120
9088
  _html(`<span${_attr_class([
9121
- "_cm",
9089
+ "_bK",
9122
9090
  "_dl",
9123
9091
  "_dn"
9124
9092
  ])}>`);
@@ -9128,7 +9096,7 @@ var settings_page_default = _template("B", (input) => {
9128
9096
  return 2;
9129
9097
  } else {
9130
9098
  const $scope95_id = _scope_id();
9131
- _html(`<span${_attr_class(["_cm", "_dl"])}>Not signed in</span>`);
9099
+ _html(`<span${_attr_class(["_bK", "_dl"])}>Not signed in</span>`);
9132
9100
  writeScope($scope95_id, {});
9133
9101
  return 3;
9134
9102
  }
@@ -9171,7 +9139,7 @@ var settings_page_default = _template("B", (input) => {
9171
9139
  const $childScope12 = _peek_scope_id();
9172
9140
  arm_button_default({
9173
9141
  class: [
9174
- "_cn",
9142
+ "_bL",
9175
9143
  "_7",
9176
9144
  "_8"
9177
9145
  ],
@@ -9248,12 +9216,12 @@ var settings_page_default = _template("B", (input) => {
9248
9216
  _if(() => {
9249
9217
  if (setup && !setup.github.length) {
9250
9218
  const $scope98_id = _scope_id();
9251
- _html(`<p${_attr_class("_co")}>Install the GitHub CLI below to sign in.</p>`);
9219
+ _html(`<p${_attr_class("_bM")}>Install the GitHub CLI below to sign in.</p>`);
9252
9220
  writeScope($scope98_id, {});
9253
9221
  return 0;
9254
9222
  }
9255
9223
  }, $scope0_id, "a0", 1, 1, 1, 0, 1);
9256
- _html(`</section><section${_attr_class("_cd")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_ce")}><h2${_attr("id", machineId)}${_attr_class("_cr")}>Machine</h2></div><div${_attr_class(["_ci", "_cD"])}><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: skillsOpen }])}><button${_attr_class("_cI")} aria-expanded=true>`);
9224
+ _html(`</section><section${_attr_class("_bB")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bC")}><h2${_attr("id", machineId)}${_attr_class("_bP")}>Machine</h2></div><div${_attr_class(["_bG", "_cD"])}><div${_attr_class(["_cE", "_cF"])}><div${_attr_class(["_cG", { ["_cH"]: skillsOpen }])}><button${_attr_class("_cI")} aria-expanded=true>`);
9257
9225
  _set_serialize_reason(1);
9258
9226
  const $childScope14 = _peek_scope_id();
9259
9227
  icon_chevron_right_default({
@@ -9300,7 +9268,7 @@ var settings_page_default = _template("B", (input) => {
9300
9268
  _if(() => {
9301
9269
  if (looksLikeSource(skillQuery)) {
9302
9270
  const $scope17_id = _scope_id();
9303
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9271
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_bH")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9304
9272
  _if(() => {
9305
9273
  if (active.has(skillQuery.trim())) {
9306
9274
  const $scope18_id = _scope_id();
@@ -9312,7 +9280,7 @@ var settings_page_default = _template("B", (input) => {
9312
9280
  return 0;
9313
9281
  } else {
9314
9282
  const $scope100_id = _scope_id();
9315
- _html(`<span${_attr_class("_cm")}>Add straight from this source</span>`);
9283
+ _html(`<span${_attr_class("_bK")}>Add straight from this source</span>`);
9316
9284
  writeScope($scope100_id, {});
9317
9285
  return 1;
9318
9286
  }
@@ -9338,7 +9306,7 @@ var settings_page_default = _template("B", (input) => {
9338
9306
  _for_of(skillHits || [], (h) => {
9339
9307
  const $scope19_id = _scope_id();
9340
9308
  const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
9341
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9309
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_bH")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9342
9310
  _if(() => {
9343
9311
  if (active.has(h.skillId)) {
9344
9312
  const $scope20_id = _scope_id();
@@ -9347,7 +9315,7 @@ var settings_page_default = _template("B", (input) => {
9347
9315
  return 0;
9348
9316
  } else {
9349
9317
  const $scope101_id = _scope_id();
9350
- _html(`<span${_attr_class("_cm")}${_attr("title", h.source)}>${_text_resume($scope101_id, "b", h.source)}</span>${_el_resume($scope101_id, "a")}`);
9318
+ _html(`<span${_attr_class("_bK")}${_attr("title", h.source)}>${_text_resume($scope101_id, "b", h.source)}</span>${_el_resume($scope101_id, "a")}`);
9351
9319
  writeScope($scope101_id, {});
9352
9320
  return 1;
9353
9321
  }
@@ -9401,7 +9369,6 @@ var settings_page_default = _template("B", (input) => {
9401
9369
  }
9402
9370
  }, $scope16_id, "d", 1, 1, 1, 0, 1);
9403
9371
  _subscribe($skillSearching__closures, _subscribe($skillHits_length__closures, _subscribe($skillHits__closures, _subscribe($skillQuery__closures, writeScope($scope16_id, { _: _scope_with_id($scope15_id) })))));
9404
- _resume_branch($scope16_id);
9405
9372
  }, $scope15_id)
9406
9373
  });
9407
9374
  writeScope($scope15_id, { a: _existing_scope($childScope15) });
@@ -9416,18 +9383,18 @@ var settings_page_default = _template("B", (input) => {
9416
9383
  _if(() => {
9417
9384
  if (skills && !skills.agents.length) {
9418
9385
  const $scope104_id = _scope_id();
9419
- _html(`<p${_attr_class("_co")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9386
+ _html(`<p${_attr_class("_bM")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9420
9387
  writeScope($scope104_id, {});
9421
9388
  return 0;
9422
9389
  } else if (skills && !skills.available) {
9423
9390
  const $scope22_id = _scope_id();
9424
- _html(`<p${_attr_class("_co")}>The skills CLI is not installed, so skills can be listed but not added or removed. <button${_attr_class(btnSm)}${_attr("disabled", active.has("skills"))}>${_text_resume($scope22_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope22_id, "b")}</p>`);
9391
+ _html(`<p${_attr_class("_bM")}>The skills CLI is not installed, so skills can be listed but not added or removed. <button${_attr_class(btnSm)}${_attr("disabled", active.has("skills"))}>${_text_resume($scope22_id, "c", active.has("skills") ? "Installing…" : "Install it")}</button>${_el_resume($scope22_id, "b")}</p>`);
9425
9392
  _script($scope22_id, "B66");
9426
9393
  _subscribe($active__closures, writeScope($scope22_id, { Ch1: 6 }));
9427
9394
  return 1;
9428
9395
  }
9429
9396
  }, $scope21_id, "b", 1, 1, 1, 0, 1);
9430
- _html(`<ul${_attr_class("_eg")}>`);
9397
+ _html(`<ul${_attr_class("_d8")}>`);
9431
9398
  _for_of(skills?.global || [], (s) => {
9432
9399
  const $scope23_id = _scope_id();
9433
9400
  const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
@@ -9441,7 +9408,6 @@ var settings_page_default = _template("B", (input) => {
9441
9408
  const $scope105_id = _scope_id();
9442
9409
  _html(`<span${_attr_class("_N")}${_attr("title", `Only installed for ${s.agents.map(agentLabel).join(", ")}`)}>${_text_resume($scope105_id, "b", s.agents.map(agentLabel).join(", "))} only</span>${_el_resume($scope105_id, "a")}`);
9443
9410
  _subscribe($for_content5__s_agents__closures, writeScope($scope105_id, { _: _scope_with_id($scope23_id) }));
9444
- _resume_branch($scope105_id);
9445
9411
  }, $scope23_id) });
9446
9412
  if (skills?.available && s.source) $actions = attrTag({ content: _content_resume("B70", () => {
9447
9413
  _scope_reason();
@@ -9478,7 +9444,6 @@ var settings_page_default = _template("B", (input) => {
9478
9444
  _: _scope_with_id($scope23_id),
9479
9445
  a: _existing_scope($childScope16)
9480
9446
  }));
9481
- _resume_branch($scope65_id);
9482
9447
  }, $scope23_id) });
9483
9448
  const $childScope17 = _peek_scope_id();
9484
9449
  skill_chip_default({
@@ -9505,7 +9470,7 @@ var settings_page_default = _template("B", (input) => {
9505
9470
  _if(() => {
9506
9471
  if (skills && !skills.global.length && skills.available && skills.agents.length) {
9507
9472
  const $scope108_id = _scope_id();
9508
- _html(`<p${_attr_class("_co")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9473
+ _html(`<p${_attr_class("_bM")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9509
9474
  writeScope($scope108_id, {});
9510
9475
  return 0;
9511
9476
  }
@@ -9590,7 +9555,7 @@ var settings_page_default = _template("B", (input) => {
9590
9555
  }, $scope28_id, "b", 1, 1, 1, 0, 1);
9591
9556
  _for_of(hits || [], (h) => {
9592
9557
  const $scope29_id = _scope_id();
9593
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cj")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9558
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_bH")}><span${_attr_class(["_dd", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9594
9559
  _if(() => {
9595
9560
  if (active.has(h.name)) {
9596
9561
  const $scope30_id = _scope_id();
@@ -9599,7 +9564,7 @@ var settings_page_default = _template("B", (input) => {
9599
9564
  return 0;
9600
9565
  } else if (h.description) {
9601
9566
  const $scope110_id = _scope_id();
9602
- _html(`<span${_attr_class("_cm")}${_attr("title", h.description)}>${_text_resume($scope110_id, "b", h.description)}</span>${_el_resume($scope110_id, "a")}`);
9567
+ _html(`<span${_attr_class("_bK")}${_attr("title", h.description)}>${_text_resume($scope110_id, "b", h.description)}</span>${_el_resume($scope110_id, "a")}`);
9603
9568
  writeScope($scope110_id, {});
9604
9569
  return 1;
9605
9570
  }
@@ -9635,7 +9600,6 @@ var settings_page_default = _template("B", (input) => {
9635
9600
  }));
9636
9601
  }, "name", $scope28_id, "c", 1, 1, 1, 0, 1);
9637
9602
  _subscribe($searching__closures, _subscribe($hits_length__closures, _subscribe($hits__closures, writeScope($scope28_id, { _: _scope_with_id($scope27_id) }))));
9638
- _resume_branch($scope28_id);
9639
9603
  }, $scope27_id)
9640
9604
  });
9641
9605
  writeScope($scope27_id, { a: _existing_scope($childScope19) });
@@ -9650,7 +9614,7 @@ var settings_page_default = _template("B", (input) => {
9650
9614
  _if(() => {
9651
9615
  if (setup && !setup.mise.installed) {
9652
9616
  const $scope31_id = _scope_id();
9653
- _html(`<p${_attr_class("_co")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${_text_resume($scope31_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope31_id, "b")}</p>`);
9617
+ _html(`<p${_attr_class("_bM")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${_text_resume($scope31_id, "c", active.has("mise") ? "Installing…" : "Install mise")}</button>${_el_resume($scope31_id, "b")}</p>`);
9654
9618
  _script($scope31_id, "B76");
9655
9619
  _subscribe($active__closures, writeScope($scope31_id, { Ch1: 10 }));
9656
9620
  return 0;
@@ -9877,7 +9841,7 @@ var settings_page_default = _template("B", (input) => {
9877
9841
  label: "Dark"
9878
9842
  }
9879
9843
  ];
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", "_du"])}><div${_attr_class("_dG")}><img${_attr_class("_dH")}${_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("_dI")}><span${_attr_class("_dJ")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dK")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dv")}><span${_attr_class("_dw")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9844
+ _html(`</div></div></section><section${_attr_class("_bB")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bC")}><h2${_attr("id", appearanceId)}${_attr_class("_bP")}>Appearance</h2></div><div${_attr_class(["_bG", "_du"])}><div${_attr_class("_dG")}><img${_attr_class("_dH")}${_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("_dI")}><span${_attr_class("_dJ")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dK")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dv")}><span${_attr_class("_dw")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9881
9845
  setInstance({ name: v });
9882
9846
  }, "B1", $scope0_id))}${_attr_class(["_Y", "_dx"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_dv")}><span${_attr_class("_dw")}>Theme</span><span${_attr_class("_dz")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9883
9847
  _for_of(themeOpts, (opt) => {
@@ -9975,7 +9939,7 @@ var settings_page_default = _template("B", (input) => {
9975
9939
  return 1;
9976
9940
  }
9977
9941
  }, $scope0_id, "bf", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
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", "_cD"])}><div${_attr_class("_cE")}><div${_attr_class("_dT")}><div${_attr_class("_cj")}>`);
9942
+ _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bB")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bC")}><h2${_attr("id", backupId)}${_attr_class("_bP")}>Backup</h2></div><div${_attr_class(["_bG", "_cD"])}><div${_attr_class("_cE")}><div${_attr_class("_dT")}><div${_attr_class("_bH")}>`);
9979
9943
  _if(() => {
9980
9944
  if (backupBusy === "preflight") {
9981
9945
  const $scope66_id = _scope_id();
@@ -9984,7 +9948,7 @@ var settings_page_default = _template("B", (input) => {
9984
9948
  return 0;
9985
9949
  } else {
9986
9950
  const $scope130_id = _scope_id();
9987
- _html(`<span${_attr_class("_cm")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9951
+ _html(`<span${_attr_class("_bK")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9988
9952
  writeScope($scope130_id, {});
9989
9953
  return 1;
9990
9954
  }
@@ -10023,7 +9987,7 @@ var settings_page_default = _template("B", (input) => {
10023
9987
  _for_of(preflight.workspaces, (w) => {
10024
9988
  const $scope132_id = _scope_id();
10025
9989
  const $for_content17__w_name__closures = /* @__PURE__ */ new Set();
10026
- _html(`<li${_attr_class("_dY")}><span${_attr_class("_ck")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_dX")}>`);
9990
+ _html(`<li${_attr_class("_dY")}><span${_attr_class("_bI")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_dX")}>`);
10027
9991
  _for_of(w.repos, (r) => {
10028
9992
  const $scope133_id = _scope_id();
10029
9993
  const $for_content18__r_more__closures = /* @__PURE__ */ new Set();
@@ -10100,7 +10064,7 @@ var settings_page_default = _template("B", (input) => {
10100
10064
  return 0;
10101
10065
  }
10102
10066
  }, $scope0_id, "bo", 1, 1, 1, 0, 1);
10103
- _html(`</div><div${_attr_class("_cE")}><div${_attr_class("_dT")}><div${_attr_class("_cj")}>`);
10067
+ _html(`</div><div${_attr_class("_cE")}><div${_attr_class("_dT")}><div${_attr_class("_bH")}>`);
10104
10068
  _if(() => {
10105
10069
  if (backupBusy === "restore") {
10106
10070
  const $scope67_id = _scope_id();
@@ -10109,12 +10073,12 @@ var settings_page_default = _template("B", (input) => {
10109
10073
  return 0;
10110
10074
  } else if (restoreDone) {
10111
10075
  const $scope75_id = _scope_id();
10112
- _html(`<span${_attr_class("_cm")}>${_text_resume($scope75_id, "b", restoreDone)}</span>`);
10076
+ _html(`<span${_attr_class("_bK")}>${_text_resume($scope75_id, "b", restoreDone)}</span>`);
10113
10077
  writeScope($scope75_id, {});
10114
10078
  return 1;
10115
10079
  } else {
10116
10080
  const $scope141_id = _scope_id();
10117
- _html(`<span${_attr_class("_cm")}>Load a backup file. Repos clone in the background.</span>`);
10081
+ _html(`<span${_attr_class("_bK")}>Load a backup file. Repos clone in the background.</span>`);
10118
10082
  writeScope($scope141_id, {});
10119
10083
  return 2;
10120
10084
  }
@@ -10140,7 +10104,7 @@ var settings_page_default = _template("B", (input) => {
10140
10104
  _html(`<ul${_attr_class(checkList)}>`);
10141
10105
  _for_of(preview.workspaces, (w) => {
10142
10106
  const $scope72_id = _scope_id();
10143
- _html(`<li><label${_attr_class(["_d5", { ["_d7"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_d6")} 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>`);
10107
+ _html(`<li><label${_attr_class(["_d5", { ["_d7"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_d6")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_bH")}><span${_attr_class("_bJ")}><span${_attr_class("_bI")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10144
10108
  _if(() => {
10145
10109
  if (w.status === "archived") {
10146
10110
  const $scope145_id = _scope_id();
@@ -10162,7 +10126,7 @@ var settings_page_default = _template("B", (input) => {
10162
10126
  return 1;
10163
10127
  }
10164
10128
  }, $scope72_id, "h", 1, 1, 1, 0, 1);
10165
- _html(`</span><span${_attr_class("_cm")}>${_text_resume($scope72_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
10129
+ _html(`</span><span${_attr_class("_bK")}>${_text_resume($scope72_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
10166
10130
  _script($scope72_id, "B88");
10167
10131
  _subscribe($restoreWs__closures, writeScope($scope72_id, {
10168
10132
  n: w?.unknownHost,
@@ -10173,7 +10137,7 @@ var settings_page_default = _template("B", (input) => {
10173
10137
  return 0;
10174
10138
  } else {
10175
10139
  const $scope143_id = _scope_id();
10176
- _html(`<p${_attr_class("_co")}>No workspaces in this file.</p>`);
10140
+ _html(`<p${_attr_class("_bM")}>No workspaces in this file.</p>`);
10177
10141
  writeScope($scope143_id, {});
10178
10142
  return 1;
10179
10143
  }
@@ -10213,7 +10177,7 @@ var settings_page_default = _template("B", (input) => {
10213
10177
  _if(() => {
10214
10178
  if (p.total) {
10215
10179
  const $scope74_id = _scope_id();
10216
- _html(`<li><label${_attr_class(["_d5", { ["_d7"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_d6")} 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")}>`);
10180
+ _html(`<li><label${_attr_class(["_d5", { ["_d7"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_d6")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_bH")}><span${_attr_class("_bI")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_bK")}>`);
10217
10181
  _if(() => {
10218
10182
  if (p.key === "settings") {
10219
10183
  const $scope142_id = _scope_id();
@@ -10451,7 +10415,6 @@ var settings_page_default = _template("B", (input) => {
10451
10415
  ix: $preview_settings__closures,
10452
10416
  ib: $restoreParts__closures
10453
10417
  });
10454
- _resume_branch($scope0_id);
10455
10418
  });
10456
10419
  //#endregion
10457
10420
  //#region src/client/push.ts
@@ -10497,13 +10460,13 @@ function vapidKey(base64) {
10497
10460
  const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
10498
10461
  return Uint8Array.from(raw, (c) => c.charCodeAt(0));
10499
10462
  }
10500
- var iconBtn = "_bQ _l";
10501
- var settingsDot = "_bR _bb";
10502
- var navToggle = "_bV _l";
10463
+ var iconBtn = "_bR _l";
10464
+ var settingsDot = "_bS _bb";
10465
+ var navToggle = "_bW _l";
10503
10466
  //#endregion
10504
10467
  //#region src/styles/session-pop.css.ts
10505
- var sessionPop = "_bN _9";
10506
- var sessionPopBtn = "_bO _I";
10468
+ var sessionPop = "_b8 _9";
10469
+ var sessionPopBtn = "_b9 _I";
10507
10470
  _template("X", (input) => {
10508
10471
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
10509
10472
  const $scope0_id = _scope_id();
@@ -10557,14 +10520,14 @@ function activeAgent(session) {
10557
10520
  const command = session.state?.command?.trim();
10558
10521
  return command && agentFromCommand(command) || session.agent;
10559
10522
  }
10560
- var heroTag = "_eQ _N _Q";
10561
- var rowState = "_e2 _N";
10562
- var prChip$1 = "_ia _u _h_";
10563
- var portChip = "_ib _u _h_";
10523
+ var heroTag = "_fu _N _Q";
10524
+ var rowState = "_fG _N";
10525
+ var prChip$1 = "_i5 _u _i4";
10526
+ var portChip = "_i6 _u _i4";
10564
10527
  var prState = {
10565
- open: "_if",
10566
- merged: "_ig",
10567
- closed: "_ih"
10528
+ open: "_i_",
10529
+ merged: "_ja",
10530
+ closed: "_jb"
10568
10531
  };
10569
10532
  //#endregion
10570
10533
  //#region src/tags/icons/icon-diff.marko
@@ -10645,7 +10608,7 @@ var side_nav_chips_default = _template("C", (input) => {
10645
10608
  const name = repo.full_name.split("/").at(-1);
10646
10609
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel$1(repo.full_name) : name;
10647
10610
  }, "C3", $scope1_id);
10648
- _html(`<div${_attr_class("_h9")}>`);
10611
+ _html(`<div${_attr_class("_i3")}>`);
10649
10612
  _for_of(repos, (repo) => {
10650
10613
  const $scope2_id = _scope_id();
10651
10614
  const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
@@ -10661,11 +10624,11 @@ var side_nav_chips_default = _template("C", (input) => {
10661
10624
  [prState.merged]: pr$1.state === "MERGED",
10662
10625
  [prState.closed]: pr$1.state === "CLOSED"
10663
10626
  }
10664
- ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_ic", { ["_ik"]: !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")}`);
10627
+ ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_i7", { ["_je"]: !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")}`);
10665
10628
  _if(() => {
10666
10629
  if (open) {
10667
10630
  const $scope4_id = _scope_id();
10668
- _html(`<a${_attr_class(["_ic", "_id"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10631
+ _html(`<a${_attr_class(["_i7", "_i8"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10669
10632
  icon_diff_default({ size: 12 });
10670
10633
  _html(`</a>${_el_resume($scope4_id, "a")}`);
10671
10634
  _subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
@@ -10673,9 +10636,9 @@ var side_nav_chips_default = _template("C", (input) => {
10673
10636
  } else {
10674
10637
  const $scope5_id = _scope_id();
10675
10638
  _html(`<button type=button${_attr_class([
10676
- "_ic",
10677
- "_id",
10678
- "_ie"
10639
+ "_i7",
10640
+ "_i8",
10641
+ "_i9"
10679
10642
  ])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
10680
10643
  icon_xmark_default({ size: 12 });
10681
10644
  _html(`</button>${_el_resume($scope5_id, "a")}`);
@@ -10703,12 +10666,12 @@ var side_nav_chips_default = _template("C", (input) => {
10703
10666
  _if(() => {
10704
10667
  if (dead.has(p.port)) {
10705
10668
  const $scope7_id = _scope_id();
10706
- _html(`<span${_attr_class(["_ic", "_ii"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10669
+ _html(`<span${_attr_class(["_i7", "_jc"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10707
10670
  _subscribe($dead__closures, writeScope($scope7_id, { Cy: 1 }));
10708
10671
  return 0;
10709
10672
  } else {
10710
10673
  const $scope8_id = _scope_id();
10711
- _html(`<button type=button${_attr_class(["_ic", "_ij"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10674
+ _html(`<button type=button${_attr_class(["_i7", "_jd"])}${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10712
10675
  _script($scope8_id, "C6");
10713
10676
  writeScope($scope8_id, {});
10714
10677
  return 1;
@@ -10717,9 +10680,9 @@ var side_nav_chips_default = _template("C", (input) => {
10717
10680
  const $childScope = _peek_scope_id();
10718
10681
  arm_button_default({
10719
10682
  class: [
10720
- "_ic",
10721
- "_id",
10722
- "_ie"
10683
+ "_i7",
10684
+ "_i8",
10685
+ "_i9"
10723
10686
  ],
10724
10687
  title: `Kill ${p.cmd} (pid ${p.pid})`,
10725
10688
  armedTitle: "Kill?",
@@ -10764,7 +10727,6 @@ var side_nav_chips_default = _template("C", (input) => {
10764
10727
  v: $si__input_workspaceId && $input_workspaceId__closures,
10765
10728
  y: $dead__closures
10766
10729
  });
10767
- _resume_branch($scope0_id);
10768
10730
  });
10769
10731
  var railBtn = "_fL _l";
10770
10732
  var wsBtn = "_fP _I";
@@ -10817,7 +10779,6 @@ var rename_input_default = _template("v", (input) => {
10817
10779
  k: done.reported,
10818
10780
  m: finish
10819
10781
  });
10820
- _resume_branch($scope0_id);
10821
10782
  });
10822
10783
  //#endregion
10823
10784
  //#region src/tags/icons/icon-edit.marko
@@ -10840,7 +10801,7 @@ var icon_edit_default = _template("eb", (input) => {
10840
10801
  //#region src/tags/side-nav-item.marko
10841
10802
  var api$7;
10842
10803
  var side_nav_item_default = _template("D", (input) => {
10843
- const $scope0_reason = _scope_reason(), $si__input_workspace = _serialize_if($scope0_reason, 14), $sg__input_workspace = _serialize_guard($scope0_reason, 14), $sg__input_status = _serialize_guard($scope0_reason, 16), $sg__input_sessions = _serialize_guard($scope0_reason, 20), $sg__input_sessions__OR__input_onNewSession__OR__input_onReview = _serialize_guard($scope0_reason, 12), $sg__input_onNewSession = _serialize_guard($scope0_reason, 22), $sg__input_onReview = _serialize_guard($scope0_reason, 23), $si__input_sessions = _serialize_if($scope0_reason, 20), $si__input_current = _serialize_if($scope0_reason, 17), $sg__input_workspace__OR__input_rail = _serialize_guard($scope0_reason, 0), $si__input_workspace__OR__input_rail = _serialize_if($scope0_reason, 0), $sg__input_workspace__OR__input_status__OR__input_rail = _serialize_guard($scope0_reason, 7), $si__input_workspace__OR__input_rail__OR__input_sessions = _serialize_if($scope0_reason, 9), $si__input_index = _serialize_if($scope0_reason, 18), $si__input_page = _serialize_if($scope0_reason, 19), $si__input_onRenameSession = _serialize_if($scope0_reason, 26), $si__input_currentTab = _serialize_if($scope0_reason, 25), $si__input_workspaceId = _serialize_if($scope0_reason, 15), $si__input_menuOpen = _serialize_if($scope0_reason, 21), $si__input_onNewSession = _serialize_if($scope0_reason, 22), $si__input_onReview = _serialize_if($scope0_reason, 23), $si__input_managing = _serialize_if($scope0_reason, 24);
10804
+ const $scope0_reason = _scope_reason(), $sg__input_workspace__OR__input_current = _serialize_guard($scope0_reason, 1), $sg__input_status = _serialize_guard($scope0_reason, 16), $sg__input_index = _serialize_guard($scope0_reason, 18), $si__input_workspace = _serialize_if($scope0_reason, 14), $sg__input_workspace = _serialize_guard($scope0_reason, 14), $sg__input_workspace__OR__input_page = _serialize_guard($scope0_reason, 2), $sg__input_sessions = _serialize_guard($scope0_reason, 20), $sg__input_sessions__OR__input_onNewSession__OR__input_onReview = _serialize_guard($scope0_reason, 12), $sg__input_onNewSession = _serialize_guard($scope0_reason, 22), $sg__input_onReview = _serialize_guard($scope0_reason, 23), $si__input_sessions = _serialize_if($scope0_reason, 20), $si__input_current = _serialize_if($scope0_reason, 17), $sg__input_workspace__OR__input_rail = _serialize_guard($scope0_reason, 0), $si__input_workspace__OR__input_rail = _serialize_if($scope0_reason, 0), $sg__input_workspace__OR__input_status__OR__input_rail = _serialize_guard($scope0_reason, 7), $si__input_workspace__OR__input_rail__OR__input_sessions = _serialize_if($scope0_reason, 9), $si__input_index = _serialize_if($scope0_reason, 18), $si__input_page = _serialize_if($scope0_reason, 19), $si__input_onRenameSession = _serialize_if($scope0_reason, 26), $si__input_currentTab = _serialize_if($scope0_reason, 25), $si__input_workspaceId = _serialize_if($scope0_reason, 15), $si__input_menuOpen = _serialize_if($scope0_reason, 21), $si__input_onNewSession = _serialize_if($scope0_reason, 22), $si__input_onReview = _serialize_if($scope0_reason, 23), $si__input_managing = _serialize_if($scope0_reason, 24);
10844
10805
  const $scope0_id = _scope_id();
10845
10806
  const $input_current__closures = /* @__PURE__ */ new Set();
10846
10807
  const $input_index__closures = /* @__PURE__ */ new Set();
@@ -10886,11 +10847,11 @@ var side_nav_item_default = _template("D", (input) => {
10886
10847
  _if(() => {
10887
10848
  if (input.rail) {
10888
10849
  const $scope2_id = _scope_id();
10889
- _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([
10850
+ _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, $sg__input_index)}<span${_attr_class([
10890
10851
  "_A",
10891
10852
  phase[dot$1],
10892
10853
  "_bb"
10893
- ])}></span>${_el_resume($scope2_id, "c", $sg__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 1))}`);
10854
+ ])}></span>${_el_resume($scope2_id, "c", $sg__input_status)}</a>${_el_resume($scope2_id, "a", $sg__input_workspace__OR__input_current)}`);
10894
10855
  _serialize_if($scope0_reason, 13) && _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_workspace && $ws_pending__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))))));
10895
10856
  return 0;
10896
10857
  } else if (ws$1.pending) {
@@ -10941,7 +10902,7 @@ var side_nav_item_default = _template("D", (input) => {
10941
10902
  return 0;
10942
10903
  }
10943
10904
  }, $scope3_id, "j", 1, 1, 1, 0, 1);
10944
- _html(`</section>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 2))}`);
10905
+ _html(`</section>${_el_resume($scope3_id, "a", $sg__input_workspace__OR__input_page)}`);
10945
10906
  _subscribe($retrying__closures, _subscribe($restoreLine__closures, _subscribe($si__input_workspace && $ws_pending_error__closures, _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_page && $input_page__closures, writeScope($scope3_id, {
10946
10907
  _: _scope_with_id($scope1_id),
10947
10908
  Caj: $si__input_workspace && 1
@@ -11119,7 +11080,7 @@ var side_nav_item_default = _template("D", (input) => {
11119
11080
  return 0;
11120
11081
  }
11121
11082
  }, $scope0_id, "a", $sg__input_workspace__OR__input_status__OR__input_rail, $sg__input_workspace, $sg__input_workspace);
11122
- _script($scope0_id, "D11");
11083
+ _script($scope0_id, "D11", $sg__input_workspace);
11123
11084
  writeScope($scope0_id, {
11124
11085
  e: input.workspaceId,
11125
11086
  f: $si__input_workspace && input.status,
@@ -11163,12 +11124,12 @@ var side_nav_item_default = _template("D", (input) => {
11163
11124
  ac: $si__input_onReview && $input_onReview__closures,
11164
11125
  ad: $si__input_managing && $input_managing__closures
11165
11126
  });
11166
- _resume_branch($scope0_id);
11127
+ $sg__input_workspace || _resume_branch($scope0_id);
11167
11128
  });
11168
11129
  //#endregion
11169
11130
  //#region src/tags/workspace-switcher.marko
11170
11131
  var workspace_switcher_default = _template("O", (input) => {
11171
- const $scope0_reason = _scope_reason(), $sg__input_workspace__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 4), $sg__input_workspace = _serialize_guard($scope0_reason, 10), $si__input_tab = _serialize_if($scope0_reason, 13), $si__input_workspace__OR__input_allStatus__OR__input_sessions = _serialize_if($scope0_reason, 4), $si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab = _serialize_if($scope0_reason, 7), $sg__input_ids__OR__input_byId = _serialize_guard($scope0_reason, 3), $sg__input_allStatus__OR__input_ids__OR__input_byId = _serialize_guard($scope0_reason, 6), $sg__input_allStatus__OR__input_ids = _serialize_guard($scope0_reason, 2), $si__input_allStatus__OR__input_ids = _serialize_if($scope0_reason, 2), $sg__input_ids = _serialize_guard($scope0_reason, 14), $si__input_allStatus = _serialize_if($scope0_reason, 11), $si__input_allStatus__OR__input_ids__OR__input_byId = _serialize_if($scope0_reason, 6), $si__input_ids__OR__input_byId = _serialize_if($scope0_reason, 3), $sg__input_workspace__OR__input_ids_length = _serialize_guard($scope0_reason, 1), $si__input_workspace__OR__input_allStatus = _serialize_if($scope0_reason, 0), $si__input_workspace = _serialize_if($scope0_reason, 10), $si__input_byId = _serialize_if($scope0_reason, 16);
11132
+ const $scope0_reason = _scope_reason(), $sg__input_workspace__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 4), $sg__input_workspace = _serialize_guard($scope0_reason, 10), $sg__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab = _serialize_guard($scope0_reason, 7), $si__input_tab = _serialize_if($scope0_reason, 13), $si__input_workspace__OR__input_allStatus__OR__input_sessions = _serialize_if($scope0_reason, 4), $si__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab = _serialize_if($scope0_reason, 7), $sg__input_ids__OR__input_byId = _serialize_guard($scope0_reason, 3), $sg__input_allStatus__OR__input_ids__OR__input_byId = _serialize_guard($scope0_reason, 6), $sg__input_allStatus__OR__input_ids = _serialize_guard($scope0_reason, 2), $si__input_allStatus__OR__input_ids = _serialize_if($scope0_reason, 2), $sg__input_ids = _serialize_guard($scope0_reason, 14), $si__input_allStatus = _serialize_if($scope0_reason, 11), $si__input_allStatus__OR__input_ids__OR__input_byId = _serialize_if($scope0_reason, 6), $si__input_ids__OR__input_byId = _serialize_if($scope0_reason, 3), $sg__input_workspace__OR__input_ids_length = _serialize_guard($scope0_reason, 1), $sg__input_ids_length = _serialize_guard($scope0_reason, 15), $si__input_workspace__OR__input_allStatus = _serialize_if($scope0_reason, 0), $si__input_workspace = _serialize_if($scope0_reason, 10), $si__input_byId = _serialize_if($scope0_reason, 16);
11172
11133
  const $scope0_id = _scope_id();
11173
11134
  const $sessions___closures = /* @__PURE__ */ new Set();
11174
11135
  const $input_tab__closures = /* @__PURE__ */ new Set();
@@ -11182,11 +11143,11 @@ var workspace_switcher_default = _template("O", (input) => {
11182
11143
  const sessions = input.sessions || st?.sessions || [];
11183
11144
  const manySessions = sessions.length > 1;
11184
11145
  const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
11185
- _html(`<div${_attr_class("_eM")}>`);
11146
+ _html(`<div${_attr_class("_fq")}>`);
11186
11147
  _if(() => {
11187
11148
  if (ws) {
11188
11149
  const $scope1_id = _scope_id();
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))}`);
11150
+ _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))}`);
11190
11151
  _if(() => {
11191
11152
  if (sessions.length === 1) {
11192
11153
  const $scope8_id = _scope_id();
@@ -11198,7 +11159,7 @@ var workspace_switcher_default = _template("O", (input) => {
11198
11159
  icon_agent_default({
11199
11160
  agent: activeAgent(sessions[0]),
11200
11161
  size: 16,
11201
- class: "_eS"
11162
+ class: "_fw"
11202
11163
  });
11203
11164
  $si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope8_id, {
11204
11165
  _: _scope_with_id($scope1_id),
@@ -11207,14 +11168,14 @@ var workspace_switcher_default = _template("O", (input) => {
11207
11168
  return 0;
11208
11169
  }
11209
11170
  }, $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);
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)}`);
11171
+ _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)}`);
11211
11172
  _if(() => {
11212
11173
  if (manySessions) {
11213
11174
  const $scope2_id = _scope_id();
11214
- _html(`<div${_attr_class("_eT")}>`);
11175
+ _html(`<div${_attr_class("_fx")}>`);
11215
11176
  _for_of(sessions, (s) => {
11216
11177
  const $scope3_id = _scope_id();
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)}`);
11178
+ _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)}`);
11218
11179
  _set_serialize_reason({
11219
11180
  1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
11220
11181
  2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
@@ -11224,7 +11185,7 @@ var workspace_switcher_default = _template("O", (input) => {
11224
11185
  agent: activeAgent(s),
11225
11186
  size: 14
11226
11187
  });
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))}`);
11188
+ _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", $sg__input_workspace__OR__input_allStatus__OR__input_sessions__OR__input_tab)}`);
11228
11189
  $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, {
11229
11190
  h: $si__input_tab && s?.id,
11230
11191
  _: _scope_with_id($scope2_id),
@@ -11253,7 +11214,7 @@ var workspace_switcher_default = _template("O", (input) => {
11253
11214
  _if(() => {
11254
11215
  if (input.ids.length) {
11255
11216
  const $scope4_id = _scope_id();
11256
- _html(`<div${_attr_class("_eX")}>`);
11217
+ _html(`<div${_attr_class("_fB")}>`);
11257
11218
  _for_of(input.ids, (id) => {
11258
11219
  const $scope5_id = _scope_id();
11259
11220
  const w = input.byId.get(id);
@@ -11297,7 +11258,7 @@ var workspace_switcher_default = _template("O", (input) => {
11297
11258
  const rp = phaseOf(rs);
11298
11259
  const rowSessions = rs?.sessions || [];
11299
11260
  const many = rowSessions.length > 1;
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)}`);
11261
+ _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)}`);
11301
11262
  _if(() => {
11302
11263
  if (rowSessions.length === 1) {
11303
11264
  const $scope9_id = _scope_id();
@@ -11309,7 +11270,7 @@ var workspace_switcher_default = _template("O", (input) => {
11309
11270
  icon_agent_default({
11310
11271
  agent: activeAgent(rowSessions[0]),
11311
11272
  size: 16,
11312
- class: "_e1"
11273
+ class: "_fF"
11313
11274
  });
11314
11275
  $si__input_allStatus__OR__input_ids && writeScope($scope9_id, {
11315
11276
  _: _scope_with_id($scope7_id),
@@ -11318,7 +11279,7 @@ var workspace_switcher_default = _template("O", (input) => {
11318
11279
  return 0;
11319
11280
  }
11320
11281
  }, $scope7_id, "d", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids);
11321
- _html(`<span${_attr_class("_e0")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11282
+ _html(`<span${_attr_class("_fE")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11322
11283
  _if(() => {
11323
11284
  if (many) {
11324
11285
  const $scope10_id = _scope_id();
@@ -11329,7 +11290,7 @@ var workspace_switcher_default = _template("O", (input) => {
11329
11290
  }, $scope7_id, "g", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, 0, 1);
11330
11291
  icon_chevron_right_default({
11331
11292
  size: 14,
11332
- class: "_e3"
11293
+ class: "_fH"
11333
11294
  });
11334
11295
  _html(`</a>${_el_resume($scope7_id, "b", $sg__input_ids)}`);
11335
11296
  _set_serialize_reason($sg__input_ids);
@@ -11359,7 +11320,7 @@ var workspace_switcher_default = _template("O", (input) => {
11359
11320
  $si__input_allStatus__OR__input_ids__OR__input_byId && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
11360
11321
  return 0;
11361
11322
  }
11362
- }, $scope0_id, "c", $sg__input_ids, _serialize_guard($scope0_reason, 15), $sg__input_workspace__OR__input_ids_length, 0, 1);
11323
+ }, $scope0_id, "c", $sg__input_ids, $sg__input_ids_length, $sg__input_workspace__OR__input_ids_length, 0, 1);
11363
11324
  _html("</div>");
11364
11325
  _serialize_if($scope0_reason, 9) && writeScope($scope0_id, {
11365
11326
  g: _serialize_if($scope0_reason, 5) && input.allStatus,
@@ -11449,13 +11410,13 @@ var usage_bars_default = _template("K", (input) => {
11449
11410
  if (windows.length) {
11450
11411
  const $scope1_id = _scope_id();
11451
11412
  _html(`<span${_attr_class([
11452
- "_hE",
11413
+ "_hF",
11453
11414
  input.class,
11454
- { ["_hF"]: agent.stale_seconds != null }
11415
+ { ["_hG"]: agent.stale_seconds != null }
11455
11416
  ])} 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)}>`);
11456
11417
  _for_of(windows, (win) => {
11457
11418
  const $scope2_id = _scope_id();
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)}`);
11419
+ _html(`<span${_attr_class(["_hH", win.used_percent >= 90 ? "_hL" : win.used_percent >= 70 ? "_hK" : win.used_percent >= 40 ? "_hJ" : "_hI"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
11459
11420
  $si__input_agent && writeScope($scope2_id, {});
11460
11421
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
11461
11422
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -11487,7 +11448,7 @@ var nav_usage_default = _template("r", (input) => {
11487
11448
  const plan = openSess ? usageFor$1(openSess.agent, usage) : null;
11488
11449
  const all = usage?.agents || [];
11489
11450
  const peak = Math.max(0, ...(plan?.windows || []).map((w) => w.used_percent));
11490
- const ringTone = _resume((pct) => pct >= 90 ? "_ex" : pct >= 70 ? "_ew" : pct >= 40 ? "_ev" : "_eu", "r0");
11451
+ const ringTone = _resume((pct) => pct >= 90 ? "_eK" : pct >= 70 ? "_eJ" : pct >= 40 ? "_eI" : "_eH", "r0");
11491
11452
  let card$2 = null;
11492
11453
  const showCard = _resume((el) => {
11493
11454
  const r = el.getBoundingClientRect();
@@ -11499,18 +11460,18 @@ var nav_usage_default = _template("r", (input) => {
11499
11460
  _if(() => {
11500
11461
  if (plan) {
11501
11462
  const $scope1_id = _scope_id();
11502
- _html(`<span${_attr_class("_eo")} tabindex=0>`);
11463
+ _html(`<span${_attr_class("_eB")} tabindex=0>`);
11503
11464
  _set_serialize_reason(1);
11504
11465
  const $childScope = _peek_scope_id();
11505
11466
  usage_bars_default({
11506
- class: "_eq",
11467
+ class: "_eD",
11507
11468
  agent: plan
11508
11469
  });
11509
- _html(`<svg${_attr_class(["_er", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_es")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_et")} cx=8 cy=8 r=6.5${_attr_style(`stroke-dasharray:${Math.max(2, Math.min(100, peak)) / 100 * 40.84} 40.84`)}></circle>${_el_resume($scope1_id, "e")}</svg>${_el_resume($scope1_id, "c")}</span>${_el_resume($scope1_id, "a")}`);
11470
+ _html(`<svg${_attr_class(["_eE", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_eF")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_eG")} cx=8 cy=8 r=6.5${_attr_style(`stroke-dasharray:${Math.max(2, Math.min(100, peak)) / 100 * 40.84} 40.84`)}></circle>${_el_resume($scope1_id, "e")}</svg>${_el_resume($scope1_id, "c")}</span>${_el_resume($scope1_id, "a")}`);
11510
11471
  _if(() => {
11511
11472
  if (card$2) {
11512
11473
  const $scope2_id = _scope_id();
11513
- _html(`<div${_attr_class(["_9", "_ep"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
11474
+ _html(`<div${_attr_class(["_9", "_eC"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
11514
11475
  _for_of(all, (a) => {
11515
11476
  const $scope3_id = _scope_id();
11516
11477
  _set_serialize_reason(6);
@@ -11546,7 +11507,6 @@ var nav_usage_default = _template("r", (input) => {
11546
11507
  y: $card_left__closures,
11547
11508
  z: $card_bottom__closures
11548
11509
  });
11549
- _resume_branch($scope0_id);
11550
11510
  });
11551
11511
  //#endregion
11552
11512
  //#region src/tags/side-nav.marko
@@ -11555,7 +11515,7 @@ function sortedIds(ids, byId) {
11555
11515
  return ids.filter((id) => byId.has(id)).sort((a, b) => byId.get(a).name.localeCompare(byId.get(b).name));
11556
11516
  }
11557
11517
  var side_nav_default = _template("E", (input) => {
11558
- const $scope0_reason = _scope_reason(), $sg__input_setupReady = _serialize_guard($scope0_reason, 19), $si__input_setupReady = _serialize_if($scope0_reason, 19), $sg__input_instanceName = _serialize_guard($scope0_reason, 18), $si__input_instanceName = _serialize_if($scope0_reason, 18), $sg__input_instanceAccent = _serialize_guard($scope0_reason, 17), $sg__input_workspace__OR__input_allWorkspaces = _serialize_guard($scope0_reason, 0), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus = _serialize_guard($scope0_reason, 4), $sg__input_agents = _serialize_guard($scope0_reason, 21), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 7), $si__input_workspace = _serialize_if($scope0_reason, 11), $sg__input_workspace__OR__input_allWorkspaces__OR__input_agents = _serialize_guard($scope0_reason, 5), $si__input_workspace__OR__input_allWorkspaces = _serialize_if($scope0_reason, 0), $si__input_allStatus = _serialize_if($scope0_reason, 16), $sg__input_sessions = _serialize_guard($scope0_reason, 20), $si__input_instanceAccent = _serialize_if($scope0_reason, 17), $si__input_sessions = _serialize_if($scope0_reason, 20), $si__input_onReviewOpened = _serialize_if($scope0_reason, 22), $si__input_onReviewOther = _serialize_if($scope0_reason, 23), $si__input_onRenameSession = _serialize_if($scope0_reason, 24), $si__input_onCloseSession = _serialize_if($scope0_reason, 25), $si__input_tab__OR__input_tabChange = _serialize_if($scope0_reason, 2);
11518
+ const $scope0_reason = _scope_reason(), $sg__input_instanceAccent = _serialize_guard($scope0_reason, 17), $sg__input_instanceName = _serialize_guard($scope0_reason, 18), $sg__input_setupReady = _serialize_guard($scope0_reason, 19), $si__input_setupReady = _serialize_if($scope0_reason, 19), $si__input_instanceName = _serialize_if($scope0_reason, 18), $sg__input_workspace__OR__input_allWorkspaces = _serialize_guard($scope0_reason, 0), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus = _serialize_guard($scope0_reason, 4), $sg__input_workspace__OR__input_tab__OR__input_tabChange__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 10), $sg__input_agents = _serialize_guard($scope0_reason, 21), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions = _serialize_guard($scope0_reason, 7), $si__input_workspace = _serialize_if($scope0_reason, 11), $sg__input_workspace__OR__input_allWorkspaces__OR__input_agents = _serialize_guard($scope0_reason, 5), $si__input_workspace__OR__input_allWorkspaces = _serialize_if($scope0_reason, 0), $si__input_allStatus = _serialize_if($scope0_reason, 16), $sg__input_sessions = _serialize_guard($scope0_reason, 20), $si__input_instanceAccent = _serialize_if($scope0_reason, 17), $si__input_sessions = _serialize_if($scope0_reason, 20), $si__input_onReviewOpened = _serialize_if($scope0_reason, 22), $si__input_onReviewOther = _serialize_if($scope0_reason, 23), $si__input_onRenameSession = _serialize_if($scope0_reason, 24), $si__input_onCloseSession = _serialize_if($scope0_reason, 25), $si__input_tab__OR__input_tabChange = _serialize_if($scope0_reason, 2);
11559
11519
  const $scope0_id = _scope_id();
11560
11520
  const $input_instanceName__closures = /* @__PURE__ */ new Set();
11561
11521
  const $iconSrc__closures = /* @__PURE__ */ new Set();
@@ -11607,14 +11567,14 @@ var side_nav_default = _template("E", (input) => {
11607
11567
  const backHref = ws ? `/w/${ws.id}` : "/new";
11608
11568
  const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
11609
11569
  const pageIds = orderedIds.filter((id) => id !== ws?.id);
11610
- _html(`<aside${_attr_class(["_bU", {
11611
- ["_bS"]: !navOpen,
11612
- ["_bT"]: isPage
11570
+ _html(`<aside${_attr_class(["_bV", {
11571
+ ["_bT"]: !navOpen,
11572
+ ["_bU"]: isPage
11613
11573
  }])}${_attr("hidden", view === "diff")}>`);
11614
11574
  _if(() => {
11615
11575
  if (isPage) {
11616
11576
  const $scope1_id = _scope_id();
11617
- _html(`<div${_attr_class("_bX")}>`);
11577
+ _html(`<div${_attr_class("_bY")}>`);
11618
11578
  _set_serialize_reason({
11619
11579
  3: $sg__input_instanceName,
11620
11580
  6: $sg__input_instanceName
@@ -11623,9 +11583,9 @@ var side_nav_default = _template("E", (input) => {
11623
11583
  if (input.instanceName) $meta = attrTag({ content: _content_resume("E8", () => {
11624
11584
  _scope_reason();
11625
11585
  const $scope2_id = _scope_id();
11626
- _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>`);
11586
+ _html(`<span${_attr_class("_bZ")} title="This work server (Settings → Appearance)"><img${_attr_class("_b2")}${_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>`);
11627
11587
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
11628
- _resume_branch($scope2_id);
11588
+ $sg__input_instanceAccent || $sg__input_instanceName || _resume_branch($scope2_id);
11629
11589
  }, $scope1_id) });
11630
11590
  const $childScope = _peek_scope_id();
11631
11591
  page_head_default({
@@ -11638,7 +11598,7 @@ var side_nav_default = _template("E", (input) => {
11638
11598
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
11639
11599
  iconBtnRow,
11640
11600
  iconBtn,
11641
- { ["_bP"]: view === "settings" }
11601
+ { ["_bQ"]: view === "settings" }
11642
11602
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11643
11603
  icon_settings_default({ size: 16 });
11644
11604
  _if(() => {
@@ -11651,7 +11611,6 @@ var side_nav_default = _template("E", (input) => {
11651
11611
  }, $scope3_id, "d", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
11652
11612
  _html(`</a>${_el_resume($scope3_id, "b")}`);
11653
11613
  _subscribe($si__input_workspace && $backHref__closures, _subscribe($canPush__closures, _subscribe($view__closures, _subscribe($si__input_setupReady && $input_setupReady__closures, writeScope($scope3_id, { _: _scope_with_id($scope1_id) })))));
11654
- _resume_branch($scope3_id);
11655
11614
  }, $scope1_id) })
11656
11615
  });
11657
11616
  _html("</div>");
@@ -11662,7 +11621,7 @@ var side_nav_default = _template("E", (input) => {
11662
11621
  _if(() => {
11663
11622
  if (!isPage && input.instanceName) {
11664
11623
  const $scope4_id = _scope_id();
11665
- _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>`);
11624
+ _html(`<div${_attr_class("_b1")} title="This work server (Settings → Appearance)"><img${_attr_class("_b2")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope4_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_b3")}>${_text_resume($scope4_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11666
11625
  writeScope($scope4_id, {});
11667
11626
  return 0;
11668
11627
  }
@@ -11680,7 +11639,7 @@ var side_nav_default = _template("E", (input) => {
11680
11639
  6: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus,
11681
11640
  7: _serialize_guard($scope0_reason, 8),
11682
11641
  8: $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11683
- 9: _serialize_guard($scope0_reason, 10),
11642
+ 9: $sg__input_workspace__OR__input_tab__OR__input_tabChange__OR__input_allWorkspaces__OR__input_allStatus__OR__input_sessions,
11684
11643
  10: _serialize_guard($scope0_reason, 11),
11685
11644
  11: _serialize_guard($scope0_reason, 16),
11686
11645
  12: $sg__input_sessions,
@@ -11730,7 +11689,7 @@ var side_nav_default = _template("E", (input) => {
11730
11689
  b: _serialize_if($scope0_reason, 21) && _existing_scope($childScope3)
11731
11690
  });
11732
11691
  }, (a) => a, $scope6_id, "a", $sg__input_agents, 1, $sg__input_workspace__OR__input_allWorkspaces__OR__input_agents, "</div>", 1);
11733
- _html(`<div${_attr_class("_b3")}>`);
11692
+ _html(`<div${_attr_class("_b4")}>`);
11734
11693
  _for_of(orderedIds, (wsId) => {
11735
11694
  const $scope8_id = _scope_id();
11736
11695
  _set_serialize_reason({
@@ -11807,7 +11766,7 @@ var side_nav_default = _template("E", (input) => {
11807
11766
  _if(() => {
11808
11767
  if (!navOpen) {
11809
11768
  const $scope9_id = _scope_id();
11810
- _html(`<div${_attr_class("_b4")}>`);
11769
+ _html(`<div${_attr_class("_b5")}>`);
11811
11770
  _for_of(orderedIds, (wsId, i) => {
11812
11771
  const $scope10_id = _scope_id();
11813
11772
  _set_serialize_reason({
@@ -11855,14 +11814,14 @@ var side_nav_default = _template("E", (input) => {
11855
11814
  return 0;
11856
11815
  }
11857
11816
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
11858
- _html(`<div${_attr_class("_b5")}>`);
11817
+ _html(`<div${_attr_class("_b6")}>`);
11859
11818
  _if(() => {
11860
11819
  if (isPage) {
11861
11820
  const $scope12_id = _scope_id();
11862
11821
  _html(`<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([
11863
11822
  "_q",
11864
11823
  btnLg,
11865
- "_bZ"
11824
+ "_b0"
11866
11825
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11867
11826
  icon_folder_plus_default({ size: 16 });
11868
11827
  _html(` New workspace</a>${_el_resume($scope12_id, "a")}`);
@@ -11894,9 +11853,9 @@ var side_nav_default = _template("E", (input) => {
11894
11853
  sessions: input.sessions,
11895
11854
  tab: view === "term" ? tab : null
11896
11855
  });
11897
- _html(`<div${_attr_class(["_z", "_b6"])}></div>`);
11856
+ _html(`<div${_attr_class(["_z", "_b7"])}></div>`);
11898
11857
  _if(() => {}, $scope11_id, "d", 1, 1, 1, 0, 1);
11899
- _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" : ""}>`);
11858
+ _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_bQ"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11900
11859
  icon_settings_default({});
11901
11860
  _if(() => {
11902
11861
  if (input.setupReady === false) {
@@ -11906,7 +11865,7 @@ var side_nav_default = _template("E", (input) => {
11906
11865
  return 0;
11907
11866
  }
11908
11867
  }, $scope11_id, "g", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
11909
- _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" : ""}>`);
11868
+ _html(`</a>${_el_resume($scope11_id, "e")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_bQ"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11910
11869
  icon_folder_plus_default({ size: 16 });
11911
11870
  _html(`</a>${_el_resume($scope11_id, "h")}`);
11912
11871
  _script($scope11_id, "E13");
@@ -11971,7 +11930,6 @@ var side_nav_default = _template("E", (input) => {
11971
11930
  bb: $si__input_allStatus && $allStatus__closures,
11972
11931
  bd: $si__input_workspace__OR__input_allWorkspaces && $keyIndex__closures
11973
11932
  });
11974
- _resume_branch($scope0_id);
11975
11933
  });
11976
11934
  //#endregion
11977
11935
  //#region src/client/clipboard.ts
@@ -12010,7 +11968,7 @@ function prHeadSigFromDiff(repos) {
12010
11968
  }).sort().join("\0");
12011
11969
  }
12012
11970
  //#endregion
12013
- //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/constants.js
11971
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/constants.js
12014
11972
  var COMMIT_METADATA_SPLIT = /(?=^From [a-f0-9]+ .+$)/m;
12015
11973
  var GIT_DIFF_FILE_BREAK_REGEX = /(?=^diff --git)/gm;
12016
11974
  var FILENAME_HEADER_REGEX = /^(---|\+\+\+)\s+([^\t\r\n]+)/;
@@ -12022,7 +11980,7 @@ Object.freeze({
12022
11980
  fromEnd: 0
12023
11981
  });
12024
11982
  //#endregion
12025
- //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.js
11983
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.js
12026
11984
  /** Converts a unified hunk side's start/count into its consumed-file range. */
12027
11985
  function getHunkSideStartBoundary(start, count) {
12028
11986
  return start - (count === 0 ? 0 : 1);
@@ -12031,14 +11989,14 @@ function getHunkSideEndBoundary(start, count) {
12031
11989
  return getHunkSideStartBoundary(start, count) + count;
12032
11990
  }
12033
11991
  //#endregion
12034
- //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/composeCacheKey.js
11992
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/composeCacheKey.js
12035
11993
  var CACHE_KEY_VERSION = 1;
12036
11994
  /** Encodes caller-controlled segments without delimiter ambiguity. */
12037
11995
  function composeCacheKey(scope, ...segments) {
12038
11996
  return `ck${CACHE_KEY_VERSION}:${JSON.stringify([scope, ...segments])}`;
12039
11997
  }
12040
11998
  //#endregion
12041
- //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.js
11999
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.js
12042
12000
  function cleanLastNewline(contents) {
12043
12001
  let end = contents.length;
12044
12002
  if (contents.charCodeAt(end - 1) === 10) {
@@ -12048,7 +12006,7 @@ function cleanLastNewline(contents) {
12048
12006
  return contents.slice(0, end);
12049
12007
  }
12050
12008
  //#endregion
12051
- //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/detachString.js
12009
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/detachString.js
12052
12010
  var stringDetachEncoder = new TextEncoder();
12053
12011
  var stringDetachDecoder = new TextDecoder("utf-8", { ignoreBOM: true });
12054
12012
  var SURROGATE_CODE_UNIT_PATTERN = /[\uD800-\uDFFF]/;
@@ -12066,7 +12024,7 @@ function detachString(value) {
12066
12024
  return stringDetachDecoder.decode(stringDetachBuffer.subarray(0, written));
12067
12025
  }
12068
12026
  //#endregion
12069
- //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/realignChangeContent.js
12027
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/realignChangeContent.js
12070
12028
  var MAX_ALIGNMENT_COMPARISONS = 4096;
12071
12029
  var MIN_IMPROVEMENT_PER_PAIR = .5;
12072
12030
  /**
@@ -12211,7 +12169,7 @@ function lineSimilarity(a, b) {
12211
12169
  return (prefix + suffix) / maxLength;
12212
12170
  }
12213
12171
  //#endregion
12214
- //#region node_modules/.pnpm/@pierre+diffs@1.4.0_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.js
12172
+ //#region node_modules/.pnpm/@pierre+diffs@1.4.1_@shikijs+themes@4.4.3_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.js
12215
12173
  function _processPatch(data, cacheKeyPrefix, throwOnError = false, patchIndex) {
12216
12174
  const isGitDiff = isGitDiffPatch(data);
12217
12175
  const rawFiles = isGitDiff ? splitGitDiffFiles(data) : splitUnifiedDiffFiles(data);
@@ -12869,6 +12827,38 @@ function termMatcher(term) {
12869
12827
  }
12870
12828
  }
12871
12829
  //#endregion
12830
+ //#region lib/preview/media.mjs
12831
+ /** @typedef {"image" | "pdf"} PreviewKind */
12832
+ /** @typedef {{ kind: PreviewKind, type: string }} Preview */
12833
+ /** @type {Record<string, string>} */
12834
+ var TYPES = {
12835
+ apng: "image/apng",
12836
+ avif: "image/avif",
12837
+ bmp: "image/bmp",
12838
+ gif: "image/gif",
12839
+ ico: "image/x-icon",
12840
+ jpeg: "image/jpeg",
12841
+ jpg: "image/jpeg",
12842
+ png: "image/png",
12843
+ svg: "image/svg+xml",
12844
+ webp: "image/webp",
12845
+ pdf: "application/pdf"
12846
+ };
12847
+ /**
12848
+ * How to show a path, or null when nothing can.
12849
+ * @param {string} filePath
12850
+ * @returns {Preview | null}
12851
+ */
12852
+ function previewFor(filePath) {
12853
+ const dot = filePath.lastIndexOf(".");
12854
+ const type = TYPES[dot < 0 ? "" : filePath.slice(dot + 1).toLowerCase()];
12855
+ if (!type) return null;
12856
+ return {
12857
+ kind: type === "application/pdf" ? "pdf" : "image",
12858
+ type
12859
+ };
12860
+ }
12861
+ //#endregion
12872
12862
  //#region lib/review/markdown.mjs
12873
12863
  /**
12874
12864
  * @typedef {{ worktree: string, path: string, side: "additions"|"deletions",
@@ -12895,10 +12885,9 @@ function commentMarkdown(comments, repos) {
12895
12885
  chunks.push(repoHeader(worktree, repo, list));
12896
12886
  for (const c of list) {
12897
12887
  n++;
12898
- const side = c.side === "deletions" ? "Old" : "New";
12899
- const range = c.line_start === c.line_end ? `line ${c.line_start}` : `lines ${c.line_start}-${c.line_end}`;
12888
+ const where = c.line_end === 0 ? "whole file" : rowsOf(c);
12900
12889
  chunks.push("");
12901
- chunks.push(`${n}. **${c.path}** (${side} ${range})`);
12890
+ chunks.push(`${n}. **${c.path}** (${where})`);
12902
12891
  const snippet = c.snippet;
12903
12892
  if (snippet != null) {
12904
12893
  const fence = markdownFence(snippet);
@@ -12911,6 +12900,12 @@ function commentMarkdown(comments, repos) {
12911
12900
  }
12912
12901
  return chunks.join("\n");
12913
12902
  }
12903
+ /** Which rows a comment is against, as the reviewer saw them.
12904
+ * @param {Comment} c */
12905
+ function rowsOf(c) {
12906
+ const side = c.side === "deletions" ? "Old" : "New";
12907
+ return c.line_start === c.line_end ? `${side} line ${c.line_start}` : `${side} lines ${c.line_start}-${c.line_end}`;
12908
+ }
12914
12909
  /** @param {string} worktree @param {Repo | undefined} repo @param {Comment[]} list */
12915
12910
  function repoHeader(worktree, repo, list) {
12916
12911
  if (repo?.head) {
@@ -12999,8 +12994,8 @@ function shortBranch(name, wsBranch = "", wsName = "") {
12999
12994
  }
13000
12995
  return shortHeadFallback(head);
13001
12996
  }
13002
- var treeToggle = "_ga _4 _l";
13003
- var pageTitle = "_gg _ec";
12997
+ var treeToggle = "_go _4 _l";
12998
+ var pageTitle = "_gu _ej";
13004
12999
  //#endregion
13005
13000
  //#region src/tags/icons/icon-comment.marko
13006
13001
  var icon_comment_default = _template("bb", (input) => {
@@ -13061,12 +13056,12 @@ var diff_send_default = _template("k", (input) => {
13061
13056
  }
13062
13057
  })();
13063
13058
  }, "k1", $scope0_id);
13064
- _html(`<div${_attr_class("_ir")} role=group${_attr("aria-label", label)}><span${_attr_class("_is")}${_attr("title", label)}>`);
13059
+ _html(`<div${_attr_class("_ju")} role=group${_attr("aria-label", label)}><span${_attr_class("_jv")}${_attr("title", label)}>`);
13065
13060
  icon_comment_default({
13066
13061
  size: 18,
13067
- class: "_it"
13062
+ class: "_jw"
13068
13063
  });
13069
- _html(`<span${_attr_class("_iu")} 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("_iv")} title="Copy comments as markdown" aria-label="Copy comments as markdown">`);
13064
+ _html(`<span${_attr_class("_jx")} 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("_jy")} title="Copy comments as markdown" aria-label="Copy comments as markdown">`);
13070
13065
  _if(() => {
13071
13066
  {
13072
13067
  const $scope6_id = _scope_id();
@@ -13078,11 +13073,11 @@ var diff_send_default = _template("k", (input) => {
13078
13073
  _if(() => {
13079
13074
  if (target) {
13080
13075
  const $scope1_id = _scope_id();
13081
- _html(`<button type=button${_attr_class(["_iv", "_iw"])}${_attr("disabled", sending)}${_attr("title", `Send comments to ${target.title || target.agent}`)}>`);
13076
+ _html(`<button type=button${_attr_class(["_jy", "_jz"])}${_attr("disabled", sending)}${_attr("title", `Send comments to ${target.title || target.agent}`)}>`);
13082
13077
  _if(() => {
13083
13078
  if (sessions.length > 1) {
13084
13079
  const $scope2_id = _scope_id();
13085
- _html(`<span${_attr_class(["_iz", "_iy"])}>${_text_resume($scope2_id, "b", sending ? "Sending…" : `Send to ${target.title || target.agent}`)}</span><span${_attr_class("_ix")}>${_text_resume($scope2_id, "d", sending ? "Sending…" : "Send")}</span>`);
13080
+ _html(`<span${_attr_class(["_jC", "_jB"])}>${_text_resume($scope2_id, "b", sending ? "Sending…" : `Send to ${target.title || target.agent}`)}</span><span${_attr_class("_jA")}>${_text_resume($scope2_id, "d", sending ? "Sending…" : "Send")}</span>`);
13086
13081
  _subscribe($target_agent__closures, _subscribe($target_title__closures, _subscribe($sending__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))));
13087
13082
  return 0;
13088
13083
  } else {
@@ -13098,15 +13093,15 @@ var diff_send_default = _template("k", (input) => {
13098
13093
  _if(() => {
13099
13094
  if (sessions.length > 1) {
13100
13095
  const $scope4_id = _scope_id();
13101
- _html(`<span${_attr_class("_iA")}><button type=button${_attr_class([
13102
- "_iv",
13103
- "_iw",
13104
- "_iB"
13096
+ _html(`<span${_attr_class("_jD")}><button type=button${_attr_class([
13097
+ "_jy",
13098
+ "_jz",
13099
+ "_jE"
13105
13100
  ])} aria-label="Choose session to send to"${_attr("disabled", sending)}></button>${_el_resume($scope4_id, "b")}`);
13106
13101
  _attr_select_value($scope4_id, "c", target.id, _resume(function(v) {
13107
13102
  sendTarget = v;
13108
13103
  }, "k0", $scope4_id), () => {
13109
- _html(`<select${_attr_class("_iC")} aria-label="Send comments to session" tabindex=-1${_attr("disabled", sending)}>`);
13104
+ _html(`<select${_attr_class("_jF")} aria-label="Send comments to session" tabindex=-1${_attr("disabled", sending)}>`);
13110
13105
  _for_of(sessions, (s) => {
13111
13106
  const $scope7_id = _scope_id();
13112
13107
  _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)}`);
@@ -13147,7 +13142,6 @@ var diff_send_default = _template("k", (input) => {
13147
13142
  a1: $si__input_sessions && $sessions__closures,
13148
13143
  a3: $target_id__closures
13149
13144
  });
13150
- _resume_branch($scope0_id);
13151
13145
  });
13152
13146
  //#endregion
13153
13147
  //#region src/tags/icons/icon-folder.marko
@@ -13183,8 +13177,8 @@ var icon_branch_default = _template("Y", (input) => {
13183
13177
  });
13184
13178
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
13185
13179
  });
13186
- var findInput = "_eB _n";
13187
- var findIconBtn = "_eE _l";
13180
+ var findInput = "_eq _n";
13181
+ var findIconBtn = "_et _l";
13188
13182
  //#endregion
13189
13183
  //#region src/tags/icons/icon-arrow-down.marko
13190
13184
  var icon_arrow_down_default = _template("R", (input) => {
@@ -13276,18 +13270,18 @@ var diff_find_default = _template("j", (input) => {
13276
13270
  }, 0);
13277
13271
  }, "j0", $scope0_id);
13278
13272
  _html(`<div${_attr_class([
13279
- "_ez",
13280
- input.keybar && "_eI",
13281
- !open && "_ey"
13282
- ])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_eA")} aria-hidden=true>`);
13273
+ "_eo",
13274
+ input.keybar && "_ex",
13275
+ !open && "_en"
13276
+ ])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_ep")} aria-hidden=true>`);
13283
13277
  icon_search_default({ size: 13 });
13284
13278
  _html(`</span><input${_attr_input_value($scope0_id, "d", query || "", _resume(function(v) {
13285
13279
  type(v);
13286
- }, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_eK"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "d")}<span${_attr_class("_eD")}>${_text_resume($scope0_id, "f", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class([findIconBtn, input.keybar && "_eL"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13280
+ }, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_ez"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "d")}<span${_attr_class("_es")}>${_text_resume($scope0_id, "f", open && (query || "").trim() ? hits.length ? `${at + 1}/${hits.length}` : "0/0" : "")}</span><button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13287
13281
  icon_arrow_up_default({ size: 14 });
13288
- _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eL"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13282
+ _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13289
13283
  icon_arrow_down_default({ size: 14 });
13290
- _html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eL"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
13284
+ _html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_eA"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
13291
13285
  icon_xmark_default({ size: 14 });
13292
13286
  _html(`</button>${_el_resume($scope0_id, "k")}</div>${_el_resume($scope0_id, "a")}`);
13293
13287
  const $return = focusInput;
@@ -13323,15 +13317,14 @@ var diff_find_default = _template("j", (input) => {
13323
13317
  a5: input.queryChange || void 0,
13324
13318
  a8: input.stateChange || void 0
13325
13319
  });
13326
- _resume_branch($scope0_id);
13327
13320
  return $return;
13328
13321
  });
13329
- var worktree = "_jz _y";
13330
- var repoTitle = "_jK _x";
13322
+ var worktree = "_jr _y";
13323
+ var repoTitle = "_jR _x";
13331
13324
  //#endregion
13332
13325
  //#region src/tags/review-head.marko
13333
13326
  var review_head_default = _template("x", (input) => {
13334
- 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);
13327
+ 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 = _serialize_guard($scope0_reason, 14), $sg__input_deletions = _serialize_guard($scope0_reason, 15), $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), $sg__input_localDiffers = _serialize_guard($scope0_reason, 13), $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);
13335
13328
  const $scope0_id = _scope_id();
13336
13329
  const $compare_topic__closures = /* @__PURE__ */ new Set();
13337
13330
  const repo = input.repo;
@@ -13339,7 +13332,7 @@ var review_head_default = _template("x", (input) => {
13339
13332
  const baseRef = (repo.pr?.baseRefName || repo.base).replace(/^origin\//, "");
13340
13333
  const headRef = (repo.pr?.headRefName || repo.branch).replace(/^origin\//, "");
13341
13334
  const unusual = !!compare$1.topic || !!input.workspaceBranch && headRef !== input.workspaceBranch || !!repo.default_branch && baseRef !== repo.default_branch;
13342
- _html(`<div${_attr_class("_jE")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}>`);
13335
+ _html(`<div${_attr_class("_jL")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}>`);
13343
13336
  _if(() => {
13344
13337
  if (repo.pr) {
13345
13338
  const $scope6_id = _scope_id();
@@ -13348,7 +13341,7 @@ var review_head_default = _template("x", (input) => {
13348
13341
  return 0;
13349
13342
  } else {
13350
13343
  const $scope7_id = _scope_id();
13351
- _html(`<span${_attr_class([repoTitle, "_jL"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
13344
+ _html(`<span${_attr_class([repoTitle, "_jS"])}>${_text_resume($scope7_id, "b", repoLabel$1(repo.full_name), $sg__input_repo)}</span>`);
13352
13345
  $si__input_repo && writeScope($scope7_id, { _: _scope_with_id($scope0_id) });
13353
13346
  return 1;
13354
13347
  }
@@ -13356,14 +13349,14 @@ var review_head_default = _template("x", (input) => {
13356
13349
  _if(() => {
13357
13350
  if (unusual) {
13358
13351
  const $scope8_id = _scope_id();
13359
- _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>`);
13352
+ _html(`<span${_attr_class("_jT")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_jU"])}>${_text_resume($scope8_id, "c", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_jW"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_jV"])}>${_text_resume($scope8_id, "f", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13360
13353
  _if(() => {
13361
13354
  if (compare$1.topic) {
13362
13355
  const $scope11_id = _scope_id();
13363
13356
  _html(`<span${_attr_class([
13364
13357
  "_N",
13365
13358
  tone.accent,
13366
- "_jQ"
13359
+ "_jX"
13367
13360
  ])}>${_text_resume($scope11_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13368
13361
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _subscribe($compare_topic__closures, writeScope($scope11_id, { _: _scope_with_id($scope8_id) }));
13369
13362
  return 0;
@@ -13377,7 +13370,7 @@ var review_head_default = _template("x", (input) => {
13377
13370
  _if(() => {
13378
13371
  if (repo.rev) {
13379
13372
  const $scope9_id = _scope_id();
13380
- _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>`);
13373
+ _html(`<span${_attr_class(["_N", "_jY"])} title="One commit against its parent">commit ${_text_resume($scope9_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
13381
13374
  $si__input_repo && writeScope($scope9_id, { _: _scope_with_id($scope0_id) });
13382
13375
  return 0;
13383
13376
  }
@@ -13388,7 +13381,7 @@ var review_head_default = _template("x", (input) => {
13388
13381
  _html(`<button type=button${_attr_class([
13389
13382
  "_N",
13390
13383
  tone.warn,
13391
- "_jR"
13384
+ "_jY"
13392
13385
  ])}${_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")}`);
13393
13386
  _script($scope1_id, "x0");
13394
13387
  writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -13398,7 +13391,7 @@ var review_head_default = _template("x", (input) => {
13398
13391
  _if(() => {
13399
13392
  if (repo.contained && input.fileCount) {
13400
13393
  const $scope10_id = _scope_id();
13401
- _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)}`);
13394
+ _html(`<span${_attr_class(["_N", "_jY"])}${_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)}`);
13402
13395
  $si__input_repo__OR__input_fileCount && writeScope($scope10_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
13403
13396
  return 0;
13404
13397
  }
@@ -13406,16 +13399,16 @@ var review_head_default = _template("x", (input) => {
13406
13399
  _if(() => {
13407
13400
  if (input.localDiffers) {
13408
13401
  const $scope2_id = _scope_id();
13409
- _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)}`);
13402
+ _html(`<span${_attr_class(["_N", "_jY"])}${_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)}`);
13410
13403
  $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) });
13411
13404
  return 0;
13412
13405
  }
13413
- }, $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);
13414
- _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>`);
13406
+ }, $scope0_id, "g", _serialize_guard($scope0_reason, 8), $sg__input_localDiffers, $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);
13407
+ _html(`<span${_attr_class("_jM")}><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>`);
13415
13408
  _if(() => {
13416
13409
  if (input.additions || input.deletions) {
13417
13410
  const $scope3_id = _scope_id();
13418
- _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>`);
13411
+ _html(`<span${_attr_class("_jN")}>+${_text_resume($scope3_id, "b", input.additions, $sg__input_additions * 2)}</span><span${_attr_class("_jO")}>−${_text_resume($scope3_id, "d", input.deletions, $sg__input_deletions * 2)}</span>`);
13419
13412
  $si__input_additions__OR__input_deletions && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
13420
13413
  return 0;
13421
13414
  }
@@ -13423,7 +13416,7 @@ var review_head_default = _template("x", (input) => {
13423
13416
  _if(() => {
13424
13417
  if (input.hiddenCount) {
13425
13418
  const $scope4_id = _scope_id();
13426
- _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")}`);
13419
+ _html(`<button type=button${_attr_class("_jQ")} 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")}`);
13427
13420
  _script($scope4_id, "x1");
13428
13421
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
13429
13422
  return 0;
@@ -13432,7 +13425,7 @@ var review_head_default = _template("x", (input) => {
13432
13425
  _if(() => {
13433
13426
  if (input.newCount || input.onlyNew) {
13434
13427
  const $scope5_id = _scope_id();
13435
- _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")}`);
13428
+ _html(`<button type=button${_attr_class(["_jQ", { ["_jP"]: 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")}`);
13436
13429
  _script($scope5_id, "x2");
13437
13430
  writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
13438
13431
  return 0;
@@ -13521,30 +13514,30 @@ var review_repos_default = _template("y", (input) => {
13521
13514
  _if(() => {
13522
13515
  if (input.tabs.length) {
13523
13516
  const $scope1_id = _scope_id();
13524
- _html(`<div${_attr_class(["_jo", { ["_jn"]: many }])}>`);
13517
+ _html(`<div${_attr_class(["_jg", { ["_jf"]: many }])}>`);
13525
13518
  _if(() => {
13526
13519
  if (many) {
13527
13520
  const $scope2_id = _scope_id();
13528
- _html(`<div${_attr_class(["_jr", {
13529
- ["_jq"]: edges.end,
13530
- ["_jp"]: edges.start
13521
+ _html(`<div${_attr_class(["_jj", {
13522
+ ["_ji"]: edges.end,
13523
+ ["_jh"]: edges.start
13531
13524
  }])} role=tablist>`);
13532
13525
  _for_of(input.tabs, (tab$1) => {
13533
13526
  const $scope3_id = _scope_id();
13534
13527
  const repo = tab$1.repo;
13535
13528
  const isOn = current?.repo.id === repo.id;
13536
13529
  const isFolded = input.folded.has(repo.id);
13537
- _html(`<div${_attr_class(["_ju", {
13538
- ["_js"]: isOn,
13539
- ["_jt"]: isFolded
13540
- }])} 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>`);
13530
+ _html(`<div${_attr_class(["_jm", {
13531
+ ["_jk"]: isOn,
13532
+ ["_jl"]: isFolded
13533
+ }])} role=tab aria-selected=${isOn ? "true" : "false"}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}><button type=button${_attr_class("_jp")} title=${isFolded ? "\"Show this section's files\"" : "\"Hide this section's files\""} aria-expanded=${isFolded ? "false" : "true"}><span${_attr_class("_jq")}>▾</span></button>${_el_resume($scope3_id, "b")}<button type=button${_attr_class("_jo")} title="Scroll to this section"><span${_attr_class(worktree)}>${_text_resume($scope3_id, "f", repo.worktree, $sg__input_tabs)}</span>`);
13541
13534
  _if(() => {
13542
13535
  if (repo.pr) {
13543
13536
  const $scope5_id = _scope_id();
13544
13537
  _html(`<span${_attr_class([
13545
13538
  "_u",
13546
13539
  "_v",
13547
- "_jA"
13540
+ "_js"
13548
13541
  ])}>#${_text_resume($scope5_id, "b", repo.pr.number, $sg__input_tabs * 2)}</span>`);
13549
13542
  $si__input_tabs && writeScope($scope5_id, { _: _scope_with_id($scope3_id) });
13550
13543
  return 0;
@@ -13570,11 +13563,11 @@ var review_repos_default = _template("y", (input) => {
13570
13563
  if (current) {
13571
13564
  const $scope4_id = _scope_id();
13572
13565
  const one = current.repo;
13573
- _html(`<div${_attr_class("_jB")}>`);
13566
+ _html(`<div${_attr_class("_jt")}>`);
13574
13567
  _if(() => {
13575
13568
  if (!many) {
13576
13569
  const $scope6_id = _scope_id();
13577
- _html(`<span${_attr_class([worktree, "_jv"])}>${_text_resume($scope6_id, "b", one.worktree, $sg__input_tabs__OR__input_active)}</span>`);
13570
+ _html(`<span${_attr_class([worktree, "_jn"])}>${_text_resume($scope6_id, "b", one.worktree, $sg__input_tabs__OR__input_active)}</span>`);
13578
13571
  $si__input_tabs__OR__input_active && writeScope($scope6_id, { _: _scope_with_id($scope4_id) });
13579
13572
  return 0;
13580
13573
  }
@@ -13681,9 +13674,9 @@ var review_repos_default = _template("y", (input) => {
13681
13674
  an: $si__input_tabs__OR__input_active && $current_hidden__closures,
13682
13675
  ao: $si__input_tabs_length && $many__closures
13683
13676
  });
13684
- _resume_branch($scope0_id);
13677
+ $sg__input_tabs_length || _resume_branch($scope0_id);
13685
13678
  });
13686
- var fileFilter = "_jD _n";
13679
+ var fileFilter = "_jK _n";
13687
13680
  //#endregion
13688
13681
  //#region src/tags/file-filter.marko
13689
13682
  var file_filter_default = _template("l", (input) => {
@@ -13713,7 +13706,7 @@ var file_filter_default = _template("l", (input) => {
13713
13706
  pending = v;
13714
13707
  box.timer = setTimeout(flush, 150);
13715
13708
  }, "l2", $scope0_id);
13716
- _html(`<div${_attr_class("_jC")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
13709
+ _html(`<div${_attr_class("_jJ")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
13717
13710
  type(v);
13718
13711
  }, "l0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
13719
13712
  _script($scope0_id, "l3");
@@ -13728,7 +13721,6 @@ var file_filter_default = _template("l", (input) => {
13728
13721
  r: type,
13729
13722
  i: input.valueChange || void 0
13730
13723
  });
13731
- _resume_branch($scope0_id);
13732
13724
  });
13733
13725
  //#endregion
13734
13726
  //#region src/tags/review-tree.marko
@@ -13759,7 +13751,7 @@ var review_tree_default = _template("z", (input) => {
13759
13751
  dragging$1 = false;
13760
13752
  if (width != null) setDiffTreeWidth(width);
13761
13753
  }, "z2", $scope0_id);
13762
- _html(`<div${_attr_class(["_iT", { ["_iS"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_i6", { ["_i5"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_iU")}>`);
13754
+ _html(`<div${_attr_class(["_iP", { ["_iO"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_i2", { ["_i1"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_iQ")}>`);
13763
13755
  _set_serialize_reason(2);
13764
13756
  const $childScope = _peek_scope_id();
13765
13757
  file_filter_default({
@@ -13768,22 +13760,22 @@ var review_tree_default = _template("z", (input) => {
13768
13760
  filter$1 = _new_filter;
13769
13761
  }, "z3", $scope0_id)
13770
13762
  });
13771
- _html(`</div><div${_attr_class("_iV")}>`);
13763
+ _html(`</div><div${_attr_class("_iR")}>`);
13772
13764
  _for_of(input.sections, (section$2) => {
13773
13765
  const $scope1_id = _scope_id();
13774
- _html(`<div${_attr_class(["_iX", { ["_iW"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
13766
+ _html(`<div${_attr_class(["_iT", { ["_iS"]: input.sections.length === 1 }])}${_attr("data-section", section$2.id)}>`);
13775
13767
  _if(() => {
13776
13768
  if (input.sections.length > 1) {
13777
13769
  const $scope2_id = _scope_id();
13778
- _html(`<button type=button${_attr_class("_iY")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_iZ", { ["_i0"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
13770
+ _html(`<button type=button${_attr_class("_iU")}${_attr("title", section$2.label)} aria-expanded=${closed$4.has(section$2.id) ? "false" : "true"}><span${_attr_class(["_iV", { ["_iW"]: !closed$4.has(section$2.id) }])} aria-hidden=true>`);
13779
13771
  icon_chevron_right_default({ size: 12 });
13780
- _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_i1")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_i2")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13772
+ _html(`</span>${_el_resume($scope2_id, "b")}<span${_attr_class("_iX")}>${_text_resume($scope2_id, "e", section$2.label, $sg__input_sections)}</span><span${_attr_class("_iY")}>${_text_resume($scope2_id, "g", section$2.files.length, $sg__input_sections)}</span></button>${_el_resume($scope2_id, "a")}`);
13781
13773
  _script($scope2_id, "z4");
13782
13774
  _subscribe($closed__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
13783
13775
  return 0;
13784
13776
  }
13785
13777
  }, $scope1_id, "b", $sg__input_sections, $sg__input_sections_length, $sg__input_sections_length, 0, 1);
13786
- _html(`<div${_attr_class(["_i4", { ["_i3"]: 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)}`);
13778
+ _html(`<div${_attr_class(["_i0", { ["_iZ"]: 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)}`);
13787
13779
  writeScope($scope1_id, {
13788
13780
  f: section$2?.id,
13789
13781
  h: $si__input_sections_length && section$2?.label,
@@ -13813,9 +13805,8 @@ var review_tree_default = _template("z", (input) => {
13813
13805
  d: _existing_scope($childScope),
13814
13806
  a3: $closed__closures
13815
13807
  });
13816
- _resume_branch($scope0_id);
13817
13808
  });
13818
- var sheetDir = "_jh _ba";
13809
+ var sheetDir = "_iw _ba";
13819
13810
  //#endregion
13820
13811
  //#region src/tags/diff-file-sheet.marko
13821
13812
  var diff_file_sheet_default = _template("i", (input) => {
@@ -13871,9 +13862,9 @@ var diff_file_sheet_default = _template("i", (input) => {
13871
13862
  _if(() => {
13872
13863
  if (open) {
13873
13864
  const $scope1_id = _scope_id();
13874
- _html(`<div${_attr_class("_i9")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_i_")} role=dialog aria-label="Jump to file"><div${_attr_class("_ja")}><strong${_attr_class("_i8")}>Files</strong><span${_attr_class("_jb")}>${_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, "_i7"])} title=Close aria-label=Close>`);
13865
+ _html(`<div${_attr_class("_in")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_io")} role=dialog aria-label="Jump to file"><div${_attr_class("_ip")}><strong${_attr_class("_im")}>Files</strong><span${_attr_class("_iq")}>${_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, "_il"])} title=Close aria-label=Close>`);
13875
13866
  icon_xmark_default({ size: 16 });
13876
- _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_jj")}>`);
13867
+ _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_iy")}>`);
13877
13868
  _set_serialize_reason(2);
13878
13869
  const $childScope = _peek_scope_id();
13879
13870
  file_filter_default({
@@ -13882,13 +13873,13 @@ var diff_file_sheet_default = _template("i", (input) => {
13882
13873
  filter = _new_filter;
13883
13874
  }, "i1", $scope1_id)
13884
13875
  });
13885
- _html(`</div><div${_attr_class("_jc")}>`);
13876
+ _html(`</div><div${_attr_class("_ir")}>`);
13886
13877
  _for_of(groups, (group) => {
13887
13878
  const $scope2_id = _scope_id();
13888
- _html(`<div${_attr_class("_jd")}><div${_attr_class("_je")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
13879
+ _html(`<div${_attr_class("_is")}><div${_attr_class("_it")}>${_text_resume($scope2_id, "c", group.repo, $sg__input_files)}</div>`);
13889
13880
  _for_of(group.dirs, ({ dir, files }) => {
13890
13881
  const $scope3_id = _scope_id();
13891
- _html(`<div${_attr_class("_jf")}>`);
13882
+ _html(`<div${_attr_class("_iu")}>`);
13892
13883
  _if(() => {
13893
13884
  if (dir) {
13894
13885
  const $scope5_id = _scope_id();
@@ -13899,11 +13890,11 @@ var diff_file_sheet_default = _template("i", (input) => {
13899
13890
  }, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
13900
13891
  _for_of(files, ({ file, name }) => {
13901
13892
  const $scope4_id = _scope_id();
13902
- _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_jg", "_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("_ji")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
13893
+ _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_iv", "_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("_ix")}><bdi>${_text_resume($scope4_id, "e", name, $sg__input_files)}</bdi></span>`);
13903
13894
  _if(() => {
13904
13895
  if (newKeys.has(file.key)) {
13905
13896
  const $scope6_id = _scope_id();
13906
- _html(`<span${_attr_class(["_A", "_jl"])} title="Changed since your last visit"></span>`);
13897
+ _html(`<span${_attr_class(["_A", "_iA"])} title="Changed since your last visit"></span>`);
13907
13898
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
13908
13899
  return 0;
13909
13900
  }
@@ -13913,7 +13904,7 @@ var diff_file_sheet_default = _template("i", (input) => {
13913
13904
  const $scope7_id = _scope_id();
13914
13905
  icon_comment_default({
13915
13906
  size: 12,
13916
- class: "_jm"
13907
+ class: "_iB"
13917
13908
  });
13918
13909
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
13919
13910
  return 0;
@@ -13938,7 +13929,7 @@ var diff_file_sheet_default = _template("i", (input) => {
13938
13929
  _if(() => {
13939
13930
  if (!input.files.length) {
13940
13931
  const $scope8_id = _scope_id();
13941
- _html(`<p${_attr_class("_jk")}>No files match.</p>`);
13932
+ _html(`<p${_attr_class("_iz")}>No files match.</p>`);
13942
13933
  $si__input_files_length && writeScope($scope8_id, {});
13943
13934
  return 0;
13944
13935
  }
@@ -13970,14 +13961,13 @@ var diff_file_sheet_default = _template("i", (input) => {
13970
13961
  a4: $si__input_newKeys && $newKeys__closures,
13971
13962
  a6: $si__input_workspaceId__OR__input_scope && $hrefFor2__closures
13972
13963
  });
13973
- _resume_branch($scope0_id);
13974
13964
  });
13975
13965
  //#endregion
13976
13966
  //#region src/tags/review-view.marko
13977
13967
  var api$6;
13978
13968
  var getTermDims;
13979
13969
  var review_view_default = _template("A", (input) => {
13980
- const $scope0_reason = _scope_reason();
13970
+ const $scope0_reason = _scope_reason(), $sg__input_workspaceId = _serialize_guard($scope0_reason, 2);
13981
13971
  const $scope0_id = _scope_id();
13982
13972
  const $findFocus_getter = _hoist($scope0_id, "A39");
13983
13973
  const $error__closures = /* @__PURE__ */ new Set();
@@ -14268,7 +14258,7 @@ var review_view_default = _template("A", (input) => {
14268
14258
  ...anchorFor(file, range)
14269
14259
  })
14270
14260
  });
14271
- comments = comments.concat(comment);
14261
+ comments = comments.some((c) => c.id === comment.id) ? comments : comments.concat(comment);
14272
14262
  } catch (err) {
14273
14263
  error = String(err.message || err);
14274
14264
  }
@@ -14379,13 +14369,13 @@ var review_view_default = _template("A", (input) => {
14379
14369
  else viewBox.scrollToLine(hit.key, hit.line, hit.side);
14380
14370
  }, 0);
14381
14371
  };
14382
- _html(`<div${_attr_class("_f8")}><div${_attr_class("_gc")}><div${_attr_class("_gL")}><div${_attr_class("_gd")}><div${_attr_class("_gk")}>`);
14372
+ _html(`<div${_attr_class("_gl")}><div${_attr_class("_gq")}><div${_attr_class("_g0")}><div${_attr_class("_gr")}><div${_attr_class("_gy")}>`);
14383
14373
  _if(() => {
14384
14374
  if (input.onExit) {
14385
14375
  const $scope1_id = _scope_id();
14386
- _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_ge"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
14376
+ _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_gs"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
14387
14377
  icon_back_default({ size: 14 });
14388
- _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 2))}`);
14378
+ _html(`</a>${_el_resume($scope1_id, "a", $sg__input_workspaceId)}`);
14389
14379
  _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 2) && _scope_with_id($scope0_id) });
14390
14380
  return 0;
14391
14381
  }
@@ -14394,7 +14384,7 @@ var review_view_default = _template("A", (input) => {
14394
14384
  _if(() => {
14395
14385
  if (comments.length) {
14396
14386
  const $scope2_id = _scope_id();
14397
- _html(`<span${_attr_class("_gf")}>`);
14387
+ _html(`<span${_attr_class("_gt")}>`);
14398
14388
  _set_serialize_reason({
14399
14389
  0: _serialize_guard($scope0_reason, 10),
14400
14390
  1: 1
@@ -14411,14 +14401,14 @@ var review_view_default = _template("A", (input) => {
14411
14401
  return 0;
14412
14402
  }
14413
14403
  }, $scope0_id, "h", 1, 1, 1, 0, 1);
14414
- _html(`</div><div${_attr_class(["_gb", "_gK"])}>`);
14404
+ _html(`</div><div${_attr_class(["_gp", "_gZ"])}>`);
14415
14405
  _if(() => {
14416
14406
  if (hasFiles) {
14417
14407
  const $scope9_id = _scope_id();
14418
14408
  _html(`<button${_attr_class([
14419
14409
  treeToggle,
14420
- "_f_",
14421
- { ["_f9"]: treeOpen }
14410
+ "_gn",
14411
+ { ["_gm"]: treeOpen }
14422
14412
  ])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
14423
14413
  icon_sidebar_default({ size: 14 });
14424
14414
  _html(`</button>${_el_resume($scope9_id, "a")}`);
@@ -14427,7 +14417,7 @@ var review_view_default = _template("A", (input) => {
14427
14417
  return 0;
14428
14418
  }
14429
14419
  }, $scope0_id, "j", 1, 1, 1, 0, 1);
14430
- _html(`<button${_attr_class([iconBtnRow, "_f_"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14420
+ _html(`<button${_attr_class([iconBtnRow, "_gn"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14431
14421
  _set_serialize_reason(1);
14432
14422
  const $childScope2 = _peek_scope_id();
14433
14423
  icon_refresh_default({
@@ -14440,30 +14430,30 @@ var review_view_default = _template("A", (input) => {
14440
14430
  const $scope10_id = _scope_id();
14441
14431
  _html(`<button${_attr_class([
14442
14432
  iconBtnRow,
14443
- "_f_",
14444
- "_gw"
14445
- ])}${_attr("title", `Jump to file (${shownFiles.length})`)}${_attr("aria-label", `Jump to file (${shownFiles.length} files)`)}><span${_attr_class("_gx")} aria-hidden=true>`);
14433
+ "_gn",
14434
+ "_gK"
14435
+ ])}${_attr("title", `Jump to file (${shownFiles.length})`)}${_attr("aria-label", `Jump to file (${shownFiles.length} files)`)}><span${_attr_class("_gL")} aria-hidden=true>`);
14446
14436
  icon_folder_default({
14447
14437
  size: 20,
14448
- class: "_gy"
14438
+ class: "_gM"
14449
14439
  });
14450
- _html(`<span${_attr_class("_gz")}>${_text_resume($scope10_id, "e", shownFiles.length > 99 ? "99+" : shownFiles.length)}</span></span></button>${_el_resume($scope10_id, "a")}`);
14440
+ _html(`<span${_attr_class("_gN")}>${_text_resume($scope10_id, "e", shownFiles.length > 99 ? "99+" : shownFiles.length)}</span></span></button>${_el_resume($scope10_id, "a")}`);
14451
14441
  _script($scope10_id, "A41");
14452
14442
  writeScope($scope10_id, {});
14453
14443
  return 0;
14454
14444
  }
14455
14445
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
14456
- _html(`<span${_attr_class("_gl")}><button${_attr_class([
14446
+ _html(`<span${_attr_class("_gz")}><button${_attr_class([
14457
14447
  iconBtnRow,
14458
- "_f_",
14459
- { ["_f9"]: !!rev }
14448
+ "_gn",
14449
+ { ["_gm"]: !!rev }
14460
14450
  ])}${_attr("title", `${compareLabel}\n${compareTitle}`)} aria-label=Compare${_attr("disabled", loading)}>`);
14461
14451
  icon_branch_default({ size: 14 });
14462
14452
  _html(`</button>${_el_resume($scope0_id, "o")}`);
14463
14453
  _attr_select_value($scope0_id, "q", rev ? `rev:${rev}` : scope, _resume(function(v) {
14464
14454
  pickCompare(v);
14465
14455
  }, "A0", $scope0_id), () => {
14466
- _html(`<select${_attr_class("_gm")} 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>`);
14456
+ _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>`);
14467
14457
  _if(() => {
14468
14458
  if (commitOptions.length) {
14469
14459
  const $scope12_id = _scope_id();
@@ -14479,7 +14469,7 @@ var review_view_default = _template("A", (input) => {
14479
14469
  }, $scope0_id, "r", 1, 1, 1, 0, 1);
14480
14470
  _html("</select>");
14481
14471
  });
14482
- _html(`${_el_resume($scope0_id, "q")}</span> <div${_attr_class(["_gj", { ["_gi"]: !findOpen }])}>`);
14472
+ _html(`${_el_resume($scope0_id, "q")}</span> <div${_attr_class(["_gx", { ["_gw"]: !findOpen }])}>`);
14483
14473
  _set_serialize_reason(2);
14484
14474
  const $childScope3 = _peek_scope_id();
14485
14475
  let findFocus = diff_find_default({
@@ -14502,8 +14492,8 @@ var review_view_default = _template("A", (input) => {
14502
14492
  const $scope11_id = _scope_id();
14503
14493
  _html(`<button${_attr_class([
14504
14494
  iconBtnRow,
14505
- "_gh",
14506
- "_f_"
14495
+ "_gv",
14496
+ "_gn"
14507
14497
  ])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
14508
14498
  icon_search_default({ size: 14 });
14509
14499
  _html(`</button>${_el_resume($scope11_id, "a")}`);
@@ -14516,7 +14506,7 @@ var review_view_default = _template("A", (input) => {
14516
14506
  _if(() => {
14517
14507
  if (!repos && loading) {
14518
14508
  const $scope14_id = _scope_id();
14519
- _html(`<div${_attr_class("_gt")} aria-hidden=true><div${_attr_class(["_gp", "_gu"])}></div><div${_attr_class(["_gp", "_gv"])}></div></div>`);
14509
+ _html(`<div${_attr_class("_gH")} aria-hidden=true><div${_attr_class(["_gD", "_gI"])}></div><div${_attr_class(["_gD", "_gJ"])}></div></div>`);
14520
14510
  writeScope($scope14_id, {});
14521
14511
  return 0;
14522
14512
  }
@@ -14589,7 +14579,7 @@ var review_view_default = _template("A", (input) => {
14589
14579
  onReload: reload,
14590
14580
  loading
14591
14581
  });
14592
- _html(`</div><div${_attr_class("_gA")}>`);
14582
+ _html(`</div><div${_attr_class("_gO")}>`);
14593
14583
  _if(() => {
14594
14584
  if (error) {
14595
14585
  const $scope3_id = _scope_id();
@@ -14602,7 +14592,6 @@ var review_view_default = _template("A", (input) => {
14602
14592
  const $scope4_id = _scope_id();
14603
14593
  _html(_text_resume($scope4_id, "a", error));
14604
14594
  _subscribe($error__closures, writeScope($scope4_id, { _: _scope_with_id($scope3_id) }));
14605
- _resume_branch($scope4_id);
14606
14595
  }, $scope3_id)
14607
14596
  });
14608
14597
  writeScope($scope3_id, {});
@@ -14623,7 +14612,6 @@ var review_view_default = _template("A", (input) => {
14623
14612
  const $scope7_id = _scope_id();
14624
14613
  _html(`${_text_resume($scope7_id, "a", repo.base)}${_text_resume($scope7_id, "b", scope !== "committed" ? ", showing uncommitted changes only" : "", 2)}.`);
14625
14614
  _subscribe($for_content__repo_base__closures, _subscribe($scope__closures, writeScope($scope7_id, { _: _scope_with_id($scope6_id) })));
14626
- _resume_branch($scope7_id);
14627
14615
  }, $scope6_id)
14628
14616
  });
14629
14617
  writeScope($scope6_id, {
@@ -14634,10 +14622,10 @@ var review_view_default = _template("A", (input) => {
14634
14622
  _if(() => {
14635
14623
  if (!repos && loading) {
14636
14624
  const $scope15_id = _scope_id();
14637
- _html(`<div${_attr_class("_go")} aria-hidden=true>`);
14625
+ _html(`<div${_attr_class("_gC")} aria-hidden=true>`);
14638
14626
  forTo(2, 0, 1, () => {
14639
14627
  _scope_id();
14640
- _html(`<div${_attr_class("_gq")}><div${_attr_class(["_gp", "_gr"])}></div><div${_attr_class(["_gp", "_gs"])}></div></div>`);
14628
+ _html(`<div${_attr_class("_gE")}><div${_attr_class(["_gD", "_gF"])}></div><div${_attr_class(["_gD", "_gG"])}></div></div>`);
14641
14629
  });
14642
14630
  _html("</div>");
14643
14631
  writeScope($scope15_id, {});
@@ -14647,17 +14635,17 @@ var review_view_default = _template("A", (input) => {
14647
14635
  _if(() => {
14648
14636
  if (repos && !allFiles.length) {
14649
14637
  const $scope8_id = _scope_id();
14650
- _html(`<p${_attr_class("_cp")}>${_text_resume($scope8_id, "b", rev ? "This commit is not in any of these repos." : repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
14638
+ _html(`<p${_attr_class("_bN")}>${_text_resume($scope8_id, "b", rev ? "This commit is not in any of these repos." : repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
14651
14639
  writeScope($scope8_id, {});
14652
14640
  return 0;
14653
14641
  } else if (repos && !listFiles.length && !findState.hit) {
14654
14642
  const $scope5_id = _scope_id();
14655
- _html(`<p${_attr_class("_cp")}>${_text_resume($scope5_id, "b", findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${fileFilter}".`)}</p>`);
14643
+ _html(`<p${_attr_class("_bN")}>${_text_resume($scope5_id, "b", findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${fileFilter}".`)}</p>`);
14656
14644
  writeScope($scope5_id, {});
14657
14645
  return 1;
14658
14646
  }
14659
14647
  }, $scope0_id, "a2", 1, 1, 1, 0, 1);
14660
- _html(`</div></div><div${_attr_class("_gB")} data-diff-main></div>${_el_resume($scope0_id, "a3")}</div>`);
14648
+ _html(`</div></div><div${_attr_class("_gP")} data-diff-main></div>${_el_resume($scope0_id, "a3")}</div>`);
14661
14649
  _set_serialize_reason(26);
14662
14650
  const $childScope6 = _peek_scope_id();
14663
14651
  review_tree_default({
@@ -14822,7 +14810,6 @@ var review_view_default = _template("A", (input) => {
14822
14810
  a4: _existing_scope($childScope6),
14823
14811
  a5: _existing_scope($childScope7)
14824
14812
  });
14825
- _resume_branch($scope0_id);
14826
14813
  return $return;
14827
14814
  });
14828
14815
  //#endregion
@@ -14937,10 +14924,10 @@ function parseInvite(text) {
14937
14924
  }
14938
14925
  //#endregion
14939
14926
  //#region src/tags/manage-workspace.css.ts
14940
- var procCmd = "_gM _cV";
14941
- var skillRow = "_gO _cT";
14942
- var skillName = "_gQ _gM _cV";
14943
- var skillDesc = "_gT _cW";
14927
+ var procCmd = "_f8 _cV";
14928
+ var skillRow = "_f_ _cT";
14929
+ var skillName = "_gb _f8 _cV";
14930
+ var skillDesc = "_ge _cW";
14944
14931
  //#endregion
14945
14932
  //#region src/tags/icons/icon-archive.marko
14946
14933
  var icon_archive_default = _template("Q", (input) => {
@@ -14975,10 +14962,10 @@ var icon_trash_default = _template("wb", (input) => {
14975
14962
  });
14976
14963
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
14977
14964
  });
14978
- var resultRow = "_hV _I";
14979
- var resultBranch = "_hW _c0 _X _W _3 _l";
14980
- var urlAction = "_hX _c0 _X _W _c1";
14981
- var addedRow = "_h8 _cT";
14965
+ var resultRow = "_h8 _I";
14966
+ var resultBranch = "_h9 _c0 _X _W _3 _l";
14967
+ var urlAction = "_h_ _c0 _X _W _c1";
14968
+ var addedRow = "_ik _cT";
14982
14969
  //#endregion
14983
14970
  //#region src/tags/branch-pick.marko
14984
14971
  var branch_pick_default = _template("f", (input) => {
@@ -14991,11 +14978,11 @@ var branch_pick_default = _template("f", (input) => {
14991
14978
  let branchFilter = "";
14992
14979
  let reloadTick = 0;
14993
14980
  let refreshing = false;
14994
- _html(`<div${_attr_class("_hY")}>`);
14981
+ _html(`<div${_attr_class("_ia")}>`);
14995
14982
  _if(() => {
14996
14983
  {
14997
14984
  const $scope4_id = _scope_id();
14998
- _html(`<p${_attr_class("_co")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
14985
+ _html(`<p${_attr_class("_bM")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
14999
14986
  writeScope($scope4_id, {});
15000
14987
  return 0;
15001
14988
  }
@@ -15015,7 +15002,6 @@ var branch_pick_default = _template("f", (input) => {
15015
15002
  s: $branchFilter__closures,
15016
15003
  r: $defaultBranch__closures
15017
15004
  });
15018
- _resume_branch($scope0_id);
15019
15005
  });
15020
15006
  //#endregion
15021
15007
  //#region src/tags/repo-picker.marko
@@ -15094,7 +15080,6 @@ var repo_picker_default = _template("w", (input$2) => {
15094
15080
  _: _scope_with_id($scope0_id),
15095
15081
  a: _existing_scope($childScope)
15096
15082
  })));
15097
- _resume_branch($scope9_id);
15098
15083
  }, $scope0_id) };
15099
15084
  const addedList = sheet ? input$2.added || [] : [];
15100
15085
  const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || ssoPending.length || sheet && !!input$2.added);
@@ -15120,7 +15105,7 @@ var repo_picker_default = _template("w", (input$2) => {
15120
15105
  _if(() => {
15121
15106
  if (ssoPending.length) {
15122
15107
  const $scope11_id = _scope_id();
15123
- _html(`<div${_attr_class("_hR")}>`);
15108
+ _html(`<div${_attr_class("_h4")}>`);
15124
15109
  ssoBlock.content({});
15125
15110
  _html("</div>");
15126
15111
  writeScope($scope11_id, {});
@@ -15130,12 +15115,12 @@ var repo_picker_default = _template("w", (input$2) => {
15130
15115
  _if(() => {
15131
15116
  if (pasted) {
15132
15117
  const $scope1_id = _scope_id();
15133
- _html(`<ul${_attr_class("_hS")}><li><div${_attr_class(["_hU", "_hT"])}><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)`)}>`);
15118
+ _html(`<ul${_attr_class("_h5")}><li><div${_attr_class(["_h7", "_h6"])}><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)`)}>`);
15134
15119
  icon_plus_default({
15135
15120
  size: 12,
15136
- class: "_h0"
15121
+ class: "_ic"
15137
15122
  });
15138
- _html(`<span${_attr_class("_h1")}>${_text_resume($scope1_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope1_id, "c")}`);
15123
+ _html(`<span${_attr_class("_id")}>${_text_resume($scope1_id, "f", repoLabel$1(pasted))}</span></button>${_el_resume($scope1_id, "c")}`);
15139
15124
  _if(() => {
15140
15125
  if (pastedForkable) {
15141
15126
  const $scope10_id = _scope_id();
@@ -15186,7 +15171,7 @@ var repo_picker_default = _template("w", (input$2) => {
15186
15171
  return 0;
15187
15172
  } else if (filter && !catalog) {
15188
15173
  const $scope12_id = _scope_id();
15189
- _html(`<p${_attr_class("_co")}>Loading repos…</p>`);
15174
+ _html(`<p${_attr_class("_bM")}>Loading repos…</p>`);
15190
15175
  writeScope($scope12_id, {});
15191
15176
  return 1;
15192
15177
  }
@@ -15194,15 +15179,15 @@ var repo_picker_default = _template("w", (input$2) => {
15194
15179
  _if(() => {
15195
15180
  if (results.length) {
15196
15181
  const $scope3_id = _scope_id();
15197
- _html(`<ul${_attr_class("_hS")}>`);
15182
+ _html(`<ul${_attr_class("_h5")}>`);
15198
15183
  _for_of(results, (repo, i) => {
15199
15184
  const $scope4_id = _scope_id();
15200
- _html(`<li><div${_attr_class(["_hU", { ["_hT"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
15185
+ _html(`<li><div${_attr_class(["_h7", { ["_h6"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
15201
15186
  icon_plus_default({
15202
15187
  size: 12,
15203
- class: "_h0"
15188
+ class: "_ic"
15204
15189
  });
15205
- _html(`<span${_attr_class("_h1")}>${_text_resume($scope4_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cZ"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
15190
+ _html(`<span${_attr_class("_id")}>${_text_resume($scope4_id, "e", repoLabel$1(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cZ"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
15206
15191
  icon_branch_default({ size: 12 });
15207
15192
  _html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
15208
15193
  _if(() => {
@@ -15237,7 +15222,7 @@ var repo_picker_default = _template("w", (input$2) => {
15237
15222
  return 0;
15238
15223
  } else if (filter && catalog && !pasted) {
15239
15224
  const $scope8_id = _scope_id();
15240
- _html(`<p${_attr_class("_co")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
15225
+ _html(`<p${_attr_class("_bM")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
15241
15226
  writeScope($scope8_id, {});
15242
15227
  return 1;
15243
15228
  }
@@ -15245,7 +15230,7 @@ var repo_picker_default = _template("w", (input$2) => {
15245
15230
  _if(() => {
15246
15231
  if (sheet && input$2.added) {
15247
15232
  const $scope6_id = _scope_id();
15248
- _html(`<div${_attr_class("_h6")}><p${_attr_class("_h7")}>Repos <span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "d", addedList.length, $sg__input_added)}</span></p><ul${_attr_class(list$2)}>`);
15233
+ _html(`<div${_attr_class("_ii")}><p${_attr_class("_ij")}>Repos <span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "d", addedList.length, $sg__input_added)}</span></p><ul${_attr_class(list$2)}>`);
15249
15234
  _for_of(addedList, (repo) => {
15250
15235
  const $scope15_id = _scope_id();
15251
15236
  _html(`<li${_attr_class([addedRow, { ["_cY"]: repo.pending }])}>`);
@@ -15259,13 +15244,13 @@ var repo_picker_default = _template("w", (input$2) => {
15259
15244
  const $scope18_id = _scope_id();
15260
15245
  icon_check_default({
15261
15246
  size: 12,
15262
- class: "_h0"
15247
+ class: "_ic"
15263
15248
  });
15264
15249
  $si__input_added && writeScope($scope18_id, {});
15265
15250
  return 1;
15266
15251
  }
15267
15252
  }, $scope15_id, "b", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
15268
- _html(`<span${_attr_class("_h1")}>${_text_resume($scope15_id, "d", repoLabel$1(repo.name), $sg__input_added)}</span>`);
15253
+ _html(`<span${_attr_class("_id")}>${_text_resume($scope15_id, "d", repoLabel$1(repo.name), $sg__input_added)}</span>`);
15269
15254
  _if(() => {
15270
15255
  if (repo.baseBranch) {
15271
15256
  const $scope16_id = _scope_id();
@@ -15355,7 +15340,6 @@ var repo_picker_default = _template("w", (input$2) => {
15355
15340
  b8: $branchesFor__closures,
15356
15341
  b1: $catalog__closures
15357
15342
  });
15358
- _resume_branch($scope0_id);
15359
15343
  return $return;
15360
15344
  });
15361
15345
  //#endregion
@@ -15520,7 +15504,7 @@ var manage_workspace_default = _template("p", (input) => {
15520
15504
  setTimeout(() => loadProcs(void 0), 500);
15521
15505
  }, "p11", $scope0_id);
15522
15506
  const titleId = _id();
15523
- _html(`<div${_attr_class("_d8")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d9")}><div${_attr_class("_d_")}>`);
15507
+ _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
15524
15508
  _set_serialize_reason(30);
15525
15509
  const $childScope2 = _peek_scope_id();
15526
15510
  page_head_default({
@@ -15618,17 +15602,15 @@ var manage_workspace_default = _template("p", (input) => {
15618
15602
  _: _scope_with_id($scope6_id),
15619
15603
  Cco: 3
15620
15604
  }));
15621
- _resume_branch($scope9_id);
15622
15605
  }, $scope6_id)
15623
15606
  });
15624
15607
  _subscribe($ws_status__closures, _subscribe($ws_repos_length__closures, _subscribe($pendingAction__closures, writeScope($scope6_id, {
15625
15608
  _: _scope_with_id($scope0_id),
15626
15609
  c: _existing_scope($childScope)
15627
15610
  }))));
15628
- _resume_branch($scope6_id);
15629
15611
  }, $scope0_id) })
15630
15612
  });
15631
- _html(`<div${_attr_class("_ea")}><section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_gX")}>Name</span><span${_attr_class(["_gY", "_gZ"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
15613
+ _html(`<div${_attr_class("_eh")}><section${_attr_class("_bB")}><div${_attr_class("_bC")}><h2${_attr_class("_bP")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Name</span><span${_attr_class(["_gj", "_gk"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
15632
15614
  _if(() => {
15633
15615
  if (ws.status !== "active") {
15634
15616
  const $scope23_id = _scope_id();
@@ -15637,8 +15619,8 @@ var manage_workspace_default = _template("p", (input) => {
15637
15619
  return 0;
15638
15620
  }
15639
15621
  }, $scope0_id, "n", 1, 1, 1, 0, 1);
15640
- _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gX")}>Path</span><span${_attr_class([
15641
- "_gY",
15622
+ _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Path</span><span${_attr_class([
15623
+ "_gj",
15642
15624
  "_y",
15643
15625
  "_ba"
15644
15626
  ])}${_attr("title", ws.display_path || ws.path)}><bdi>${_text_resume($scope0_id, "r", ws.display_path || ws.path)}</bdi></span>${_el_resume($scope0_id, "q")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "path" ? "Copied" : "\"Copy path\""} aria-label="Copy path">`);
@@ -15655,7 +15637,7 @@ var manage_workspace_default = _template("p", (input) => {
15655
15637
  return 1;
15656
15638
  }
15657
15639
  }, $scope0_id, "s", 1, 1, 1, "</button>", 1);
15658
- _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gX")}>Branch</span><span${_attr_class(["_gY", "_y"])}${_attr("title", ws.branch)}>${_text_resume($scope0_id, "w", ws.branch)}</span>${_el_resume($scope0_id, "v")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "branch" ? "Copied" : "\"Copy branch\""} aria-label="Copy branch">`);
15640
+ _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Branch</span><span${_attr_class(["_gj", "_y"])}${_attr("title", ws.branch)}>${_text_resume($scope0_id, "w", ws.branch)}</span>${_el_resume($scope0_id, "v")}<button type=button${_attr_class(iconBtnXs)} title=${copiedFact === "branch" ? "Copied" : "\"Copy branch\""} aria-label="Copy branch">`);
15659
15641
  _if(() => {
15660
15642
  if (copiedFact === "branch") {
15661
15643
  const $scope26_id = _scope_id();
@@ -15683,7 +15665,6 @@ var manage_workspace_default = _template("p", (input) => {
15683
15665
  const $scope5_id = _scope_id();
15684
15666
  _html(_text_resume($scope5_id, "a", error));
15685
15667
  _subscribe($error__closures, writeScope($scope5_id, { _: _scope_with_id($scope4_id) }));
15686
- _resume_branch($scope5_id);
15687
15668
  }, $scope4_id)
15688
15669
  });
15689
15670
  writeScope($scope4_id, {});
@@ -15693,12 +15674,12 @@ var manage_workspace_default = _template("p", (input) => {
15693
15674
  _if(() => {
15694
15675
  if (pendingAction && actionStep) {
15695
15676
  const $scope10_id = _scope_id();
15696
- _html(`<p${_attr_class("_cc")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
15677
+ _html(`<p${_attr_class("_bA")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
15697
15678
  writeScope($scope10_id, {});
15698
15679
  return 0;
15699
15680
  }
15700
15681
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
15701
- _html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "a4", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_gW"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15682
+ _html(`<section${_attr_class("_bB")}><div${_attr_class("_bC")}><h2${_attr_class("_bP")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "a4", ws.repos.length)}</span><div${_attr_class("_z")}></div><button${_attr_class([iconBtnRow, "_gh"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15702
15683
  icon_plus_default({ size: 16 });
15703
15684
  _html(`</button>${_el_resume($scope0_id, "a6")}`);
15704
15685
  _set_serialize_reason(34);
@@ -15761,7 +15742,7 @@ var manage_workspace_default = _template("p", (input) => {
15761
15742
  const $childScope5 = _peek_scope_id();
15762
15743
  arm_button_default({
15763
15744
  class: [
15764
- "_cn",
15745
+ "_bL",
15765
15746
  "_7",
15766
15747
  "_8"
15767
15748
  ],
@@ -15794,14 +15775,14 @@ var manage_workspace_default = _template("p", (input) => {
15794
15775
  _html(`<li${_attr_class([
15795
15776
  "_cT",
15796
15777
  "_cU",
15797
- "_ch"
15798
- ])}><span${_attr_class("_G")}></span><span${_attr_class("_cm")}>Adding ${_text_resume($scope31_id, "d", name, 2)}…</span></li>`);
15778
+ "_bF"
15779
+ ])}><span${_attr_class("_G")}></span><span${_attr_class("_bK")}>Adding ${_text_resume($scope31_id, "d", name, 2)}…</span></li>`);
15799
15780
  writeScope($scope31_id, {});
15800
15781
  }, (n) => n, $scope0_id, "ae", 1, 1, 1, 0, 1);
15801
15782
  _if(() => {
15802
15783
  if (!ws.repos.length && !busy.size) {
15803
15784
  const $scope32_id = _scope_id();
15804
- _html(`<li${_attr_class(["_cT", "_cU"])}><span${_attr_class("_cm")}>No repos yet. Add one to start.</span></li>`);
15785
+ _html(`<li${_attr_class(["_cT", "_cU"])}><span${_attr_class("_bK")}>No repos yet. Add one to start.</span></li>`);
15805
15786
  writeScope($scope32_id, {});
15806
15787
  return 0;
15807
15788
  }
@@ -15811,7 +15792,7 @@ var manage_workspace_default = _template("p", (input) => {
15811
15792
  _if(() => {
15812
15793
  if (running.length) {
15813
15794
  const $scope15_id = _scope_id();
15814
- _html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
15795
+ _html(`<section${_attr_class("_bB")}><div${_attr_class("_bC")}><h2${_attr_class("_bP")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
15815
15796
  _for_of(running, (p) => {
15816
15797
  const $scope16_id = _scope_id();
15817
15798
  _html(`<li${_attr_class("_cT")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_cW"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_cX")}>`);
@@ -15821,10 +15802,10 @@ var manage_workspace_default = _template("p", (input) => {
15821
15802
  _script($scope33_id, "p28");
15822
15803
  writeScope($scope33_id, { d: port });
15823
15804
  }, (x) => String(x), $scope16_id, "g", 1, 1, 1, 0, 1);
15824
- _html(`<span${_attr_class(["_y", "_gN"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
15825
- "_cn",
15805
+ _html(`<span${_attr_class(["_y", "_f9"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
15806
+ "_bL",
15826
15807
  "_7",
15827
- "_gV"
15808
+ "_gg"
15828
15809
  ])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
15829
15810
  icon_xmark_default({ size: 14 });
15830
15811
  _html(`</button>${_el_resume($scope16_id, "j")}</span></li>${_el_resume($scope16_id, "a")}`);
@@ -15845,22 +15826,22 @@ var manage_workspace_default = _template("p", (input) => {
15845
15826
  s,
15846
15827
  linked: false
15847
15828
  }))].sort((a, b) => a.s.name.localeCompare(b.s.name));
15848
- _html(`</div><div${_attr_class("_ea")}>`);
15829
+ _html(`</div><div${_attr_class("_eh")}>`);
15849
15830
  _if(() => {
15850
15831
  if (allSkills.length) {
15851
15832
  const $scope2_id = _scope_id();
15852
- _html(`<section${_attr_class("_cd")}><div${_attr_class("_ce")}><h2${_attr_class("_cr")}>Skills</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class([list$2, "_cS"])}>`);
15833
+ _html(`<section${_attr_class("_bB")}><div${_attr_class("_bC")}><h2${_attr_class("_bP")}>Skills</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope2_id, "e", wsSkills.length)}/${_text_resume($scope2_id, "f", allSkills.length, 2)}</span></div><ul${_attr_class([list$2, "_cS"])}>`);
15853
15834
  _for_of(allSkills, ({ s, linked }) => {
15854
15835
  const $scope3_id = _scope_id();
15855
15836
  const isBusy = skillBusy.has(s.id);
15856
- _html(`<li${_attr_class([skillRow, { ["_gP"]: !linked }])}><span${_attr_class("_gR")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
15837
+ _html(`<li${_attr_class([skillRow, { ["_ga"]: !linked }])}><span${_attr_class("_gc")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
15857
15838
  _if(() => {
15858
15839
  if (s.worktree && !s.broken) {
15859
15840
  const $scope34_id = _scope_id();
15860
15841
  _html(`<span${_attr_class([
15861
15842
  "_N",
15862
15843
  "_y",
15863
- "_gS"
15844
+ "_gd"
15864
15845
  ])}${linked ? _attr("title", `Linked from ${s.worktree}/ in this workspace`) : _attr("title", `Ships in ${s.worktree}/ — not linked into this workspace yet`)}>${_text_resume($scope34_id, "b", s.worktree)}/</span>${_el_resume($scope34_id, "a")}`);
15865
15846
  writeScope($scope34_id, {});
15866
15847
  return 0;
@@ -15914,10 +15895,10 @@ var manage_workspace_default = _template("p", (input) => {
15914
15895
  const $childScope6 = _peek_scope_id();
15915
15896
  arm_button_default({
15916
15897
  class: [
15917
- "_cn",
15898
+ "_bL",
15918
15899
  "_7",
15919
15900
  "_8",
15920
- "_gU"
15901
+ "_gf"
15921
15902
  ],
15922
15903
  disabled: isBusy,
15923
15904
  busy: isBusy,
@@ -16025,12 +16006,11 @@ var manage_workspace_default = _template("p", (input) => {
16025
16006
  cm: $skillBusy__closures,
16026
16007
  cq: $skills__closures
16027
16008
  });
16028
- _resume_branch($scope0_id);
16029
16009
  });
16030
- var curRow = "_fo _cT";
16031
- var archived = "_ft _cd";
16032
- var archivedHint = "_fu _W";
16033
- var archivedRow = "_fv _cR _cP";
16010
+ var curRow = "_fg _cT";
16011
+ var archived = "_fl _bB";
16012
+ var archivedHint = "_fm _W";
16013
+ var archivedRow = "_fn _cR _cP";
16034
16014
  //#endregion
16035
16015
  //#region src/tags/icons/icon-group.marko
16036
16016
  var icon_group_default = _template("jb", (input) => {
@@ -16050,8 +16030,8 @@ var icon_group_default = _template("jb", (input) => {
16050
16030
  });
16051
16031
  //#endregion
16052
16032
  //#region src/tags/join-dialog.css.ts
16053
- var dlg = "_iG _hz";
16054
- var hint = "_iH _W";
16033
+ var dlg = "_hS _g2";
16034
+ var hint = "_hT _W";
16055
16035
  //#endregion
16056
16036
  //#region src/tags/join-dialog.marko
16057
16037
  var api$3;
@@ -16175,31 +16155,30 @@ var join_dialog_default = _template("m", (input) => {
16175
16155
  Ca9: 1,
16176
16156
  Cad: 1
16177
16157
  }))));
16178
- _resume_branch($scope2_id);
16179
16158
  }, $scope0_id) }),
16180
16159
  content: _content("m12", () => {
16181
16160
  _scope_reason();
16182
16161
  const $scope1_id = _scope_id();
16183
- _html(`<h2${_attr_class("_hA")}${_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([
16162
+ _html(`<h2${_attr_class("_g3")}${_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([
16184
16163
  "_Y",
16185
16164
  "_y",
16186
- "_iJ"
16165
+ "_hV"
16187
16166
  ])} 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")}`);
16188
16167
  _if(() => {
16189
16168
  if (parsed.error) {
16190
16169
  const $scope8_id = _scope_id();
16191
- _html(`<p${_attr_class([hint, "_iI"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16170
+ _html(`<p${_attr_class([hint, "_hU"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16192
16171
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
16193
16172
  return 0;
16194
16173
  } else if (parsed.ok) {
16195
16174
  const $scope3_id = _scope_id();
16196
- _html(`<ul${_attr_class("_iK")}>`);
16175
+ _html(`<ul${_attr_class("_hW")}>`);
16197
16176
  _for_of(parsed.ok.repos, (fullName) => {
16198
16177
  const $scope9_id = _scope_id();
16199
- _html(`<li${_attr_class("_iL")}><span${_attr_class("_iM")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
16178
+ _html(`<li${_attr_class("_hX")}><span${_attr_class("_hY")}>${_text_resume($scope9_id, "c", repoLabel$1(fullName))}</span></li>`);
16200
16179
  writeScope($scope9_id, {});
16201
16180
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
16202
- _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("_iN")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16181
+ _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("_hZ")}><span${_attr_class("_bP")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16203
16182
  name = _new_name;
16204
16183
  }, "m1", $scope3_id))}${_attr_class("_Y")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
16205
16184
  _script($scope3_id, "m8");
@@ -16226,7 +16205,6 @@ var join_dialog_default = _template("m", (input) => {
16226
16205
  _: _scope_with_id($scope4_id),
16227
16206
  Caa: 1
16228
16207
  }));
16229
- _resume_branch($scope5_id);
16230
16208
  }, $scope4_id)
16231
16209
  });
16232
16210
  writeScope($scope4_id, {});
@@ -16236,10 +16214,10 @@ var join_dialog_default = _template("m", (input) => {
16236
16214
  _if(() => {
16237
16215
  if (busy && steps$2.length) {
16238
16216
  const $scope6_id = _scope_id();
16239
- _html(`<ul${_attr_class("_iO")}>`);
16217
+ _html(`<ul${_attr_class("_h0")}>`);
16240
16218
  _for_of(steps$2, (step$2, i) => {
16241
16219
  const $scope7_id = _scope_id();
16242
- _html(`<li${_attr_class(["_iQ", { ["_iP"]: i === steps$2.length - 1 }])}>`);
16220
+ _html(`<li${_attr_class(["_h2", { ["_h1"]: i === steps$2.length - 1 }])}>`);
16243
16221
  _if(() => {
16244
16222
  if (i === steps$2.length - 1) {
16245
16223
  const $scope10_id = _scope_id();
@@ -16248,7 +16226,7 @@ var join_dialog_default = _template("m", (input) => {
16248
16226
  return 0;
16249
16227
  } else {
16250
16228
  const $scope11_id = _scope_id();
16251
- _html(`<span${_attr_class("_iR")}>`);
16229
+ _html(`<span${_attr_class("_h3")}>`);
16252
16230
  icon_check_default({ size: 14 });
16253
16231
  _html("</span>");
16254
16232
  writeScope($scope11_id, {});
@@ -16264,7 +16242,6 @@ var join_dialog_default = _template("m", (input) => {
16264
16242
  }, $scope1_id, "f", 1, 1, 1, 0, 1);
16265
16243
  _script($scope1_id, "m10");
16266
16244
  _subscribe($setInvite2__closures, _subscribe($parsed_error__closures, _subscribe($parsed_ok__closures, _subscribe($steps_length__closures, _subscribe($error__closures, _subscribe($busy__closures, _subscribe($invite__closures, writeScope($scope1_id, { _: _scope_with_id($scope0_id) }))))))));
16267
- _resume_branch($scope1_id);
16268
16245
  }, $scope0_id)
16269
16246
  });
16270
16247
  writeScope($scope0_id, {
@@ -16303,7 +16280,6 @@ var join_dialog_default = _template("m", (input) => {
16303
16280
  ai: $setInvite2__closures,
16304
16281
  a: _existing_scope($childScope)
16305
16282
  });
16306
- _resume_branch($scope0_id);
16307
16283
  });
16308
16284
  //#endregion
16309
16285
  //#region src/tags/new-workspace.marko
@@ -16406,7 +16382,7 @@ var new_workspace_default = _template("s", (input) => {
16406
16382
  }
16407
16383
  }, "s6", $scope0_id);
16408
16384
  const titleId = _id();
16409
- _html(`<div${_attr_class("_d8")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_d9")}><div${_attr_class("_d_")}>`);
16385
+ _html(`<div${_attr_class("_ee")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_ef")}><div${_attr_class("_eg")}>`);
16410
16386
  _set_serialize_reason({
16411
16387
  0: _serialize_guard($scope0_reason, 2),
16412
16388
  1: $sg__input_backHref__OR__input_onExit,
@@ -16427,10 +16403,9 @@ var new_workspace_default = _template("s", (input) => {
16427
16403
  _html(`</button>${_el_resume($scope2_id, "a")}`);
16428
16404
  _script($scope2_id, "s15");
16429
16405
  _subscribe($busy__closures, writeScope($scope2_id, { _: _scope_with_id($scope0_id) }));
16430
- _resume_branch($scope2_id);
16431
16406
  }, $scope0_id) })
16432
16407
  });
16433
- _html(`<div${_attr_class("_ea")}>`);
16408
+ _html(`<div${_attr_class("_eh")}>`);
16434
16409
  _if(() => {
16435
16410
  if (error) {
16436
16411
  const $scope7_id = _scope_id();
@@ -16444,16 +16419,15 @@ var new_workspace_default = _template("s", (input) => {
16444
16419
  const $scope8_id = _scope_id();
16445
16420
  _html(_text_resume($scope8_id, "a", error));
16446
16421
  _subscribe($error__closures, writeScope($scope8_id, { _: _scope_with_id($scope7_id) }));
16447
- _resume_branch($scope8_id);
16448
16422
  }, $scope7_id)
16449
16423
  });
16450
16424
  writeScope($scope7_id, {});
16451
16425
  return 0;
16452
16426
  }
16453
16427
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
16454
- _html(`<label${_attr_class("_fj")}><span${_attr_class("_cr")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16428
+ _html(`<label${_attr_class("_fb")}><span${_attr_class("_bP")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16455
16429
  name = _new_name;
16456
- }, "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("_fm")}><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, "_fl"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
16430
+ }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_bB")}><div${_attr_class("_fe")}><h2${_attr_class("_bP")}>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, "_fd"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
16457
16431
  icon_plus_default({ size: 16 });
16458
16432
  _html(`</button>${_el_resume($scope0_id, "p")}`);
16459
16433
  _set_serialize_reason(34);
@@ -16491,7 +16465,7 @@ var new_workspace_default = _template("s", (input) => {
16491
16465
  _html(`</button>${_el_resume($scope0_id, "t")}</div><ul${_attr_class(list$2)}>`);
16492
16466
  _for_of(selected, (repo) => {
16493
16467
  const $scope3_id = _scope_id();
16494
- _html(`<li${_attr_class("_fn")}><div${_attr_class(curRow)}><span${_attr_class("_cV")}>${_text_resume($scope3_id, "d", repoLabel$1(repo.fullName))}</span><span${_attr_class("_cX")}>`);
16468
+ _html(`<li${_attr_class("_ff")}><div${_attr_class(curRow)}><span${_attr_class("_cV")}>${_text_resume($scope3_id, "d", repoLabel$1(repo.fullName))}</span><span${_attr_class("_cX")}>`);
16495
16469
  _if(() => {
16496
16470
  if (repo.fork !== void 0) {
16497
16471
  const $scope4_id = _scope_id();
@@ -16531,7 +16505,7 @@ var new_workspace_default = _template("s", (input) => {
16531
16505
  _if(() => {
16532
16506
  if (branchesFor === repo.fullName) {
16533
16507
  const $scope9_id = _scope_id();
16534
- _html(`<div${_attr_class("_fp")}>`);
16508
+ _html(`<div${_attr_class("_fh")}>`);
16535
16509
  const $childScope4 = _peek_scope_id();
16536
16510
  branch_pick_default({
16537
16511
  repo: repo.fullName,
@@ -16569,10 +16543,10 @@ var new_workspace_default = _template("s", (input) => {
16569
16543
  _if(() => {
16570
16544
  if (busy && steps.length) {
16571
16545
  const $scope10_id = _scope_id();
16572
- _html(`<ul${_attr_class("_fq")}>`);
16546
+ _html(`<ul${_attr_class("_fi")}>`);
16573
16547
  _for_of(steps, (step, i) => {
16574
16548
  const $scope11_id = _scope_id();
16575
- _html(`<li${_attr_class(["_fw", { ["_fr"]: i === steps.length - 1 }])}>`);
16549
+ _html(`<li${_attr_class(["_fo", { ["_fj"]: i === steps.length - 1 }])}>`);
16576
16550
  _if(() => {
16577
16551
  if (i === steps.length - 1) {
16578
16552
  const $scope15_id = _scope_id();
@@ -16581,7 +16555,7 @@ var new_workspace_default = _template("s", (input) => {
16581
16555
  return 0;
16582
16556
  } else {
16583
16557
  const $scope16_id = _scope_id();
16584
- _html(`<span${_attr_class("_fs")}>`);
16558
+ _html(`<span${_attr_class("_fk")}>`);
16585
16559
  icon_check_default({ size: 14 });
16586
16560
  _html("</span>");
16587
16561
  writeScope($scope16_id, {});
@@ -16595,18 +16569,18 @@ var new_workspace_default = _template("s", (input) => {
16595
16569
  return 0;
16596
16570
  }
16597
16571
  }, $scope0_id, "y", 1, 1, 1, 0, 1);
16598
- _html(`<div${_attr_class("_fh")}><button type=button${_attr_class([
16572
+ _html(`<div${_attr_class("_e_")}><button type=button${_attr_class([
16599
16573
  btnLg,
16600
16574
  "_r",
16601
- "_fi"
16602
- ])}${_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("_ea")}>`);
16575
+ "_fa"
16576
+ ])}${_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")}>`);
16603
16577
  _if(() => {
16604
16578
  if (archived$1.length) {
16605
16579
  const $scope5_id = _scope_id();
16606
- _html(`<section${_attr_class(archived)}><div${_attr_class("_fm")}><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)}>`);
16580
+ _html(`<section${_attr_class(archived)}><div${_attr_class("_fe")}><h2${_attr_class("_bP")}>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)}>`);
16607
16581
  _for_of(archived$1, (ws) => {
16608
16582
  const $scope6_id = _scope_id();
16609
- _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)}>`);
16583
+ _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_bH")}><span${_attr_class("_bI")}>${_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)}>`);
16610
16584
  _if(() => {
16611
16585
  if (restoring === ws.id) {
16612
16586
  const $scope17_id = _scope_id();
@@ -16684,7 +16658,6 @@ var new_workspace_default = _template("s", (input) => {
16684
16658
  ba: $steps_length__closures,
16685
16659
  b7: $restoring__closures
16686
16660
  });
16687
- _resume_branch($scope0_id);
16688
16661
  });
16689
16662
  //#endregion
16690
16663
  //#region src/tags/term-find.marko
@@ -16723,19 +16696,19 @@ var term_find_default = _template("H", (input) => {
16723
16696
  const canStep = hasQuery && open;
16724
16697
  const keybar = input.placement === "keybar";
16725
16698
  _html(`<div${_attr_class([
16726
- "_eF",
16727
- keybar ? "_eH" : "_eG",
16728
- !open && "_eJ"
16729
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_ez", keybar ? "_eI" : "_eC"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
16699
+ "_eu",
16700
+ keybar ? "_ew" : "_ev",
16701
+ !open && "_ey"
16702
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_eo", keybar ? "_ex" : "_er"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
16730
16703
  if (!open) return;
16731
16704
  query = v;
16732
16705
  live.query = v;
16733
16706
  run(0);
16734
- }, "H1", $scope0_id))}${_attr_class([findInput, keybar && "_eK"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_eL"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16707
+ }, "H1", $scope0_id))}${_attr_class([findInput, keybar && "_ez"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16735
16708
  icon_arrow_up_default({ size: 14 });
16736
- _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_eL"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16709
+ _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16737
16710
  icon_arrow_down_default({ size: 14 });
16738
- _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_eL"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
16711
+ _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
16739
16712
  icon_xmark_default({ size: 14 });
16740
16713
  _html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
16741
16714
  const $return = focusInput;
@@ -16761,7 +16734,6 @@ var term_find_default = _template("H", (input) => {
16761
16734
  ac: keybar,
16762
16735
  t: input.openChange || void 0
16763
16736
  });
16764
- _resume_branch($scope0_id);
16765
16737
  return $return;
16766
16738
  });
16767
16739
  //#endregion
@@ -16886,7 +16858,7 @@ var term_default = _template("I", (input) => {
16886
16858
  }
16887
16859
  }, "I9", $scope0_id);
16888
16860
  input.keys;
16889
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_fx")}><div${_attr_class("_fy")}></div>${_el_resume($scope0_id, "b")}`);
16861
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_eL")}><div${_attr_class("_eM")}></div>${_el_resume($scope0_id, "b")}`);
16890
16862
  _if(() => {
16891
16863
  if (findOpen) {
16892
16864
  const $scope4_id = _scope_id();
@@ -16913,7 +16885,7 @@ var term_default = _template("I", (input) => {
16913
16885
  _if(() => {
16914
16886
  if (uploading) {
16915
16887
  const $scope5_id = _scope_id();
16916
- _html(`<div${_attr_class("_fE")}>uploading…</div>`);
16888
+ _html(`<div${_attr_class("_eS")}>uploading…</div>`);
16917
16889
  writeScope($scope5_id, {});
16918
16890
  return 0;
16919
16891
  }
@@ -16921,7 +16893,7 @@ var term_default = _template("I", (input) => {
16921
16893
  _if(() => {
16922
16894
  if (copiedFlash) {
16923
16895
  const $scope6_id = _scope_id();
16924
- _html(`<div${_attr_class("_fD")}>Copied</div>`);
16896
+ _html(`<div${_attr_class("_eR")}>Copied</div>`);
16925
16897
  writeScope($scope6_id, {});
16926
16898
  return 0;
16927
16899
  }
@@ -16930,7 +16902,7 @@ var term_default = _template("I", (input) => {
16930
16902
  _if(() => {
16931
16903
  if (trapOpen) {
16932
16904
  const $scope3_id = _scope_id();
16933
- _html(`<div${_attr_class("_fF")}><div${_attr_class("_fG")}><p${_attr_class("_fH")}>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")}`);
16905
+ _html(`<div${_attr_class("_eT")}><div${_attr_class("_eU")}><p${_attr_class("_eV")}>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")}`);
16934
16906
  _script($scope3_id, "I16");
16935
16907
  _script($scope3_id, "I17");
16936
16908
  writeScope($scope3_id, {});
@@ -16976,7 +16948,6 @@ var term_default = _template("I", (input) => {
16976
16948
  ar: pasteClipboard,
16977
16949
  au: input.keysChange || void 0
16978
16950
  });
16979
- _resume_branch($scope0_id);
16980
16951
  });
16981
16952
  //#endregion
16982
16953
  //#region src/tags/work-view.marko
@@ -17192,7 +17163,7 @@ var work_view_default = _template("N", (input) => {
17192
17163
  toggleDiff();
17193
17164
  }
17194
17165
  }, "N14", $scope0_id);
17195
- _html(`<div${_attr_class(["_b8", { ["_b7"]: !input.active }])}><div${_attr_class("_b9")}>`);
17166
+ _html(`<div${_attr_class(["_bv", { ["_bu"]: !input.active }])}><div${_attr_class("_bw")}>`);
17196
17167
  _if(() => {
17197
17168
  if (error) {
17198
17169
  const $scope8_id = _scope_id();
@@ -17205,7 +17176,6 @@ var work_view_default = _template("N", (input) => {
17205
17176
  const $scope9_id = _scope_id();
17206
17177
  _html(_text_resume($scope9_id, "a", error));
17207
17178
  _subscribe($error__closures, writeScope($scope9_id, { _: _scope_with_id($scope8_id) }));
17208
- _resume_branch($scope9_id);
17209
17179
  }, $scope8_id)
17210
17180
  });
17211
17181
  writeScope($scope8_id, {});
@@ -17215,7 +17185,7 @@ var work_view_default = _template("N", (input) => {
17215
17185
  _if(() => {
17216
17186
  if (diffMounted && ws) {
17217
17187
  const $scope1_id = _scope_id();
17218
- _html(`<div${_attr_class("_b_")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
17188
+ _html(`<div${_attr_class("_bx")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
17219
17189
  _set_serialize_reason({
17220
17190
  0: $sg__input_workspace,
17221
17191
  1: $sg__input_workspace,
@@ -17277,7 +17247,7 @@ var work_view_default = _template("N", (input) => {
17277
17247
  _if(() => {
17278
17248
  if (manageMounted && ws) {
17279
17249
  const $scope2_id = _scope_id();
17280
- _html(`<div${_attr_class("_b_")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
17250
+ _html(`<div${_attr_class("_bx")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
17281
17251
  _set_serialize_reason({
17282
17252
  0: $sg__input_workspace,
17283
17253
  1: _serialize_guard($scope0_reason, 9)
@@ -17303,7 +17273,7 @@ var work_view_default = _template("N", (input) => {
17303
17273
  _if(() => {
17304
17274
  if (settingsMounted) {
17305
17275
  const $scope3_id = _scope_id();
17306
- _html(`<div${_attr_class("_b_")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
17276
+ _html(`<div${_attr_class("_bx")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
17307
17277
  _set_serialize_reason({
17308
17278
  0: _serialize_guard($scope0_reason, 0),
17309
17279
  1: $sg__input_workspace,
@@ -17345,7 +17315,7 @@ var work_view_default = _template("N", (input) => {
17345
17315
  _if(() => {
17346
17316
  if (newMounted) {
17347
17317
  const $scope4_id = _scope_id();
17348
- _html(`<div${_attr_class("_b_")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
17318
+ _html(`<div${_attr_class("_bx")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
17349
17319
  _set_serialize_reason({
17350
17320
  0: 1,
17351
17321
  1: _serialize_guard($scope0_reason, 13),
@@ -17370,13 +17340,13 @@ var work_view_default = _template("N", (input) => {
17370
17340
  return 0;
17371
17341
  }
17372
17342
  }, $scope0_id, "g", 1, 1, 1, 0, 1);
17373
- _html(`<div${_attr_class("_ca")}${_attr("inert", view !== "term")}>`);
17343
+ _html(`<div${_attr_class("_by")}${_attr("inert", view !== "term")}>`);
17374
17344
  _if(() => {
17375
17345
  if (ws && shownSessions) {
17376
17346
  const $scope5_id = _scope_id();
17377
17347
  _for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
17378
17348
  const $scope6_id = _scope_id();
17379
- _html(`<div${_attr_class("_cb")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
17349
+ _html(`<div${_attr_class("_bz")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
17380
17350
  _set_serialize_reason(2);
17381
17351
  const $childScope5 = _peek_scope_id();
17382
17352
  term_default({
@@ -17402,7 +17372,7 @@ var work_view_default = _template("N", (input) => {
17402
17372
  _if(() => {
17403
17373
  if (!shownSessions.length && view === "term") {
17404
17374
  const $scope7_id = _scope_id();
17405
- _html(`<div${_attr_class("_cp")}><span>No sessions in this workspace.</span><button${_attr_class(["_q", "_r"])}${_attr("disabled", spawning)}>${_text_resume($scope7_id, "c", spawning ? "Starting…" : `Start ${input.preferred || "shell"}`)}</button>${_el_resume($scope7_id, "b")}</div>`);
17375
+ _html(`<div${_attr_class("_bN")}><span>No sessions in this workspace.</span><button${_attr_class(["_q", "_r"])}${_attr("disabled", spawning)}>${_text_resume($scope7_id, "c", spawning ? "Starting…" : `Start ${input.preferred || "shell"}`)}</button>${_el_resume($scope7_id, "b")}</div>`);
17406
17376
  _script($scope7_id, "N39");
17407
17377
  _subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
17408
17378
  return 0;
@@ -17412,7 +17382,7 @@ var work_view_default = _template("N", (input) => {
17412
17382
  return 0;
17413
17383
  } else if (ws) {
17414
17384
  const $scope10_id = _scope_id();
17415
- _html(`<p${_attr_class("_cp")}>Loading sessions…</p>`);
17385
+ _html(`<p${_attr_class("_bN")}>Loading sessions…</p>`);
17416
17386
  writeScope($scope10_id, {});
17417
17387
  return 1;
17418
17388
  }
@@ -17511,11 +17481,10 @@ var work_view_default = _template("N", (input) => {
17511
17481
  co: $si__input_preferred && $input_preferred__closures,
17512
17482
  db: $spawning__closures
17513
17483
  });
17514
- _resume_branch($scope0_id);
17515
17484
  });
17516
17485
  //#endregion
17517
17486
  //#region src/tags/key-bar.css.ts
17518
- var kbtn = "_bG _5 _l";
17487
+ var kbtn = "_cj _5 _l";
17519
17488
  _template("yb", (input) => {
17520
17489
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
17521
17490
  const $scope0_id = _scope_id();
@@ -17531,8 +17500,8 @@ _template("yb", (input) => {
17531
17500
  });
17532
17501
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
17533
17502
  });
17534
- var sessOpen = "_e8 _I";
17535
- var sessRename = "_fb _J";
17503
+ var sessOpen = "_e0 _I";
17504
+ var sessRename = "_e4 _J";
17536
17505
  //#endregion
17537
17506
  //#region src/tags/usage-pcts.marko
17538
17507
  var usage_pcts_default = _template("M", (input) => {
@@ -17544,22 +17513,22 @@ var usage_pcts_default = _template("M", (input) => {
17544
17513
  if (windows.length) {
17545
17514
  const $scope1_id = _scope_id();
17546
17515
  _html(`<span${_attr_class([
17547
- "_hL",
17516
+ "_hM",
17548
17517
  input.class,
17549
- { ["_hM"]: agent.stale_seconds != null }
17518
+ { ["_hN"]: agent.stale_seconds != null }
17550
17519
  ])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
17551
17520
  _for_of(windows, (win$1, i) => {
17552
17521
  const $scope2_id = _scope_id();
17553
- _html(`<span${_attr_class("_hN")}>`);
17522
+ _html(`<span${_attr_class("_hO")}>`);
17554
17523
  _if(() => {
17555
17524
  if (i) {
17556
17525
  const $scope3_id = _scope_id();
17557
- _html(`<span${_attr_class("_hQ")} aria-hidden=true>·</span>`);
17526
+ _html(`<span${_attr_class("_hR")} aria-hidden=true>·</span>`);
17558
17527
  $si__input_agent && writeScope($scope3_id, {});
17559
17528
  return 0;
17560
17529
  }
17561
17530
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
17562
- _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 ? "_hi" : win$1.used_percent >= 70 ? "_hh" : win$1.used_percent >= 40 ? "_hg" : "_hf"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
17531
+ _html(`<span${_attr_class("_hP")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_hQ", win$1.used_percent >= 90 ? "_hp" : win$1.used_percent >= 70 ? "_ho" : win$1.used_percent >= 40 ? "_hn" : "_hm"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
17563
17532
  $si__input_agent && writeScope($scope2_id, {});
17564
17533
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
17565
17534
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -17601,7 +17570,7 @@ _template("n", (input) => {
17601
17570
  align: "center",
17602
17571
  gap: 8
17603
17572
  }), "n2", $scope0_id);
17604
- _html(`<button${_attr_class([kbtn, "_e4"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17573
+ _html(`<button${_attr_class([kbtn, "_eW"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17605
17574
  _set_serialize_reason({
17606
17575
  1: $sg__input_sessions__OR__input_sessionId,
17607
17576
  2: $sg__input_sessions__OR__input_sessionId
@@ -17615,11 +17584,11 @@ _template("n", (input) => {
17615
17584
  "_A",
17616
17585
  "_bb",
17617
17586
  phase[sessionPhase(current$2?.state)]
17618
- ])}></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"])}>`);
17587
+ ])}></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", "_eX"])}>`);
17619
17588
  _for_of(input.sessions, (s) => {
17620
17589
  const $scope1_id = _scope_id();
17621
17590
  const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
17622
- _html(`<div${_attr_class(["_e7", { ["_e6"]: s.id === input.sessionId }])}>`);
17591
+ _html(`<div${_attr_class(["_eZ", { ["_eY"]: s.id === input.sessionId }])}>`);
17623
17592
  _if(() => {
17624
17593
  if (renamingId === s.id) {
17625
17594
  const $scope5_id = _scope_id();
@@ -17651,7 +17620,7 @@ _template("n", (input) => {
17651
17620
  agent: activeAgent(s),
17652
17621
  size: 14
17653
17622
  });
17654
- _html(`<span${_attr_class("_e9")}><span${_attr_class("_fa")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17623
+ _html(`<span${_attr_class("_e1")}><span${_attr_class("_e3")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17655
17624
  _if(() => {
17656
17625
  if (s.id === input.sessionId) {
17657
17626
  const $scope7_id = _scope_id();
@@ -17663,7 +17632,7 @@ _template("n", (input) => {
17663
17632
  const $childScope4 = _peek_scope_id();
17664
17633
  usage_pcts_default({
17665
17634
  agent: plan,
17666
- class: "_e_"
17635
+ class: "_e2"
17667
17636
  });
17668
17637
  writeScope($scope8_id, { a: _existing_scope($childScope4) });
17669
17638
  return 0;
@@ -17680,7 +17649,7 @@ _template("n", (input) => {
17680
17649
  _if(() => {
17681
17650
  if (input.onRenameSession) {
17682
17651
  const $scope6_id = _scope_id();
17683
- _html(`<button${_attr_class(["_fc", "_fd"])} title="Rename session">`);
17652
+ _html(`<button${_attr_class(["_e5", "_e6"])} title="Rename session">`);
17684
17653
  icon_edit_default({ size: 12 });
17685
17654
  _html(`</button>${_el_resume($scope6_id, "a")}`);
17686
17655
  _script($scope6_id, "n5");
@@ -17692,7 +17661,7 @@ _template("n", (input) => {
17692
17661
  if (input.onCloseSession) {
17693
17662
  const $scope3_id = _scope_id();
17694
17663
  arm_button_default({
17695
- class: ["_fc", "_7"],
17664
+ class: ["_e5", "_7"],
17696
17665
  title: "Close session",
17697
17666
  armedTitle: "Close?",
17698
17667
  onFire: _resume(function() {
@@ -17724,7 +17693,7 @@ _template("n", (input) => {
17724
17693
  m: $si__input_sessions && $for_content__s_agent__closures
17725
17694
  });
17726
17695
  }, "id", $scope0_id, "e", 1, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
17727
- _html(`<div${_attr_class("_fe")}><span${_attr_class("_ff")}>New session</span><div${_attr_class("_fg")}>`);
17696
+ _html(`<div${_attr_class("_e7")}><span${_attr_class("_e8")}>New session</span><div${_attr_class("_e9")}>`);
17728
17697
  _for_of(["shell", ...input.agents], (agent) => {
17729
17698
  const $scope4_id = _scope_id();
17730
17699
  _html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
@@ -17766,7 +17735,6 @@ _template("n", (input) => {
17766
17735
  a5: $si__input_onRenameSession && $input_onRenameSession__closures,
17767
17736
  a6: $si__input_onCloseSession && $input_onCloseSession__closures
17768
17737
  });
17769
- _resume_branch($scope0_id);
17770
17738
  });
17771
17739
  _template("db", (input) => {
17772
17740
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
@@ -17866,13 +17834,13 @@ var key_bar_default = _template("o", (input) => {
17866
17834
  const $scope0_reason = _scope_reason();
17867
17835
  _serialize_guard($scope0_reason, 0);
17868
17836
  const $si__input_mode__OR__input_keys = _serialize_if($scope0_reason, 0);
17837
+ _serialize_guard($scope0_reason, 5);
17869
17838
  _serialize_guard($scope0_reason, 7);
17870
17839
  _serialize_guard($scope0_reason, 1);
17871
17840
  _serialize_guard($scope0_reason, 10);
17872
17841
  const $si__input_mode = _serialize_if($scope0_reason, 9);
17873
17842
  _serialize_guard($scope0_reason, 2);
17874
17843
  _serialize_guard($scope0_reason, 18);
17875
- _serialize_guard($scope0_reason, 5);
17876
17844
  const $si__input_mode__OR__input_keys__OR__input_reviewFindOpen = _serialize_if($scope0_reason, 5), $si__input_workspaceId = _serialize_if($scope0_reason, 10), $si__input_sessions = _serialize_if($scope0_reason, 11), $si__input_sessionId = _serialize_if($scope0_reason, 12), $si__input_agents = _serialize_if($scope0_reason, 13), $si__input_onNewSession = _serialize_if($scope0_reason, 14), $si__input_onOpenTab = _serialize_if($scope0_reason, 15), $si__input_onCloseSession = _serialize_if($scope0_reason, 16), $si__input_onRenameSession = _serialize_if($scope0_reason, 17), $si__input_workspaceName = _serialize_if($scope0_reason, 18);
17877
17845
  const $scope0_id = _scope_id();
17878
17846
  const $keys__closures = /* @__PURE__ */ new Set();
@@ -17960,7 +17928,6 @@ var key_bar_default = _template("o", (input) => {
17960
17928
  am: $si__input_mode && $onTermPage__closures,
17961
17929
  al: $si__input_workspaceName && $input_workspaceName__closures
17962
17930
  });
17963
- _resume_branch($scope0_id);
17964
17931
  });
17965
17932
  //#endregion
17966
17933
  //#region src/tags/app-shell.marko
@@ -18131,7 +18098,6 @@ var app_shell_default = _template("d", (input) => {
18131
18098
  const $scope5_id = _scope_id();
18132
18099
  _html(_text_resume($scope5_id, "a", error));
18133
18100
  _subscribe($error__closures, writeScope($scope5_id, { _: _scope_with_id($scope4_id) }));
18134
- _resume_branch($scope5_id);
18135
18101
  }, $scope4_id)
18136
18102
  });
18137
18103
  writeScope($scope4_id, {});
@@ -18457,12 +18423,11 @@ var app_shell_default = _template("d", (input) => {
18457
18423
  c8: $openWorkspace2__closures,
18458
18424
  h: _existing_scope($childScope4)
18459
18425
  });
18460
- _resume_branch($scope0_id);
18461
18426
  });
18462
18427
  //#endregion
18463
18428
  //#region src/tags/app-page.marko
18464
18429
  var app_page_default = _template("c", (input) => {
18465
- const $scope0_reason = _scope_reason();
18430
+ const $scope0_reason = _scope_reason(), $sg__input_initial = _serialize_guard($scope0_reason, 0);
18466
18431
  const $scope0_id = _scope_id();
18467
18432
  const { workspaces, settings, prefs, status, setup, usage } = $global().data;
18468
18433
  const base = {
@@ -18473,7 +18438,7 @@ var app_page_default = _template("c", (input) => {
18473
18438
  usage: usage ?? null
18474
18439
  };
18475
18440
  _html(`<main${_attr_class("_c")}>`);
18476
- _set_serialize_reason(_serialize_guard($scope0_reason, 0));
18441
+ _set_serialize_reason($sg__input_initial);
18477
18442
  const $childScope = _peek_scope_id();
18478
18443
  app_shell_default({
18479
18444
  boot: {
@@ -18520,7 +18485,7 @@ function head2(context) {
18520
18485
  //#region src/routes/_app/settings/+handler.ts
18521
18486
  /** Settings is about the doctor snapshot, so this page waits for it and
18522
18487
  * server-renders every section (the shell never streams, see CLAUDE.md). */
18523
- var GET$26 = Run.GET(async (_ctx, next) => {
18488
+ var GET$27 = Run.GET(async (_ctx, next) => {
18524
18489
  return next({ setup: await getSetup().catch(() => null) });
18525
18490
  });
18526
18491
  //#endregion
@@ -18545,12 +18510,12 @@ var settings_server_entry_default = withPageAssets(_template("AA0T2xt", (input)
18545
18510
  }, 1), flush$1, "AA0T2xt");
18546
18511
  //#endregion
18547
18512
  //#region __marko-run__settings.js
18548
- var getHandler$26 = normalizeHandler(GET$26, "GET");
18549
- var get3_options = normalizeOptions("GET", mware3, getHandler$26);
18513
+ var getHandler$27 = normalizeHandler(GET$27, "GET");
18514
+ var get3_options = normalizeOptions("GET", mware3, getHandler$27);
18550
18515
  var head3_options = normalizeOptions("HEAD", mware3);
18551
18516
  function get3(context) {
18552
18517
  const __page = (data) => render$1(context, settings_server_entry_default, {}, data);
18553
- const __getHandler = (data) => call(getHandler$26, __page, context, data);
18518
+ const __getHandler = (data) => call(getHandler$27, __page, context, data);
18554
18519
  return call(mware3, __getHandler, context);
18555
18520
  }
18556
18521
  function head3(context) {
@@ -19539,7 +19504,7 @@ async function restore(m, sel) {
19539
19504
  }
19540
19505
  //#endregion
19541
19506
  //#region __marko-run__api.backup.export.js
19542
- var getHandler$25 = normalizeHandler(Run.GET(() => {
19507
+ var getHandler$26 = normalizeHandler(Run.GET(() => {
19543
19508
  const body = JSON.stringify(encodeManifest(buildManifest()), null, 1) + "\n";
19544
19509
  return new Response(body, { headers: {
19545
19510
  "content-type": "application/json; charset=utf-8",
@@ -19547,10 +19512,10 @@ var getHandler$25 = normalizeHandler(Run.GET(() => {
19547
19512
  "cache-control": "no-store"
19548
19513
  } });
19549
19514
  }), "GET");
19550
- var get8_options = normalizeOptions("GET", mware11, getHandler$25);
19515
+ var get8_options = normalizeOptions("GET", mware11, getHandler$26);
19551
19516
  var head8_options = normalizeOptions("HEAD", mware11);
19552
19517
  function get8(context) {
19553
- const __getHandler = (data) => call(getHandler$25, noContent, context, data);
19518
+ const __getHandler = (data) => call(getHandler$26, noContent, context, data);
19554
19519
  return call(mware11, __getHandler, context);
19555
19520
  }
19556
19521
  function head8(context) {
@@ -19688,13 +19653,13 @@ ensureAllPushHooks();
19688
19653
  resumePendingWorkspaces();
19689
19654
  //#endregion
19690
19655
  //#region __marko-run__api.boot.js
19691
- var getHandler$24 = normalizeHandler(Run.GET(() => {
19656
+ var getHandler$25 = normalizeHandler(Run.GET(() => {
19692
19657
  return Response.json({ boot: BOOT_ID }, { headers: { "cache-control": "no-store" } });
19693
19658
  }), "GET");
19694
- var get12_options = normalizeOptions("GET", mware11, getHandler$24);
19659
+ var get12_options = normalizeOptions("GET", mware11, getHandler$25);
19695
19660
  var head12_options = normalizeOptions("HEAD", mware11);
19696
19661
  function get12(context) {
19697
- const __getHandler = (data) => call(getHandler$24, noContent, context, data);
19662
+ const __getHandler = (data) => call(getHandler$25, noContent, context, data);
19698
19663
  return call(mware11, __getHandler, context);
19699
19664
  }
19700
19665
  function head12(context) {
@@ -19702,11 +19667,11 @@ function head12(context) {
19702
19667
  }
19703
19668
  //#endregion
19704
19669
  //#region __marko-run__api.events.js
19705
- var getHandler$23 = normalizeHandler(Run.GET(() => Response.json({ error: "events bus is websocket — connect with ws(s)://host/api/events" }, { status: 410 })), "GET");
19706
- var get13_options = normalizeOptions("GET", mware11, getHandler$23);
19670
+ var getHandler$24 = normalizeHandler(Run.GET(() => Response.json({ error: "events bus is websocket — connect with ws(s)://host/api/events" }, { status: 410 })), "GET");
19671
+ var get13_options = normalizeOptions("GET", mware11, getHandler$24);
19707
19672
  var head13_options = normalizeOptions("HEAD", mware11);
19708
19673
  function get13(context) {
19709
- const __getHandler = (data) => call(getHandler$23, noContent, context, data);
19674
+ const __getHandler = (data) => call(getHandler$24, noContent, context, data);
19710
19675
  return call(mware11, __getHandler, context);
19711
19676
  }
19712
19677
  function head13(context) {
@@ -19737,14 +19702,14 @@ function post14(context) {
19737
19702
  }
19738
19703
  //#endregion
19739
19704
  //#region __marko-run__api.instance.icon.js
19740
- var getHandler$22 = normalizeHandler(Run.GET({ search: (value) => ({ v: typeof value.v === "string" ? value.v : "" }) }, (ctx) => new Response(iconSvg(ctx.search.v && normalizeAccent(`#${ctx.search.v}`) || getInstance().accent), { headers: {
19705
+ var getHandler$23 = normalizeHandler(Run.GET({ search: (value) => ({ v: typeof value.v === "string" ? value.v : "" }) }, (ctx) => new Response(iconSvg(ctx.search.v && normalizeAccent(`#${ctx.search.v}`) || getInstance().accent), { headers: {
19741
19706
  "content-type": "image/svg+xml",
19742
19707
  "cache-control": "public, max-age=3600"
19743
19708
  } })), "GET");
19744
- var get15_options = normalizeOptions("GET", mware11, getHandler$22);
19709
+ var get15_options = normalizeOptions("GET", mware11, getHandler$23);
19745
19710
  var head15_options = normalizeOptions("HEAD", mware11);
19746
19711
  function get15(context) {
19747
- const __getHandler = (data) => call(getHandler$22, noContent, context, data);
19712
+ const __getHandler = (data) => call(getHandler$23, noContent, context, data);
19748
19713
  return call(mware11, __getHandler, context);
19749
19714
  }
19750
19715
  function head15(context) {
@@ -19953,14 +19918,14 @@ function iconPng(art, accent) {
19953
19918
  }
19954
19919
  //#endregion
19955
19920
  //#region __marko-run__api.instance.icon-png.js
19956
- var getHandler$21 = normalizeHandler(Run.GET({ search: (value) => ({ art: typeof value.art === "string" && isIconArt(value.art) ? value.art : "512" }) }, (ctx) => new Response(iconPng(ctx.search.art, getInstance().accent), { headers: {
19921
+ var getHandler$22 = normalizeHandler(Run.GET({ search: (value) => ({ art: typeof value.art === "string" && isIconArt(value.art) ? value.art : "512" }) }, (ctx) => new Response(iconPng(ctx.search.art, getInstance().accent), { headers: {
19957
19922
  "content-type": "image/png",
19958
19923
  "cache-control": "public, max-age=3600"
19959
19924
  } })), "GET");
19960
- var get16_options = normalizeOptions("GET", mware11, getHandler$21);
19925
+ var get16_options = normalizeOptions("GET", mware11, getHandler$22);
19961
19926
  var head16_options = normalizeOptions("HEAD", mware11);
19962
19927
  function get16(context) {
19963
- const __getHandler = (data) => call(getHandler$21, noContent, context, data);
19928
+ const __getHandler = (data) => call(getHandler$22, noContent, context, data);
19964
19929
  return call(mware11, __getHandler, context);
19965
19930
  }
19966
19931
  function head16(context) {
@@ -19968,14 +19933,14 @@ function head16(context) {
19968
19933
  }
19969
19934
  //#endregion
19970
19935
  //#region __marko-run__api.instance.manifest.js
19971
- var getHandler$20 = normalizeHandler(Run.GET(() => Response.json(manifest(getInstance()), { headers: {
19936
+ var getHandler$21 = normalizeHandler(Run.GET(() => Response.json(manifest(getInstance()), { headers: {
19972
19937
  "content-type": "application/manifest+json; charset=UTF-8",
19973
19938
  "cache-control": "no-cache"
19974
19939
  } })), "GET");
19975
- var get17_options = normalizeOptions("GET", mware11, getHandler$20);
19940
+ var get17_options = normalizeOptions("GET", mware11, getHandler$21);
19976
19941
  var head17_options = normalizeOptions("HEAD", mware11);
19977
19942
  function get17(context) {
19978
- const __getHandler = (data) => call(getHandler$20, noContent, context, data);
19943
+ const __getHandler = (data) => call(getHandler$21, noContent, context, data);
19979
19944
  return call(mware11, __getHandler, context);
19980
19945
  }
19981
19946
  function head17(context) {
@@ -19989,7 +19954,7 @@ var Pref = /* @__PURE__ */ object({
19989
19954
  });
19990
19955
  /** Per-workspace UI prefs — the workspace id is the suffix after the last `:`. */
19991
19956
  var OWNED = /^(?:tab|diff-filter|diff-pos):(.+)$/;
19992
- var GET$19 = Run.GET(() => Response.json(allPrefs()));
19957
+ var GET$20 = Run.GET(() => Response.json(allPrefs()));
19993
19958
  //#endregion
19994
19959
  //#region __marko-run__api.prefs.js
19995
19960
  var postHandler$14 = normalizeHandler(Run.POST({ json: Pref }, async (ctx) => {
@@ -19999,12 +19964,12 @@ var postHandler$14 = normalizeHandler(Run.POST({ json: Pref }, async (ctx) => {
19999
19964
  setPref(body.key, body.value);
20000
19965
  return Response.json({ ok: true });
20001
19966
  }), "POST");
20002
- var getHandler$19 = normalizeHandler(GET$19, "GET");
20003
- var get18_options = normalizeOptions("GET", mware11, getHandler$19);
19967
+ var getHandler$20 = normalizeHandler(GET$20, "GET");
19968
+ var get18_options = normalizeOptions("GET", mware11, getHandler$20);
20004
19969
  var head18_options = normalizeOptions("HEAD", mware11);
20005
19970
  var post18_options = normalizeOptions("POST", mware11, postHandler$14);
20006
19971
  function get18(context) {
20007
- const __getHandler = (data) => call(getHandler$19, noContent, context, data);
19972
+ const __getHandler = (data) => call(getHandler$20, noContent, context, data);
20008
19973
  return call(mware11, __getHandler, context);
20009
19974
  }
20010
19975
  function head18(context) {
@@ -20032,14 +19997,14 @@ function delete19(context) {
20032
19997
  }
20033
19998
  //#endregion
20034
19999
  //#region __marko-run__api.progress.js
20035
- var getHandler$18 = normalizeHandler(Run.GET({ search: (value) => ({
20000
+ var getHandler$19 = normalizeHandler(Run.GET({ search: (value) => ({
20036
20001
  since: typeof value.since === "string" ? Number(value.since) : void 0,
20037
20002
  op: typeof value.op === "string" && value.op ? value.op : void 0
20038
20003
  }) }, (ctx) => Response.json(progressSince(ctx.search.since, ctx.search.op))), "GET");
20039
- var get20_options = normalizeOptions("GET", mware11, getHandler$18);
20004
+ var get20_options = normalizeOptions("GET", mware11, getHandler$19);
20040
20005
  var head20_options = normalizeOptions("HEAD", mware11);
20041
20006
  function get20(context) {
20042
- const __getHandler = (data) => call(getHandler$18, noContent, context, data);
20007
+ const __getHandler = (data) => call(getHandler$19, noContent, context, data);
20043
20008
  return call(mware11, __getHandler, context);
20044
20009
  }
20045
20010
  function head20(context) {
@@ -20047,7 +20012,7 @@ function head20(context) {
20047
20012
  }
20048
20013
  //#endregion
20049
20014
  //#region src/routes/api/push/+handler.ts
20050
- var GET$17 = Run.GET(() => Response.json({ publicKey: pushPublicKey() }));
20015
+ var GET$18 = Run.GET(() => Response.json({ publicKey: pushPublicKey() }));
20051
20016
  var Subscription = /* @__PURE__ */ object({
20052
20017
  endpoint: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ url()),
20053
20018
  keys: /* @__PURE__ */ object({
@@ -20066,13 +20031,13 @@ var deleteHandler$3 = normalizeHandler(Run.DELETE({ search: (value) => ({ endpoi
20066
20031
  return Response.json({ ok: true });
20067
20032
  }), "DELETE");
20068
20033
  var postHandler$13 = normalizeHandler(POST$13, "POST");
20069
- var getHandler$17 = normalizeHandler(GET$17, "GET");
20070
- var get21_options = normalizeOptions("GET", mware11, getHandler$17);
20034
+ var getHandler$18 = normalizeHandler(GET$18, "GET");
20035
+ var get21_options = normalizeOptions("GET", mware11, getHandler$18);
20071
20036
  var head21_options = normalizeOptions("HEAD", mware11);
20072
20037
  var post21_options = normalizeOptions("POST", mware11, postHandler$13);
20073
20038
  var delete21_options = normalizeOptions("DELETE", mware11, deleteHandler$3);
20074
20039
  function get21(context) {
20075
- const __getHandler = (data) => call(getHandler$17, noContent, context, data);
20040
+ const __getHandler = (data) => call(getHandler$18, noContent, context, data);
20076
20041
  return call(mware11, __getHandler, context);
20077
20042
  }
20078
20043
  function head21(context) {
@@ -20117,11 +20082,11 @@ function post22(context) {
20117
20082
  }
20118
20083
  //#endregion
20119
20084
  //#region __marko-run__api.repos.js
20120
- var getHandler$16 = normalizeHandler(Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await repoCatalog(ctx.search.refresh))), "GET");
20121
- var get23_options = normalizeOptions("GET", mware11, getHandler$16);
20085
+ var getHandler$17 = normalizeHandler(Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await repoCatalog(ctx.search.refresh))), "GET");
20086
+ var get23_options = normalizeOptions("GET", mware11, getHandler$17);
20122
20087
  var head23_options = normalizeOptions("HEAD", mware11);
20123
20088
  function get23(context) {
20124
- const __getHandler = (data) => call(getHandler$16, noContent, context, data);
20089
+ const __getHandler = (data) => call(getHandler$17, noContent, context, data);
20125
20090
  return call(mware11, __getHandler, context);
20126
20091
  }
20127
20092
  function head23(context) {
@@ -20129,7 +20094,7 @@ function head23(context) {
20129
20094
  }
20130
20095
  //#endregion
20131
20096
  //#region __marko-run__api.repos.branches.js
20132
- var getHandler$15 = normalizeHandler(Run.GET({ search: (value) => {
20097
+ var getHandler$16 = normalizeHandler(Run.GET({ search: (value) => {
20133
20098
  const repo = typeof value.repo === "string" ? value.repo : "";
20134
20099
  if (!/^(?:[\w.-]+\/)?[\w.-]+\/[\w.-]+$/.test(repo)) throw httpError(400, "invalid repo");
20135
20100
  return {
@@ -20148,10 +20113,10 @@ var getHandler$15 = normalizeHandler(Run.GET({ search: (value) => {
20148
20113
  defaultBranch: looked || fromCatalog || null
20149
20114
  });
20150
20115
  }), "GET");
20151
- var get24_options = normalizeOptions("GET", mware11, getHandler$15);
20116
+ var get24_options = normalizeOptions("GET", mware11, getHandler$16);
20152
20117
  var head24_options = normalizeOptions("HEAD", mware11);
20153
20118
  function get24(context) {
20154
- const __getHandler = (data) => call(getHandler$15, noContent, context, data);
20119
+ const __getHandler = (data) => call(getHandler$16, noContent, context, data);
20155
20120
  return call(mware11, __getHandler, context);
20156
20121
  }
20157
20122
  function head24(context) {
@@ -20228,7 +20193,7 @@ function snapshot$1() {
20228
20193
  instance: getInstance()
20229
20194
  };
20230
20195
  }
20231
- var GET$14 = Run.GET(() => Response.json(snapshot$1()));
20196
+ var GET$15 = Run.GET(() => Response.json(snapshot$1()));
20232
20197
  //#endregion
20233
20198
  //#region __marko-run__api.settings.js
20234
20199
  var putHandler = normalizeHandler(Run.PUT({ json: Patch }, async (ctx) => {
@@ -20245,12 +20210,12 @@ var putHandler = normalizeHandler(Run.PUT({ json: Patch }, async (ctx) => {
20245
20210
  }
20246
20211
  return Response.json(snapshot$1());
20247
20212
  }), "PUT");
20248
- var getHandler$14 = normalizeHandler(GET$14, "GET");
20249
- var get27_options = normalizeOptions("GET", mware11, getHandler$14);
20213
+ var getHandler$15 = normalizeHandler(GET$15, "GET");
20214
+ var get27_options = normalizeOptions("GET", mware11, getHandler$15);
20250
20215
  var head27_options = normalizeOptions("HEAD", mware11);
20251
20216
  var put27_options = normalizeOptions("PUT", mware11, putHandler);
20252
20217
  function get27(context) {
20253
- const __getHandler = (data) => call(getHandler$14, noContent, context, data);
20218
+ const __getHandler = (data) => call(getHandler$15, noContent, context, data);
20254
20219
  return call(mware11, __getHandler, context);
20255
20220
  }
20256
20221
  function head27(context) {
@@ -20262,11 +20227,11 @@ function put27(context) {
20262
20227
  }
20263
20228
  //#endregion
20264
20229
  //#region __marko-run__api.setup.js
20265
- var getHandler$13 = normalizeHandler(Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await getSetup(ctx.search.refresh))), "GET");
20266
- var get28_options = normalizeOptions("GET", mware11, getHandler$13);
20230
+ var getHandler$14 = normalizeHandler(Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await getSetup(ctx.search.refresh))), "GET");
20231
+ var get28_options = normalizeOptions("GET", mware11, getHandler$14);
20267
20232
  var head28_options = normalizeOptions("HEAD", mware11);
20268
20233
  function get28(context) {
20269
- const __getHandler = (data) => call(getHandler$13, noContent, context, data);
20234
+ const __getHandler = (data) => call(getHandler$14, noContent, context, data);
20270
20235
  return call(mware11, __getHandler, context);
20271
20236
  }
20272
20237
  function head28(context) {
@@ -20298,11 +20263,11 @@ function post29(context) {
20298
20263
  }
20299
20264
  //#endregion
20300
20265
  //#region __marko-run__api.setup.search.js
20301
- var getHandler$12 = normalizeHandler(Run.GET({ search: (value) => ({ q: typeof value.q === "string" ? value.q : "" }) }, async (ctx) => Response.json(await searchMise(ctx.search.q))), "GET");
20302
- var get30_options = normalizeOptions("GET", mware11, getHandler$12);
20266
+ var getHandler$13 = normalizeHandler(Run.GET({ search: (value) => ({ q: typeof value.q === "string" ? value.q : "" }) }, async (ctx) => Response.json(await searchMise(ctx.search.q))), "GET");
20267
+ var get30_options = normalizeOptions("GET", mware11, getHandler$13);
20303
20268
  var head30_options = normalizeOptions("HEAD", mware11);
20304
20269
  function get30(context) {
20305
- const __getHandler = (data) => call(getHandler$12, noContent, context, data);
20270
+ const __getHandler = (data) => call(getHandler$13, noContent, context, data);
20306
20271
  return call(mware11, __getHandler, context);
20307
20272
  }
20308
20273
  function head30(context) {
@@ -20421,16 +20386,16 @@ function hasSystemdRun() {
20421
20386
  //#region src/routes/api/setup/self/+handler.ts
20422
20387
  /** work's own version, the newest published one, and the self-update
20423
20388
  * trigger (POST). `?refresh` re-asks the registry. */
20424
- var GET$11 = Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await selfInfo(ctx.search.refresh)));
20389
+ var GET$12 = Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await selfInfo(ctx.search.refresh)));
20425
20390
  //#endregion
20426
20391
  //#region __marko-run__api.setup.self.js
20427
20392
  var postHandler$9 = normalizeHandler(Run.POST(async () => Response.json(startSelfUpdate())), "POST");
20428
- var getHandler$11 = normalizeHandler(GET$11, "GET");
20429
- var get31_options = normalizeOptions("GET", mware11, getHandler$11);
20393
+ var getHandler$12 = normalizeHandler(GET$12, "GET");
20394
+ var get31_options = normalizeOptions("GET", mware11, getHandler$12);
20430
20395
  var head31_options = normalizeOptions("HEAD", mware11);
20431
20396
  var post31_options = normalizeOptions("POST", mware11, postHandler$9);
20432
20397
  function get31(context) {
20433
- const __getHandler = (data) => call(getHandler$11, noContent, context, data);
20398
+ const __getHandler = (data) => call(getHandler$12, noContent, context, data);
20434
20399
  return call(mware11, __getHandler, context);
20435
20400
  }
20436
20401
  function head31(context) {
@@ -20443,7 +20408,7 @@ function post31(context) {
20443
20408
  //#endregion
20444
20409
  //#region src/routes/api/skills/+handler.ts
20445
20410
  /** System-wide skills: what every agent CLI on this machine can see. */
20446
- var GET$10 = Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await skillsSnapshot(void 0, [], ctx.search.refresh)));
20411
+ var GET$11 = Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await skillsSnapshot(void 0, [], ctx.search.refresh)));
20447
20412
  var Body$1 = /* @__PURE__ */ object({
20448
20413
  action: /* @__PURE__ */ picklist([
20449
20414
  "add",
@@ -20471,12 +20436,12 @@ var postHandler$8 = normalizeHandler(Run.POST({ json: Body$1 }, async (ctx) => {
20471
20436
  });
20472
20437
  return Response.json(await skillsSnapshot(void 0, [], true));
20473
20438
  }), "POST");
20474
- var getHandler$10 = normalizeHandler(GET$10, "GET");
20475
- var get32_options = normalizeOptions("GET", mware11, getHandler$10);
20439
+ var getHandler$11 = normalizeHandler(GET$11, "GET");
20440
+ var get32_options = normalizeOptions("GET", mware11, getHandler$11);
20476
20441
  var head32_options = normalizeOptions("HEAD", mware11);
20477
20442
  var post32_options = normalizeOptions("POST", mware11, postHandler$8);
20478
20443
  function get32(context) {
20479
- const __getHandler = (data) => call(getHandler$10, noContent, context, data);
20444
+ const __getHandler = (data) => call(getHandler$11, noContent, context, data);
20480
20445
  return call(mware11, __getHandler, context);
20481
20446
  }
20482
20447
  function head32(context) {
@@ -20488,11 +20453,11 @@ function post32(context) {
20488
20453
  }
20489
20454
  //#endregion
20490
20455
  //#region __marko-run__api.skills.search.js
20491
- var getHandler$9 = normalizeHandler(Run.GET({ search: (value) => ({ q: typeof value.q === "string" ? value.q : "" }) }, async (ctx) => Response.json(await searchRegistry(ctx.search.q))), "GET");
20492
- var get33_options = normalizeOptions("GET", mware11, getHandler$9);
20456
+ var getHandler$10 = normalizeHandler(Run.GET({ search: (value) => ({ q: typeof value.q === "string" ? value.q : "" }) }, async (ctx) => Response.json(await searchRegistry(ctx.search.q))), "GET");
20457
+ var get33_options = normalizeOptions("GET", mware11, getHandler$10);
20493
20458
  var head33_options = normalizeOptions("HEAD", mware11);
20494
20459
  function get33(context) {
20495
- const __getHandler = (data) => call(getHandler$9, noContent, context, data);
20460
+ const __getHandler = (data) => call(getHandler$10, noContent, context, data);
20496
20461
  return call(mware11, __getHandler, context);
20497
20462
  }
20498
20463
  function head33(context) {
@@ -20500,11 +20465,11 @@ function head33(context) {
20500
20465
  }
20501
20466
  //#endregion
20502
20467
  //#region __marko-run__api.status.js
20503
- var getHandler$8 = normalizeHandler(Run.GET({ search: (value) => ({ fresh: "fresh" in value }) }, async (ctx) => Response.json(await (ctx.search.fresh ? statusForAllFresh() : statusForAll()))), "GET");
20504
- var get34_options = normalizeOptions("GET", mware11, getHandler$8);
20468
+ var getHandler$9 = normalizeHandler(Run.GET({ search: (value) => ({ fresh: "fresh" in value }) }, async (ctx) => Response.json(await (ctx.search.fresh ? statusForAllFresh() : statusForAll()))), "GET");
20469
+ var get34_options = normalizeOptions("GET", mware11, getHandler$9);
20505
20470
  var head34_options = normalizeOptions("HEAD", mware11);
20506
20471
  function get34(context) {
20507
- const __getHandler = (data) => call(getHandler$8, noContent, context, data);
20472
+ const __getHandler = (data) => call(getHandler$9, noContent, context, data);
20508
20473
  return call(mware11, __getHandler, context);
20509
20474
  }
20510
20475
  function head34(context) {
@@ -20512,11 +20477,11 @@ function head34(context) {
20512
20477
  }
20513
20478
  //#endregion
20514
20479
  //#region __marko-run__api.usage.js
20515
- var getHandler$7 = normalizeHandler(Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await usage(ctx.search.refresh))), "GET");
20516
- var get35_options = normalizeOptions("GET", mware11, getHandler$7);
20480
+ var getHandler$8 = normalizeHandler(Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await usage(ctx.search.refresh))), "GET");
20481
+ var get35_options = normalizeOptions("GET", mware11, getHandler$8);
20517
20482
  var head35_options = normalizeOptions("HEAD", mware11);
20518
20483
  function get35(context) {
20519
- const __getHandler = (data) => call(getHandler$7, noContent, context, data);
20484
+ const __getHandler = (data) => call(getHandler$8, noContent, context, data);
20520
20485
  return call(mware11, __getHandler, context);
20521
20486
  }
20522
20487
  function head35(context) {
@@ -20534,7 +20499,7 @@ var CreateWorkspace = /* @__PURE__ */ object({
20534
20499
  opId: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ maxLength(40))),
20535
20500
  join: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ trim(), /* @__PURE__ */ maxLength(200)))
20536
20501
  });
20537
- var GET$6 = Run.GET(() => {
20502
+ var GET$7 = Run.GET(() => {
20538
20503
  return Response.json(listWorkspaces());
20539
20504
  });
20540
20505
  //#endregion
@@ -20553,12 +20518,12 @@ var postHandler$7 = normalizeHandler(Run.POST({ json: CreateWorkspace }, async (
20553
20518
  throw err;
20554
20519
  }
20555
20520
  }), "POST");
20556
- var getHandler$6 = normalizeHandler(GET$6, "GET");
20557
- var get36_options = normalizeOptions("GET", mware11, getHandler$6);
20521
+ var getHandler$7 = normalizeHandler(GET$7, "GET");
20522
+ var get36_options = normalizeOptions("GET", mware11, getHandler$7);
20558
20523
  var head36_options = normalizeOptions("HEAD", mware11);
20559
20524
  var post36_options = normalizeOptions("POST", mware11, postHandler$7);
20560
20525
  function get36(context) {
20561
- const __getHandler = (data) => call(getHandler$6, noContent, context, data);
20526
+ const __getHandler = (data) => call(getHandler$7, noContent, context, data);
20562
20527
  return call(mware11, __getHandler, context);
20563
20528
  }
20564
20529
  function head36(context) {
@@ -20669,6 +20634,10 @@ function markReviewSeen(workspaceId, seen) {
20669
20634
  //#endregion
20670
20635
  //#region src/server/diff.ts
20671
20636
  var MAX_FILE_BYTES = 5e5;
20637
+ /** A preview ships the whole file, so its ceiling is not MAX_FILE_BYTES
20638
+ * (that is a patch's worth of text): a screenshot committed to a repo is
20639
+ * routinely over a megabyte. */
20640
+ var MAX_PREVIEW_BYTES = 8388608;
20672
20641
  /** Working-tree reads in flight per section: a stat+read per changed file
20673
20642
  * is cheap, but a few hundred at once on a network volume is not. */
20674
20643
  var FILE_READ_CONCURRENCY = 32;
@@ -21184,12 +21153,27 @@ async function collectPatches(dir, revs, entries, stats, untrackedPaths, dirtyPa
21184
21153
  file.additions = file.patch.split("\n").filter((l) => l[0] === "+" && !l.startsWith("+++")).length;
21185
21154
  file.deletions = 0;
21186
21155
  }
21187
- if (dirtyPaths.has(e.path)) file.hash = createHash("sha1").update(e.status).update(file.patch ?? "").digest("hex").slice(0, 16);
21156
+ if (dirtyPaths.has(e.path)) {
21157
+ const stamp = file.binary ? await worktreeStamp(dir, e.path) : "";
21158
+ file.hash = createHash("sha1").update(e.status).update(file.patch ?? "").update(stamp).digest("hex").slice(0, 16);
21159
+ }
21188
21160
  return file;
21189
21161
  });
21190
21162
  files.sort((a, b) => a.path.localeCompare(b.path));
21191
21163
  return files;
21192
21164
  }
21165
+ /** Size and mtime of a working-tree file: enough to tell a binary edit
21166
+ * from the same bytes, without reading a megabyte to hash it. Empty when
21167
+ * the file is gone (a delete, which its status already says). */
21168
+ async function worktreeStamp(dir, filePath) {
21169
+ if (!insideWorktree(dir, filePath)) return "";
21170
+ try {
21171
+ const st = await fs$1.stat(path.resolve(dir, filePath));
21172
+ return `${st.size}:${st.mtimeMs}`;
21173
+ } catch {
21174
+ return "";
21175
+ }
21176
+ }
21193
21177
  /** Per-file chunks of a multi-file `git diff`, keyed by the new path
21194
21178
  * (`b/<path>` in the header; the old path for a deletion). */
21195
21179
  function splitPatch(full) {
@@ -21289,15 +21273,19 @@ async function batchContents(dir, rev, paths) {
21289
21273
  });
21290
21274
  return result;
21291
21275
  }
21276
+ /** git-reported paths are normally relative and inside the tree, but
21277
+ * crafted repo content must not read outside it. */
21278
+ function insideWorktree(dir, filePath) {
21279
+ const root = path.resolve(dir);
21280
+ const full = path.resolve(dir, filePath);
21281
+ return full === root || full.startsWith(root + path.sep);
21282
+ }
21292
21283
  /** The checkout's copy of a file, or null when it is missing, over
21293
- * MAX_FILE_BYTES, or binary. Path-contained: git-reported paths are
21294
- * normally relative and inside the tree, but crafted repo content must
21295
- * not read outside it. */
21284
+ * MAX_FILE_BYTES, or binary. */
21296
21285
  async function readWorktreeFile(dir, filePath) {
21297
21286
  try {
21298
- const root = path.resolve(dir);
21287
+ if (!insideWorktree(dir, filePath)) throw new Error(`path escapes worktree: ${filePath}`);
21299
21288
  const full = path.resolve(dir, filePath);
21300
- if (full !== root && !full.startsWith(root + path.sep)) throw new Error(`path escapes worktree: ${filePath}`);
21301
21289
  if ((await fs$1.stat(full)).size > MAX_FILE_BYTES) return null;
21302
21290
  const text = await fs$1.readFile(full, "utf8");
21303
21291
  return text.includes("\0") ? null : text;
@@ -21305,6 +21293,42 @@ async function readWorktreeFile(dir, filePath) {
21305
21293
  return null;
21306
21294
  }
21307
21295
  }
21296
+ /** Raw bytes of one side of a file, for the review's inline preview of a
21297
+ * binary it can show: a blob at `rev`, or the checkout when `rev` is
21298
+ * `worktree`. Null for a side that does not exist, is unreadable, or is
21299
+ * over MAX_PREVIEW_BYTES — the card falls back to a link either way, so
21300
+ * the reasons do not need telling apart. */
21301
+ async function readBlobAt(dir, rev, filePath) {
21302
+ if (!insideWorktree(dir, filePath)) return null;
21303
+ if (rev === "worktree") try {
21304
+ const full = path.resolve(dir, filePath);
21305
+ if ((await fs$1.stat(full)).size > MAX_PREVIEW_BYTES) return null;
21306
+ return await fs$1.readFile(full);
21307
+ } catch {
21308
+ return null;
21309
+ }
21310
+ return new Promise((resolve) => {
21311
+ const proc = spawn("git", [
21312
+ "cat-file",
21313
+ "blob",
21314
+ `${rev}:${filePath}`
21315
+ ], { cwd: dir });
21316
+ const chunks = [];
21317
+ let size = 0;
21318
+ let over = false;
21319
+ proc.stdout.on("data", (chunk) => {
21320
+ size += chunk.length;
21321
+ if (size > MAX_PREVIEW_BYTES) {
21322
+ over = true;
21323
+ proc.kill();
21324
+ return;
21325
+ }
21326
+ chunks.push(chunk);
21327
+ });
21328
+ proc.on("error", () => resolve(null));
21329
+ proc.on("close", (code) => resolve(over || code !== 0 ? null : Buffer.concat(chunks)));
21330
+ });
21331
+ }
21308
21332
  //#endregion
21309
21333
  //#region src/routes/api/workspaces/$id/diff/+handler.ts
21310
21334
  var SCOPES = [
@@ -21314,7 +21338,7 @@ var SCOPES = [
21314
21338
  ];
21315
21339
  //#endregion
21316
21340
  //#region __marko-run__api.workspaces.$.diff.js
21317
- var getHandler$5 = normalizeHandler(Run.GET({ search: (value) => ({
21341
+ var getHandler$6 = normalizeHandler(Run.GET({ search: (value) => ({
21318
21342
  base: typeof value.base === "string" && value.base ? value.base : void 0,
21319
21343
  scope: SCOPES.includes(value.scope) ? value.scope : value.uncommitted === "1" || value.uncommitted === "true" ? "working" : "committed",
21320
21344
  pr: typeof value.pr === "string" && value.pr ? value.pr : void 0,
@@ -21330,10 +21354,10 @@ var getHandler$5 = normalizeHandler(Run.GET({ search: (value) => ({
21330
21354
  }),
21331
21355
  ...reviewState(ctx.data.workspace.id)
21332
21356
  })), "GET");
21333
- var get39_options = normalizeOptions("GET", mware11, mware43, getHandler$5);
21357
+ var get39_options = normalizeOptions("GET", mware11, mware43, getHandler$6);
21334
21358
  var head39_options = normalizeOptions("HEAD", mware11, mware43);
21335
21359
  function get39(context) {
21336
- const __getHandler = (data) => call(getHandler$5, noContent, context, data);
21360
+ const __getHandler = (data) => call(getHandler$6, noContent, context, data);
21337
21361
  const __mware43 = (data) => call(mware43, __getHandler, context, data);
21338
21362
  return call(mware11, __mware43, context);
21339
21363
  }
@@ -21341,6 +21365,43 @@ function head39(context) {
21341
21365
  return stripResponseBody(get39(context));
21342
21366
  }
21343
21367
  //#endregion
21368
+ //#region src/routes/api/workspaces/$id/diff/blob/+handler.ts
21369
+ var SHA$1 = /^[0-9a-f]{7,64}$/i;
21370
+ //#endregion
21371
+ //#region __marko-run__api.workspaces.$.diff.blob.js
21372
+ var getHandler$5 = normalizeHandler(Run.GET({ search: (value) => ({
21373
+ worktree: typeof value.worktree === "string" ? value.worktree : "",
21374
+ path: typeof value.path === "string" ? value.path : "",
21375
+ rev: typeof value.rev === "string" ? value.rev : ""
21376
+ }) }, async (ctx) => {
21377
+ const ws = ctx.data.workspace;
21378
+ const { worktree, path: filePath, rev } = ctx.search;
21379
+ const repo = ws.repos.find((r) => r.worktree === worktree);
21380
+ const preview = previewFor(filePath);
21381
+ if (!repo || !filePath || !rev || !preview) throw httpError(400, "bad request");
21382
+ if (rev !== "worktree" && !SHA$1.test(rev)) throw httpError(400, "bad rev");
21383
+ const bytes = await readBlobAt(path.join(ws.path, repo.worktree), rev, filePath);
21384
+ if (!bytes) throw httpError(404, "not found");
21385
+ const body = new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.byteLength);
21386
+ return new Response(body, { headers: {
21387
+ "content-type": preview.type,
21388
+ "content-length": String(bytes.length),
21389
+ "x-content-type-options": "nosniff",
21390
+ "cache-control": rev === "worktree" ? "no-store" : "private, max-age=31536000, immutable",
21391
+ ...preview.kind === "image" && { "content-security-policy": "default-src 'none'; style-src 'unsafe-inline'; sandbox" }
21392
+ } });
21393
+ }), "GET");
21394
+ var get40_options = normalizeOptions("GET", mware11, mware43, getHandler$5);
21395
+ var head40_options = normalizeOptions("HEAD", mware11, mware43);
21396
+ function get40(context) {
21397
+ const __getHandler = (data) => call(getHandler$5, noContent, context, data);
21398
+ const __mware43 = (data) => call(mware43, __getHandler, context, data);
21399
+ return call(mware11, __mware43, context);
21400
+ }
21401
+ function head40(context) {
21402
+ return stripResponseBody(get40(context));
21403
+ }
21404
+ //#endregion
21344
21405
  //#region src/routes/api/workspaces/$id/diff/contents/+handler.ts
21345
21406
  var SHA = /^[0-9a-f]{7,64}$/i;
21346
21407
  /** One side of a file at a section's `oldRev`/`newRev` — what the patch
@@ -21358,28 +21419,28 @@ var getHandler$4 = normalizeHandler(Run.GET({ search: (value) => ({
21358
21419
  path: typeof value.path === "string" ? value.path : "",
21359
21420
  rev: typeof value.rev === "string" ? value.rev : ""
21360
21421
  }) }, async (ctx) => Response.json({ contents: await contentsAt(ctx.data.workspace, ctx.search) })), "GET");
21361
- var get40_options = normalizeOptions("GET", mware11, mware43, getHandler$4);
21362
- var head40_options = normalizeOptions("HEAD", mware11, mware43);
21363
- function get40(context) {
21422
+ var get41_options = normalizeOptions("GET", mware11, mware43, getHandler$4);
21423
+ var head41_options = normalizeOptions("HEAD", mware11, mware43);
21424
+ function get41(context) {
21364
21425
  const __getHandler = (data) => call(getHandler$4, noContent, context, data);
21365
21426
  const __mware43 = (data) => call(mware43, __getHandler, context, data);
21366
21427
  return call(mware11, __mware43, context);
21367
21428
  }
21368
- function head40(context) {
21369
- return stripResponseBody(get40(context));
21429
+ function head41(context) {
21430
+ return stripResponseBody(get41(context));
21370
21431
  }
21371
21432
  //#endregion
21372
21433
  //#region __marko-run__api.workspaces.$.procs.js
21373
21434
  var getHandler$3 = normalizeHandler(Run.GET(async (ctx) => Response.json(await workspaceProcs(ctx.data.workspace.path))), "GET");
21374
- var get41_options = normalizeOptions("GET", mware11, mware43, getHandler$3);
21375
- var head41_options = normalizeOptions("HEAD", mware11, mware43);
21376
- function get41(context) {
21435
+ var get42_options = normalizeOptions("GET", mware11, mware43, getHandler$3);
21436
+ var head42_options = normalizeOptions("HEAD", mware11, mware43);
21437
+ function get42(context) {
21377
21438
  const __getHandler = (data) => call(getHandler$3, noContent, context, data);
21378
21439
  const __mware43 = (data) => call(mware43, __getHandler, context, data);
21379
21440
  return call(mware11, __mware43, context);
21380
21441
  }
21381
- function head41(context) {
21382
- return stripResponseBody(get41(context));
21442
+ function head42(context) {
21443
+ return stripResponseBody(get42(context));
21383
21444
  }
21384
21445
  //#endregion
21385
21446
  //#region src/routes/api/workspaces/$id/prs/+handler.ts
@@ -21416,8 +21477,8 @@ async function pruneDismissedLane(ws, fullName, number) {
21416
21477
  //#endregion
21417
21478
  //#region __marko-run__api.workspaces.$.prs.js
21418
21479
  var postHandler$4 = normalizeHandler(POST$4, "POST");
21419
- var post42_options = normalizeOptions("POST", mware11, mware43, postHandler$4);
21420
- function post42(context) {
21480
+ var post43_options = normalizeOptions("POST", mware11, mware43, postHandler$4);
21481
+ function post43(context) {
21421
21482
  const __postHandler = (data) => call(postHandler$4, noContent, context, data);
21422
21483
  const __mware43 = (data) => call(mware43, __postHandler, context, data);
21423
21484
  return call(mware11, __mware43, context);
@@ -21435,8 +21496,8 @@ var postHandler$3 = normalizeHandler(Run.POST({ json: AddRepo }, async (ctx) =>
21435
21496
  const body = await readBody(ctx);
21436
21497
  return Response.json(await withProgressOp(ctx.params.id, () => addRepo(ctx.params.id, body.fullName, body.baseBranch, body.fork)));
21437
21498
  }), "POST");
21438
- var post43_options = normalizeOptions("POST", mware11, mware43, postHandler$3);
21439
- function post43(context) {
21499
+ var post44_options = normalizeOptions("POST", mware11, mware43, postHandler$3);
21500
+ function post44(context) {
21440
21501
  const __postHandler = (data) => call(postHandler$3, noContent, context, data);
21441
21502
  const __mware43 = (data) => call(mware43, __postHandler, context, data);
21442
21503
  return call(mware11, __mware43, context);
@@ -21447,8 +21508,8 @@ var deleteHandler$1 = normalizeHandler(Run.DELETE(async (ctx) => {
21447
21508
  await withProgressOp(ctx.params.id, () => removeRepo(ctx.params.id, ctx.params.worktree));
21448
21509
  return Response.json({ ok: true });
21449
21510
  }), "DELETE");
21450
- var delete44_options = normalizeOptions("DELETE", mware11, mware43, deleteHandler$1);
21451
- function delete44(context) {
21511
+ var delete45_options = normalizeOptions("DELETE", mware11, mware43, deleteHandler$1);
21512
+ function delete45(context) {
21452
21513
  const __deleteHandler = (data) => call(deleteHandler$1, noContent, context, data);
21453
21514
  const __mware43 = (data) => call(mware43, __deleteHandler, context, data);
21454
21515
  return call(mware11, __mware43, context);
@@ -21461,8 +21522,8 @@ var ReviewAction = /* @__PURE__ */ union([
21461
21522
  worktree: /* @__PURE__ */ string(),
21462
21523
  path: /* @__PURE__ */ string(),
21463
21524
  side: /* @__PURE__ */ picklist(["additions", "deletions"]),
21464
- line_start: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ integer(), /* @__PURE__ */ minValue(1)),
21465
- line_end: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ integer(), /* @__PURE__ */ minValue(1)),
21525
+ line_start: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ integer(), /* @__PURE__ */ minValue(0)),
21526
+ line_end: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ integer(), /* @__PURE__ */ minValue(0)),
21466
21527
  text: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ trim(), /* @__PURE__ */ minLength(1)),
21467
21528
  head: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
21468
21529
  snippet: /* @__PURE__ */ optional(/* @__PURE__ */ string())
@@ -21497,18 +21558,18 @@ var postHandler$2 = normalizeHandler(Run.POST({ json: ReviewAction }, async (ctx
21497
21558
  return Response.json({ ok: true });
21498
21559
  }), "POST");
21499
21560
  var getHandler$2 = normalizeHandler(GET$2, "GET");
21500
- var get45_options = normalizeOptions("GET", mware11, mware43, getHandler$2);
21501
- var head45_options = normalizeOptions("HEAD", mware11, mware43);
21502
- var post45_options = normalizeOptions("POST", mware11, mware43, postHandler$2);
21503
- function get45(context) {
21561
+ var get46_options = normalizeOptions("GET", mware11, mware43, getHandler$2);
21562
+ var head46_options = normalizeOptions("HEAD", mware11, mware43);
21563
+ var post46_options = normalizeOptions("POST", mware11, mware43, postHandler$2);
21564
+ function get46(context) {
21504
21565
  const __getHandler = (data) => call(getHandler$2, noContent, context, data);
21505
21566
  const __mware43 = (data) => call(mware43, __getHandler, context, data);
21506
21567
  return call(mware11, __mware43, context);
21507
21568
  }
21508
- function head45(context) {
21509
- return stripResponseBody(get45(context));
21569
+ function head46(context) {
21570
+ return stripResponseBody(get46(context));
21510
21571
  }
21511
- function post45(context) {
21572
+ function post46(context) {
21512
21573
  const __postHandler = (data) => call(postHandler$2, noContent, context, data);
21513
21574
  const __mware43 = (data) => call(mware43, __postHandler, context, data);
21514
21575
  return call(mware11, __mware43, context);
@@ -21543,14 +21604,14 @@ var deleteHandler = normalizeHandler(Run.DELETE({ params: ({ id, commentId }) =>
21543
21604
  return Response.json({ ok: true });
21544
21605
  }), "DELETE");
21545
21606
  var patchHandler = normalizeHandler(PATCH, "PATCH");
21546
- var delete46_options = normalizeOptions("DELETE", mware11, mware43, deleteHandler);
21547
- var patch46_options = normalizeOptions("PATCH", mware11, mware43, patchHandler);
21548
- function delete46(context) {
21607
+ var delete47_options = normalizeOptions("DELETE", mware11, mware43, deleteHandler);
21608
+ var patch47_options = normalizeOptions("PATCH", mware11, mware43, patchHandler);
21609
+ function delete47(context) {
21549
21610
  const __deleteHandler = (data) => call(deleteHandler, noContent, context, data);
21550
21611
  const __mware43 = (data) => call(mware43, __deleteHandler, context, data);
21551
21612
  return call(mware11, __mware43, context);
21552
21613
  }
21553
- function patch46(context) {
21614
+ function patch47(context) {
21554
21615
  const __patchHandler = (data) => call(patchHandler, noContent, context, data);
21555
21616
  const __mware43 = (data) => call(mware43, __patchHandler, context, data);
21556
21617
  return call(mware11, __mware43, context);
@@ -21572,18 +21633,18 @@ var postHandler$1 = normalizeHandler(Run.POST({ json: CreateSession }, async (ct
21572
21633
  return Response.json(createSession(ctx.params.id, body.agent || preferredAgent()));
21573
21634
  }), "POST");
21574
21635
  var getHandler$1 = normalizeHandler(GET$1, "GET");
21575
- var get47_options = normalizeOptions("GET", mware11, mware43, getHandler$1);
21576
- var head47_options = normalizeOptions("HEAD", mware11, mware43);
21577
- var post47_options = normalizeOptions("POST", mware11, mware43, postHandler$1);
21578
- function get47(context) {
21636
+ var get48_options = normalizeOptions("GET", mware11, mware43, getHandler$1);
21637
+ var head48_options = normalizeOptions("HEAD", mware11, mware43);
21638
+ var post48_options = normalizeOptions("POST", mware11, mware43, postHandler$1);
21639
+ function get48(context) {
21579
21640
  const __getHandler = (data) => call(getHandler$1, noContent, context, data);
21580
21641
  const __mware43 = (data) => call(mware43, __getHandler, context, data);
21581
21642
  return call(mware11, __mware43, context);
21582
21643
  }
21583
- function head47(context) {
21584
- return stripResponseBody(get47(context));
21644
+ function head48(context) {
21645
+ return stripResponseBody(get48(context));
21585
21646
  }
21586
- function post47(context) {
21647
+ function post48(context) {
21587
21648
  const __postHandler = (data) => call(postHandler$1, noContent, context, data);
21588
21649
  const __mware43 = (data) => call(mware43, __postHandler, context, data);
21589
21650
  return call(mware11, __mware43, context);
@@ -21634,18 +21695,18 @@ var postHandler = normalizeHandler(Run.POST({ json: Body }, async (ctx) => {
21634
21695
  return Response.json(await snapshot(ws, true));
21635
21696
  }), "POST");
21636
21697
  var getHandler = normalizeHandler(GET, "GET");
21637
- var get48_options = normalizeOptions("GET", mware11, mware43, getHandler);
21638
- var head48_options = normalizeOptions("HEAD", mware11, mware43);
21639
- var post48_options = normalizeOptions("POST", mware11, mware43, postHandler);
21640
- function get48(context) {
21698
+ var get49_options = normalizeOptions("GET", mware11, mware43, getHandler);
21699
+ var head49_options = normalizeOptions("HEAD", mware11, mware43);
21700
+ var post49_options = normalizeOptions("POST", mware11, mware43, postHandler);
21701
+ function get49(context) {
21641
21702
  const __getHandler = (data) => call(getHandler, noContent, context, data);
21642
21703
  const __mware43 = (data) => call(mware43, __getHandler, context, data);
21643
21704
  return call(mware11, __mware43, context);
21644
21705
  }
21645
- function head48(context) {
21646
- return stripResponseBody(get48(context));
21706
+ function head49(context) {
21707
+ return stripResponseBody(get49(context));
21647
21708
  }
21648
- function post48(context) {
21709
+ function post49(context) {
21649
21710
  const __postHandler = (data) => call(postHandler, noContent, context, data);
21650
21711
  const __mware43 = (data) => call(mware43, __postHandler, context, data);
21651
21712
  return call(mware11, __mware43, context);
@@ -21922,44 +21983,51 @@ function match_internal(method, pathname) {
21922
21983
  meta: {}
21923
21984
  };
21924
21985
  case "procs": return {
21925
- handler: get41,
21986
+ handler: get42,
21926
21987
  path: "/api/workspaces/$id/procs",
21927
21988
  params: { id: s3 },
21928
- options: get41_options,
21989
+ options: get42_options,
21929
21990
  meta: {}
21930
21991
  };
21931
21992
  case "review": return {
21932
- handler: get45,
21993
+ handler: get46,
21933
21994
  path: "/api/workspaces/$id/review",
21934
21995
  params: { id: s3 },
21935
- options: get45_options,
21996
+ options: get46_options,
21936
21997
  meta: {}
21937
21998
  };
21938
21999
  case "sessions": return {
21939
- handler: get47,
22000
+ handler: get48,
21940
22001
  path: "/api/workspaces/$id/sessions",
21941
22002
  params: { id: s3 },
21942
- options: get47_options,
22003
+ options: get48_options,
21943
22004
  meta: {}
21944
22005
  };
21945
22006
  case "skills": return {
21946
- handler: get48,
22007
+ handler: get49,
21947
22008
  path: "/api/workspaces/$id/skills",
21948
22009
  params: { id: s3 },
21949
- options: get48_options,
22010
+ options: get49_options,
21950
22011
  meta: {}
21951
22012
  };
21952
22013
  }
21953
22014
  else if (pathname.slice(i3, i4 - 1) === "diff") {
21954
22015
  const i5 = pathname.indexOf("/", i4) + 1;
21955
- if (!i5 || i5 === len) {
21956
- if (pathname.slice(i4, i5 ? -1 : len) === "contents") return {
22016
+ if (!i5 || i5 === len) switch (pathname.slice(i4, i5 ? -1 : len)) {
22017
+ case "blob": return {
21957
22018
  handler: get40,
21958
- path: "/api/workspaces/$id/diff/contents",
22019
+ path: "/api/workspaces/$id/diff/blob",
21959
22020
  params: { id: s3 },
21960
22021
  options: get40_options,
21961
22022
  meta: {}
21962
22023
  };
22024
+ case "contents": return {
22025
+ handler: get41,
22026
+ path: "/api/workspaces/$id/diff/contents",
22027
+ params: { id: s3 },
22028
+ options: get41_options,
22029
+ meta: {}
22030
+ };
21963
22031
  }
21964
22032
  }
21965
22033
  }
@@ -22228,44 +22296,51 @@ function match_internal(method, pathname) {
22228
22296
  meta: {}
22229
22297
  };
22230
22298
  case "procs": return {
22231
- handler: head41,
22299
+ handler: head42,
22232
22300
  path: "/api/workspaces/$id/procs",
22233
22301
  params: { id: s3 },
22234
- options: head41_options,
22302
+ options: head42_options,
22235
22303
  meta: {}
22236
22304
  };
22237
22305
  case "review": return {
22238
- handler: head45,
22306
+ handler: head46,
22239
22307
  path: "/api/workspaces/$id/review",
22240
22308
  params: { id: s3 },
22241
- options: head45_options,
22309
+ options: head46_options,
22242
22310
  meta: {}
22243
22311
  };
22244
22312
  case "sessions": return {
22245
- handler: head47,
22313
+ handler: head48,
22246
22314
  path: "/api/workspaces/$id/sessions",
22247
22315
  params: { id: s3 },
22248
- options: head47_options,
22316
+ options: head48_options,
22249
22317
  meta: {}
22250
22318
  };
22251
22319
  case "skills": return {
22252
- handler: head48,
22320
+ handler: head49,
22253
22321
  path: "/api/workspaces/$id/skills",
22254
22322
  params: { id: s3 },
22255
- options: head48_options,
22323
+ options: head49_options,
22256
22324
  meta: {}
22257
22325
  };
22258
22326
  }
22259
22327
  else if (pathname.slice(i3, i4 - 1) === "diff") {
22260
22328
  const i5 = pathname.indexOf("/", i4) + 1;
22261
- if (!i5 || i5 === len) {
22262
- if (pathname.slice(i4, i5 ? -1 : len) === "contents") return {
22329
+ if (!i5 || i5 === len) switch (pathname.slice(i4, i5 ? -1 : len)) {
22330
+ case "blob": return {
22263
22331
  handler: head40,
22264
- path: "/api/workspaces/$id/diff/contents",
22332
+ path: "/api/workspaces/$id/diff/blob",
22265
22333
  params: { id: s3 },
22266
22334
  options: head40_options,
22267
22335
  meta: {}
22268
22336
  };
22337
+ case "contents": return {
22338
+ handler: head41,
22339
+ path: "/api/workspaces/$id/diff/contents",
22340
+ params: { id: s3 },
22341
+ options: head41_options,
22342
+ meta: {}
22343
+ };
22269
22344
  }
22270
22345
  }
22271
22346
  }
@@ -22436,38 +22511,38 @@ function match_internal(method, pathname) {
22436
22511
  meta: {}
22437
22512
  };
22438
22513
  case "prs": return {
22439
- handler: post42,
22514
+ handler: post43,
22440
22515
  path: "/api/workspaces/$id/prs",
22441
22516
  params: { id: s3 },
22442
- options: post42_options,
22517
+ options: post43_options,
22443
22518
  meta: {}
22444
22519
  };
22445
22520
  case "repos": return {
22446
- handler: post43,
22521
+ handler: post44,
22447
22522
  path: "/api/workspaces/$id/repos",
22448
22523
  params: { id: s3 },
22449
- options: post43_options,
22524
+ options: post44_options,
22450
22525
  meta: {}
22451
22526
  };
22452
22527
  case "review": return {
22453
- handler: post45,
22528
+ handler: post46,
22454
22529
  path: "/api/workspaces/$id/review",
22455
22530
  params: { id: s3 },
22456
- options: post45_options,
22531
+ options: post46_options,
22457
22532
  meta: {}
22458
22533
  };
22459
22534
  case "sessions": return {
22460
- handler: post47,
22535
+ handler: post48,
22461
22536
  path: "/api/workspaces/$id/sessions",
22462
22537
  params: { id: s3 },
22463
- options: post47_options,
22538
+ options: post48_options,
22464
22539
  meta: {}
22465
22540
  };
22466
22541
  case "skills": return {
22467
- handler: post48,
22542
+ handler: post49,
22468
22543
  path: "/api/workspaces/$id/skills",
22469
22544
  params: { id: s3 },
22470
- options: post48_options,
22545
+ options: post49_options,
22471
22546
  meta: {}
22472
22547
  };
22473
22548
  }
@@ -22558,13 +22633,13 @@ function match_internal(method, pathname) {
22558
22633
  if (!i5 || i5 === len) {
22559
22634
  const s5 = decodeURIComponent(pathname.slice(i4, i5 ? -1 : len));
22560
22635
  if (s5) return {
22561
- handler: delete44,
22636
+ handler: delete45,
22562
22637
  path: "/api/workspaces/$id/repos/$worktree",
22563
22638
  params: {
22564
22639
  id: s3,
22565
22640
  worktree: s5
22566
22641
  },
22567
- options: delete44_options,
22642
+ options: delete45_options,
22568
22643
  meta: {}
22569
22644
  };
22570
22645
  }
@@ -22575,13 +22650,13 @@ function match_internal(method, pathname) {
22575
22650
  if (!i5 || i5 === len) {
22576
22651
  const s5 = decodeURIComponent(pathname.slice(i4, i5 ? -1 : len));
22577
22652
  if (s5) return {
22578
- handler: delete46,
22653
+ handler: delete47,
22579
22654
  path: "/api/workspaces/$id/review/$commentId",
22580
22655
  params: {
22581
22656
  id: s3,
22582
22657
  commentId: s5
22583
22658
  },
22584
- options: delete46_options,
22659
+ options: delete47_options,
22585
22660
  meta: {}
22586
22661
  };
22587
22662
  }
@@ -22630,13 +22705,13 @@ function match_internal(method, pathname) {
22630
22705
  if (!i5 || i5 === len) {
22631
22706
  const s5 = decodeURIComponent(pathname.slice(i4, i5 ? -1 : len));
22632
22707
  if (s5) return {
22633
- handler: patch46,
22708
+ handler: patch47,
22634
22709
  path: "/api/workspaces/$id/review/$commentId",
22635
22710
  params: {
22636
22711
  id: s3,
22637
22712
  commentId: s5
22638
22713
  },
22639
- options: patch46_options,
22714
+ options: patch47_options,
22640
22715
  meta: {}
22641
22716
  };
22642
22717
  }
@@ -26367,11 +26442,19 @@ require_websocket();
26367
26442
  var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
26368
26443
  //#endregion
26369
26444
  //#region src/server/terminal-replies.ts
26445
+ /** `4` in the primary attributes is sixel. It has to be claimed here rather
26446
+ * than left to the browser, because these answers never reach the browser —
26447
+ * and both readers of this one are downstream of that. tmux only draws a
26448
+ * sixel image for a client whose attributes admit to it, and yazi asks the
26449
+ * same question through tmux passthrough to choose between a real image and
26450
+ * chafa's ASCII art. Answering without the 4 is how a pane that can show
26451
+ * pictures ends up saying "failed to spawn chafa". The claim is true: the
26452
+ * browser terminal decodes sixel (@xterm/addon-image in term.marko). */
26370
26453
  var queries = [
26371
26454
  ["\x1B[>0c", "\x1B[>0;276;0c"],
26372
26455
  ["\x1B[>c", "\x1B[>0;276;0c"],
26373
- ["\x1B[0c", "\x1B[?1;2c"],
26374
- ["\x1B[c", "\x1B[?1;2c"]
26456
+ ["\x1B[0c", "\x1B[?1;2;4c"],
26457
+ ["\x1B[c", "\x1B[?1;2;4c"]
26375
26458
  ];
26376
26459
  /**
26377
26460
  * Answer terminal identity probes beside the PTY instead of making them
@@ -26466,6 +26549,15 @@ var PING_MS$1 = 15e3;
26466
26549
  * 5–20× on the wire. Few sockets live at once, so per-socket zlib state is
26467
26550
  * not the concern ws's docs raise for large fleets. */
26468
26551
  var DEFLATE_THRESHOLD = 512;
26552
+ /** The terminal's answer to tmux's CSI 14t — window size in pixels, which
26553
+ * divided by the grid is the cell size tmux needs before it will paint an
26554
+ * image. Recognised on the way through rather than parsed: all this marks
26555
+ * is the moment tmux stopped guessing. */
26556
+ var WINDOW_PIXELS_REPLY = /\x1b\[4;\d+;\d+t/;
26557
+ /** Long enough for the reply above to reach tmux's client and reach the
26558
+ * server as a new cell size, short enough to stay inside the repaint the
26559
+ * eye reads as "the pane came back". */
26560
+ var CELL_SIZE_SETTLE_MS = 120;
26469
26561
  /** Which dims each session's tmux window was last forced to — lets the
26470
26562
  * input path skip the tmux exec when this client already holds the size.
26471
26563
  * A memo, not the truth: the window can move under it (another client, a
@@ -26680,10 +26772,31 @@ async function handleTermConnection(ws, req) {
26680
26772
  });
26681
26773
  };
26682
26774
  forceWindowSize();
26775
+ let sized = false;
26776
+ const redrawWithCellSize = () => {
26777
+ if (sized) return;
26778
+ sized = true;
26779
+ setTimeout(async () => {
26780
+ const clients = await tmux([
26781
+ "list-clients",
26782
+ "-t",
26783
+ name,
26784
+ "-F",
26785
+ "#{client_name}"
26786
+ ]).catch(() => "");
26787
+ for (const client of clients.split("\n").filter(Boolean)) await tmux([
26788
+ "refresh-client",
26789
+ "-t",
26790
+ client
26791
+ ]).catch(() => {});
26792
+ }, CELL_SIZE_SETTLE_MS);
26793
+ };
26683
26794
  ws.on("message", (data, isBinary) => {
26684
26795
  if (isBinary) {
26685
26796
  if (lastForced.get(session.id) !== `${dims[0]}x${dims[1]}`) forceWindowSize();
26686
- if (!exited) ptyProc.write(data.toString());
26797
+ const input = data.toString();
26798
+ if (!exited) ptyProc.write(input);
26799
+ if (WINDOW_PIXELS_REPLY.test(input)) redrawWithCellSize();
26687
26800
  } else {
26688
26801
  const text = data.toString();
26689
26802
  const resize = parseResize(text);
@@ -26799,7 +26912,7 @@ var server = createServer();
26799
26912
  /** The app proper; a `<port>.` host bypasses it for the port proxy. */
26800
26913
  var app;
26801
26914
  {
26802
- const { default: compression } = await import("./_B9zhiogp.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
26915
+ const { default: compression } = await import("./_CT1XA_pS.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
26803
26916
  const { default: serveStatic } = await import("./_JcAWG3K1.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
26804
26917
  const middleware = createMiddleware(fetch$1);
26805
26918
  const dir = path.dirname(fileURLToPath(import.meta.url));
@@ -26893,4 +27006,4 @@ server.listen(port, () => {
26893
27006
  //#endregion
26894
27007
  export {};
26895
27008
 
26896
- ;var __MARKO_MANIFEST__={"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-Djyi23Q9.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-Djyi23Q9.css\"",">",2,"stylesheet#/assets/app-page-DD1F0TTl.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1F0TTl.css\"",">"],"defer":[2,"/assets/w._-BwcyiB1L.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BwcyiB1L.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/_bLcqPuzt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_bLcqPuzt.js\"",">",2,"modulepreload#/assets/_B0OVfJVa.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_B0OVfJVa.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-Djyi23Q9.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-Djyi23Q9.css\"",">",2,"stylesheet#/assets/app-page-DD1F0TTl.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1F0TTl.css\"",">"],"defer":[2,"/assets/new-BwcyiB1L.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-BwcyiB1L.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/_bLcqPuzt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_bLcqPuzt.js\"",">",2,"modulepreload#/assets/_B0OVfJVa.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_B0OVfJVa.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-Djyi23Q9.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-Djyi23Q9.css\"",">",2,"stylesheet#/assets/app-page-DD1F0TTl.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1F0TTl.css\"",">"],"defer":[2,"/assets/settings-BwcyiB1L.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-BwcyiB1L.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/_bLcqPuzt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_bLcqPuzt.js\"",">",2,"modulepreload#/assets/_B0OVfJVa.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_B0OVfJVa.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-Djyi23Q9.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-Djyi23Q9.css\"",">",2,"stylesheet#/assets/app-page-DD1F0TTl.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1F0TTl.css\"",">"],"defer":[2,"/assets/w._-gFT3A4in.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-gFT3A4in.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/_bLcqPuzt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_bLcqPuzt.js\"",">",2,"modulepreload#/assets/_B0OVfJVa.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_B0OVfJVa.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-Djyi23Q9.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-Djyi23Q9.css\"",">",2,"stylesheet#/assets/app-page-DD1F0TTl.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DD1F0TTl.css\"",">"],"defer":[2,"/assets/w-BwcyiB1L.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-BwcyiB1L.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/_bLcqPuzt.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_bLcqPuzt.js\"",">",2,"modulepreload#/assets/_B0OVfJVa.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_B0OVfJVa.js\"",">"]},"_A":{"block":[2,"stylesheet#/assets/review-view-3q-u988K.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-3q-u988K.css\"",">",2,"stylesheet#/assets/icon-arrow-down-Djyi23Q9.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-Djyi23Q9.css\"",">"],"defer":[2,"/assets/review-view-CiWwWm6V.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-CiWwWm6V.js\"","></script>",2,"modulepreload#/assets/_4WrdbxBF.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_4WrdbxBF.js\"",">"]}};
27009
+ ;var __MARKO_MANIFEST__={"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-B_tgvd3z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-B_tgvd3z.css\"",">",2,"stylesheet#/assets/app-page-Bttz6PCd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Bttz6PCd.css\"",">"],"defer":[2,"/assets/w-Cu6jGozd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-Cu6jGozd.js\"","></script>",2,"modulepreload#/assets/_BRK2K3ed.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BRK2K3ed.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BDWRaHhB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BDWRaHhB.js\"",">",2,"modulepreload#/assets/_-igetr1k.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_-igetr1k.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-B_tgvd3z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-B_tgvd3z.css\"",">",2,"stylesheet#/assets/app-page-Bttz6PCd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Bttz6PCd.css\"",">"],"defer":[2,"/assets/w._-Cu6jGozd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Cu6jGozd.js\"","></script>",2,"modulepreload#/assets/_BRK2K3ed.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BRK2K3ed.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BDWRaHhB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BDWRaHhB.js\"",">",2,"modulepreload#/assets/_-igetr1k.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_-igetr1k.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-B_tgvd3z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-B_tgvd3z.css\"",">",2,"stylesheet#/assets/app-page-Bttz6PCd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Bttz6PCd.css\"",">"],"defer":[2,"/assets/new-Cu6jGozd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-Cu6jGozd.js\"","></script>",2,"modulepreload#/assets/_BRK2K3ed.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BRK2K3ed.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BDWRaHhB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BDWRaHhB.js\"",">",2,"modulepreload#/assets/_-igetr1k.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_-igetr1k.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-B_tgvd3z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-B_tgvd3z.css\"",">",2,"stylesheet#/assets/app-page-Bttz6PCd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Bttz6PCd.css\"",">"],"defer":[2,"/assets/w._-R7bTAfAQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-R7bTAfAQ.js\"","></script>",2,"modulepreload#/assets/_BRK2K3ed.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BRK2K3ed.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BDWRaHhB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BDWRaHhB.js\"",">",2,"modulepreload#/assets/_-igetr1k.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_-igetr1k.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-B_tgvd3z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-B_tgvd3z.css\"",">",2,"stylesheet#/assets/app-page-Bttz6PCd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Bttz6PCd.css\"",">"],"defer":[2,"/assets/settings-Cu6jGozd.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-Cu6jGozd.js\"","></script>",2,"modulepreload#/assets/_BRK2K3ed.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BRK2K3ed.js\"",">",2,"modulepreload#/assets/_hePW80VL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_hePW80VL.js\"",">",2,"modulepreload#/assets/_BDWRaHhB.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BDWRaHhB.js\"",">",2,"modulepreload#/assets/_-igetr1k.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_-igetr1k.js\"",">"]},"_A":{"block":[2,"stylesheet#/assets/review-view-B8kS7P6x.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-B8kS7P6x.css\"",">",2,"stylesheet#/assets/icon-arrow-down-B_tgvd3z.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-B_tgvd3z.css\"",">"],"defer":[2,"/assets/review-view-foAMMQMz.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-foAMMQMz.js\"","></script>",2,"modulepreload#/assets/_BRK2K3ed.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BRK2K3ed.js\"",">"]}};