@dylanpiercey/work 0.0.183 → 0.0.184

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 (296) hide show
  1. package/dist/index.mjs +990 -849
  2. package/dist/public/assets/{_Crkl6Skq.js → _516BLrGX.js} +1 -1
  3. package/dist/public/assets/_516BLrGX.js.br +0 -0
  4. package/dist/public/assets/{_CbNQNUKM.js → _7ZQ1bcvQ.js} +1 -1
  5. package/dist/public/assets/_7ZQ1bcvQ.js.br +0 -0
  6. package/dist/public/assets/{_BwsKB5-Z.js → _8B0iE3yV.js} +1 -1
  7. package/dist/public/assets/_8B0iE3yV.js.br +0 -0
  8. package/dist/public/assets/{_DFQFAkcY.js → _B9L--yXd.js} +1 -1
  9. package/dist/public/assets/_B9L--yXd.js.br +0 -0
  10. package/dist/public/assets/_B9sH-HZt.js +1 -0
  11. package/dist/public/assets/{_BI3NzIeD.js → _BDHmzVwb.js} +1 -1
  12. package/dist/public/assets/_BDHmzVwb.js.br +0 -0
  13. package/dist/public/assets/_BDmY4omz.js +1 -0
  14. package/dist/public/assets/{_xucbrtDr.js → _BLRHnHr3.js} +1 -1
  15. package/dist/public/assets/_BLRHnHr3.js.br +0 -0
  16. package/dist/public/assets/_BMleZ3T1.js +1 -0
  17. package/dist/public/assets/_BUhDDilJ.js +1 -0
  18. package/dist/public/assets/{_C52cN7xr.js → _BVwXURXV.js} +1 -1
  19. package/dist/public/assets/_BVwXURXV.js.br +0 -0
  20. package/dist/public/assets/_BcCogonw.js +1 -0
  21. package/dist/public/assets/{_BUnC-0z2.js → _Bevux30L.js} +1 -1
  22. package/dist/public/assets/_Bevux30L.js.br +0 -0
  23. package/dist/public/assets/{_BBU3G50d.js → _BkgfbJc9.js} +1 -1
  24. package/dist/public/assets/_BkgfbJc9.js.br +0 -0
  25. package/dist/public/assets/{_DsPXV5im.js → _BpCRM3ny.js} +1 -1
  26. package/dist/public/assets/_BpCRM3ny.js.br +0 -0
  27. package/dist/public/assets/{_CK8tVuZ0.js → _BqLjoHDb.js} +1 -1
  28. package/dist/public/assets/_BqLjoHDb.js.br +0 -0
  29. package/dist/public/assets/{_DETzykGA.js → _Brf3ihv9.js} +1 -1
  30. package/dist/public/assets/_Brf3ihv9.js.br +0 -0
  31. package/dist/public/assets/{_d2nxQoeM.js → _BrhBcHNc.js} +1 -1
  32. package/dist/public/assets/_BrhBcHNc.js.br +0 -0
  33. package/dist/public/assets/_Bss-BVMr.js +1 -0
  34. package/dist/public/assets/_Bu3NOTIR.js +1 -0
  35. package/dist/public/assets/{_Cc7tDhpB.js → _C09s8ys-.js} +1 -1
  36. package/dist/public/assets/_C09s8ys-.js.br +0 -0
  37. package/dist/public/assets/{_CoPIorrk.js → _C0jLRRGd.js} +1 -1
  38. package/dist/public/assets/_C0jLRRGd.js.br +0 -0
  39. package/dist/public/assets/{_EFMHW4T2.js → _C3bY4kl5.js} +1 -1
  40. package/dist/public/assets/_C3bY4kl5.js.br +0 -0
  41. package/dist/public/assets/{_Cgth191z.js → _C5AzS7w_.js} +1 -1
  42. package/dist/public/assets/_C5AzS7w_.js.br +0 -0
  43. package/dist/public/assets/{_CKPJtnFa.js → _C5F2LB0J.js} +1 -1
  44. package/dist/public/assets/_C5F2LB0J.js.br +0 -0
  45. package/dist/public/assets/{_pkb_sa3o.js → _C7bp-lWn.js} +1 -1
  46. package/dist/public/assets/_C7bp-lWn.js.br +0 -0
  47. package/dist/public/assets/{_B2SRh01x.js → _C9ZUrBp_.js} +1 -1
  48. package/dist/public/assets/_C9ZUrBp_.js.br +0 -0
  49. package/dist/public/assets/{_Yq-HZxJ8.js → _CA86wzsA.js} +1 -1
  50. package/dist/public/assets/_CA86wzsA.js.br +0 -0
  51. package/dist/public/assets/{_C7z2L4aH.js → _CCGnzpyE.js} +1 -1
  52. package/dist/public/assets/_CCGnzpyE.js.br +0 -0
  53. package/dist/public/assets/{_Zz1A-chZ.js → _CGSpCxiD.js} +1 -1
  54. package/dist/public/assets/_CGSpCxiD.js.br +0 -0
  55. package/dist/public/assets/{_BeLJIsfj.js → _CKzQAUqk.js} +1 -1
  56. package/dist/public/assets/_CKzQAUqk.js.br +0 -0
  57. package/dist/public/assets/{_Ba7BRaFC.js → _CM5P028Z.js} +1 -1
  58. package/dist/public/assets/_CM5P028Z.js.br +0 -0
  59. package/dist/public/assets/_COVDrgRh.js +1 -0
  60. package/dist/public/assets/{_CgFZfHJK.js → _CPoFjDtz.js} +1 -1
  61. package/dist/public/assets/_CPoFjDtz.js.br +0 -0
  62. package/dist/public/assets/{_CiAnTpkf.js → _CQJ4Ag1g.js} +1 -1
  63. package/dist/public/assets/_CQJ4Ag1g.js.br +0 -0
  64. package/dist/public/assets/{_CjnEjgIF.js → _CRSCK3l6.js} +1 -1
  65. package/dist/public/assets/_CRSCK3l6.js.br +0 -0
  66. package/dist/public/assets/_CV_GGPNN.js +1 -0
  67. package/dist/public/assets/_CVgDVVCO.js +1 -0
  68. package/dist/public/assets/_CVgDVVCO.js.br +0 -0
  69. package/dist/public/assets/{_CWtgW4OP.js → _CYeZAktI.js} +1 -1
  70. package/dist/public/assets/_CYeZAktI.js.br +0 -0
  71. package/dist/public/assets/{_DP2jZK45.js → _C_G8IpBR.js} +1 -1
  72. package/dist/public/assets/_C_G8IpBR.js.br +0 -0
  73. package/dist/public/assets/{_C1dXWTUE.js → _Ca1l-_ve.js} +1 -1
  74. package/dist/public/assets/_Ca1l-_ve.js.br +0 -0
  75. package/dist/public/assets/{_ByEkgEK4.js → _CbL4gBfT.js} +1 -1
  76. package/dist/public/assets/_CbL4gBfT.js.br +0 -0
  77. package/dist/public/assets/_CeAfNPeV.js +1 -0
  78. package/dist/public/assets/{_BFTISaPx.js → _ChhEzrHb.js} +1 -1
  79. package/dist/public/assets/_ChhEzrHb.js.br +0 -0
  80. package/dist/public/assets/{_Rmhe1IFp.js → _CiGlRWH1.js} +1 -1
  81. package/dist/public/assets/_CiPzkiaq.js +1 -0
  82. package/dist/public/assets/{_A4OO-H1Y.js → _Clp7X-2W.js} +1 -1
  83. package/dist/public/assets/_Clp7X-2W.js.br +0 -0
  84. package/dist/public/assets/{_BSF3lsgA.js → _Coeyfi50.js} +1 -1
  85. package/dist/public/assets/_Coeyfi50.js.br +0 -0
  86. package/dist/public/assets/{_KXOQ2BQK.js → _Cooz7Zy5.js} +1 -1
  87. package/dist/public/assets/_Cooz7Zy5.js.br +0 -0
  88. package/dist/public/assets/{_BfYfTBQi.js → _CpTbuk29.js} +1 -1
  89. package/dist/public/assets/_CpTbuk29.js.br +0 -0
  90. package/dist/public/assets/{_HRljMv8j.js → _CrTMxI09.js} +1 -1
  91. package/dist/public/assets/_CrTMxI09.js.br +0 -0
  92. package/dist/public/assets/{_BGCpirN7.js → _CtfgHAJr.js} +1 -1
  93. package/dist/public/assets/_CtfgHAJr.js.br +0 -0
  94. package/dist/public/assets/{_0lpj5jeB.js → _CyuDJO5U.js} +1 -1
  95. package/dist/public/assets/_CyuDJO5U.js.br +0 -0
  96. package/dist/public/assets/{_B4NbIhfe.js → _D0p9tDcD.js} +1 -1
  97. package/dist/public/assets/_D0p9tDcD.js.br +0 -0
  98. package/dist/public/assets/{_DWGPcRW1.js → _D2DUVmrK.js} +1 -1
  99. package/dist/public/assets/_D2DUVmrK.js.br +0 -0
  100. package/dist/public/assets/{_BsO6N6YJ.js → _D2Ka7B62.js} +1 -1
  101. package/dist/public/assets/_D2Ka7B62.js.br +0 -0
  102. package/dist/public/assets/{_DT3Bz3CL.js → _D3P02MlY.js} +1 -1
  103. package/dist/public/assets/_D3P02MlY.js.br +0 -0
  104. package/dist/public/assets/_D6HCkd6p.js +1 -0
  105. package/dist/public/assets/{_CXtv8Onm.js → _DLbTveFp.js} +1 -1
  106. package/dist/public/assets/_DLbTveFp.js.br +0 -0
  107. package/dist/public/assets/_DLolIAvl.js +1 -0
  108. package/dist/public/assets/_DQd-ev5r.js +1 -0
  109. package/dist/public/assets/{_Bi9VXozo.js → _DQoHlXvh.js} +1 -1
  110. package/dist/public/assets/_DQoHlXvh.js.br +0 -0
  111. package/dist/public/assets/_DSrC_h4J.js +1 -0
  112. package/dist/public/assets/{_CTlSi1ki.js → _DWudthM-.js} +1 -1
  113. package/dist/public/assets/_DWudthM-.js.br +0 -0
  114. package/dist/public/assets/{_ayezUhG7.js → _DXpTM9Vi.js} +1 -1
  115. package/dist/public/assets/_DXpTM9Vi.js.br +0 -0
  116. package/dist/public/assets/_DYSr-hH7.js +1 -0
  117. package/dist/public/assets/_DYXqkZWp.js +1 -0
  118. package/dist/public/assets/_Db3SwGry.js +1 -0
  119. package/dist/public/assets/{_B0Q0bDgS.js → _Dipq1vU2.js} +1 -1
  120. package/dist/public/assets/_Dipq1vU2.js.br +0 -0
  121. package/dist/public/assets/{_LmdVTVlm.js → _Dk6CAjdI.js} +1 -1
  122. package/dist/public/assets/_Dk6CAjdI.js.br +0 -0
  123. package/dist/public/assets/{_BAATWcW2.js → _DlJlr59K.js} +1 -1
  124. package/dist/public/assets/_DlJlr59K.js.br +0 -0
  125. package/dist/public/assets/{_BzxiTX2L.js → _Dlo6LkwP.js} +1 -1
  126. package/dist/public/assets/_Dlo6LkwP.js.br +0 -0
  127. package/dist/public/assets/{_Bf2tK2Yw.js → _DpdQcf3B.js} +1 -1
  128. package/dist/public/assets/_DpdQcf3B.js.br +0 -0
  129. package/dist/public/assets/{_DIFtsv4r.js → _DuXWKTn9.js} +1 -1
  130. package/dist/public/assets/_DuXWKTn9.js.br +0 -0
  131. package/dist/public/assets/{_B-ELyoGG.js → _DwaiIOlQ.js} +109 -109
  132. package/dist/public/assets/_DwaiIOlQ.js.br +0 -0
  133. package/dist/public/assets/{_DkWnppK2.js → _Dww-t9cr.js} +1 -1
  134. package/dist/public/assets/_Dww-t9cr.js.br +0 -0
  135. package/dist/public/assets/{_BCrVxcje.js → _Dww6fe2G.js} +1 -1
  136. package/dist/public/assets/_Dww6fe2G.js.br +0 -0
  137. package/dist/public/assets/{_DD_PZ7J3.js → _DxtIw-r7.js} +1 -1
  138. package/dist/public/assets/_DxtIw-r7.js.br +0 -0
  139. package/dist/public/assets/{_njxgl3po.js → _E64Ecc_G.js} +1 -1
  140. package/dist/public/assets/_E64Ecc_G.js.br +0 -0
  141. package/dist/public/assets/{_YcDjrU6g.js → _ECtgMUpC.js} +1 -1
  142. package/dist/public/assets/_ECtgMUpC.js.br +0 -0
  143. package/dist/public/assets/{_D3Fg0PjR.js → _F72-JU90.js} +1 -1
  144. package/dist/public/assets/_F72-JU90.js.br +0 -0
  145. package/dist/public/assets/{_FioQeeis.js → _HHjGgi0e.js} +1 -1
  146. package/dist/public/assets/{_c7XPoH1H.js → _MkFj2NMq.js} +1 -1
  147. package/dist/public/assets/_MkFj2NMq.js.br +0 -0
  148. package/dist/public/assets/{_CaRSveg_.js → _OE_pAv7U.js} +1 -1
  149. package/dist/public/assets/_OE_pAv7U.js.br +0 -0
  150. package/dist/public/assets/{_DekYS_7z.js → _Vcxhd9Me.js} +1 -1
  151. package/dist/public/assets/_Vcxhd9Me.js.br +0 -0
  152. package/dist/public/assets/{_CyuD2cSo.js → _Xe_buWru.js} +8 -8
  153. package/dist/public/assets/_Xe_buWru.js.br +0 -0
  154. package/dist/public/assets/_XqSyea2F.js +1 -0
  155. package/dist/public/assets/_YcAjEuMR.js +1 -0
  156. package/dist/public/assets/{_3R0Y1WMD.js → _atpdpPnT.js} +1 -1
  157. package/dist/public/assets/_atpdpPnT.js.br +0 -0
  158. package/dist/public/assets/{_BhZhrt7H.js → _dpBVLA_i.js} +1 -1
  159. package/dist/public/assets/_dpBVLA_i.js.br +0 -0
  160. package/dist/public/assets/{_ByGyMP8C.js → _e0cRpaOA.js} +1 -1
  161. package/dist/public/assets/_e0cRpaOA.js.br +0 -0
  162. package/dist/public/assets/{_Df2FRCpi.js → _j5K9UQQ0.js} +1 -1
  163. package/dist/public/assets/_j5K9UQQ0.js.br +0 -0
  164. package/dist/public/assets/{_DRu6mEj2.js → _kNFFJLl0.js} +1 -1
  165. package/dist/public/assets/_kNFFJLl0.js.br +0 -0
  166. package/dist/public/assets/{_C8pHc2Wj.js → _lIZw2vRt.js} +1 -1
  167. package/dist/public/assets/_lIZw2vRt.js.br +0 -0
  168. package/dist/public/assets/{_BD0oYdgL.js → _nGKje9l8.js} +1 -1
  169. package/dist/public/assets/_rcvBMPjo.js +1 -0
  170. package/dist/public/assets/{_CT1-HINh.js → _ygR8LCaC.js} +1 -1
  171. package/dist/public/assets/_ygR8LCaC.js.br +0 -0
  172. package/dist/public/assets/{_BhIHAsvd.js → _z5Tp63M6.js} +1 -1
  173. package/dist/public/assets/_z5Tp63M6.js.br +0 -0
  174. package/dist/public/assets/{_Dw3Y8A6V.js → _zEkM9ipN.js} +1 -1
  175. package/dist/public/assets/_zEkM9ipN.js.br +0 -0
  176. package/dist/public/assets/app-page-BEEZP5zo.css +1 -0
  177. package/dist/public/assets/app-page-BEEZP5zo.css.br +0 -0
  178. package/dist/public/assets/{icon-arrow-down-DnflZ5yW.css → icon-arrow-down-o2Q8gX32.css} +1 -1
  179. package/dist/public/assets/icon-arrow-down-o2Q8gX32.css.br +0 -0
  180. package/dist/public/assets/new-C7VSRXTL.js +1 -0
  181. package/dist/public/assets/review-view-CBpY-Hxd.css +1 -0
  182. package/dist/public/assets/review-view-CBpY-Hxd.css.br +0 -0
  183. package/dist/public/assets/review-view-DZAfy74d.js +2 -0
  184. package/dist/public/assets/settings-C7VSRXTL.js +1 -0
  185. package/dist/public/assets/w-C7VSRXTL.js +1 -0
  186. package/dist/public/assets/w._-C7VSRXTL.js +1 -0
  187. package/dist/public/assets/w._-gvNRHjn_.js +1 -0
  188. package/package.json +1 -1
  189. package/dist/public/assets/_0lpj5jeB.js.br +0 -0
  190. package/dist/public/assets/_3R0Y1WMD.js.br +0 -0
  191. package/dist/public/assets/_A4OO-H1Y.js.br +0 -0
  192. package/dist/public/assets/_B-ELyoGG.js.br +0 -0
  193. package/dist/public/assets/_B0Q0bDgS.js.br +0 -0
  194. package/dist/public/assets/_B2SRh01x.js.br +0 -0
  195. package/dist/public/assets/_B3SF7r5U.js +0 -1
  196. package/dist/public/assets/_B4NbIhfe.js.br +0 -0
  197. package/dist/public/assets/_BAATWcW2.js.br +0 -0
  198. package/dist/public/assets/_BBU3G50d.js.br +0 -0
  199. package/dist/public/assets/_BCrVxcje.js.br +0 -0
  200. package/dist/public/assets/_BFTISaPx.js.br +0 -0
  201. package/dist/public/assets/_BGCpirN7.js.br +0 -0
  202. package/dist/public/assets/_BI3NzIeD.js.br +0 -0
  203. package/dist/public/assets/_BKxMrp5F.js +0 -1
  204. package/dist/public/assets/_BMxRolAa.js +0 -1
  205. package/dist/public/assets/_BSF3lsgA.js.br +0 -0
  206. package/dist/public/assets/_BUnC-0z2.js.br +0 -0
  207. package/dist/public/assets/_BV5cuLsP.js +0 -1
  208. package/dist/public/assets/_BV5cuLsP.js.br +0 -0
  209. package/dist/public/assets/_Ba7BRaFC.js.br +0 -0
  210. package/dist/public/assets/_BeLJIsfj.js.br +0 -0
  211. package/dist/public/assets/_Bf2tK2Yw.js.br +0 -0
  212. package/dist/public/assets/_BfYfTBQi.js.br +0 -0
  213. package/dist/public/assets/_BhIHAsvd.js.br +0 -0
  214. package/dist/public/assets/_BhZhrt7H.js.br +0 -0
  215. package/dist/public/assets/_Bi9VXozo.js.br +0 -0
  216. package/dist/public/assets/_Bisf2eEi.js +0 -1
  217. package/dist/public/assets/_BsO6N6YJ.js.br +0 -0
  218. package/dist/public/assets/_BwsKB5-Z.js.br +0 -0
  219. package/dist/public/assets/_ByEkgEK4.js.br +0 -0
  220. package/dist/public/assets/_ByGyMP8C.js.br +0 -0
  221. package/dist/public/assets/_BzxiTX2L.js.br +0 -0
  222. package/dist/public/assets/_C1dXWTUE.js.br +0 -0
  223. package/dist/public/assets/_C3jNzvMK.js +0 -1
  224. package/dist/public/assets/_C52cN7xr.js.br +0 -0
  225. package/dist/public/assets/_C7z2L4aH.js.br +0 -0
  226. package/dist/public/assets/_C8pHc2Wj.js.br +0 -0
  227. package/dist/public/assets/_CFcwMs1E.js +0 -1
  228. package/dist/public/assets/_CK8tVuZ0.js.br +0 -0
  229. package/dist/public/assets/_CKPJtnFa.js.br +0 -0
  230. package/dist/public/assets/_CT1-HINh.js.br +0 -0
  231. package/dist/public/assets/_CTlSi1ki.js.br +0 -0
  232. package/dist/public/assets/_CWtgW4OP.js.br +0 -0
  233. package/dist/public/assets/_CXtv8Onm.js.br +0 -0
  234. package/dist/public/assets/_CaRSveg_.js.br +0 -0
  235. package/dist/public/assets/_CbNQNUKM.js.br +0 -0
  236. package/dist/public/assets/_Cc7tDhpB.js.br +0 -0
  237. package/dist/public/assets/_CcXz3mdH.js +0 -1
  238. package/dist/public/assets/_CgFZfHJK.js.br +0 -0
  239. package/dist/public/assets/_Cgth191z.js.br +0 -0
  240. package/dist/public/assets/_CiAnTpkf.js.br +0 -0
  241. package/dist/public/assets/_CjnEjgIF.js.br +0 -0
  242. package/dist/public/assets/_CoPIorrk.js.br +0 -0
  243. package/dist/public/assets/_CquUiY4g.js +0 -1
  244. package/dist/public/assets/_Crkl6Skq.js.br +0 -0
  245. package/dist/public/assets/_CvMwK8jY.js +0 -1
  246. package/dist/public/assets/_Cy28-KDv.js +0 -1
  247. package/dist/public/assets/_CypTm9dc.js +0 -1
  248. package/dist/public/assets/_CyuD2cSo.js.br +0 -0
  249. package/dist/public/assets/_D3Fg0PjR.js.br +0 -0
  250. package/dist/public/assets/_DD_PZ7J3.js.br +0 -0
  251. package/dist/public/assets/_DETzykGA.js.br +0 -0
  252. package/dist/public/assets/_DFQFAkcY.js.br +0 -0
  253. package/dist/public/assets/_DIFtsv4r.js.br +0 -0
  254. package/dist/public/assets/_DP2jZK45.js.br +0 -0
  255. package/dist/public/assets/_DR0sgJ8w.js +0 -1
  256. package/dist/public/assets/_DRu6mEj2.js.br +0 -0
  257. package/dist/public/assets/_DT3Bz3CL.js.br +0 -0
  258. package/dist/public/assets/_DWGPcRW1.js.br +0 -0
  259. package/dist/public/assets/_DX2meA0b.js +0 -1
  260. package/dist/public/assets/_DcJWk0F2.js +0 -1
  261. package/dist/public/assets/_DekYS_7z.js.br +0 -0
  262. package/dist/public/assets/_Df2FRCpi.js.br +0 -0
  263. package/dist/public/assets/_DkWnppK2.js.br +0 -0
  264. package/dist/public/assets/_DnObjRuf.js +0 -1
  265. package/dist/public/assets/_DriBHAVU.js +0 -1
  266. package/dist/public/assets/_DrwSFCN4.js +0 -1
  267. package/dist/public/assets/_DsPXV5im.js.br +0 -0
  268. package/dist/public/assets/_Dw3Y8A6V.js.br +0 -0
  269. package/dist/public/assets/_EFMHW4T2.js.br +0 -0
  270. package/dist/public/assets/_HRljMv8j.js.br +0 -0
  271. package/dist/public/assets/_KXOQ2BQK.js.br +0 -0
  272. package/dist/public/assets/_LKaW_wke.js +0 -1
  273. package/dist/public/assets/_LmdVTVlm.js.br +0 -0
  274. package/dist/public/assets/_YcDjrU6g.js.br +0 -0
  275. package/dist/public/assets/_Yq-HZxJ8.js.br +0 -0
  276. package/dist/public/assets/_Zz1A-chZ.js.br +0 -0
  277. package/dist/public/assets/_ayezUhG7.js.br +0 -0
  278. package/dist/public/assets/_c7XPoH1H.js.br +0 -0
  279. package/dist/public/assets/_d2nxQoeM.js.br +0 -0
  280. package/dist/public/assets/_ee8ndpx4.js +0 -1
  281. package/dist/public/assets/_j7obVzPU.js +0 -1
  282. package/dist/public/assets/_njxgl3po.js.br +0 -0
  283. package/dist/public/assets/_p9dnp59X.js +0 -1
  284. package/dist/public/assets/_pkb_sa3o.js.br +0 -0
  285. package/dist/public/assets/_xucbrtDr.js.br +0 -0
  286. package/dist/public/assets/app-page-rXnZguHI.css +0 -1
  287. package/dist/public/assets/app-page-rXnZguHI.css.br +0 -0
  288. package/dist/public/assets/icon-arrow-down-DnflZ5yW.css.br +0 -0
  289. package/dist/public/assets/new-NqoOGnBo.js +0 -1
  290. package/dist/public/assets/review-view-CGsWDCd7.js +0 -2
  291. package/dist/public/assets/review-view-DY0OU8Te.css +0 -1
  292. package/dist/public/assets/review-view-DY0OU8Te.css.br +0 -0
  293. package/dist/public/assets/settings-NqoOGnBo.js +0 -1
  294. package/dist/public/assets/w-NqoOGnBo.js +0 -1
  295. package/dist/public/assets/w._-BYRqNEuI.js +0 -1
  296. package/dist/public/assets/w._-NqoOGnBo.js +0 -1
package/dist/index.mjs CHANGED
@@ -7128,6 +7128,18 @@ var written = /* @__PURE__ */ new Set();
7128
7128
  function get(key) {
7129
7129
  return prefs$1.get(key) ?? null;
7130
7130
  }
7131
+ /** A stored JSON array of strings, or none: a pref written by an older
7132
+ * (or newer) build is ignored rather than thrown. */
7133
+ function stringList(key) {
7134
+ const raw = get(key);
7135
+ if (!raw) return [];
7136
+ try {
7137
+ const parsed = JSON.parse(raw);
7138
+ return Array.isArray(parsed) ? parsed.filter((x) => typeof x === "string") : [];
7139
+ } catch {
7140
+ return [];
7141
+ }
7142
+ }
7131
7143
  function set(key, value) {
7132
7144
  written.add(key);
7133
7145
  if (value === null) prefs$1.delete(key);
@@ -7176,6 +7188,14 @@ function setDiffScope(scope) {
7176
7188
  function diffFilter(workspaceId) {
7177
7189
  return get(`diff-filter:${workspaceId}`) || "";
7178
7190
  }
7191
+ /** Sections the reviewer folded out of the diff from the file list, per
7192
+ * workspace. Stored by section id (`worktree`, or `worktree#<pr>`), so a
7193
+ * fold survives a reload and follows the review to another device. The
7194
+ * writer drops ids the diff no longer has, or a merged PR's fold would
7195
+ * sit in the list forever. */
7196
+ function diffFolded(workspaceId) {
7197
+ return stringList(`diff-folded:${workspaceId}`);
7198
+ }
7179
7199
  function diffPos(workspaceId) {
7180
7200
  const v = get(`diff-pos:${workspaceId}`);
7181
7201
  if (!v) return null;
@@ -7192,14 +7212,7 @@ function setDiffPos(workspaceId, pos) {
7192
7212
  /** Org logins the user chose not to authorize for SAML SSO — filtered out
7193
7213
  * of the repo-picker / Settings nag until Undo. */
7194
7214
  function ignoredSsoOrgs() {
7195
- const raw = get("sso-ignored");
7196
- if (!raw) return [];
7197
- try {
7198
- const parsed = JSON.parse(raw);
7199
- return Array.isArray(parsed) ? parsed.filter((x) => typeof x === "string") : [];
7200
- } catch {
7201
- return [];
7202
- }
7215
+ return stringList("sso-ignored");
7203
7216
  }
7204
7217
  function theme() {
7205
7218
  const v = get("theme");
@@ -7296,19 +7309,19 @@ function applyInstance(inst) {
7296
7309
  if (icon) icon.href = `/api/instance/icon${inst.accent ? `?v=${inst.accent.slice(1)}` : ""}`;
7297
7310
  syncThemeColorMetas(theme(), inst.accent || "");
7298
7311
  }
7299
- var agentRow = "_fT _d7";
7300
- var toolGrid = "_f1 _eg";
7301
- var toolRow = "_f2 _eh";
7302
- var themeSeg = "_go _bd";
7303
- var checkList = "_gU _ca";
7304
- var list$2 = "_ei _cc _d6 _eg";
7305
- var flatCardRow = "_ej _eh";
7306
- var chip$1 = "_es _X _W";
7307
- var pop$1 = "_fH _9";
7308
- var spinner = "_fK _1 _G";
7309
- var busy = "_fO _fN";
7310
- var pop = "_fQ _9";
7311
- var sectionCount$1 = "_b_ _N _O";
7312
+ var agentRow = "_cS _ct";
7313
+ var toolGrid = "_c0 _cD";
7314
+ var toolRow = "_c1 _cE";
7315
+ var themeSeg = "_dn _bd";
7316
+ var checkList = "_dT _bX";
7317
+ var list$2 = "_cF _bZ _cs _cD";
7318
+ var flatCardRow = "_cG _cE";
7319
+ var chip$1 = "_cP _X _W";
7320
+ var pop$1 = "_ej _9";
7321
+ var spinner = "_em _1 _G";
7322
+ var busy = "_d9 _d8";
7323
+ var pop = "_ea _9";
7324
+ var sectionCount$1 = "_bW _N _O";
7312
7325
  //#endregion
7313
7326
  //#region src/tags/icons/icon-refresh.marko
7314
7327
  var icon_refresh_default = _template("pb", (input) => {
@@ -7348,18 +7361,18 @@ var icon_back_default = _template("V", (input) => {
7348
7361
  var page_head_default = _template("t", (input) => {
7349
7362
  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);
7350
7363
  const $scope0_id = _scope_id();
7351
- _html(`<header${_attr_class("_cU")}>`);
7364
+ _html(`<header${_attr_class("_d1")}>`);
7352
7365
  _if(() => {
7353
7366
  if (input.backHref) {
7354
7367
  const $scope1_id = _scope_id();
7355
- _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_cZ"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7368
+ _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_eP"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7356
7369
  icon_back_default({ size: 14 });
7357
7370
  _html(`</a>${_el_resume($scope1_id, "a", $sg__input_backHref__OR__input_backTitle)}`);
7358
7371
  _serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
7359
7372
  return 0;
7360
7373
  } else if (input.onBack) {
7361
7374
  const $scope2_id = _scope_id();
7362
- _html(`<button${_attr_class([iconBtnRow, "_cZ"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7375
+ _html(`<button${_attr_class([iconBtnRow, "_eP"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
7363
7376
  icon_back_default({ size: 14 });
7364
7377
  _html(`</button>${_el_resume($scope2_id, "a")}`);
7365
7378
  _script($scope2_id, "t0");
@@ -7367,11 +7380,11 @@ var page_head_default = _template("t", (input) => {
7367
7380
  return 1;
7368
7381
  }
7369
7382
  }, $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("_cW")}><h1${_attr("id", input.titleId)}${_attr_class("_cV")}>${_text_resume($scope0_id, "e", input.title, $sg__input_title)}</h1>${_el_resume($scope0_id, "d", $sg__input_titleId)}`);
7383
+ _html(`<div${_attr_class("_d3")}><h1${_attr("id", input.titleId)}${_attr_class("_d2")}>${_text_resume($scope0_id, "e", input.title, $sg__input_title)}</h1>${_el_resume($scope0_id, "d", $sg__input_titleId)}`);
7371
7384
  _if(() => {
7372
7385
  if (input.meta) {
7373
7386
  const $scope3_id = _scope_id();
7374
- _html(`<p${_attr_class("_cX")}>`);
7387
+ _html(`<p${_attr_class("_d4")}>`);
7375
7388
  _dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
7376
7389
  _html("</p>");
7377
7390
  $si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
@@ -7382,7 +7395,7 @@ var page_head_default = _template("t", (input) => {
7382
7395
  _if(() => {
7383
7396
  if (input.actions) {
7384
7397
  const $scope4_id = _scope_id();
7385
- _html(`<div${_attr_class("_cY")}>`);
7398
+ _html(`<div${_attr_class("_d5")}>`);
7386
7399
  _dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7387
7400
  _html("</div>");
7388
7401
  $si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7450,7 +7463,7 @@ var icon_agent_default = _template("P", (input) => {
7450
7463
  n: $badge__closures
7451
7464
  });
7452
7465
  });
7453
- var usageNote = "_hg _W";
7466
+ var usageNote = "_hf _W";
7454
7467
  //#endregion
7455
7468
  //#region src/tags/icons/icon-warning.marko
7456
7469
  var icon_warning_default = _template("xb", (input) => {
@@ -7480,11 +7493,11 @@ var usage_meters_default = _template("L", (input) => {
7480
7493
  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);
7481
7494
  const $scope0_id = _scope_id();
7482
7495
  const agent = input.agent;
7483
- _html(`<div${_attr_class(["_ha", { ["_hb"]: input.hideName }])}><div${_attr_class("_hc")}>`);
7496
+ _html(`<div${_attr_class(["_g_", { ["_ha"]: input.hideName }])}><div${_attr_class("_hb")}>`);
7484
7497
  _if(() => {
7485
7498
  if (!input.hideName) {
7486
7499
  const $scope1_id = _scope_id();
7487
- _html(`<strong${_attr_class("_hv")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7500
+ _html(`<strong${_attr_class("_hu")}>${_text_resume($scope1_id, "b", agent.agent, $sg__input_agent)}</strong>`);
7488
7501
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
7489
7502
  return 0;
7490
7503
  }
@@ -7492,7 +7505,7 @@ var usage_meters_default = _template("L", (input) => {
7492
7505
  _if(() => {
7493
7506
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
7494
7507
  const $scope2_id = _scope_id();
7495
- _html(`<span${_attr_class("_hd")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7508
+ _html(`<span${_attr_class("_hc")}>${_text_resume($scope2_id, "b", agent.plan.replace(/^default_/, "").replaceAll("_", " "), $sg__input_agent)}</span>`);
7496
7509
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
7497
7510
  return 0;
7498
7511
  }
@@ -7500,21 +7513,21 @@ var usage_meters_default = _template("L", (input) => {
7500
7513
  _if(() => {
7501
7514
  if (agent.stale_seconds != null) {
7502
7515
  const $scope3_id = _scope_id();
7503
- _html(`<span${_attr_class("_he")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7516
+ _html(`<span${_attr_class("_hd")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
7504
7517
  icon_warning_default({ size: 12 });
7505
7518
  _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)}`);
7506
7519
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7507
7520
  return 0;
7508
7521
  }
7509
7522
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
7510
- _html(`</div><div${_attr_class(["_hf", { ["_hw"]: agent.stale_seconds != null }])}>`);
7523
+ _html(`</div><div${_attr_class(["_he", { ["_hv"]: agent.stale_seconds != null }])}>`);
7511
7524
  _for_of(agent.windows || [], (win) => {
7512
7525
  const $scope4_id = _scope_id();
7513
7526
  const pct = pctText(win.used_percent);
7514
7527
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
7515
- const fillClass = win.used_percent >= 90 ? "_ho" : win.used_percent >= 70 ? "_hn" : win.used_percent >= 40 ? "_hm" : "_hl";
7516
- const pctClass = win.used_percent >= 90 ? "_ht" : win.used_percent >= 70 ? "_hs" : win.used_percent >= 40 ? "_hr" : "_hq";
7517
- _html(`<div${_attr_class("_hh")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_hi")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hj")}><span${_attr_class(["_hk", 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(["_hp", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_hu")}>`);
7528
+ const fillClass = win.used_percent >= 90 ? "_hn" : win.used_percent >= 70 ? "_hm" : win.used_percent >= 40 ? "_hl" : "_hk";
7529
+ const pctClass = win.used_percent >= 90 ? "_hs" : win.used_percent >= 70 ? "_hr" : win.used_percent >= 40 ? "_hq" : "_hp";
7530
+ _html(`<div${_attr_class("_hg")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_hh")}>${_text_resume($scope4_id, "c", win.window, $sg__input_agent)}</span><span${_attr_class("_hi")}><span${_attr_class(["_hj", 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(["_ho", pctClass])}>${_text_resume($scope4_id, "g", pct, $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_ht")}>`);
7518
7531
  _if(() => {
7519
7532
  if (label) {
7520
7533
  const $scope6_id = _scope_id();
@@ -7613,10 +7626,10 @@ var add_field_default = _template("b", (input$3) => {
7613
7626
  }
7614
7627
  }, $scope0_id, "a", 1, 1, 1, 0, 1);
7615
7628
  _html(`<form${_attr_class([
7616
- "_fA",
7629
+ "_ec",
7617
7630
  input$3.class,
7618
- { ["_fB"]: !open }
7619
- ])}><label${_attr_class(["_0", "_fD"])}>`);
7631
+ { ["_ed"]: !open }
7632
+ ])}><label${_attr_class(["_0", "_ef"])}>`);
7620
7633
  _if(() => {
7621
7634
  if (input$3.searching) {
7622
7635
  const $scope5_id = _scope_id();
@@ -7643,7 +7656,7 @@ var add_field_default = _template("b", (input$3) => {
7643
7656
  }, "b0", $scope0_id))}${_attr_class([
7644
7657
  "_Y",
7645
7658
  "_2",
7646
- "_fE"
7659
+ "_eg"
7647
7660
  ])} type=text${_attr("placeholder", input$3.placeholder)}${_attr("aria-label", input$3.ariaLabel)} autocomplete=off spellcheck=false>${_el_resume($scope0_id, "e")}</label>`);
7648
7661
  _if(() => {
7649
7662
  if (input$3.submitLabel) {
@@ -7651,19 +7664,19 @@ var add_field_default = _template("b", (input$3) => {
7651
7664
  _html(`<button${_attr_class([
7652
7665
  btnSm,
7653
7666
  "_r",
7654
- "_fF"
7667
+ "_eh"
7655
7668
  ])} 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")}`);
7656
7669
  writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
7657
7670
  return 0;
7658
7671
  }
7659
7672
  }, $scope0_id, "f", 1, _serialize_guard($scope0_reason, 7), 1, 0, 1);
7660
- _html(`<button${_attr_class([iconBtnRow, "_fG"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
7673
+ _html(`<button${_attr_class([iconBtnRow, "_ei"])} type=button${_attr("hidden", !open)} title=Close aria-label=Close${_attr("disabled", input$3.busy)}>`);
7661
7674
  icon_xmark_default({ size: 14 });
7662
7675
  _html(`</button>${_el_resume($scope0_id, "g")}`);
7663
7676
  _if(() => {
7664
7677
  if (input$3.content) {
7665
7678
  const $scope4_id = _scope_id();
7666
- _html(`<ul${_attr_class([pop$1, "_fI"])} data-add-pop${_attr("hidden", !open || !value.trim())}>`);
7679
+ _html(`<ul${_attr_class([pop$1, "_ek"])} data-add-pop${_attr("hidden", !open || !value.trim())}>`);
7667
7680
  _dynamic_tag($scope4_id, "b", input$3.content, {}, 0, 0, $sg__input_content);
7668
7681
  _html(`</ul>${_el_resume($scope4_id, "a")}`);
7669
7682
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -7788,14 +7801,14 @@ var sso_auth_default = _template("G", (input) => {
7788
7801
  localCode = null;
7789
7802
  }
7790
7803
  }, "G0", $scope0_id);
7791
- _html(`<div${_attr_class(["_iC", input.class])}>`);
7804
+ _html(`<div${_attr_class(["_hD", input.class])}>`);
7792
7805
  _for_of(input.items, (s) => {
7793
7806
  const $scope1_id = _scope_id();
7794
- _html(`<div${_attr_class("_iD")}><span${_attr_class("_iF")}><span${_attr_class("_iG")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_iH", "_iI"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7807
+ _html(`<div${_attr_class("_hE")}><span${_attr_class("_hG")}><span${_attr_class("_hH")}>${_text_resume($scope1_id, "d", s.org, $sg__input_items)}</span><span${_attr_class(["_hI", "_hJ"])} title="Repos and PRs in this org stay hidden until the GitHub CLI is authorized for it.">SSO not authorized</span></span>`);
7795
7808
  _if(() => {
7796
7809
  if (!busy) {
7797
7810
  const $scope2_id = _scope_id();
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, "_iJ"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7811
+ _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, "_hK"])}${_attr("title", `Ignore ${s.org} — stop asking about it`)}>Ignore</button>${_el_resume($scope2_id, "b")}`);
7799
7812
  _script($scope2_id, "G1");
7800
7813
  writeScope($scope2_id, {});
7801
7814
  return 0;
@@ -7810,13 +7823,13 @@ var sso_auth_default = _template("G", (input) => {
7810
7823
  _if(() => {
7811
7824
  if (localBusy && localCode) {
7812
7825
  const $scope4_id = _scope_id();
7813
- _html(`<div${_attr_class(["_iD", "_iK"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_iL")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_iM")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7826
+ _html(`<div${_attr_class(["_hE", "_hL"])}><span${_attr_class("_G")}></span> Enter code <strong${_attr_class("_hM")}>${_text_resume($scope4_id, "d", localCode)}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_hN")}>${_text_resume($scope4_id, "f", host, _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope4_id, "e")}</div>`);
7814
7827
  _script($scope4_id, "G2");
7815
7828
  writeScope($scope4_id, {});
7816
7829
  return 0;
7817
7830
  } else if (localBusy) {
7818
7831
  const $scope6_id = _scope_id();
7819
- _html(`<div${_attr_class(["_iD", "_iK"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7832
+ _html(`<div${_attr_class(["_hE", "_hL"])}><span${_attr_class("_G")}></span>Starting GitHub re-authorization…</div>`);
7820
7833
  writeScope($scope6_id, {});
7821
7834
  return 1;
7822
7835
  }
@@ -7824,14 +7837,14 @@ var sso_auth_default = _template("G", (input) => {
7824
7837
  _if(() => {
7825
7838
  if (localError) {
7826
7839
  const $scope5_id = _scope_id();
7827
- _html(`<p${_attr_class(["_iD", "_iN"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7840
+ _html(`<p${_attr_class(["_hE", "_hO"])}>${_text_resume($scope5_id, "b", localError)}</p>`);
7828
7841
  writeScope($scope5_id, {});
7829
7842
  return 0;
7830
7843
  }
7831
7844
  }, $scope0_id, "d", 1, 1, 1, 0, 1);
7832
7845
  _for_of(skipped, (s) => {
7833
7846
  const $scope3_id = _scope_id();
7834
- _html(`<div${_attr_class(["_iD", "_iE"])}><span${_attr_class("_iF")}><span${_attr_class("_iG")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_iH")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_iJ"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7847
+ _html(`<div${_attr_class(["_hE", "_hF"])}><span${_attr_class("_hG")}><span${_attr_class("_hH")}>${_text_resume($scope3_id, "d", s.org, $sg__input_skipped)}</span><span${_attr_class("_hI")}>Ignored</span></span><button type=button${_attr_class([btnSm, "_hK"])}${_attr("title", `Ask about ${s.org} again`)}>Undo</button>${_el_resume($scope3_id, "f")}</div>`);
7835
7848
  _script($scope3_id, "G3");
7836
7849
  writeScope($scope3_id, {
7837
7850
  i: s?.org,
@@ -7881,7 +7894,7 @@ var skill_chip_default = _template("F", (input) => {
7881
7894
  const $input_tags__closures = /* @__PURE__ */ new Set();
7882
7895
  const $input_actions__closures = /* @__PURE__ */ new Set();
7883
7896
  const $input_trailing__closures = /* @__PURE__ */ new Set();
7884
- _html(`<li${_attr_class("_fM")}>`);
7897
+ _html(`<li${_attr_class("_d7")}>`);
7885
7898
  _if(() => {
7886
7899
  if (input.busy != null) {
7887
7900
  const $scope1_id = _scope_id();
@@ -7891,20 +7904,20 @@ var skill_chip_default = _template("F", (input) => {
7891
7904
  } else {
7892
7905
  const $scope2_id = _scope_id();
7893
7906
  const popId = _id();
7894
- _html(`<button${_attr_class("_fN")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7907
+ _html(`<button${_attr_class("_d8")}${_attr("popovertarget", popId)}${_attr("title", `About ${input.name}`)}>${_text_resume($scope2_id, "b", input.name, $sg__input_name)}`);
7895
7908
  _if(() => {
7896
7909
  if (input.hint) {
7897
7910
  const $scope3_id = _scope_id();
7898
- _html(`<span${_attr_class("_fP")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7911
+ _html(`<span${_attr_class("_d_")}>${_text_resume($scope3_id, "b", input.hint, $sg__input_hint)}</span>`);
7899
7912
  $si__input_busy__OR__input_hint && _subscribe($si__input_hint && $input_hint__closures, writeScope($scope3_id, { _: _scope_with_id($scope2_id) }));
7900
7913
  return 0;
7901
7914
  }
7902
7915
  }, $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);
7903
- _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_ce", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7916
+ _html(`</button>${_el_resume($scope2_id, "a")}<div${_attr("id", popId)} popover=auto${_attr_class(pop)}><span${_attr_class(["_b1", "_y"])}>${_text_resume($scope2_id, "f", input.name, $sg__input_name)}</span>`);
7904
7917
  _if(() => {
7905
7918
  if (input.description) {
7906
7919
  const $scope4_id = _scope_id();
7907
- _html(`<span${_attr_class("_cg")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7920
+ _html(`<span${_attr_class("_b3")}${_attr("title", input.description)}>${_text_resume($scope4_id, "b", input.description, $sg__input_description)}</span>${_el_resume($scope4_id, "a", $sg__input_description)}`);
7908
7921
  $si__input_busy__OR__input_description && _subscribe($si__input_description && $input_description__closures, writeScope($scope4_id, { _: _scope_with_id($scope2_id) }));
7909
7922
  return 0;
7910
7923
  }
@@ -7912,12 +7925,12 @@ var skill_chip_default = _template("F", (input) => {
7912
7925
  _if(() => {
7913
7926
  if (input.sourceUrl) {
7914
7927
  const $scope5_id = _scope_id();
7915
- _html(`<a${_attr_class(["_cg", "_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)}`);
7928
+ _html(`<a${_attr_class(["_b3", "_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)}`);
7916
7929
  $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) })));
7917
7930
  return 0;
7918
7931
  } else if (input.source) {
7919
7932
  const $scope6_id = _scope_id();
7920
- _html(`<span${_attr_class("_cg")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7933
+ _html(`<span${_attr_class("_b3")}>${_text_resume($scope6_id, "b", input.source, $sg__input_source)}</span>`);
7921
7934
  $si__input_busy__OR__input_sourceUrl__OR__input_source__OR__input_noteLocal && _subscribe($si__input_source && $input_source__closures, writeScope($scope6_id, {
7922
7935
  _: _scope_with_id($scope2_id),
7923
7936
  Cs: $si__input_source && 1
@@ -7925,7 +7938,7 @@ var skill_chip_default = _template("F", (input) => {
7925
7938
  return 1;
7926
7939
  } else if (input.noteLocal) {
7927
7940
  const $scope10_id = _scope_id();
7928
- _html(`<span${_attr_class(["_cg", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7941
+ _html(`<span${_attr_class(["_b3", "_x"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
7929
7942
  _serialize_if($scope0_reason, 8) && writeScope($scope10_id, {});
7930
7943
  return 2;
7931
7944
  }
@@ -7933,7 +7946,7 @@ var skill_chip_default = _template("F", (input) => {
7933
7946
  _if(() => {
7934
7947
  if (input.tags) {
7935
7948
  const $scope7_id = _scope_id();
7936
- _html(`<span${_attr_class("_cf")}>`);
7949
+ _html(`<span${_attr_class("_b2")}>`);
7937
7950
  _dynamic_tag($scope7_id, "b", input.tags, {}, 0, 0, $sg__input_tags);
7938
7951
  _html("</span>");
7939
7952
  $si__input_busy__OR__input_tags && _subscribe($si__input_tags && $input_tags__closures, writeScope($scope7_id, { _: _scope_with_id($scope2_id) }));
@@ -7943,7 +7956,7 @@ var skill_chip_default = _template("F", (input) => {
7943
7956
  _if(() => {
7944
7957
  if (input.actions) {
7945
7958
  const $scope8_id = _scope_id();
7946
- _html(`<div${_attr_class("_fR")}>`);
7959
+ _html(`<div${_attr_class("_eb")}>`);
7947
7960
  _dynamic_tag($scope8_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
7948
7961
  _html("</div>");
7949
7962
  $si__input_busy__OR__input_actions && _subscribe($si__input_actions && $input_actions__closures, writeScope($scope8_id, { _: _scope_with_id($scope2_id) }));
@@ -8054,7 +8067,7 @@ var icon_moon_default = _template("nb", (input) => {
8054
8067
  });
8055
8068
  //#endregion
8056
8069
  //#region src/tags/prompt-dialog.css.ts
8057
- var promptDlg = "_jb _hW";
8070
+ var promptDlg = "_g9 _g5";
8058
8071
  //#endregion
8059
8072
  //#region src/tags/dialog-close.marko
8060
8073
  var dialog_close_default = _template("h", (input) => {
@@ -8078,7 +8091,7 @@ var modal_view_default = _template("q", (input) => {
8078
8091
  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;
8079
8092
  const dismissable = input.dismissable !== false;
8080
8093
  let open = input.open;
8081
- _html(`<dialog${_attr_class(["_hV", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8094
+ _html(`<dialog${_attr_class(["_g4", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
8082
8095
  ...htmlInput,
8083
8096
  open: null
8084
8097
  }, {
@@ -8088,20 +8101,20 @@ var modal_view_default = _template("q", (input) => {
8088
8101
  closedby: 1,
8089
8102
  "on-cancel": 1,
8090
8103
  "on-close": 1
8091
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_hY")}>`);
8104
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_g7")}>`);
8092
8105
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
8093
8106
  _html("</div>");
8094
8107
  _if(() => {
8095
8108
  if (footer) {
8096
8109
  const $scope1_id = _scope_id();
8097
- _html(`<form method=dialog${_attr_class("_hZ")}>`);
8110
+ _html(`<form method=dialog${_attr_class("_g8")}>`);
8098
8111
  _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, $sg__input_footer_content);
8099
8112
  _html("</form>");
8100
8113
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
8101
8114
  return 0;
8102
8115
  } else if (input.openChange) {
8103
8116
  const $scope2_id = _scope_id();
8104
- _html(`<form method=dialog${_attr_class("_hZ")}>`);
8117
+ _html(`<form method=dialog${_attr_class("_g8")}>`);
8105
8118
  dialog_close_default({
8106
8119
  class: ["_q", "_r"],
8107
8120
  content: _content("q0", () => {
@@ -8183,7 +8196,7 @@ var prompt_dialog_default = _template("u", (input) => {
8183
8196
  content: _content("u7", () => {
8184
8197
  _scope_reason();
8185
8198
  const $scope2_id = _scope_id();
8186
- _html(`<h2${_attr_class("_hX")}${_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) => {
8199
+ _html(`<h2${_attr_class("_g6")}${_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) => {
8187
8200
  value = _new_value;
8188
8201
  }, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
8189
8202
  _script($scope2_id, "u5");
@@ -8725,7 +8738,7 @@ var settings_page_default = _template("B", (input) => {
8725
8738
  const githubId = _id();
8726
8739
  const backupId = _id();
8727
8740
  const machineId = _id();
8728
- _html(`<div${_attr_class("_cQ")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cR")}><div${_attr_class("_cS")}>`);
8741
+ _html(`<div${_attr_class("_dX")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_dY")}><div${_attr_class("_dZ")}>`);
8729
8742
  _set_serialize_reason({
8730
8743
  0: _serialize_guard($scope0_reason, 4),
8731
8744
  1: $sg__input_backHref__OR__input_onExit,
@@ -8756,7 +8769,7 @@ var settings_page_default = _template("B", (input) => {
8756
8769
  }));
8757
8770
  }, $scope0_id) })
8758
8771
  });
8759
- _html(`<div${_attr_class("_cT")}>`);
8772
+ _html(`<div${_attr_class("_d0")}>`);
8760
8773
  _if(() => {
8761
8774
  if (setup && !setup.ready) {
8762
8775
  const $scope4_id = _scope_id();
@@ -8797,16 +8810,16 @@ var settings_page_default = _template("B", (input) => {
8797
8810
  _if(() => {
8798
8811
  if (selfUpdatePending || selfUpdating) {
8799
8812
  const $scope43_id = _scope_id();
8800
- _html(`<div${_attr_class("_gs")} role=status><div${_attr_class("_gt")}>`);
8813
+ _html(`<div${_attr_class("_dr")} role=status><div${_attr_class("_ds")}>`);
8801
8814
  _if(() => {
8802
8815
  if (selfUpdating) {
8803
8816
  const $scope81_id = _scope_id();
8804
- _html(`<span${_attr_class("_gu")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_gv")}>The app restarts and reloads when it is done.</span>`);
8817
+ _html(`<span${_attr_class("_dt")}><span${_attr_class("_G")}></span> Updating work…</span><span${_attr_class("_du")}>The app restarts and reloads when it is done.</span>`);
8805
8818
  writeScope($scope81_id, {});
8806
8819
  return 0;
8807
8820
  } else {
8808
8821
  const $scope44_id = _scope_id();
8809
- _html(`<span${_attr_class("_gu")}>Update available</span><span${_attr_class("_gv")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
8822
+ _html(`<span${_attr_class("_dt")}>Update available</span><span${_attr_class("_du")}>v${_text_resume($scope44_id, "c", self.version, 2)} → v${_text_resume($scope44_id, "d", self.latest, 2)}</span>`);
8810
8823
  _subscribe($self_version__closures, _subscribe($self_latest__closures, writeScope($scope44_id, {})));
8811
8824
  return 1;
8812
8825
  }
@@ -8836,11 +8849,11 @@ var settings_page_default = _template("B", (input) => {
8836
8849
  _: _scope_with_id($scope0_id)
8837
8850
  });
8838
8851
  }, $scope0_id) };
8839
- _html(`<section${_attr_class("_b8")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_b9")}><h2${_attr("id", agentsId)}${_attr_class("_cl")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_fU")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8852
+ _html(`<section${_attr_class("_bU")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bV")}><h2${_attr("id", agentsId)}${_attr_class("_b8")}>Agents</h2><div${_attr_class("_z")}></div><label${_attr_class("_cT")}><span${_attr_class("_W")}>Default</span><span${_attr_class("_o")}>`);
8840
8853
  _attr_select_value($scope0_id, "p", input.preferred, _resume(function(v) {
8841
8854
  setPreferred(v);
8842
8855
  }, "B0", $scope0_id), () => {
8843
- _html(`<select${_attr_class(["_p", "_fV"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8856
+ _html(`<select${_attr_class(["_p", "_cU"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
8844
8857
  _for_of(input.agents.filter((a) => a !== "shell"), (id) => {
8845
8858
  const $scope83_id = _scope_id();
8846
8859
  _html(`<option${_attr_option_value(id)}>${_text_resume($scope83_id, "b", agentLabel(id), $sg__input_agents)}</option>${_el_resume($scope83_id, "a", $sg__input_agents)}`);
@@ -8855,14 +8868,14 @@ var settings_page_default = _template("B", (input) => {
8855
8868
  const rows = lone ? [] : a.instances;
8856
8869
  const loneAccounts = lone ? accountsFor(lone.id) : [];
8857
8870
  const extraAccounts = a.installed ? strayAccountsFor(a) : [];
8858
- _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_fW", { ["_fY"]: lone && !lone.enabled }])}>`);
8871
+ _html(`<li${_attr_class(agentRow)}><div${_attr_class(["_cV", { ["_cX"]: lone && !lone.enabled }])}>`);
8859
8872
  _set_serialize_reason(12);
8860
8873
  const $childScope3 = _peek_scope_id();
8861
8874
  icon_agent_default({
8862
8875
  agent: a.id,
8863
8876
  size: 18
8864
8877
  });
8865
- _html(`<div${_attr_class("_cd")}><span${_attr_class("_cf")}><span${_attr_class("_ce")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8878
+ _html(`<div${_attr_class("_b0")}><span${_attr_class("_b2")}><span${_attr_class("_b1")}>${_text_resume($scope1_id, "g", a.label)}</span>`);
8866
8879
  _if(() => {
8867
8880
  if (lone && input.preferred === lone.id) {
8868
8881
  const $scope85_id = _scope_id();
@@ -8875,12 +8888,12 @@ var settings_page_default = _template("B", (input) => {
8875
8888
  _if(() => {
8876
8889
  if (active.has(a.id)) {
8877
8890
  const $scope13_id = _scope_id();
8878
- _html(`<span${_attr_class("_fS")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8891
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope13_id, "c", active.get(a.id) || "Starting…")}</span>`);
8879
8892
  _subscribe($active__closures, writeScope($scope13_id, {}));
8880
8893
  return 0;
8881
8894
  } else if (!a.installed) {
8882
8895
  const $scope86_id = _scope_id();
8883
- _html(`<span${_attr_class("_cg")}>Not installed</span>`);
8896
+ _html(`<span${_attr_class("_b3")}>Not installed</span>`);
8884
8897
  writeScope($scope86_id, {});
8885
8898
  return 1;
8886
8899
  }
@@ -8911,15 +8924,15 @@ var settings_page_default = _template("B", (input) => {
8911
8924
  _if(() => {
8912
8925
  if (rows.length || loneAccounts.length || extraAccounts.length) {
8913
8926
  const $scope2_id = _scope_id();
8914
- _html(`<ul${_attr_class(["_f0", { ["_fY"]: lone && !lone.enabled }])}>`);
8927
+ _html(`<ul${_attr_class(["_cZ", { ["_cX"]: lone && !lone.enabled }])}>`);
8915
8928
  _for_of(rows, (inst) => {
8916
8929
  const $scope3_id = _scope_id();
8917
8930
  const accounts = accountsFor(inst.id);
8918
- _html(`<li${_attr_class(["_fX", { ["_fY"]: !inst.enabled }])}><div${_attr_class("_fW")}>`);
8931
+ _html(`<li${_attr_class(["_cW", { ["_cX"]: !inst.enabled }])}><div${_attr_class("_cV")}>`);
8919
8932
  _set_serialize_reason(12);
8920
8933
  const $childScope5 = _peek_scope_id();
8921
8934
  icon_agent_default({ agent: inst.id });
8922
- _html(`<span${_attr_class(["_fZ", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8935
+ _html(`<span${_attr_class(["_cY", "_y"])}>${_text_resume($scope3_id, "e", inst.command)}</span>`);
8923
8936
  _if(() => {
8924
8937
  if (input.preferred === inst.id) {
8925
8938
  const $scope87_id = _scope_id();
@@ -8998,24 +9011,24 @@ var settings_page_default = _template("B", (input) => {
8998
9011
  _if(() => {
8999
9012
  if (!usage && families.length) {
9000
9013
  const $scope90_id = _scope_id();
9001
- _html(`<p${_attr_class("_ci")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
9014
+ _html(`<p${_attr_class("_b5")}><span${_attr_class("_G")}></span> Loading usage…</p>`);
9002
9015
  writeScope($scope90_id, {});
9003
9016
  return 0;
9004
9017
  } else if (usage?.error) {
9005
9018
  const $scope9_id = _scope_id();
9006
- _html(`<p${_attr_class("_ci")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
9019
+ _html(`<p${_attr_class("_b5")}>${_text_resume($scope9_id, "b", usage.error)}</p>`);
9007
9020
  writeScope($scope9_id, {});
9008
9021
  return 1;
9009
9022
  }
9010
9023
  }, $scope0_id, "t", 1, 1, 1, 0, 1);
9011
- _html(`</section></div><div${_attr_class("_cT")}><section${_attr_class("_b8")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_b9")}><h2${_attr("id", githubId)}${_attr_class("_cl")}>GitHub</h2>`);
9024
+ _html(`</section></div><div${_attr_class("_d0")}><section${_attr_class("_bU")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bV")}><h2${_attr("id", githubId)}${_attr_class("_b8")}>GitHub</h2>`);
9012
9025
  _if(() => {
9013
9026
  if (setup) {
9014
9027
  const $scope41_id = _scope_id();
9015
9028
  _set_serialize_reason(44);
9016
9029
  const $childScope10 = _peek_scope_id();
9017
9030
  add_field_default({
9018
- class: "_f8",
9031
+ class: "_c7",
9019
9032
  open: addingHost,
9020
9033
  openChange: _resume((_new_addingHost) => {
9021
9034
  addingHost = _new_addingHost;
@@ -9045,19 +9058,19 @@ var settings_page_default = _template("B", (input) => {
9045
9058
  return 0;
9046
9059
  }
9047
9060
  }, $scope0_id, "y");
9048
- _html(`</div><div${_attr_class(["_cc", "_d6"])}>`);
9061
+ _html(`</div><div${_attr_class(["_bZ", "_cs"])}>`);
9049
9062
  _for_of(setup?.github || [], (h) => {
9050
9063
  const $scope7_id = _scope_id();
9051
9064
  const $for_content3__h_host__closures = /* @__PURE__ */ new Set();
9052
9065
  const hostSso$1 = (h.sso || []).filter((s) => !ignoredSso.has(s.org));
9053
9066
  const skippedSso = (h.sso || []).filter((s) => ignoredSso.has(s.org));
9054
9067
  const busy = active.has(h.host);
9055
- _html(`<div${_attr_class(["_d7", "_f9"])}><div${_attr_class("_f_")}>`);
9068
+ _html(`<div${_attr_class(["_ct", "_c8"])}><div${_attr_class("_c9")}>`);
9056
9069
  icon_github_default({
9057
9070
  size: 18,
9058
- class: "_ga"
9071
+ class: "_c_"
9059
9072
  });
9060
- _html(`<div${_attr_class("_cd")}><span${_attr_class("_cf")}><span${_attr_class("_ce")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
9073
+ _html(`<div${_attr_class("_b0")}><span${_attr_class("_b2")}><span${_attr_class("_b1")}>${_text_resume($scope7_id, "g", h.host)}</span>`);
9061
9074
  _if(() => {
9062
9075
  if (h.isEnterprise) {
9063
9076
  const $scope94_id = _scope_id();
@@ -9070,25 +9083,25 @@ var settings_page_default = _template("B", (input) => {
9070
9083
  _if(() => {
9071
9084
  if (busy) {
9072
9085
  const $scope14_id = _scope_id();
9073
- _html(`<span${_attr_class(["_cg", "_gb"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9086
+ _html(`<span${_attr_class(["_b3", "_da"])}><span${_attr_class("_G")}></span>${_text_resume($scope14_id, "c", authCodes.has(h.host) ? "Waiting for the browser…" : active.get(h.host) || "Starting…")}</span>`);
9074
9087
  _subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, { Ch1: 1 })));
9075
9088
  return 0;
9076
9089
  } else if (h.authed) {
9077
9090
  const $scope92_id = _scope_id();
9078
- _html(`<span${_attr_class(["_cg", "_gb"])}>`);
9091
+ _html(`<span${_attr_class(["_b3", "_da"])}>`);
9079
9092
  icon_check_default({
9080
9093
  size: 12,
9081
- class: "_gc"
9094
+ class: "_db"
9082
9095
  });
9083
- _html(` Signed in as <strong${_attr_class("_ge")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
9096
+ _html(` Signed in as <strong${_attr_class("_dd")}>${_text_resume($scope92_id, "d", h.user || "?")}</strong></span>`);
9084
9097
  writeScope($scope92_id, {});
9085
9098
  return 1;
9086
9099
  } else if (h.error) {
9087
9100
  const $scope93_id = _scope_id();
9088
9101
  _html(`<span${_attr_class([
9089
- "_cg",
9090
- "_gb",
9091
- "_gd"
9102
+ "_b3",
9103
+ "_da",
9104
+ "_dc"
9092
9105
  ])}>`);
9093
9106
  icon_warning_default({ size: 12 });
9094
9107
  _html(`${_text_resume($scope93_id, "c", h.error)}</span>`);
@@ -9096,7 +9109,7 @@ var settings_page_default = _template("B", (input) => {
9096
9109
  return 2;
9097
9110
  } else {
9098
9111
  const $scope95_id = _scope_id();
9099
- _html(`<span${_attr_class(["_cg", "_gb"])}>Not signed in</span>`);
9112
+ _html(`<span${_attr_class(["_b3", "_da"])}>Not signed in</span>`);
9100
9113
  writeScope($scope95_id, {});
9101
9114
  return 3;
9102
9115
  }
@@ -9139,7 +9152,7 @@ var settings_page_default = _template("B", (input) => {
9139
9152
  const $childScope12 = _peek_scope_id();
9140
9153
  arm_button_default({
9141
9154
  class: [
9142
- "_ch",
9155
+ "_b4",
9143
9156
  "_7",
9144
9157
  "_8"
9145
9158
  ],
@@ -9170,7 +9183,7 @@ var settings_page_default = _template("B", (input) => {
9170
9183
  _if(() => {
9171
9184
  if (busy && authCodes.has(h.host)) {
9172
9185
  const $scope35_id = _scope_id();
9173
- _html(`<div${_attr_class("_gf")}><span${_attr_class("_gg")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_gi")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_gh")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
9186
+ _html(`<div${_attr_class("_de")}><span${_attr_class("_df")}>Enter this code at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_dh")}>${_text_resume($scope35_id, "d", h.host)}/login/device</a>${_el_resume($scope35_id, "c")}</span><code${_attr_class("_dg")}>${_text_resume($scope35_id, "f", authCodes.get(h.host))}</code></div>`);
9174
9187
  _subscribe($authCodes__closures, writeScope($scope35_id, { Ch6: 1 }));
9175
9188
  return 0;
9176
9189
  }
@@ -9182,7 +9195,7 @@ var settings_page_default = _template("B", (input) => {
9182
9195
  _set_serialize_reason(30);
9183
9196
  const $childScope13 = _peek_scope_id();
9184
9197
  sso_auth_default({
9185
- class: ["_d7", "_gj"],
9198
+ class: ["_ct", "_di"],
9186
9199
  items: hostSso$1,
9187
9200
  skipped: skippedSso,
9188
9201
  busy,
@@ -9216,23 +9229,23 @@ var settings_page_default = _template("B", (input) => {
9216
9229
  _if(() => {
9217
9230
  if (setup && !setup.github.length) {
9218
9231
  const $scope98_id = _scope_id();
9219
- _html(`<p${_attr_class("_ci")}>Install the GitHub CLI below to sign in.</p>`);
9232
+ _html(`<p${_attr_class("_b5")}>Install the GitHub CLI below to sign in.</p>`);
9220
9233
  writeScope($scope98_id, {});
9221
9234
  return 0;
9222
9235
  }
9223
9236
  }, $scope0_id, "a0", 1, 1, 1, 0, 1);
9224
- _html(`</section><section${_attr_class("_b8")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_b9")}><h2${_attr("id", machineId)}${_attr_class("_cl")}>Machine</h2></div><div${_attr_class(["_cc", "_d6"])}><div${_attr_class(["_d7", "_d8"])}><div${_attr_class(["_d9", { ["_d_"]: skillsOpen }])}><button${_attr_class("_ea")} aria-expanded=true>`);
9237
+ _html(`</section><section${_attr_class("_bU")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bV")}><h2${_attr("id", machineId)}${_attr_class("_b8")}>Machine</h2></div><div${_attr_class(["_bZ", "_cs"])}><div${_attr_class(["_ct", "_cu"])}><div${_attr_class(["_cv", { ["_cw"]: skillsOpen }])}><button${_attr_class("_cx")} aria-expanded=true>`);
9225
9238
  _set_serialize_reason(1);
9226
9239
  const $childScope14 = _peek_scope_id();
9227
9240
  icon_chevron_right_default({
9228
9241
  size: 12,
9229
- class: ["_ee", { ["_ef"]: skillsOpen }]
9242
+ class: ["_cB", { ["_cC"]: skillsOpen }]
9230
9243
  });
9231
- _html(`<span${_attr_class("_eb")}>Skills</span>`);
9244
+ _html(`<span${_attr_class("_cy")}>Skills</span>`);
9232
9245
  _if(() => {
9233
9246
  if (skills?.global.length) {
9234
9247
  const $scope50_id = _scope_id();
9235
- _html(`<span${_attr_class("_ec")}>${_text_resume($scope50_id, "b", skills.global.length)} installed</span>`);
9248
+ _html(`<span${_attr_class("_cz")}>${_text_resume($scope50_id, "b", skills.global.length)} installed</span>`);
9236
9249
  writeScope($scope50_id, {});
9237
9250
  return 0;
9238
9251
  }
@@ -9260,7 +9273,7 @@ var settings_page_default = _template("B", (input) => {
9260
9273
  _if(() => {
9261
9274
  if (skillSearching && !skillHits?.length && !looksLikeSource(skillQuery)) {
9262
9275
  const $scope99_id = _scope_id();
9263
- _html(`<li${_attr_class("_fJ")}>Searching skills.sh…</li>`);
9276
+ _html(`<li${_attr_class("_el")}>Searching skills.sh…</li>`);
9264
9277
  writeScope($scope99_id, {});
9265
9278
  return 0;
9266
9279
  }
@@ -9268,11 +9281,11 @@ var settings_page_default = _template("B", (input) => {
9268
9281
  _if(() => {
9269
9282
  if (looksLikeSource(skillQuery)) {
9270
9283
  const $scope17_id = _scope_id();
9271
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cd")}><span${_attr_class(["_f4", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9284
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b0")}><span${_attr_class(["_c3", "_y"])}>${_text_resume($scope17_id, "d", skillQuery.trim())}</span>`);
9272
9285
  _if(() => {
9273
9286
  if (active.has(skillQuery.trim())) {
9274
9287
  const $scope18_id = _scope_id();
9275
- _html(`<span${_attr_class("_fS")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9288
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope18_id, "c", active.get(skillQuery.trim()) || "Starting…")}</span>`);
9276
9289
  _subscribe($skillQuery__closures, _subscribe($active__closures, writeScope($scope18_id, {
9277
9290
  Ch1: 3,
9278
9291
  Chs: 2
@@ -9280,7 +9293,7 @@ var settings_page_default = _template("B", (input) => {
9280
9293
  return 0;
9281
9294
  } else {
9282
9295
  const $scope100_id = _scope_id();
9283
- _html(`<span${_attr_class("_cg")}>Add straight from this source</span>`);
9296
+ _html(`<span${_attr_class("_b3")}>Add straight from this source</span>`);
9284
9297
  writeScope($scope100_id, {});
9285
9298
  return 1;
9286
9299
  }
@@ -9306,16 +9319,16 @@ var settings_page_default = _template("B", (input) => {
9306
9319
  _for_of(skillHits || [], (h) => {
9307
9320
  const $scope19_id = _scope_id();
9308
9321
  const $for_content4__h_installs__closures = /* @__PURE__ */ new Set();
9309
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cd")}><span${_attr_class(["_f4", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9322
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b0")}><span${_attr_class(["_c3", "_y"])}>${_text_resume($scope19_id, "d", h.name)}</span>`);
9310
9323
  _if(() => {
9311
9324
  if (active.has(h.skillId)) {
9312
9325
  const $scope20_id = _scope_id();
9313
- _html(`<span${_attr_class("_fS")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9326
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope20_id, "c", active.get(h.skillId) || "Starting…")}</span>`);
9314
9327
  _subscribe($active__closures, writeScope($scope20_id, { Ch1: 5 }));
9315
9328
  return 0;
9316
9329
  } else {
9317
9330
  const $scope101_id = _scope_id();
9318
- _html(`<span${_attr_class("_cg")}${_attr("title", h.source)}>${_text_resume($scope101_id, "b", h.source)}</span>${_el_resume($scope101_id, "a")}`);
9331
+ _html(`<span${_attr_class("_b3")}${_attr("title", h.source)}>${_text_resume($scope101_id, "b", h.source)}</span>${_el_resume($scope101_id, "a")}`);
9319
9332
  writeScope($scope101_id, {});
9320
9333
  return 1;
9321
9334
  }
@@ -9363,7 +9376,7 @@ var settings_page_default = _template("B", (input) => {
9363
9376
  _if(() => {
9364
9377
  if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
9365
9378
  const $scope52_id = _scope_id();
9366
- _html(`<li${_attr_class("_fJ")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
9379
+ _html(`<li${_attr_class("_el")}>No skills match "${_text_resume($scope52_id, "b", skillQuery, 2)}".</li>`);
9367
9380
  _subscribe($skillQuery__closures, writeScope($scope52_id, { Chs: 3 }));
9368
9381
  return 0;
9369
9382
  }
@@ -9379,22 +9392,22 @@ var settings_page_default = _template("B", (input) => {
9379
9392
  _if(() => {
9380
9393
  {
9381
9394
  const $scope21_id = _scope_id();
9382
- _html(`<div${_attr_class("_ed")}>`);
9395
+ _html(`<div${_attr_class("_cA")}>`);
9383
9396
  _if(() => {
9384
9397
  if (skills && !skills.agents.length) {
9385
9398
  const $scope104_id = _scope_id();
9386
- _html(`<p${_attr_class("_ci")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9399
+ _html(`<p${_attr_class("_b5")}>No agent CLIs are installed, so a skill would have nowhere to go. Install one from Agents above.</p>`);
9387
9400
  writeScope($scope104_id, {});
9388
9401
  return 0;
9389
9402
  } else if (skills && !skills.available) {
9390
9403
  const $scope22_id = _scope_id();
9391
- _html(`<p${_attr_class("_ci")}>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>`);
9404
+ _html(`<p${_attr_class("_b5")}>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>`);
9392
9405
  _script($scope22_id, "B66");
9393
9406
  _subscribe($active__closures, writeScope($scope22_id, { Ch1: 6 }));
9394
9407
  return 1;
9395
9408
  }
9396
9409
  }, $scope21_id, "b", 1, 1, 1, 0, 1);
9397
- _html(`<ul${_attr_class("_fL")}>`);
9410
+ _html(`<ul${_attr_class("_d6")}>`);
9398
9411
  _for_of(skills?.global || [], (s) => {
9399
9412
  const $scope23_id = _scope_id();
9400
9413
  const $for_content5__s_agents__closures = /* @__PURE__ */ new Set();
@@ -9470,7 +9483,7 @@ var settings_page_default = _template("B", (input) => {
9470
9483
  _if(() => {
9471
9484
  if (skills && !skills.global.length && skills.available && skills.agents.length) {
9472
9485
  const $scope108_id = _scope_id();
9473
- _html(`<p${_attr_class("_ci")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9486
+ _html(`<p${_attr_class("_b5")}>No skills installed. Search below, or paste an owner/repo.</p>`);
9474
9487
  writeScope($scope108_id, {});
9475
9488
  return 0;
9476
9489
  }
@@ -9480,18 +9493,18 @@ var settings_page_default = _template("B", (input) => {
9480
9493
  return 0;
9481
9494
  }
9482
9495
  }, $scope0_id, "ac", 1, 1, 1, 0, 1);
9483
- _html(`</div><div${_attr_class(["_d7", "_d8"])}><div${_attr_class(["_d9", { ["_d_"]: machineOpen }])}><button${_attr_class("_ea")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9496
+ _html(`</div><div${_attr_class(["_ct", "_cu"])}><div${_attr_class(["_cv", { ["_cw"]: machineOpen }])}><button${_attr_class("_cx")} aria-expanded=${machineOpen ? "true" : "false"}>`);
9484
9497
  _set_serialize_reason(1);
9485
9498
  const $childScope18 = _peek_scope_id();
9486
9499
  icon_chevron_right_default({
9487
9500
  size: 12,
9488
- class: ["_ee", { ["_ef"]: machineOpen }]
9501
+ class: ["_cB", { ["_cC"]: machineOpen }]
9489
9502
  });
9490
- _html(`<span${_attr_class("_eb")}>Tools</span><span${_attr_class("_ec")}>${_text_resume($scope0_id, "aj", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "ak", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "al", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "af")}`);
9503
+ _html(`<span${_attr_class("_cy")}>Tools</span><span${_attr_class("_cz")}>${_text_resume($scope0_id, "aj", tools.filter((t) => t.installed).length)} installed ${_text_resume($scope0_id, "ak", missingCount ? `${_to_text(" · ")}${_to_text(missingCount)} missing` : "", 2)}${_text_resume($scope0_id, "al", outdatedIds.length ? `${_to_text(" · ")}${_to_text(outdatedIds.length)} outdated` : "", 2)}</span></button>${_el_resume($scope0_id, "af")}`);
9491
9504
  _if(() => {
9492
9505
  if (bulk) {
9493
9506
  const $scope34_id = _scope_id();
9494
- _html(`<span${_attr_class("_fS")}><span${_attr_class("_G")}></span>${_text_resume($scope34_id, "c", bulk.action === "update" ? "Updating" : "Installing")} ${_text_resume($scope34_id, "d", Math.min(bulk.done + 1, bulk.total), 2)}/${_text_resume($scope34_id, "e", bulk.total, 2)}${_text_resume($scope34_id, "f", activeLine && ` — ${activeLine}`, 2)}</span>`);
9507
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope34_id, "c", bulk.action === "update" ? "Updating" : "Installing")} ${_text_resume($scope34_id, "d", Math.min(bulk.done + 1, bulk.total), 2)}/${_text_resume($scope34_id, "e", bulk.total, 2)}${_text_resume($scope34_id, "f", activeLine && ` — ${activeLine}`, 2)}</span>`);
9495
9508
  writeScope($scope34_id, {});
9496
9509
  return 0;
9497
9510
  } else {
@@ -9540,7 +9553,7 @@ var settings_page_default = _template("B", (input) => {
9540
9553
  _if(() => {
9541
9554
  if (searching && !hits?.length) {
9542
9555
  const $scope109_id = _scope_id();
9543
- _html(`<li${_attr_class("_fJ")}>Searching the mise registry…</li>`);
9556
+ _html(`<li${_attr_class("_el")}>Searching the mise registry…</li>`);
9544
9557
  writeScope($scope109_id, {});
9545
9558
  return 0;
9546
9559
  }
@@ -9548,23 +9561,23 @@ var settings_page_default = _template("B", (input) => {
9548
9561
  _if(() => {
9549
9562
  if (hits && !hits.length && !searching) {
9550
9563
  const $scope42_id = _scope_id();
9551
- _html(`<li${_attr_class("_fJ")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
9564
+ _html(`<li${_attr_class("_el")}>No tools match "${_text_resume($scope42_id, "b", query, 2)}".</li>`);
9552
9565
  _subscribe($query__closures, writeScope($scope42_id, {}));
9553
9566
  return 0;
9554
9567
  }
9555
9568
  }, $scope28_id, "b", 1, 1, 1, 0, 1);
9556
9569
  _for_of(hits || [], (h) => {
9557
9570
  const $scope29_id = _scope_id();
9558
- _html(`<li${_attr_class(toolRow)}><div${_attr_class("_cd")}><span${_attr_class(["_f4", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9571
+ _html(`<li${_attr_class(toolRow)}><div${_attr_class("_b0")}><span${_attr_class(["_c3", "_y"])}>${_text_resume($scope29_id, "d", h.name)}</span>`);
9559
9572
  _if(() => {
9560
9573
  if (active.has(h.name)) {
9561
9574
  const $scope30_id = _scope_id();
9562
- _html(`<span${_attr_class("_fS")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
9575
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope30_id, "c", active.get(h.name) || "Starting…")}</span>`);
9563
9576
  _subscribe($active__closures, writeScope($scope30_id, { Ch1: 9 }));
9564
9577
  return 0;
9565
9578
  } else if (h.description) {
9566
9579
  const $scope110_id = _scope_id();
9567
- _html(`<span${_attr_class("_cg")}${_attr("title", h.description)}>${_text_resume($scope110_id, "b", h.description)}</span>${_el_resume($scope110_id, "a")}`);
9580
+ _html(`<span${_attr_class("_b3")}${_attr("title", h.description)}>${_text_resume($scope110_id, "b", h.description)}</span>${_el_resume($scope110_id, "a")}`);
9568
9581
  writeScope($scope110_id, {});
9569
9582
  return 1;
9570
9583
  }
@@ -9610,11 +9623,11 @@ var settings_page_default = _template("B", (input) => {
9610
9623
  _if(() => {
9611
9624
  if (machineOpen) {
9612
9625
  const $scope6_id = _scope_id();
9613
- _html(`<div${_attr_class("_ed")}>`);
9626
+ _html(`<div${_attr_class("_cA")}>`);
9614
9627
  _if(() => {
9615
9628
  if (setup && !setup.mise.installed) {
9616
9629
  const $scope31_id = _scope_id();
9617
- _html(`<p${_attr_class("_ci")}>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>`);
9630
+ _html(`<p${_attr_class("_b5")}>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>`);
9618
9631
  _script($scope31_id, "B76");
9619
9632
  _subscribe($active__closures, writeScope($scope31_id, { Ch1: 10 }));
9620
9633
  return 0;
@@ -9624,11 +9637,11 @@ var settings_page_default = _template("B", (input) => {
9624
9637
  _if(() => {
9625
9638
  if (self) {
9626
9639
  const $scope46_id = _scope_id();
9627
- _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_f4", "_y"])}>work</span>`);
9640
+ _html(`<li${_attr_class(toolRow)}><span${_attr_class(["_c3", "_y"])}>work</span>`);
9628
9641
  _if(() => {
9629
9642
  if (selfUpdating) {
9630
9643
  const $scope112_id = _scope_id();
9631
- _html(`<span${_attr_class("_fS")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9644
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>Updating — the app restarts and reloads when it is done…</span>`);
9632
9645
  writeScope($scope112_id, {});
9633
9646
  return 0;
9634
9647
  } else {
@@ -9642,7 +9655,7 @@ var settings_page_default = _template("B", (input) => {
9642
9655
  return 0;
9643
9656
  } else if (self.latest && self.latest !== self.version) {
9644
9657
  const $scope48_id = _scope_id();
9645
- _html(`<button${_attr_class([btnSm, "_f7"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9658
+ _html(`<button${_attr_class([btnSm, "_c6"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
9646
9659
  icon_arrow_up_default({ size: 12 });
9647
9660
  _html(` ${_text_resume($scope48_id, "c", self.latest, 2)}</button>${_el_resume($scope48_id, "a")}`);
9648
9661
  _script($scope48_id, "B77");
@@ -9685,11 +9698,11 @@ var settings_page_default = _template("B", (input) => {
9685
9698
  const $for_content7__t_latest__closures = /* @__PURE__ */ new Set();
9686
9699
  const $for_content7__t_label__closures = /* @__PURE__ */ new Set();
9687
9700
  const $for_content7__t_newest__closures = /* @__PURE__ */ new Set();
9688
- _html(`<li${_attr_class([toolRow, { ["_f3"]: !t.installed }])}><span${_attr_class(["_f4", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
9701
+ _html(`<li${_attr_class([toolRow, { ["_c2"]: !t.installed }])}><span${_attr_class(["_c3", "_y"])}>${_text_resume($scope32_id, "c", t.label)}</span>`);
9689
9702
  _if(() => {
9690
9703
  if (active.has(t.id)) {
9691
9704
  const $scope33_id = _scope_id();
9692
- _html(`<span${_attr_class("_fS")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
9705
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope33_id, "c", active.get(t.id) || "Starting…")}</span>`);
9693
9706
  _subscribe($active__closures, writeScope($scope33_id, { Ch1: 12 }));
9694
9707
  return 0;
9695
9708
  } else if (t.installed) {
@@ -9697,11 +9710,11 @@ var settings_page_default = _template("B", (input) => {
9697
9710
  _if(() => {
9698
9711
  if (t.version) {
9699
9712
  const $scope40_id = _scope_id();
9700
- _html(`<button${_attr_class(["_f6", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
9713
+ _html(`<button${_attr_class(["_c5", "_y"])}${_attr("title", `${t.path || t.label}${aliasPin(t) ? `, pinned to ${t.pin}` : ""}. Pin a version`)}>v${_text_resume($scope40_id, "b", t.version, 2)}`);
9701
9714
  _if(() => {
9702
9715
  if (aliasPin(t)) {
9703
9716
  const $scope116_id = _scope_id();
9704
- _html(`<span${_attr_class("_f5")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
9717
+ _html(`<span${_attr_class("_c4")}>${_text_resume($scope116_id, "b", t.pin)}</span>`);
9705
9718
  _subscribe($for_content7__t_pin__closures, writeScope($scope116_id, { Ca0: 1 }));
9706
9719
  return 0;
9707
9720
  }
@@ -9720,7 +9733,7 @@ var settings_page_default = _template("B", (input) => {
9720
9733
  _if(() => {
9721
9734
  if (outdated(t)) {
9722
9735
  const $scope57_id = _scope_id();
9723
- _html(`<button${_attr_class([btnSm, "_f7"])}${_attr("title", `Update to v${t.latest}`)}>`);
9736
+ _html(`<button${_attr_class([btnSm, "_c6"])}${_attr("title", `Update to v${t.latest}`)}>`);
9724
9737
  icon_arrow_up_default({ size: 12 });
9725
9738
  _html(` ${_text_resume($scope57_id, "c", t.latest, 2)}</button>${_el_resume($scope57_id, "a")}`);
9726
9739
  _script($scope57_id, "B79");
@@ -9728,7 +9741,7 @@ var settings_page_default = _template("B", (input) => {
9728
9741
  return 0;
9729
9742
  } else if (t.newest) {
9730
9743
  const $scope58_id = _scope_id();
9731
- _html(`<button${_attr_class(["_f6", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope58_id, "b", t.newest)} available</button>${_el_resume($scope58_id, "a")}`);
9744
+ _html(`<button${_attr_class(["_c5", "_y"])}${_attr("title", `v${t.newest} is out; ${t.pin} holds ${t.label} at v${t.version}. Pin v${t.newest} instead`)}>${_text_resume($scope58_id, "b", t.newest)} available</button>${_el_resume($scope58_id, "a")}`);
9732
9745
  _script($scope58_id, "B80");
9733
9746
  _subscribe($for_content7__t_newest__closures, _subscribe($for_content7__t_pin__closures, _subscribe($for_content7__t_version__closures, _subscribe($for_content7__t_label__closures, writeScope($scope58_id, { Cy: 1 })))));
9734
9747
  return 1;
@@ -9841,14 +9854,14 @@ var settings_page_default = _template("B", (input) => {
9841
9854
  label: "Dark"
9842
9855
  }
9843
9856
  ];
9844
- _html(`</div></div></section><section${_attr_class("_b8")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_b9")}><h2${_attr("id", appearanceId)}${_attr_class("_cl")}>Appearance</h2></div><div${_attr_class(["_cc", "_gk"])}><div${_attr_class("_gw")}><img${_attr_class("_gx")}${_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("_gy")}><span${_attr_class("_gz")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_gA")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_gl")}><span${_attr_class("_gm")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9857
+ _html(`</div></div></section><section${_attr_class("_bU")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bV")}><h2${_attr("id", appearanceId)}${_attr_class("_b8")}>Appearance</h2></div><div${_attr_class(["_bZ", "_dj"])}><div${_attr_class("_dv")}><img${_attr_class("_dw")}${_attr("src", `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`)} alt aria-hidden=true>${_el_resume($scope0_id, "au", $sg__input_instance_accent)}<span${_attr_class("_dx")}><span${_attr_class("_dy")}>${_text_resume($scope0_id, "ax", input.instance.name || "work", _serialize_guard($scope0_reason, 7))}</span><span${_attr_class("_dz")}>Sidebar, tab title, home-screen icon and notifications</span></span></div><label${_attr_class("_dk")}><span${_attr_class("_dl")}>Name</span><input${_attr_input_value($scope0_id, "b1", input.instance.name, _resume(function(v) {
9845
9858
  setInstance({ name: v });
9846
- }, "B1", $scope0_id))}${_attr_class(["_Y", "_gn"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_gl")}><span${_attr_class("_gm")}>Theme</span><span${_attr_class("_gp")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9859
+ }, "B1", $scope0_id))}${_attr_class(["_Y", "_dm"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "b1")}</label><div${_attr_class("_dk")}><span${_attr_class("_dl")}>Theme</span><span${_attr_class("_do")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
9847
9860
  _for_of(themeOpts, (opt) => {
9848
9861
  const $scope49_id = _scope_id();
9849
9862
  _html(`<button type=button${_attr_class([
9850
9863
  "_bf",
9851
- "_gB",
9864
+ "_dA",
9852
9865
  { ["_be"]: themeMode === opt.id }
9853
9866
  ])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>`);
9854
9867
  if (opt.id === "system") {
@@ -9868,28 +9881,28 @@ var settings_page_default = _template("B", (input) => {
9868
9881
  _: _scope_with_id($scope0_id)
9869
9882
  });
9870
9883
  }, "id", $scope0_id, "b5", 1, 0, 1, 0, 1);
9871
- _html(`</span><span${_attr_class(["_o", "_gq"])}>`);
9884
+ _html(`</span><span${_attr_class(["_o", "_dp"])}>`);
9872
9885
  _attr_select_value($scope0_id, "b7", themeMode, _resume(function(v) {
9873
9886
  setThemeMode(v);
9874
9887
  }, "B2", $scope0_id), () => {
9875
- _html(`<select${_attr_class(["_p", "_gr"])} aria-label="Color theme">`);
9888
+ _html(`<select${_attr_class(["_p", "_dq"])} aria-label="Color theme">`);
9876
9889
  forOf(themeOpts, (opt) => {
9877
9890
  _scope_id();
9878
9891
  _html(`<option${_attr_option_value(opt.id)}>${_escape(opt.label)}</option>`);
9879
9892
  });
9880
9893
  _html("</select>");
9881
9894
  });
9882
- _html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_gl")}><span${_attr_class("_gm")}>Accent</span><span${_attr_class("_gC")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9883
- "_gD",
9884
- "_gG",
9885
- { ["_gE"]: !accent }
9895
+ _html(`${_el_resume($scope0_id, "b7")}</span></span></div><div${_attr_class("_dk")}><span${_attr_class("_dl")}>Accent</span><span${_attr_class("_dB")} role=radiogroup aria-label="Accent colour"><button type=button${_attr_class([
9896
+ "_dC",
9897
+ "_dF",
9898
+ { ["_dD"]: !accent }
9886
9899
  ])} role=radio aria-checked=${!accent ? "true" : "false"} title="Default (blue)" aria-label="Default (blue)">`);
9887
9900
  _if(() => {
9888
9901
  if (!accent) {
9889
9902
  const $scope126_id = _scope_id();
9890
9903
  icon_check_default({
9891
9904
  size: 12,
9892
- class: "_gF"
9905
+ class: "_dE"
9893
9906
  });
9894
9907
  $si__input_instance_accent && writeScope($scope126_id, {});
9895
9908
  return 0;
@@ -9897,13 +9910,13 @@ var settings_page_default = _template("B", (input) => {
9897
9910
  }, $scope0_id, "bb", $sg__input_instance_accent, 1, 1, "</button>", 1);
9898
9911
  _for_of(ACCENT_PRESETS, (p) => {
9899
9912
  const $scope79_id = _scope_id();
9900
- _html(`<button type=button${_attr_class(["_gD", { ["_gE"]: accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}>`);
9913
+ _html(`<button type=button${_attr_class(["_dC", { ["_dD"]: accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}>`);
9901
9914
  _if(() => {
9902
9915
  if (accent === p.value) {
9903
9916
  const $scope127_id = _scope_id();
9904
9917
  icon_check_default({
9905
9918
  size: 12,
9906
- class: "_gF"
9919
+ class: "_dE"
9907
9920
  });
9908
9921
  $si__input_instance_accent && writeScope($scope127_id, {});
9909
9922
  return 0;
@@ -9917,18 +9930,18 @@ var settings_page_default = _template("B", (input) => {
9917
9930
  }, "value", $scope0_id, "bc", $sg__input_instance_accent, 0, 1, 0, 1);
9918
9931
  const customOn = !!accent && !ACCENT_PRESETS.some((p) => p.value === accent);
9919
9932
  _html(`<label${_attr_class([
9920
- "_gD",
9921
- "_gH",
9922
- { ["_gE"]: customOn }
9933
+ "_dC",
9934
+ "_dG",
9935
+ { ["_dD"]: customOn }
9923
9936
  ])}${customOn ? _attr_style(`--swatch:${accent}`) : ""}${customOn ? _attr("title", `Custom ${accent}`) : " title=\"Custom colour\""}><input${_attr_input_value($scope0_id, "be", accent || "#3556d8", _resume(function(v) {
9924
9937
  setInstance({ accent: v });
9925
- }, "B3", $scope0_id))}${_attr_class("_gI")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
9938
+ }, "B3", $scope0_id))}${_attr_class("_dH")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "be")}`);
9926
9939
  _if(() => {
9927
9940
  if (customOn) {
9928
9941
  const $scope128_id = _scope_id();
9929
9942
  icon_check_default({
9930
9943
  size: 12,
9931
- class: "_gF"
9944
+ class: "_dE"
9932
9945
  });
9933
9946
  $si__input_instance_accent && writeScope($scope128_id, {});
9934
9947
  return 0;
@@ -9939,16 +9952,16 @@ var settings_page_default = _template("B", (input) => {
9939
9952
  return 1;
9940
9953
  }
9941
9954
  }, $scope0_id, "bf", $sg__input_instance_accent, $sg__input_instance_accent, 1, 0, 1);
9942
- _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_b8")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_b9")}><h2${_attr("id", backupId)}${_attr_class("_cl")}>Backup</h2></div><div${_attr_class(["_cc", "_d6"])}><div${_attr_class("_d7")}><div${_attr_class("_gJ")}><div${_attr_class("_cd")}>`);
9955
+ _html(`</label>${_el_resume($scope0_id, "bd", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bU")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bV")}><h2${_attr("id", backupId)}${_attr_class("_b8")}>Backup</h2></div><div${_attr_class(["_bZ", "_cs"])}><div${_attr_class("_ct")}><div${_attr_class("_dI")}><div${_attr_class("_b0")}>`);
9943
9956
  _if(() => {
9944
9957
  if (backupBusy === "preflight") {
9945
9958
  const $scope66_id = _scope_id();
9946
- _html(`<span${_attr_class("_fS")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9959
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope66_id, "c", backupLine || "Checking workspaces…")}</span>`);
9947
9960
  writeScope($scope66_id, {});
9948
9961
  return 0;
9949
9962
  } else {
9950
9963
  const $scope130_id = _scope_id();
9951
- _html(`<span${_attr_class("_cg")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9964
+ _html(`<span${_attr_class("_b3")}>Save workspaces, settings, skills and tool pins to a file. Code stays on GitHub.</span>`);
9952
9965
  writeScope($scope130_id, {});
9953
9966
  return 1;
9954
9967
  }
@@ -9966,7 +9979,7 @@ var settings_page_default = _template("B", (input) => {
9966
9979
  _if(() => {
9967
9980
  if (preflight && !backupBusy) {
9968
9981
  const $scope68_id = _scope_id();
9969
- _html(`<div${_attr_class("_gL")}><p${_attr_class("_gM")}>In the file: ${_text_resume($scope68_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope68_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope68_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope68_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope68_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope68_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope68_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_gM")}>Not in the file: `);
9982
+ _html(`<div${_attr_class("_dK")}><p${_attr_class("_dL")}>In the file: ${_text_resume($scope68_id, "c", preflight.contents.workspaces, 2)} workspace${_text_resume($scope68_id, "d", preflight.contents.workspaces === 1 ? "" : "s", 2)}${_text_resume($scope68_id, "e", preflight.contents.archived ? `${_to_text(" ")}(${_to_text(preflight.contents.archived)} archived)` : "", 2)} , ${_text_resume($scope68_id, "f", preflight.contents.tools, 2)} tool pin${_text_resume($scope68_id, "g", preflight.contents.tools === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "h", preflight.contents.skills, 2)} skill${_text_resume($scope68_id, "i", preflight.contents.skills === 1 ? "" : "s", 2)}, ${_text_resume($scope68_id, "j", preflight.contents.agents, 2)} agent${_text_resume($scope68_id, "k", preflight.contents.agents === 1 ? "" : "s", 2)}.</p><p${_attr_class("_dL")}>Not in the file: `);
9970
9983
  _if(() => {
9971
9984
  if (preflight.unpushed) {
9972
9985
  const $scope69_id = _scope_id();
@@ -9983,15 +9996,15 @@ var settings_page_default = _template("B", (input) => {
9983
9996
  return 0;
9984
9997
  }
9985
9998
  }, $scope68_id, "m");
9986
- _html(`${_text_resume($scope68_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_gN")}>`);
9999
+ _html(`${_text_resume($scope68_id, "n", preflight.files ? `${_to_text(" ")}${_to_text(preflight.files)} uncommitted file${_to_text(preflight.files === 1 ? "" : "s")}` : "", 2)} .</p><ul${_attr_class("_dM")}>`);
9987
10000
  _for_of(preflight.workspaces, (w) => {
9988
10001
  const $scope132_id = _scope_id();
9989
10002
  const $for_content17__w_name__closures = /* @__PURE__ */ new Set();
9990
- _html(`<li${_attr_class("_gO")}><span${_attr_class("_ce")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_gN")}>`);
10003
+ _html(`<li${_attr_class("_dN")}><span${_attr_class("_b1")}>${_text_resume($scope132_id, "c", w.name)}</span><ul${_attr_class("_dM")}>`);
9991
10004
  _for_of(w.repos, (r) => {
9992
10005
  const $scope133_id = _scope_id();
9993
10006
  const $for_content18__r_more__closures = /* @__PURE__ */ new Set();
9994
- _html(`<li${_attr_class("_gP")}><span${_attr_class("_gQ")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
10007
+ _html(`<li${_attr_class("_dO")}><span${_attr_class("_dP")}><span${_attr_class("_y")}>${_text_resume($scope133_id, "d", r.worktree)}/</span>`);
9995
10008
  _for_of(r.unpushed, (b) => {
9996
10009
  const $scope134_id = _scope_id();
9997
10010
  _html(`<span${_attr_class(["_N", tone.warn])}${_attr("title", `${b.branch}: ${b.count} commit${b.count === 1 ? "" : "s"} origin does not have`)}>${_text_resume($scope134_id, "b", b.count)} unpushed `);
@@ -10010,10 +10023,10 @@ var settings_page_default = _template("B", (input) => {
10010
10023
  _if(() => {
10011
10024
  if (r.modified.length || r.untracked.length || r.ignored.length) {
10012
10025
  const $scope135_id = _scope_id();
10013
- _html(`<ul${_attr_class("_gR")}>`);
10026
+ _html(`<ul${_attr_class("_dQ")}>`);
10014
10027
  _for_of(r.modified, (f) => {
10015
10028
  const $scope138_id = _scope_id();
10016
- _html(`<li${_attr_class("_gS")}><span${_attr_class([
10029
+ _html(`<li${_attr_class("_dR")}><span${_attr_class([
10017
10030
  "_N",
10018
10031
  "_P",
10019
10032
  tone.warn
@@ -10022,18 +10035,18 @@ var settings_page_default = _template("B", (input) => {
10022
10035
  }, (f) => f, $scope135_id, "b", 1, 1, 1, 0, 1);
10023
10036
  _for_of(r.untracked, (f) => {
10024
10037
  const $scope139_id = _scope_id();
10025
- _html(`<li${_attr_class("_gS")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
10038
+ _html(`<li${_attr_class("_dR")}><span${_attr_class(["_N", "_P"])} title=Untracked>?</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope139_id, "d", f)}</span></li>`);
10026
10039
  writeScope($scope139_id, {});
10027
10040
  }, (f) => f, $scope135_id, "c", 1, 1, 1, 0, 1);
10028
10041
  _for_of(r.ignored, (f) => {
10029
10042
  const $scope140_id = _scope_id();
10030
- _html(`<li${_attr_class("_gS")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope140_id, "d", f)}</span></li>`);
10043
+ _html(`<li${_attr_class("_dR")}><span${_attr_class(["_N", "_P"])} title="Ignored by git — a restore cannot bring it back">ignored</span><span${_attr_class(["_y", "_ba"])}>${_text_resume($scope140_id, "d", f)}</span></li>`);
10031
10044
  writeScope($scope140_id, {});
10032
10045
  }, (f) => f, $scope135_id, "d", 1, 1, 1, 0, 1);
10033
10046
  _if(() => {
10034
10047
  if (r.more) {
10035
10048
  const $scope136_id = _scope_id();
10036
- _html(`<li${_attr_class(["_gS", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
10049
+ _html(`<li${_attr_class(["_dR", "_x"])}>+${_text_resume($scope136_id, "b", r.more, 2)} more</li>`);
10037
10050
  _subscribe($for_content18__r_more__closures, writeScope($scope136_id, {}));
10038
10051
  return 0;
10039
10052
  }
@@ -10058,27 +10071,27 @@ var settings_page_default = _template("B", (input) => {
10058
10071
  i: $for_content17__w_name__closures
10059
10072
  });
10060
10073
  }, "id", $scope68_id, "o", 1, 1, 1, "</ul>", 1);
10061
- _html(`<div${_attr_class("_gT")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope68_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope68_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope68_id, "s")}</div></div>`);
10074
+ _html(`<div${_attr_class("_dS")}><button${_attr_class([btnSm, { ["_r"]: !preflight.unpushed }])}>${_text_resume($scope68_id, "r", preflight.unpushed ? "Export anyway" : "Export")}</button>${_el_resume($scope68_id, "q")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope68_id, "s")}</div></div>`);
10062
10075
  _script($scope68_id, "B86");
10063
10076
  writeScope($scope68_id, {});
10064
10077
  return 0;
10065
10078
  }
10066
10079
  }, $scope0_id, "bo", 1, 1, 1, 0, 1);
10067
- _html(`</div><div${_attr_class("_d7")}><div${_attr_class("_gJ")}><div${_attr_class("_cd")}>`);
10080
+ _html(`</div><div${_attr_class("_ct")}><div${_attr_class("_dI")}><div${_attr_class("_b0")}>`);
10068
10081
  _if(() => {
10069
10082
  if (backupBusy === "restore") {
10070
10083
  const $scope67_id = _scope_id();
10071
- _html(`<span${_attr_class("_fS")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
10084
+ _html(`<span${_attr_class("_cR")}><span${_attr_class("_G")}></span>${_text_resume($scope67_id, "c", backupLine || "Restoring…")}</span>`);
10072
10085
  writeScope($scope67_id, {});
10073
10086
  return 0;
10074
10087
  } else if (restoreDone) {
10075
10088
  const $scope75_id = _scope_id();
10076
- _html(`<span${_attr_class("_cg")}>${_text_resume($scope75_id, "b", restoreDone)}</span>`);
10089
+ _html(`<span${_attr_class("_b3")}>${_text_resume($scope75_id, "b", restoreDone)}</span>`);
10077
10090
  writeScope($scope75_id, {});
10078
10091
  return 1;
10079
10092
  } else {
10080
10093
  const $scope141_id = _scope_id();
10081
- _html(`<span${_attr_class("_cg")}>Load a backup file. Repos clone in the background.</span>`);
10094
+ _html(`<span${_attr_class("_b3")}>Load a backup file. Repos clone in the background.</span>`);
10082
10095
  writeScope($scope141_id, {});
10083
10096
  return 2;
10084
10097
  }
@@ -10086,7 +10099,7 @@ var settings_page_default = _template("B", (input) => {
10086
10099
  _if(() => {
10087
10100
  if (!restorePreview && backupBusy !== "restore") {
10088
10101
  const $scope77_id = _scope_id();
10089
- _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_gK")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
10102
+ _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_dJ")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope77_id, "b")}</label>`);
10090
10103
  _script($scope77_id, "B87");
10091
10104
  writeScope($scope77_id, {});
10092
10105
  return 0;
@@ -10097,14 +10110,14 @@ var settings_page_default = _template("B", (input) => {
10097
10110
  if (restorePreview && backupBusy !== "restore") {
10098
10111
  const $scope70_id = _scope_id();
10099
10112
  const { preview } = restorePreview;
10100
- _html(`<div${_attr_class("_gL")}><p${_attr_class("_gM")}>From ${_text_resume($scope70_id, "c", preview.from.host, 2)} on ${_text_resume($scope70_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope70_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
10113
+ _html(`<div${_attr_class("_dK")}><p${_attr_class("_dL")}>From ${_text_resume($scope70_id, "c", preview.from.host, 2)} on ${_text_resume($scope70_id, "d", new Date(preview.from.exportedAt).toLocaleDateString(), 2)}${_text_resume($scope70_id, "e", preview.from.version ? ` (work ${preview.from.version})` : "", 2)}.</p>`);
10101
10114
  _if(() => {
10102
10115
  if (preview.workspaces.length) {
10103
10116
  const $scope71_id = _scope_id();
10104
10117
  _html(`<ul${_attr_class(checkList)}>`);
10105
10118
  _for_of(preview.workspaces, (w) => {
10106
10119
  const $scope72_id = _scope_id();
10107
- _html(`<li><label${_attr_class(["_gV", { ["_gX"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_gW")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_cd")}><span${_attr_class("_cf")}><span${_attr_class("_ce")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10120
+ _html(`<li><label${_attr_class(["_dU", { ["_dW"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_dV")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_b0")}><span${_attr_class("_b2")}><span${_attr_class("_b1")}>${_text_resume($scope72_id, "f", w.name)}</span>`);
10108
10121
  _if(() => {
10109
10122
  if (w.status === "archived") {
10110
10123
  const $scope145_id = _scope_id();
@@ -10126,7 +10139,7 @@ var settings_page_default = _template("B", (input) => {
10126
10139
  return 1;
10127
10140
  }
10128
10141
  }, $scope72_id, "h", 1, 1, 1, 0, 1);
10129
- _html(`</span><span${_attr_class("_cg")}>${_text_resume($scope72_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
10142
+ _html(`</span><span${_attr_class("_b3")}>${_text_resume($scope72_id, "j", w.repos.join(", ") || "no repos")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
10130
10143
  _script($scope72_id, "B88");
10131
10144
  _subscribe($restoreWs__closures, writeScope($scope72_id, {
10132
10145
  n: w?.unknownHost,
@@ -10137,7 +10150,7 @@ var settings_page_default = _template("B", (input) => {
10137
10150
  return 0;
10138
10151
  } else {
10139
10152
  const $scope143_id = _scope_id();
10140
- _html(`<p${_attr_class("_ci")}>No workspaces in this file.</p>`);
10153
+ _html(`<p${_attr_class("_b5")}>No workspaces in this file.</p>`);
10141
10154
  writeScope($scope143_id, {});
10142
10155
  return 1;
10143
10156
  }
@@ -10177,7 +10190,7 @@ var settings_page_default = _template("B", (input) => {
10177
10190
  _if(() => {
10178
10191
  if (p.total) {
10179
10192
  const $scope74_id = _scope_id();
10180
- _html(`<li><label${_attr_class(["_gV", { ["_gX"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_gW")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_cd")}><span${_attr_class("_ce")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_cg")}>`);
10193
+ _html(`<li><label${_attr_class(["_dU", { ["_dW"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_dV")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_b0")}><span${_attr_class("_b1")}>${_text_resume($scope74_id, "e", p.label)}</span><span${_attr_class("_b3")}>`);
10181
10194
  _if(() => {
10182
10195
  if (p.key === "settings") {
10183
10196
  const $scope142_id = _scope_id();
@@ -10224,7 +10237,7 @@ var settings_page_default = _template("B", (input) => {
10224
10237
  i: $for_content10__p_total__closures
10225
10238
  });
10226
10239
  }, "key", $scope70_id, "h");
10227
- _html(`</ul><div${_attr_class("_gT")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope70_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope70_id, "k")}</div></div>`);
10240
+ _html(`</ul><div${_attr_class("_dS")}><button${_attr_class([btnSm, "_r"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope70_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope70_id, "k")}</div></div>`);
10228
10241
  _script($scope70_id, "B90");
10229
10242
  writeScope($scope70_id, {});
10230
10243
  return 0;
@@ -10460,13 +10473,13 @@ function vapidKey(base64) {
10460
10473
  const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
10461
10474
  return Uint8Array.from(raw, (c) => c.charCodeAt(0));
10462
10475
  }
10463
- var iconBtn = "_bQ _l";
10464
- var settingsDot = "_bR _bb";
10465
- var navToggle = "_bV _l";
10476
+ var iconBtn = "_cb _l";
10477
+ var settingsDot = "_cc _bb";
10478
+ var navToggle = "_cg _l";
10466
10479
  //#endregion
10467
10480
  //#region src/styles/session-pop.css.ts
10468
- var sessionPop = "_bN _9";
10469
- var sessionPopBtn = "_bO _I";
10481
+ var sessionPop = "_b9 _9";
10482
+ var sessionPopBtn = "_b_ _I";
10470
10483
  _template("X", (input) => {
10471
10484
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
10472
10485
  const $scope0_id = _scope_id();
@@ -10520,14 +10533,14 @@ function activeAgent(session) {
10520
10533
  const command = session.state?.command?.trim();
10521
10534
  return command && agentFromCommand(command) || session.agent;
10522
10535
  }
10523
- var heroTag = "_ds _N _Q";
10524
- var rowState = "_dE _N";
10525
- var prChip$1 = "_i1 _u _i0";
10526
- var portChip = "_i2 _u _i0";
10536
+ var heroTag = "_e4 _N _Q";
10537
+ var rowState = "_ff _N";
10538
+ var prChip$1 = "_iN _u _iM";
10539
+ var portChip = "_iO _u _iM";
10527
10540
  var prState = {
10528
- open: "_i6",
10529
- merged: "_i7",
10530
- closed: "_i8"
10541
+ open: "_iS",
10542
+ merged: "_iT",
10543
+ closed: "_iU"
10531
10544
  };
10532
10545
  //#endregion
10533
10546
  //#region src/tags/icons/icon-diff.marko
@@ -10608,7 +10621,7 @@ var side_nav_chips_default = _template("C", (input) => {
10608
10621
  const name = repo.full_name.split("/").at(-1);
10609
10622
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
10610
10623
  }, "C3", $scope1_id);
10611
- _html(`<div${_attr_class(["_iY", { ["_iZ"]: input.placement === "pop" }])}>`);
10624
+ _html(`<div${_attr_class(["_iK", { ["_iL"]: input.placement === "pop" }])}>`);
10612
10625
  _for_of(repos, (repo) => {
10613
10626
  const $scope2_id = _scope_id();
10614
10627
  const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
@@ -10624,11 +10637,11 @@ var side_nav_chips_default = _template("C", (input) => {
10624
10637
  [prState.merged]: pr$1.state === "MERGED",
10625
10638
  [prState.closed]: pr$1.state === "CLOSED"
10626
10639
  }
10627
- ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_i3", { ["_ja"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel$1(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
10640
+ ])}${_attr("title", prTitle(repo, pr$1))}><a${_attr_class(["_iP", { ["_iX"]: !open }])}${_attr("href", pr$1.url)} target=_blank rel=noopener>${_text_resume($scope3_id, "c", repoLabel$1(repo))}#${_text_resume($scope3_id, "d", pr$1.number, 2)}</a>${_el_resume($scope3_id, "b")}`);
10628
10641
  _if(() => {
10629
10642
  if (open) {
10630
10643
  const $scope4_id = _scope_id();
10631
- _html(`<a${_attr_class(["_i3", "_i4"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10644
+ _html(`<a${_attr_class(["_iP", "_iQ"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr$1.number}`)}`)}${_attr("title", `Review #${pr$1.number} changes`)}>`);
10632
10645
  icon_diff_default({ size: 12 });
10633
10646
  _html(`</a>${_el_resume($scope4_id, "a")}`);
10634
10647
  _subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
@@ -10636,9 +10649,9 @@ var side_nav_chips_default = _template("C", (input) => {
10636
10649
  } else {
10637
10650
  const $scope5_id = _scope_id();
10638
10651
  _html(`<button type=button${_attr_class([
10639
- "_i3",
10640
- "_i4",
10641
- "_i5"
10652
+ "_iP",
10653
+ "_iQ",
10654
+ "_iR"
10642
10655
  ])}${_attr("title", `Dismiss #${pr$1.number}`)}>`);
10643
10656
  icon_xmark_default({ size: 12 });
10644
10657
  _html(`</button>${_el_resume($scope5_id, "a")}`);
@@ -10666,12 +10679,12 @@ var side_nav_chips_default = _template("C", (input) => {
10666
10679
  _if(() => {
10667
10680
  if (dead.has(p.port)) {
10668
10681
  const $scope7_id = _scope_id();
10669
- _html(`<span${_attr_class(["_i3", "_i9"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10682
+ _html(`<span${_attr_class(["_iP", "_iV"])}${_attr("title", dead.get(p.port))} aria-disabled=true>:${_text_resume($scope7_id, "b", p.port, 2)}</span>${_el_resume($scope7_id, "a")}`);
10670
10683
  _subscribe($dead__closures, writeScope($scope7_id, { Ca0: 1 }));
10671
10684
  return 0;
10672
10685
  } else {
10673
10686
  const $scope8_id = _scope_id();
10674
- _html(`<button type=button${_attr_class(["_i3", "_i_"])} data-leaves${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10687
+ _html(`<button type=button${_attr_class(["_iP", "_iW"])} data-leaves${_attr("title", `Open port ${p.port}`)}>:${_text_resume($scope8_id, "b", p.port, 2)}</button>${_el_resume($scope8_id, "a")}`);
10675
10688
  _script($scope8_id, "C6");
10676
10689
  writeScope($scope8_id, {});
10677
10690
  return 1;
@@ -10680,9 +10693,9 @@ var side_nav_chips_default = _template("C", (input) => {
10680
10693
  const $childScope = _peek_scope_id();
10681
10694
  arm_button_default({
10682
10695
  class: [
10683
- "_i3",
10684
- "_i4",
10685
- "_i5"
10696
+ "_iP",
10697
+ "_iQ",
10698
+ "_iR"
10686
10699
  ],
10687
10700
  title: `Kill ${p.cmd} (pid ${p.pid})`,
10688
10701
  armedTitle: "Kill?",
@@ -10729,12 +10742,12 @@ var side_nav_chips_default = _template("C", (input) => {
10729
10742
  a0: $dead__closures
10730
10743
  });
10731
10744
  });
10732
- var railBtn = "_dJ _l";
10733
- var wsBtn = "_dN _I";
10734
- var rowIcon = "_dQ _3 _l";
10735
- var close = "_dR _6 _l _7";
10736
- var sessRename$1 = "_dX _J";
10737
- var sessBtn$1 = "_dZ _I";
10745
+ var railBtn = "_fL _l";
10746
+ var wsBtn = "_fP _I";
10747
+ var rowIcon = "_fS _3 _l";
10748
+ var close = "_fT _6 _l _7";
10749
+ var sessRename$1 = "_fZ _J";
10750
+ var sessBtn$1 = "_f1 _I";
10738
10751
  //#endregion
10739
10752
  //#region src/tags/icons/icon-manage.marko
10740
10753
  var icon_manage_default = _template("lb", (input) => {
@@ -10848,7 +10861,7 @@ var side_nav_item_default = _template("D", (input) => {
10848
10861
  _if(() => {
10849
10862
  if (input.rail) {
10850
10863
  const $scope2_id = _scope_id();
10851
- _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_dG"]: 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([
10864
+ _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([
10852
10865
  "_A",
10853
10866
  phase[dot$1],
10854
10867
  "_bb"
@@ -10858,31 +10871,31 @@ var side_nav_item_default = _template("D", (input) => {
10858
10871
  } else if (ws$1.pending) {
10859
10872
  const $scope3_id = _scope_id();
10860
10873
  _html(`<section${_attr_class([
10861
- "_dL",
10862
- "_d1",
10863
- { ["_dK"]: input.page }
10864
- ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_dM")}><div${_attr_class(wsBtn)}>`);
10874
+ "_fN",
10875
+ "_f3",
10876
+ { ["_fM"]: input.page }
10877
+ ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_fO")}><div${_attr_class(wsBtn)}>`);
10865
10878
  _if(() => {
10866
10879
  if (ws$1.pending_error) {
10867
10880
  const $scope11_id = _scope_id();
10868
10881
  icon_warning_default({
10869
10882
  size: 12,
10870
- class: "_d3"
10883
+ class: "_f5"
10871
10884
  });
10872
10885
  $si__input_workspace && writeScope($scope11_id, {});
10873
10886
  return 0;
10874
10887
  } else {
10875
10888
  const $scope12_id = _scope_id();
10876
- _html(`<span${_attr_class(["_G", "_d2"])}></span>`);
10889
+ _html(`<span${_attr_class(["_G", "_f4"])}></span>`);
10877
10890
  $si__input_workspace && writeScope($scope12_id, {});
10878
10891
  return 1;
10879
10892
  }
10880
10893
  }, $scope3_id, "d", $sg__input_workspace, $sg__input_workspace, 1, 0, 1);
10881
- _html(`<span${_attr_class("_dT")}><span${_attr_class("_dU")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_d5")}${_attr("title", ws$1.pending_error || restoreLine)}>${_text_resume($scope3_id, "i", ws$1.pending_error ? `Restore failed: ${ws$1.pending_error}` : restoreLine || "Restoring…")}</span>${_el_resume($scope3_id, "h")}</span></div></div>`);
10894
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_text_resume($scope3_id, "g", ws$1.name, $sg__input_workspace)}</span><span${_attr_class("_f7")}${_attr("title", ws$1.pending_error || restoreLine)}>${_text_resume($scope3_id, "i", ws$1.pending_error ? `Restore failed: ${ws$1.pending_error}` : restoreLine || "Restoring…")}</span>${_el_resume($scope3_id, "h")}</span></div></div>`);
10882
10895
  _if(() => {
10883
10896
  if (ws$1.pending_error && !retrying) {
10884
10897
  const $scope10_id = _scope_id();
10885
- _html(`<div${_attr_class("_d4")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope10_id, "b")}`);
10898
+ _html(`<div${_attr_class("_f6")}><button type=button${_attr_class(["_q", btnSm])} title="Run the restore again">Retry</button>${_el_resume($scope10_id, "b")}`);
10886
10899
  arm_button_default({
10887
10900
  class: ["_q", btnSm],
10888
10901
  title: "Delete workspace",
@@ -10913,11 +10926,11 @@ var side_nav_item_default = _template("D", (input) => {
10913
10926
  const $scope4_id = _scope_id();
10914
10927
  const sessions$1 = input.sessions || [];
10915
10928
  const phaseLabel = dot$1 === "working" ? "Working" : dot$1 === "waiting" ? "Needs input" : dot$1 === "idle" ? "Idle" : "Not running";
10916
- _html(`<section${_attr_class(["_dL", {
10917
- ["_dG"]: input.current,
10929
+ _html(`<section${_attr_class(["_fN", {
10930
+ ["_fI"]: input.current,
10918
10931
  ["_bc"]: input.current,
10919
- ["_dI"]: input.menuOpen
10920
- }])}><div${_attr_class("_dM")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class(["_A", phase[dot$1]])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_status)}`);
10932
+ ["_fK"]: input.menuOpen
10933
+ }])}><div${_attr_class("_fO")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class(wsBtn)}><span${_attr_class(["_A", phase[dot$1]])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_status)}`);
10921
10934
  _if(() => {
10922
10935
  if (sessions$1.length === 1) {
10923
10936
  const $scope14_id = _scope_id();
@@ -10929,7 +10942,7 @@ var side_nav_item_default = _template("D", (input) => {
10929
10942
  icon_agent_default({
10930
10943
  agent: activeAgent(sessions$1[0]),
10931
10944
  size: 12,
10932
- class: "_dS"
10945
+ class: "_fU"
10933
10946
  });
10934
10947
  $si__input_sessions && writeScope($scope14_id, {
10935
10948
  _: _scope_with_id($scope4_id),
@@ -10938,7 +10951,7 @@ var side_nav_item_default = _template("D", (input) => {
10938
10951
  return 0;
10939
10952
  }
10940
10953
  }, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview);
10941
- _html(`<span${_attr_class("_dT")}><span${_attr_class("_dU")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span></span> </a>${_el_resume($scope4_id, "c", $sg__input_workspace)}<div${_attr_class("_dO")}>`);
10954
+ _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_text_resume($scope4_id, "h", ws$1.name, $sg__input_workspace)}</span></span> </a>${_el_resume($scope4_id, "c", $sg__input_workspace)}<div${_attr_class("_fQ")}>`);
10942
10955
  _if(() => {
10943
10956
  if (input.onNewSession) {
10944
10957
  const $scope5_id = _scope_id();
@@ -10966,19 +10979,19 @@ var side_nav_item_default = _template("D", (input) => {
10966
10979
  return 0;
10967
10980
  }
10968
10981
  }, $scope4_id, "k", $sg__input_onReview, $sg__input_onReview, $sg__input_sessions__OR__input_onNewSession__OR__input_onReview, 0, 1);
10969
- _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_dH"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
10982
+ _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fJ"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
10970
10983
  icon_manage_default({ size: 12 });
10971
- _html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("_dY")}>`);
10984
+ _html(`</a>${_el_resume($scope4_id, "l", _serialize_guard($scope0_reason, 4))}</div></div><div${_attr_class("_f0")}>`);
10972
10985
  _for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
10973
10986
  const $scope6_id = _scope_id();
10974
- _html(`<div${_attr_class(["_dP", { ["_dG"]: s.id === input.currentTab }])}>`);
10987
+ _html(`<div${_attr_class(["_fR", { ["_fI"]: s.id === input.currentTab }])}>`);
10975
10988
  _if(() => {
10976
10989
  if (renamingId === s.id) {
10977
10990
  const $scope7_id = _scope_id();
10978
10991
  _html(`<span${_attr_class([
10979
10992
  "_A",
10980
10993
  phase[sessionPhase(s.state)],
10981
- "_dW"
10994
+ "_fY"
10982
10995
  ])}></span>${_el_resume($scope7_id, "a", $sg__input_sessions)}`);
10983
10996
  _set_serialize_reason({
10984
10997
  1: $sg__input_sessions,
@@ -10988,7 +11001,7 @@ var side_nav_item_default = _template("D", (input) => {
10988
11001
  icon_agent_default({
10989
11002
  agent: activeAgent(s),
10990
11003
  size: 12,
10991
- class: "_d0"
11004
+ class: "_f2"
10992
11005
  });
10993
11006
  const $childScope3 = _peek_scope_id();
10994
11007
  rename_input_default({
@@ -11019,9 +11032,9 @@ var side_nav_item_default = _template("D", (input) => {
11019
11032
  icon_agent_default({
11020
11033
  agent: activeAgent(s),
11021
11034
  size: 12,
11022
- class: "_d0"
11035
+ class: "_f2"
11023
11036
  });
11024
- _html(`<span${_attr_class("_dV")}>${_text_resume($scope8_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope8_id, "a", _serialize_guard($scope0_reason, 3))}<button${_attr_class(rowIcon)} title="Rename session">`);
11037
+ _html(`<span${_attr_class("_fX")}>${_text_resume($scope8_id, "e", s.title || activeAgent(s), $sg__input_sessions)}</span></a>${_el_resume($scope8_id, "a", _serialize_guard($scope0_reason, 3))}<button${_attr_class(rowIcon)} title="Rename session">`);
11025
11038
  icon_edit_default({ size: 12 });
11026
11039
  _html(`</button>${_el_resume($scope8_id, "f")}`);
11027
11040
  arm_button_default({
@@ -11144,11 +11157,11 @@ var workspace_switcher_default = _template("O", (input) => {
11144
11157
  const sessions = input.sessions || st?.sessions || [];
11145
11158
  const manySessions = sessions.length > 1;
11146
11159
  const heroMeta$1 = sessions.length === 0 ? "No sessions" : manySessions ? `${sessions.length} sessions` : "";
11147
- _html(`<div${_attr_class("_do")}>`);
11160
+ _html(`<div${_attr_class("_e0")}>`);
11148
11161
  _if(() => {
11149
11162
  if (ws) {
11150
11163
  const $scope1_id = _scope_id();
11151
- _html(`<section${_attr_class("_dp")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_dq")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11164
+ _html(`<section${_attr_class("_e1")} aria-current=page><a${_attr("href", `/w/${ws.id}`)}${_attr_class("_e2")} data-open><span${_attr_class(["_A", phase[phase$1]])}></span>${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 0))}`);
11152
11165
  _if(() => {
11153
11166
  if (sessions.length === 1) {
11154
11167
  const $scope8_id = _scope_id();
@@ -11160,7 +11173,7 @@ var workspace_switcher_default = _template("O", (input) => {
11160
11173
  icon_agent_default({
11161
11174
  agent: activeAgent(sessions[0]),
11162
11175
  size: 16,
11163
- class: "_du"
11176
+ class: "_e6"
11164
11177
  });
11165
11178
  $si__input_workspace__OR__input_allStatus__OR__input_sessions && _subscribe($sessions___closures, writeScope($scope8_id, {
11166
11179
  _: _scope_with_id($scope1_id),
@@ -11169,14 +11182,14 @@ var workspace_switcher_default = _template("O", (input) => {
11169
11182
  return 0;
11170
11183
  }
11171
11184
  }, $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);
11172
- _html(`<span${_attr_class("_dr")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>open</span><span${_attr_class("_dt")}>${_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)}`);
11185
+ _html(`<span${_attr_class("_e3")}>${_text_resume($scope1_id, "f", ws.name, $sg__input_workspace)}</span><span${_attr_class(heroTag)}>open</span><span${_attr_class("_e5")}>${_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)}`);
11173
11186
  _if(() => {
11174
11187
  if (manySessions) {
11175
11188
  const $scope2_id = _scope_id();
11176
- _html(`<div${_attr_class("_dv")}>`);
11189
+ _html(`<div${_attr_class("_e7")}>`);
11177
11190
  _for_of(sessions, (s) => {
11178
11191
  const $scope3_id = _scope_id();
11179
- _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_dx", { ["_dw"]: 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)}`);
11192
+ _html(`<a${_attr("href", `/w/${ws.id}?s=${s.id}`)}${_attr_class(["_e9", { ["_e8"]: 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)}`);
11180
11193
  _set_serialize_reason({
11181
11194
  1: $sg__input_workspace__OR__input_allStatus__OR__input_sessions,
11182
11195
  2: $sg__input_workspace__OR__input_allStatus__OR__input_sessions
@@ -11186,7 +11199,7 @@ var workspace_switcher_default = _template("O", (input) => {
11186
11199
  agent: activeAgent(s),
11187
11200
  size: 14
11188
11201
  });
11189
- _html(`<span${_attr_class("_dy")}>${_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)}`);
11202
+ _html(`<span${_attr_class("_e_")}>${_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)}`);
11190
11203
  $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, {
11191
11204
  h: $si__input_tab && s?.id,
11192
11205
  _: _scope_with_id($scope2_id),
@@ -11215,7 +11228,7 @@ var workspace_switcher_default = _template("O", (input) => {
11215
11228
  _if(() => {
11216
11229
  if (input.ids.length) {
11217
11230
  const $scope4_id = _scope_id();
11218
- _html(`<div${_attr_class("_dz")}>`);
11231
+ _html(`<div${_attr_class("_fa")}>`);
11219
11232
  _for_of(input.ids, (id) => {
11220
11233
  const $scope5_id = _scope_id();
11221
11234
  const w = input.byId.get(id);
@@ -11259,7 +11272,7 @@ var workspace_switcher_default = _template("O", (input) => {
11259
11272
  const rp = phaseOf(rs);
11260
11273
  const rowSessions = rs?.sessions || [];
11261
11274
  const many = rowSessions.length > 1;
11262
- _html(`<div${_attr_class("_dA")}><a${_attr("href", `/w/${id}`)}${_attr_class("_dB")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11275
+ _html(`<div${_attr_class("_fb")}><a${_attr("href", `/w/${id}`)}${_attr_class("_fc")}><span${_attr_class(["_A", phase[rp]])}></span>${_el_resume($scope7_id, "c", $sg__input_allStatus__OR__input_ids)}`);
11263
11276
  _if(() => {
11264
11277
  if (rowSessions.length === 1) {
11265
11278
  const $scope9_id = _scope_id();
@@ -11271,7 +11284,7 @@ var workspace_switcher_default = _template("O", (input) => {
11271
11284
  icon_agent_default({
11272
11285
  agent: activeAgent(rowSessions[0]),
11273
11286
  size: 16,
11274
- class: "_dD"
11287
+ class: "_fe"
11275
11288
  });
11276
11289
  $si__input_allStatus__OR__input_ids && writeScope($scope9_id, {
11277
11290
  _: _scope_with_id($scope7_id),
@@ -11280,7 +11293,7 @@ var workspace_switcher_default = _template("O", (input) => {
11280
11293
  return 0;
11281
11294
  }
11282
11295
  }, $scope7_id, "d", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids);
11283
- _html(`<span${_attr_class("_dC")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11296
+ _html(`<span${_attr_class("_fd")}>${_text_resume($scope7_id, "f", w.name, $sg__input_ids__OR__input_byId)}</span>`);
11284
11297
  _if(() => {
11285
11298
  if (many) {
11286
11299
  const $scope10_id = _scope_id();
@@ -11291,7 +11304,7 @@ var workspace_switcher_default = _template("O", (input) => {
11291
11304
  }, $scope7_id, "g", $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, $sg__input_allStatus__OR__input_ids, 0, 1);
11292
11305
  icon_chevron_right_default({
11293
11306
  size: 14,
11294
- class: "_dF"
11307
+ class: "_fg"
11295
11308
  });
11296
11309
  _html(`</a>${_el_resume($scope7_id, "b", $sg__input_ids)}`);
11297
11310
  _set_serialize_reason({ 0: $sg__input_ids });
@@ -11411,13 +11424,13 @@ var usage_bars_default = _template("K", (input) => {
11411
11424
  if (windows.length) {
11412
11425
  const $scope1_id = _scope_id();
11413
11426
  _html(`<span${_attr_class([
11414
- "_g4",
11427
+ "_hw",
11415
11428
  input.class,
11416
- { ["_g5"]: agent.stale_seconds != null }
11429
+ { ["_hx"]: agent.stale_seconds != null }
11417
11430
  ])} 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)}>`);
11418
11431
  _for_of(windows, (win) => {
11419
11432
  const $scope2_id = _scope_id();
11420
- _html(`<span${_attr_class(["_g6", win.used_percent >= 90 ? "_g_" : win.used_percent >= 70 ? "_g9" : win.used_percent >= 40 ? "_g8" : "_g7"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
11433
+ _html(`<span${_attr_class(["_hy", win.used_percent >= 90 ? "_hC" : win.used_percent >= 70 ? "_hB" : win.used_percent >= 40 ? "_hA" : "_hz"])}${_attr_style(`--pct:${Math.max(2, Math.min(100, win.used_percent))}%`)}></span>${_el_resume($scope2_id, "a", $sg__input_agent)}`);
11421
11434
  $si__input_agent && writeScope($scope2_id, {});
11422
11435
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
11423
11436
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -11449,7 +11462,7 @@ var nav_usage_default = _template("r", (input) => {
11449
11462
  const plan = openSess ? usageFor$1(openSess.agent, usage) : null;
11450
11463
  const all = usage?.agents || [];
11451
11464
  const peak = Math.max(0, ...(plan?.windows || []).map((w) => w.used_percent));
11452
- const ringTone = _resume((pct) => pct >= 90 ? "_cB" : pct >= 70 ? "_cA" : pct >= 40 ? "_cz" : "_cy", "r0");
11465
+ const ringTone = _resume((pct) => pct >= 90 ? "_eZ" : pct >= 70 ? "_eY" : pct >= 40 ? "_eX" : "_eW", "r0");
11453
11466
  let card$2 = null;
11454
11467
  const showCard = _resume((el) => {
11455
11468
  const r = el.getBoundingClientRect();
@@ -11461,18 +11474,18 @@ var nav_usage_default = _template("r", (input) => {
11461
11474
  _if(() => {
11462
11475
  if (plan) {
11463
11476
  const $scope1_id = _scope_id();
11464
- _html(`<span${_attr_class("_cs")} tabindex=0>`);
11477
+ _html(`<span${_attr_class("_eQ")} tabindex=0>`);
11465
11478
  _set_serialize_reason(1);
11466
11479
  const $childScope = _peek_scope_id();
11467
11480
  usage_bars_default({
11468
- class: "_cu",
11481
+ class: "_eS",
11469
11482
  agent: plan
11470
11483
  });
11471
- _html(`<svg${_attr_class(["_cv", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_cw")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_cx")} 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")}`);
11484
+ _html(`<svg${_attr_class(["_eT", ringTone(peak)])} viewBox="0 0 16 16" width=16 height=16 aria-hidden=true><circle${_attr_class("_eU")} cx=8 cy=8 r=6.5></circle><circle${_attr_class("_eV")} 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")}`);
11472
11485
  _if(() => {
11473
11486
  if (card$2) {
11474
11487
  const $scope2_id = _scope_id();
11475
- _html(`<div${_attr_class(["_9", "_ct"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
11488
+ _html(`<div${_attr_class(["_9", "_eR"])}${_attr_style(`left:${card$2.left}px;bottom:${card$2.bottom}px`)} role=tooltip>`);
11476
11489
  _for_of(all, (a) => {
11477
11490
  const $scope3_id = _scope_id();
11478
11491
  _set_serialize_reason(6);
@@ -11568,14 +11581,14 @@ var side_nav_default = _template("E", (input) => {
11568
11581
  const backHref = ws ? `/w/${ws.id}` : "/new";
11569
11582
  const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
11570
11583
  const pageIds = orderedIds.filter((id) => id !== ws?.id);
11571
- _html(`<aside${_attr_class(["_bU", {
11572
- ["_bS"]: !navOpen,
11573
- ["_bT"]: isPage
11584
+ _html(`<aside${_attr_class(["_cf", {
11585
+ ["_cd"]: !navOpen,
11586
+ ["_ce"]: isPage
11574
11587
  }])}${_attr("hidden", view === "diff")}>`);
11575
11588
  _if(() => {
11576
11589
  if (isPage) {
11577
11590
  const $scope1_id = _scope_id();
11578
- _html(`<div${_attr_class("_bX")}>`);
11591
+ _html(`<div${_attr_class("_ci")}>`);
11579
11592
  _set_serialize_reason({
11580
11593
  3: $sg__input_instanceName,
11581
11594
  6: $sg__input_instanceName
@@ -11584,7 +11597,7 @@ var side_nav_default = _template("E", (input) => {
11584
11597
  if (input.instanceName) $meta = attrTag({ content: _content_resume("E8", () => {
11585
11598
  _scope_reason();
11586
11599
  const $scope2_id = _scope_id();
11587
- _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>`);
11600
+ _html(`<span${_attr_class("_cj")} title="This work server (Settings → Appearance)"><img${_attr_class("_cm")}${_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>`);
11588
11601
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
11589
11602
  $sg__input_instanceAccent || $sg__input_instanceName || _resume_branch($scope2_id);
11590
11603
  }, $scope1_id) });
@@ -11599,7 +11612,7 @@ var side_nav_default = _template("E", (input) => {
11599
11612
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
11600
11613
  iconBtnRow,
11601
11614
  iconBtn,
11602
- { ["_bP"]: view === "settings" }
11615
+ { ["_ca"]: view === "settings" }
11603
11616
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11604
11617
  icon_settings_default({ size: 16 });
11605
11618
  _if(() => {
@@ -11622,7 +11635,7 @@ var side_nav_default = _template("E", (input) => {
11622
11635
  _if(() => {
11623
11636
  if (!isPage && input.instanceName) {
11624
11637
  const $scope4_id = _scope_id();
11625
- _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>`);
11638
+ _html(`<div${_attr_class("_cl")} title="This work server (Settings → Appearance)"><img${_attr_class("_cm")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope4_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_cn")}>${_text_resume($scope4_id, "d", input.instanceName, $sg__input_instanceName)}</span></div>`);
11626
11639
  writeScope($scope4_id, {});
11627
11640
  return 0;
11628
11641
  }
@@ -11690,7 +11703,7 @@ var side_nav_default = _template("E", (input) => {
11690
11703
  b: _serialize_if($scope0_reason, 21) && _existing_scope($childScope3)
11691
11704
  });
11692
11705
  }, (a) => a, $scope6_id, "a", $sg__input_agents, 1, $sg__input_workspace__OR__input_allWorkspaces__OR__input_agents, "</div>", 1);
11693
- _html(`<div${_attr_class("_b3")}>`);
11706
+ _html(`<div${_attr_class("_co")}>`);
11694
11707
  _for_of(orderedIds, (wsId) => {
11695
11708
  const $scope8_id = _scope_id();
11696
11709
  _set_serialize_reason({
@@ -11767,7 +11780,7 @@ var side_nav_default = _template("E", (input) => {
11767
11780
  _if(() => {
11768
11781
  if (!navOpen) {
11769
11782
  const $scope9_id = _scope_id();
11770
- _html(`<div${_attr_class("_b4")}>`);
11783
+ _html(`<div${_attr_class("_cp")}>`);
11771
11784
  _for_of(orderedIds, (wsId, i) => {
11772
11785
  const $scope10_id = _scope_id();
11773
11786
  _set_serialize_reason({
@@ -11815,14 +11828,14 @@ var side_nav_default = _template("E", (input) => {
11815
11828
  return 0;
11816
11829
  }
11817
11830
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
11818
- _html(`<div${_attr_class("_b5")}>`);
11831
+ _html(`<div${_attr_class("_cq")}>`);
11819
11832
  _if(() => {
11820
11833
  if (isPage) {
11821
11834
  const $scope12_id = _scope_id();
11822
11835
  _html(`<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([
11823
11836
  "_q",
11824
11837
  btnLg,
11825
- "_bZ"
11838
+ "_ck"
11826
11839
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11827
11840
  icon_folder_plus_default({ size: 16 });
11828
11841
  _html(` New workspace</a>${_el_resume($scope12_id, "a")}`);
@@ -11854,9 +11867,9 @@ var side_nav_default = _template("E", (input) => {
11854
11867
  sessions: input.sessions,
11855
11868
  tab: view === "term" ? tab : null
11856
11869
  });
11857
- _html(`<div${_attr_class(["_z", "_b6"])}></div>`);
11870
+ _html(`<div${_attr_class(["_z", "_cr"])}></div>`);
11858
11871
  _if(() => {}, $scope11_id, "d", 1, 1, 1, 0, 1);
11859
- _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" : ""}>`);
11872
+ _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn, { ["_ca"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
11860
11873
  icon_settings_default({});
11861
11874
  _if(() => {
11862
11875
  if (input.setupReady === false) {
@@ -11866,7 +11879,7 @@ var side_nav_default = _template("E", (input) => {
11866
11879
  return 0;
11867
11880
  }
11868
11881
  }, $scope11_id, "g", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
11869
- _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" : ""}>`);
11882
+ _html(`</a>${_el_resume($scope11_id, "e")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn, { ["_ca"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
11870
11883
  icon_folder_plus_default({ size: 16 });
11871
11884
  _html(`</a>${_el_resume($scope11_id, "h")}`);
11872
11885
  _script($scope11_id, "E13");
@@ -12983,9 +12996,23 @@ function reviewCompareLabel(base, head, wsBranch = "", wsName = "") {
12983
12996
  base: baseName,
12984
12997
  head: onWs ? wsName || shortWorkspaceName(ws) : shortHeadFallback(headName),
12985
12998
  topic: onWs ? topicLane(headName, ws) : "",
12999
+ onWs,
12986
13000
  title: headName === baseName ? baseName : `${headName} vs ${baseName}`
12987
13001
  };
12988
13002
  }
13003
+ function reviewCompareLine(refs, wsBranch = "", wsName = "") {
13004
+ const compare = reviewCompareLabel(refs.base, refs.head, wsBranch, wsName);
13005
+ const baseName = (refs.base || "base").replace(/^origin\//, "");
13006
+ const headName = (refs.head || "HEAD").replace(/^origin\//, "");
13007
+ const ws = wsBranch.replace(/^origin\//, "");
13008
+ if (!(!!compare.topic || !!ws && headName !== ws || !!refs.defaultBranch && baseName !== refs.defaultBranch)) return null;
13009
+ return {
13010
+ head: compare.onWs ? "" : compare.head,
13011
+ topic: compare.topic,
13012
+ base: compare.base,
13013
+ title: compare.title
13014
+ };
13015
+ }
12989
13016
  /** Short label for "local …" chips (workspace name, plus [topic] if any). */
12990
13017
  function shortBranch(name, wsBranch = "", wsName = "") {
12991
13018
  const head = name.replace(/^origin\//, "");
@@ -12998,8 +13025,8 @@ function shortBranch(name, wsBranch = "", wsName = "") {
12998
13025
  }
12999
13026
  return shortHeadFallback(head);
13000
13027
  }
13001
- var treeToggle = "_e1 _4 _l";
13002
- var pageTitle = "_e7 _cV";
13028
+ var treeToggle = "_go _4 _l";
13029
+ var pageTitle = "_gu _d2";
13003
13030
  //#endregion
13004
13031
  //#region src/tags/icons/icon-comment.marko
13005
13032
  var icon_comment_default = _template("bb", (input) => {
@@ -13060,12 +13087,12 @@ var diff_send_default = _template("k", (input) => {
13060
13087
  }
13061
13088
  })();
13062
13089
  }, "k1", $scope0_id);
13063
- _html(`<div${_attr_class("_in")} role=group${_attr("aria-label", label)}><span${_attr_class("_io")}${_attr("title", label)}>`);
13090
+ _html(`<div${_attr_class("_iY")} role=group${_attr("aria-label", label)}><span${_attr_class("_iZ")}${_attr("title", label)}>`);
13064
13091
  icon_comment_default({
13065
13092
  size: 18,
13066
- class: "_ip"
13093
+ class: "_i0"
13067
13094
  });
13068
- _html(`<span${_attr_class("_iq")} 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("_ir")} title="Copy comments as markdown" aria-label="Copy comments as markdown">`);
13095
+ _html(`<span${_attr_class("_i1")} 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("_i2")} title="Copy comments as markdown" aria-label="Copy comments as markdown">`);
13069
13096
  _if(() => {
13070
13097
  {
13071
13098
  const $scope6_id = _scope_id();
@@ -13077,11 +13104,11 @@ var diff_send_default = _template("k", (input) => {
13077
13104
  _if(() => {
13078
13105
  if (target) {
13079
13106
  const $scope1_id = _scope_id();
13080
- _html(`<button type=button${_attr_class(["_ir", "_is"])}${_attr("disabled", sending)}${_attr("title", `Send comments to ${target.title || target.agent}`)}>`);
13107
+ _html(`<button type=button${_attr_class(["_i2", "_i3"])}${_attr("disabled", sending)}${_attr("title", `Send comments to ${target.title || target.agent}`)}>`);
13081
13108
  _if(() => {
13082
13109
  if (sessions.length > 1) {
13083
13110
  const $scope2_id = _scope_id();
13084
- _html(`<span${_attr_class(["_iv", "_iu"])}>${_text_resume($scope2_id, "b", sending ? "Sending…" : `Send to ${target.title || target.agent}`)}</span><span${_attr_class("_it")}>${_text_resume($scope2_id, "d", sending ? "Sending…" : "Send")}</span>`);
13111
+ _html(`<span${_attr_class(["_i6", "_i5"])}>${_text_resume($scope2_id, "b", sending ? "Sending…" : `Send to ${target.title || target.agent}`)}</span><span${_attr_class("_i4")}>${_text_resume($scope2_id, "d", sending ? "Sending…" : "Send")}</span>`);
13085
13112
  _subscribe($target_agent__closures, _subscribe($target_title__closures, _subscribe($sending__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))));
13086
13113
  return 0;
13087
13114
  } else {
@@ -13097,15 +13124,15 @@ var diff_send_default = _template("k", (input) => {
13097
13124
  _if(() => {
13098
13125
  if (sessions.length > 1) {
13099
13126
  const $scope4_id = _scope_id();
13100
- _html(`<span${_attr_class("_iw")}><button type=button${_attr_class([
13101
- "_ir",
13102
- "_is",
13103
- "_ix"
13127
+ _html(`<span${_attr_class("_i7")}><button type=button${_attr_class([
13128
+ "_i2",
13129
+ "_i3",
13130
+ "_i8"
13104
13131
  ])} aria-label="Choose session to send to"${_attr("disabled", sending)}></button>${_el_resume($scope4_id, "b")}`);
13105
13132
  _attr_select_value($scope4_id, "c", target.id, _resume(function(v) {
13106
13133
  sendTarget = v;
13107
13134
  }, "k0", $scope4_id), () => {
13108
- _html(`<select${_attr_class("_iy")} aria-label="Send comments to session" tabindex=-1${_attr("disabled", sending)}>`);
13135
+ _html(`<select${_attr_class("_i9")} aria-label="Send comments to session" tabindex=-1${_attr("disabled", sending)}>`);
13109
13136
  _for_of(sessions, (s) => {
13110
13137
  const $scope7_id = _scope_id();
13111
13138
  _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)}`);
@@ -13181,8 +13208,8 @@ var icon_branch_default = _template("Y", (input) => {
13181
13208
  });
13182
13209
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
13183
13210
  });
13184
- var findInput = "_cF _n";
13185
- var findIconBtn = "_cI _l";
13211
+ var findInput = "_eq _n";
13212
+ var findIconBtn = "_et _l";
13186
13213
  //#endregion
13187
13214
  //#region src/tags/icons/icon-arrow-down.marko
13188
13215
  var icon_arrow_down_default = _template("R", (input) => {
@@ -13274,18 +13301,18 @@ var diff_find_default = _template("j", (input) => {
13274
13301
  }, 0);
13275
13302
  }, "j0", $scope0_id);
13276
13303
  _html(`<div${_attr_class([
13277
- "_cD",
13278
- input.keybar && "_cM",
13279
- !open && "_cC"
13280
- ])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_cE")} aria-hidden=true>`);
13304
+ "_eo",
13305
+ input.keybar && "_ex",
13306
+ !open && "_en"
13307
+ ])} aria-hidden=${open ? "false" : "true"}><span${_attr_class("_ep")} aria-hidden=true>`);
13281
13308
  icon_search_default({ size: 13 });
13282
13309
  _html(`</span><input${_attr_input_value($scope0_id, "d", query || "", _resume(function(v) {
13283
13310
  type(v);
13284
- }, "j1", $scope0_id))}${_attr_class([findInput, input.keybar && "_cO"])} 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("_cH")}>${_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 && "_cP"])} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13311
+ }, "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"}>`);
13285
13312
  icon_arrow_up_default({ size: 14 });
13286
- _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class([findIconBtn, input.keybar && "_cP"])} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
13313
+ _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"}>`);
13287
13314
  icon_arrow_down_default({ size: 14 });
13288
- _html(`</button>${_el_resume($scope0_id, "i")}<button type=button${_attr_class([findIconBtn, input.keybar && "_cP"])} title="Close find"${_attr("hidden", input.pinned)} tabindex=${open ? "0" : "-1"}>`);
13315
+ _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"}>`);
13289
13316
  icon_xmark_default({ size: 14 });
13290
13317
  _html(`</button>${_el_resume($scope0_id, "k")}</div>${_el_resume($scope0_id, "a")}`);
13291
13318
  const $return = focusInput;
@@ -13328,20 +13355,20 @@ var diff_find_default = _template("j", (input) => {
13328
13355
  var review_summary_default = _template("y", (input) => {
13329
13356
  const $scope0_reason = _scope_reason(), $sg__input_fileCount = _serialize_guard($scope0_reason, 3), $sg__input_additions = _serialize_guard($scope0_reason, 4), $sg__input_deletions = _serialize_guard($scope0_reason, 5), $sg__input_additions__OR__input_deletions = _serialize_guard($scope0_reason, 0), $sg__input_additions__OR__input_deletions__OR__input_hiddenCount__OR__input_newCount__OR__input_onlyNew = _serialize_guard($scope0_reason, 2), $sg__input_hiddenCount = _serialize_guard($scope0_reason, 6), $sg__input_newCount__OR__input_onlyNew = _serialize_guard($scope0_reason, 1), $si__input_additions__OR__input_deletions = _serialize_if($scope0_reason, 0), $si__input_newCount__OR__input_onlyNew = _serialize_if($scope0_reason, 1);
13330
13357
  const $scope0_id = _scope_id();
13331
- _html(`<div${_attr_class("_h0")}><span>${_text_resume($scope0_id, "b", input.fileCount, $sg__input_fileCount)} file${_text_resume($scope0_id, "c", input.fileCount === 1 ? "" : "s", $sg__input_fileCount * 2)}</span>`);
13358
+ _html(`<div${_attr_class("_hV")}><span>${_text_resume($scope0_id, "b", input.fileCount, $sg__input_fileCount)} file${_text_resume($scope0_id, "c", input.fileCount === 1 ? "" : "s", $sg__input_fileCount * 2)}</span>`);
13332
13359
  _if(() => {
13333
13360
  if (input.additions || input.deletions) {
13334
13361
  const $scope1_id = _scope_id();
13335
- _html(`<span${_attr_class("_h1")}>+${_text_resume($scope1_id, "b", input.additions, $sg__input_additions * 2)}</span><span${_attr_class("_h2")}>−${_text_resume($scope1_id, "d", input.deletions, $sg__input_deletions * 2)}</span>`);
13362
+ _html(`<span${_attr_class("_hW")}>+${_text_resume($scope1_id, "b", input.additions, $sg__input_additions * 2)}</span><span${_attr_class("_hX")}>−${_text_resume($scope1_id, "d", input.deletions, $sg__input_deletions * 2)}</span>`);
13336
13363
  $si__input_additions__OR__input_deletions && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
13337
13364
  return 0;
13338
13365
  }
13339
13366
  }, $scope0_id, "d", $sg__input_additions__OR__input_deletions, $sg__input_additions__OR__input_deletions, $sg__input_additions__OR__input_deletions__OR__input_hiddenCount__OR__input_newCount__OR__input_onlyNew);
13340
- _html(`<span${_attr_class("_h3")}>`);
13367
+ _html(`<span${_attr_class("_hY")}>`);
13341
13368
  _if(() => {
13342
13369
  if (input.hiddenCount) {
13343
13370
  const $scope2_id = _scope_id();
13344
- _html(`<button type=button${_attr_class("_h5")} title="Filtered out of the list — show every file">${_text_resume($scope2_id, "b", input.hiddenCount, $sg__input_hiddenCount)} hidden</button>${_el_resume($scope2_id, "a")}`);
13371
+ _html(`<button type=button${_attr_class("_h0")} title="Filtered out of the list — show every file">${_text_resume($scope2_id, "b", input.hiddenCount, $sg__input_hiddenCount)} hidden</button>${_el_resume($scope2_id, "a")}`);
13345
13372
  _script($scope2_id, "y0");
13346
13373
  writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
13347
13374
  return 0;
@@ -13350,7 +13377,7 @@ var review_summary_default = _template("y", (input) => {
13350
13377
  _if(() => {
13351
13378
  if (input.newCount || input.onlyNew) {
13352
13379
  const $scope3_id = _scope_id();
13353
- _html(`<button type=button${_attr_class(["_h5", { ["_h4"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope3_id, "b", input.newCount, _serialize_guard($scope0_reason, 7))} new</button>${_el_resume($scope3_id, "a")}`);
13380
+ _html(`<button type=button${_attr_class(["_h0", { ["_hZ"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_text_resume($scope3_id, "b", input.newCount, _serialize_guard($scope0_reason, 7))} new</button>${_el_resume($scope3_id, "a")}`);
13354
13381
  _script($scope3_id, "y1");
13355
13382
  writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
13356
13383
  return 0;
@@ -13367,189 +13394,122 @@ var review_summary_default = _template("y", (input) => {
13367
13394
  s: input.onToggleNew
13368
13395
  });
13369
13396
  });
13370
- var repoTitle = "_iR _x";
13397
+ var repoTitle = "_iD _x";
13371
13398
  //#endregion
13372
13399
  //#region src/tags/review-head.marko
13373
13400
  var review_head_default = _template("x", (input) => {
13374
- const $scope0_reason = _scope_reason(), $sg__input_repo = _serialize_guard($scope0_reason, 4), $si__input_repo = _serialize_if($scope0_reason, 4), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_guard($scope0_reason, 2), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_if($scope0_reason, 2), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers = _serialize_if($scope0_reason, 3), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers = _serialize_guard($scope0_reason, 3), $sg__input_repo__OR__input_fileCount = _serialize_guard($scope0_reason, 0), $sg__input_localDiffers = _serialize_guard($scope0_reason, 8), $si__input_loading = _serialize_if($scope0_reason, 9), $si__input_workspaceBranch = _serialize_if($scope0_reason, 5), $si__input_workspaceName = _serialize_if($scope0_reason, 6);
13401
+ const $scope0_reason = _scope_reason(), $sg__input_repo = _serialize_guard($scope0_reason, 5), $si__input_repo = _serialize_if($scope0_reason, 5), $si__input_repo__OR__input_localDiffers = _serialize_if($scope0_reason, 0), $sg__input_repo__OR__input_localDiffers = _serialize_guard($scope0_reason, 0), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_guard($scope0_reason, 3), $sg__input_localDiffers = _serialize_guard($scope0_reason, 6), $si__input_repo__OR__input_localDiffers__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_if($scope0_reason, 4), $si__input_loading = _serialize_if($scope0_reason, 7), $si__input_workspaceBranch = _serialize_if($scope0_reason, 8), $si__input_workspaceName = _serialize_if($scope0_reason, 9);
13375
13402
  const $scope0_id = _scope_id();
13376
- const $repo_base__closures = /* @__PURE__ */ new Set();
13377
- const $repo_pr_headRefName__closures = /* @__PURE__ */ new Set();
13378
13403
  const $repo_pr_number__closures = /* @__PURE__ */ new Set();
13379
13404
  const $repo_pr_url__closures = /* @__PURE__ */ new Set();
13380
13405
  const $repo_pr_title__closures = /* @__PURE__ */ new Set();
13406
+ const $repo_pr_headRefName__closures = /* @__PURE__ */ new Set();
13381
13407
  const $repo_head__closures = /* @__PURE__ */ new Set();
13408
+ const $repo_base__closures = /* @__PURE__ */ new Set();
13382
13409
  const $repo_baseSha__closures = /* @__PURE__ */ new Set();
13383
- const $compare_topic__closures = /* @__PURE__ */ new Set();
13384
- const $compare_title__closures = /* @__PURE__ */ new Set();
13385
- const $compare_base__closures = /* @__PURE__ */ new Set();
13386
- const $compare_head__closures = /* @__PURE__ */ new Set();
13387
13410
  const $repo_rev__closures = /* @__PURE__ */ new Set();
13388
13411
  const $input_loading__closures = /* @__PURE__ */ new Set();
13389
13412
  const $repo_pr_headRefOid__closures = /* @__PURE__ */ new Set();
13390
- const $repo_pr__closures = /* @__PURE__ */ new Set();
13391
- const $repo_branch__closures = /* @__PURE__ */ new Set();
13392
13413
  const $input_workspaceBranch__closures = /* @__PURE__ */ new Set();
13393
13414
  const $input_workspaceName__closures = /* @__PURE__ */ new Set();
13394
13415
  const $repo_localHead__closures = /* @__PURE__ */ new Set();
13416
+ const $repo_branch__closures = /* @__PURE__ */ new Set();
13395
13417
  const repo = input.repo;
13396
- const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
13397
- const baseRef = (repo.pr?.baseRefName || repo.base).replace(/^origin\//, "");
13398
- const headRef = (repo.pr?.headRefName || repo.branch).replace(/^origin\//, "");
13399
- const unusual = !!compare$1.topic || !!input.workspaceBranch && headRef !== input.workspaceBranch || !!repo.default_branch && baseRef !== repo.default_branch;
13400
- const contained = !!repo.contained && input.fileCount > 0;
13401
13418
  _if(() => {
13402
- if (repo.pr || unusual || repo.rev || repo.githubDrift || contained || input.localDiffers) {
13419
+ if (repo.pr || repo.rev || repo.githubDrift || input.localDiffers) {
13403
13420
  const $scope1_id = _scope_id();
13404
- _html(`<div${_attr_class("_iO")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}>`);
13421
+ _html(`<div${_attr_class("_iA")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}>`);
13405
13422
  _if(() => {
13406
13423
  if (repo.pr) {
13407
13424
  const $scope4_id = _scope_id();
13408
- _html(`<span${_attr_class("_iP")}><a${_attr_class([
13425
+ _html(`<span${_attr_class("_iB")}><a${_attr_class([
13409
13426
  "_u",
13410
13427
  "_v",
13411
- "_iQ"
13428
+ "_iC"
13412
13429
  ])}${_attr("href", `${repo.pr.url}/files`)} target=_blank rel=noopener${_attr("title", `${repo.pr.title}: ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}`)}>#${_text_resume($scope4_id, "c", repo.pr.number, $sg__input_repo * 2)}</a>${_el_resume($scope4_id, "b", $sg__input_repo)}<span${_attr_class(repoTitle)}${_attr("title", repo.pr.title)}>${_text_resume($scope4_id, "e", repo.pr.title, $sg__input_repo)}</span>${_el_resume($scope4_id, "d", $sg__input_repo)}</span>`);
13413
- $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && _subscribe($si__input_repo && $repo_baseSha__closures, _subscribe($si__input_repo && $repo_head__closures, _subscribe($si__input_repo && $repo_pr_title__closures, _subscribe($si__input_repo && $repo_pr_url__closures, _subscribe($si__input_repo && $repo_pr_number__closures, _subscribe($si__input_repo && $repo_pr_headRefName__closures, _subscribe($si__input_repo && $repo_base__closures, writeScope($scope4_id, {
13430
+ $si__input_repo__OR__input_localDiffers && _subscribe($si__input_repo && $repo_baseSha__closures, _subscribe($si__input_repo && $repo_base__closures, _subscribe($si__input_repo && $repo_head__closures, _subscribe($si__input_repo && $repo_pr_headRefName__closures, _subscribe($si__input_repo && $repo_pr_title__closures, _subscribe($si__input_repo && $repo_pr_url__closures, _subscribe($si__input_repo && $repo_pr_number__closures, writeScope($scope4_id, {
13414
13431
  _: _scope_with_id($scope1_id),
13415
- Cal: $si__input_repo && 2,
13416
- Cat: $si__input_repo && 2
13432
+ Caa: $si__input_repo && 2,
13433
+ Cab: $si__input_repo && 2
13417
13434
  }))))))));
13418
13435
  return 0;
13419
13436
  }
13420
- }, $scope1_id, "b", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers, 0, 1);
13421
- _if(() => {
13422
- if (unusual) {
13423
- const $scope5_id = _scope_id();
13424
- _html(`<span${_attr_class("_iS")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_N", "_iT"])}>${_text_resume($scope5_id, "c", compare$1.base, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_P", "_iV"])} aria-hidden=true>vs</span><span${_attr_class(["_N", "_iU"])}>${_text_resume($scope5_id, "f", compare$1.head, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13425
- _if(() => {
13426
- if (compare$1.topic) {
13427
- const $scope8_id = _scope_id();
13428
- _html(`<span${_attr_class([
13429
- "_N",
13430
- tone.accent,
13431
- "_iW"
13432
- ])}>${_text_resume($scope8_id, "b", compare$1.topic, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
13433
- $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && _subscribe($si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && $compare_topic__closures, writeScope($scope8_id, {
13434
- _: _scope_with_id($scope5_id),
13435
- Cax: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && 1
13436
- }));
13437
- return 0;
13438
- }
13439
- }, $scope5_id, "g", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, 0, 1);
13440
- _html(`</span>${_el_resume($scope5_id, "a", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}`);
13441
- $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && _subscribe($si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && $compare_head__closures, _subscribe($si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && $compare_base__closures, _subscribe($si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && $compare_title__closures, _subscribe($si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && $compare_topic__closures, _subscribe($si__input_repo && $repo_baseSha__closures, _subscribe($si__input_repo && $repo_head__closures, writeScope($scope5_id, {
13442
- _: _scope_with_id($scope1_id),
13443
- Cat: $si__input_repo && 3,
13444
- Cau: $si__input_repo && 1
13445
- })))))));
13446
- return 0;
13447
- }
13448
- }, $scope1_id, "c", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers, 0, 1);
13437
+ }, $scope1_id, "b", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_localDiffers, 0, 1);
13449
13438
  _if(() => {
13450
13439
  if (repo.rev) {
13451
- const $scope6_id = _scope_id();
13452
- _html(`<span${_attr_class(["_N", "_iX"])} title="One commit against its parent">commit ${_text_resume($scope6_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
13453
- $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && _subscribe($si__input_repo && $repo_rev__closures, writeScope($scope6_id, { _: _scope_with_id($scope1_id) }));
13440
+ const $scope5_id = _scope_id();
13441
+ _html(`<span${_attr_class(["_N", "_iJ"])} title="One commit against its parent">commit ${_text_resume($scope5_id, "b", shortSha(repo.rev, 7), $sg__input_repo * 2)}</span>`);
13442
+ $si__input_repo__OR__input_localDiffers && _subscribe($si__input_repo && $repo_rev__closures, writeScope($scope5_id, { _: _scope_with_id($scope1_id) }));
13454
13443
  return 0;
13455
13444
  }
13456
- }, $scope1_id, "d", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers, 0, 1);
13445
+ }, $scope1_id, "c", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_localDiffers, 0, 1);
13457
13446
  _if(() => {
13458
13447
  if (repo.githubDrift) {
13459
13448
  const $scope2_id = _scope_id();
13460
13449
  _html(`<button type=button${_attr_class([
13461
13450
  "_N",
13462
13451
  tone.warn,
13463
- "_iX"
13452
+ "_iJ"
13464
13453
  ])}${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}. Reload to re-ask GitHub`)}${_attr("disabled", input.loading)}>behind GitHub ${_text_resume($scope2_id, "b", shortSha(repo.head, 7), $sg__input_repo * 2)} → ${_text_resume($scope2_id, "c", shortSha(repo.pr.headRefOid, 7), $sg__input_repo * 2)}</button>${_el_resume($scope2_id, "a")}`);
13465
13454
  _script($scope2_id, "x0");
13466
13455
  _subscribe($si__input_repo && $repo_pr_headRefOid__closures, _subscribe($si__input_repo && $repo_head__closures, _subscribe($si__input_repo && $repo_pr_headRefName__closures, _subscribe($si__input_loading && $input_loading__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })))));
13467
13456
  return 0;
13468
13457
  }
13469
- }, $scope1_id, "e", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers, 0, 1);
13470
- _if(() => {
13471
- if (contained) {
13472
- const $scope7_id = _scope_id();
13473
- _html(`<span${_attr_class(["_N", "_iX"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_text_resume($scope7_id, "b", repo.base, $sg__input_repo * 2)}</span>${_el_resume($scope7_id, "a", $sg__input_repo)}`);
13474
- $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && _subscribe($si__input_repo && $repo_branch__closures, _subscribe($si__input_repo && $repo_base__closures, _subscribe($si__input_repo && $repo_pr__closures, writeScope($scope7_id, {
13475
- _: _scope_with_id($scope1_id),
13476
- Cak: $si__input_repo && 1,
13477
- Cam: $si__input_repo && 1
13478
- }))));
13479
- return 0;
13480
- }
13481
- }, $scope1_id, "f", $sg__input_repo__OR__input_fileCount, $sg__input_repo__OR__input_fileCount, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers, 0, 1);
13458
+ }, $scope1_id, "d", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_localDiffers, 0, 1);
13482
13459
  _if(() => {
13483
13460
  if (input.localDiffers) {
13484
13461
  const $scope3_id = _scope_id();
13485
- _html(`<span${_attr_class(["_N", "_iX"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope3_id, "b", `${shortBranch(repo.branch, input.workspaceBranch, input.workspaceName)} ${shortSha(repo.localHead, 7)}`, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}</span>${_el_resume($scope3_id, "a", $sg__input_repo)}`);
13486
- $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && _subscribe($si__input_repo && $repo_localHead__closures, _subscribe($si__input_repo && $repo_head__closures, _subscribe($si__input_repo && $repo_branch__closures, _subscribe($si__input_repo && $repo_pr_headRefName__closures, _subscribe($si__input_workspaceName && $input_workspaceName__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, writeScope($scope3_id, {
13462
+ _html(`<span${_attr_class(["_N", "_iJ"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_text_resume($scope3_id, "b", `${shortBranch(repo.branch, input.workspaceBranch, input.workspaceName)} ${shortSha(repo.localHead, 7)}`, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName * 2)}</span>${_el_resume($scope3_id, "a", $sg__input_repo)}`);
13463
+ $si__input_repo__OR__input_localDiffers__OR__input_workspaceBranch__OR__input_workspaceName && _subscribe($si__input_repo && $repo_branch__closures, _subscribe($si__input_repo && $repo_localHead__closures, _subscribe($si__input_repo && $repo_head__closures, _subscribe($si__input_repo && $repo_pr_headRefName__closures, _subscribe($si__input_workspaceName && $input_workspaceName__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, writeScope($scope3_id, {
13487
13464
  _: _scope_with_id($scope1_id),
13488
- Cal: $si__input_repo && 1,
13489
- Cat: $si__input_repo && 1
13465
+ Caa: $si__input_repo && 1,
13466
+ Cab: $si__input_repo && 1
13490
13467
  })))))));
13491
13468
  return 0;
13492
13469
  }
13493
- }, $scope1_id, "g", $sg__input_localDiffers, $sg__input_localDiffers, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers, 0, 1);
13470
+ }, $scope1_id, "e", $sg__input_localDiffers, $sg__input_localDiffers, $sg__input_repo__OR__input_localDiffers, 0, 1);
13494
13471
  _html(`</div>${_el_resume($scope1_id, "a", $sg__input_repo)}`);
13495
13472
  writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
13496
13473
  return 0;
13497
13474
  }
13498
- }, $scope0_id, "a", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers, $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers, 0, 1);
13475
+ }, $scope0_id, "a", $sg__input_repo__OR__input_localDiffers, $sg__input_repo__OR__input_localDiffers, $sg__input_repo__OR__input_localDiffers, 0, 1);
13499
13476
  writeScope($scope0_id, {
13500
- e: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && input.workspaceBranch,
13501
- f: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && input.workspaceName,
13502
- g: $si__input_repo && input.fileCount,
13503
- h: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && input.localDiffers,
13504
- i: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && input.loading,
13505
- j: input.onReload,
13506
- l: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.pr,
13507
- m: _serialize_if($scope0_reason, 1) && repo?.pr?.baseRefName,
13508
- n: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.base,
13509
- o: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.pr?.headRefName,
13510
- p: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.branch,
13511
- r: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && repo?.default_branch,
13512
- s: _serialize_if($scope0_reason, 7) && repo?.contained,
13513
- u: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.rev,
13514
- v: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.githubDrift,
13515
- w: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.worktree,
13516
- x: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.pr?.number,
13517
- y: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.pr?.url,
13518
- z: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.pr?.title,
13519
- a0: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.head,
13520
- a1: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.baseSha,
13521
- a2: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.pr?.headRefOid,
13522
- a3: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && repo?.localHead,
13523
- a5: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && compare$1?.topic,
13524
- a6: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && compare$1?.title,
13525
- a7: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && compare$1?.base,
13526
- a8: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && compare$1?.head,
13527
- a9: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && baseRef,
13528
- aa: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && headRef,
13529
- ac: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && unusual,
13530
- ad: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_fileCount__OR__input_localDiffers && contained,
13531
- ak: $si__input_repo && $repo_base__closures,
13532
- al: $si__input_repo && $repo_pr_headRefName__closures,
13533
- aq: $si__input_repo && $repo_pr_number__closures,
13534
- ar: $si__input_repo && $repo_pr_url__closures,
13535
- as: $si__input_repo && $repo_pr_title__closures,
13536
- at: $si__input_repo && $repo_head__closures,
13537
- au: $si__input_repo && $repo_baseSha__closures,
13538
- ax: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && $compare_topic__closures,
13539
- ay: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && $compare_title__closures,
13540
- az: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && $compare_base__closures,
13541
- b0: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && $compare_head__closures,
13542
- an: $si__input_repo && $repo_rev__closures,
13543
- ai: $si__input_loading && $input_loading__closures,
13544
- av: $si__input_repo && $repo_pr_headRefOid__closures,
13545
- aj: $si__input_repo && $repo_pr__closures,
13546
- am: $si__input_repo && $repo_branch__closures,
13547
- af: $si__input_workspaceBranch && $input_workspaceBranch__closures,
13548
- ag: $si__input_workspaceName && $input_workspaceName__closures,
13549
- aw: $si__input_repo && $repo_localHead__closures
13477
+ e: $si__input_repo__OR__input_localDiffers && input.localDiffers,
13478
+ f: $si__input_repo__OR__input_localDiffers && input.loading,
13479
+ g: input.onReload,
13480
+ h: _serialize_if($scope0_reason, 2) && input.workspaceBranch,
13481
+ i: _serialize_if($scope0_reason, 1) && input.workspaceName,
13482
+ k: $si__input_repo__OR__input_localDiffers && repo?.pr,
13483
+ l: $si__input_repo__OR__input_localDiffers && repo?.rev,
13484
+ m: $si__input_repo__OR__input_localDiffers && repo?.githubDrift,
13485
+ o: $si__input_repo__OR__input_localDiffers && repo?.worktree,
13486
+ p: $si__input_repo__OR__input_localDiffers && repo?.pr?.number,
13487
+ q: $si__input_repo__OR__input_localDiffers && repo?.pr?.url,
13488
+ r: $si__input_repo__OR__input_localDiffers && repo?.pr?.title,
13489
+ s: $si__input_repo__OR__input_localDiffers && repo?.pr?.headRefName,
13490
+ t: $si__input_repo__OR__input_localDiffers && repo?.head,
13491
+ u: $si__input_repo__OR__input_localDiffers && repo?.base,
13492
+ v: $si__input_repo__OR__input_localDiffers && repo?.baseSha,
13493
+ w: $si__input_repo__OR__input_localDiffers && repo?.pr?.headRefOid,
13494
+ x: $si__input_repo__OR__input_localDiffers__OR__input_workspaceBranch__OR__input_workspaceName && repo?.localHead,
13495
+ y: $si__input_repo__OR__input_localDiffers__OR__input_workspaceBranch__OR__input_workspaceName && repo?.branch,
13496
+ a7: $si__input_repo && $repo_pr_number__closures,
13497
+ a8: $si__input_repo && $repo_pr_url__closures,
13498
+ a9: $si__input_repo && $repo_pr_title__closures,
13499
+ aa: $si__input_repo && $repo_pr_headRefName__closures,
13500
+ ab: $si__input_repo && $repo_head__closures,
13501
+ ac: $si__input_repo && $repo_base__closures,
13502
+ ad: $si__input_repo && $repo_baseSha__closures,
13503
+ a4: $si__input_repo && $repo_rev__closures,
13504
+ a0: $si__input_loading && $input_loading__closures,
13505
+ ae: $si__input_repo && $repo_pr_headRefOid__closures,
13506
+ a1: $si__input_workspaceBranch && $input_workspaceBranch__closures,
13507
+ a2: $si__input_workspaceName && $input_workspaceName__closures,
13508
+ af: $si__input_repo && $repo_localHead__closures,
13509
+ ag: $si__input_repo && $repo_branch__closures
13550
13510
  });
13551
13511
  });
13552
- var fileFilter = "_jZ _n";
13512
+ var fileFilter = "_kb _n";
13553
13513
  //#endregion
13554
13514
  //#region src/tags/file-filter.marko
13555
13515
  var file_filter_default = _template("l", (input) => {
@@ -13579,7 +13539,7 @@ var file_filter_default = _template("l", (input) => {
13579
13539
  pending = v;
13580
13540
  box.timer = setTimeout(flush, 150);
13581
13541
  }, "l2", $scope0_id);
13582
- _html(`<div${_attr_class("_jY")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
13542
+ _html(`<div${_attr_class("_ka")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
13583
13543
  type(v);
13584
13544
  }, "l0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
13585
13545
  _script($scope0_id, "l3");
@@ -13598,13 +13558,14 @@ var file_filter_default = _template("l", (input) => {
13598
13558
  //#endregion
13599
13559
  //#region src/tags/review-tree.marko
13600
13560
  var review_tree_default = _template("z", (input) => {
13601
- const $scope0_reason = _scope_reason(), $sg__input_summary = _serialize_guard($scope0_reason, 10), $sg__input_sections = _serialize_guard($scope0_reason, 8), $si__input_sections = _serialize_if($scope0_reason, 8), $sg__input_sections__OR__input_detail = _serialize_guard($scope0_reason, 1), $sg__input_sections_length__OR__input_detail = _serialize_guard($scope0_reason, 3), $sg__input_sections__OR__input_folded = _serialize_guard($scope0_reason, 0), $sg__input_sections__OR__input_folded__OR__input_active = _serialize_guard($scope0_reason, 4), $sg__input_sections_length = _serialize_guard($scope0_reason, 9), $sg__input_detail = _serialize_guard($scope0_reason, 11), $si__input_sections__OR__input_folded = _serialize_if($scope0_reason, 0), $si__input_summary = _serialize_if($scope0_reason, 10), $si__input_sections__OR__input_detail = _serialize_if($scope0_reason, 1), $si__input_detail = _serialize_if($scope0_reason, 11);
13561
+ const $scope0_reason = _scope_reason(), $sg__input_summary = _serialize_guard($scope0_reason, 11), $sg__input_sections = _serialize_guard($scope0_reason, 9), $si__input_sections = _serialize_if($scope0_reason, 9), $sg__input_sections__OR__input_detail = _serialize_guard($scope0_reason, 1), $sg__input_sections_length__OR__input_detail = _serialize_guard($scope0_reason, 3), $sg__input_sections__OR__input_folded = _serialize_guard($scope0_reason, 0), $sg__input_sections__OR__input_folded__OR__input_active = _serialize_guard($scope0_reason, 5), $sg__input_sections_length = _serialize_guard($scope0_reason, 10), $sg__input_detail = _serialize_guard($scope0_reason, 12), $si__input_sections__OR__input_folded = _serialize_if($scope0_reason, 0), $si__input_sections_length = _serialize_if($scope0_reason, 10), $sg__input_sections__OR__input_folded__OR__input_summary = _serialize_guard($scope0_reason, 4), $si__input_summary = _serialize_if($scope0_reason, 11), $si__input_sections__OR__input_detail = _serialize_if($scope0_reason, 1), $si__input_detail = _serialize_if($scope0_reason, 12);
13602
13562
  const $scope0_id = _scope_id();
13603
13563
  const $input_detail__closures = /* @__PURE__ */ new Set();
13604
13564
  let filter$1 = input.filter;
13605
13565
  let width = diffTreeWidth();
13606
13566
  let dragging$1 = false;
13607
13567
  const lone = input.sections.length === 1;
13568
+ const foldedSections = lone ? [] : input.sections.filter((s) => input.folded.has(s.id));
13608
13569
  const dragBox = { id: -1 };
13609
13570
  const startDrag = _resume((e) => {
13610
13571
  if (e.pointerType === "mouse" && e.button !== 0) return;
@@ -13624,7 +13585,44 @@ var review_tree_default = _template("z", (input) => {
13624
13585
  dragging$1 = false;
13625
13586
  if (width != null) setDiffTreeWidth(width);
13626
13587
  }, "z2", $scope0_id);
13627
- _html(`<div${_attr_class(["_jA", { ["_jz"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_jX", { ["_jW"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}<div${_attr_class("_jB")}>`);
13588
+ _html(`<div${_attr_class(["_jd", { ["_jc"]: input.open === false }])}${width != null ? _attr_style(`--tree-w:${width}px`) : ""}><div${_attr_class(["_jH", { ["_jG"]: dragging$1 }])} title="Drag to resize"></div>${_el_resume($scope0_id, "b")}`);
13589
+ const Compare = { content: _content("z4", ({ section }) => {
13590
+ const $scope7_id = _scope_id();
13591
+ const $Compare_content__section_compare_topic__closures = /* @__PURE__ */ new Set();
13592
+ const $Compare_content__section_compare_head__closures = /* @__PURE__ */ new Set();
13593
+ const $scope7_reason = _scope_reason(), $sg__section_compare_topic = _serialize_guard($scope7_reason, 3), $sg__section_compare_head = _serialize_guard($scope7_reason, 4), $si__section_compare = _serialize_if($scope7_reason, 1), $sg__section_compare_topic__OR__section_compare_head = _serialize_guard($scope7_reason, 0), $sg__section_compare_title = _serialize_guard($scope7_reason, 2), $sg__section_compare_base = _serialize_guard($scope7_reason, 5), $sg__section_compare = _serialize_guard($scope7_reason, 1), $si__section_compare_topic = _serialize_if($scope7_reason, 3), $si__section_compare_head = _serialize_if($scope7_reason, 4);
13594
+ _if(() => {
13595
+ if (section.compare) {
13596
+ const $scope9_id = _scope_id();
13597
+ _html(`<span${_attr_class("_jw")}${_attr("title", section.compare.title)}>`);
13598
+ _if(() => {
13599
+ if (section.compare.topic) {
13600
+ const $scope10_id = _scope_id();
13601
+ _html(`<span${_attr_class("_jy")}>${_text_resume($scope10_id, "b", section.compare.topic, $sg__section_compare_topic)}</span>`);
13602
+ $si__section_compare && _subscribe($si__section_compare_topic && $Compare_content__section_compare_topic__closures, writeScope($scope10_id, { _: _scope_with_id($scope9_id) }));
13603
+ return 0;
13604
+ } else if (section.compare.head) {
13605
+ const $scope11_id = _scope_id();
13606
+ _html(`<span${_attr_class("_jx")}>${_text_resume($scope11_id, "b", section.compare.head, $sg__section_compare_head)}</span>`);
13607
+ $si__section_compare && _subscribe($si__section_compare_head && $Compare_content__section_compare_head__closures, writeScope($scope11_id, { _: _scope_with_id($scope9_id) }));
13608
+ return 1;
13609
+ }
13610
+ }, $scope9_id, "b", $sg__section_compare_topic__OR__section_compare_head, $sg__section_compare_topic__OR__section_compare_head, $sg__section_compare_topic__OR__section_compare_head, 0, 1);
13611
+ _html(` vs ${_text_resume($scope9_id, "c", section.compare.base, $sg__section_compare_base * 2)}</span>${_el_resume($scope9_id, "a", $sg__section_compare_title)}`);
13612
+ $si__section_compare && writeScope($scope9_id, { _: _scope_with_id($scope7_id) });
13613
+ return 0;
13614
+ }
13615
+ }, $scope7_id, "a", $sg__section_compare, $sg__section_compare, $sg__section_compare, 0, 1);
13616
+ $si__section_compare && writeScope($scope7_id, {
13617
+ f: section?.compare?.title,
13618
+ g: section?.compare?.topic,
13619
+ h: section?.compare?.head,
13620
+ i: section?.compare?.base,
13621
+ k: $si__section_compare_topic && $Compare_content__section_compare_topic__closures,
13622
+ l: $si__section_compare_head && $Compare_content__section_compare_head__closures
13623
+ });
13624
+ }, $scope0_id) };
13625
+ _html(`<div${_attr_class("_je")}>`);
13628
13626
  _set_serialize_reason(2);
13629
13627
  const $childScope = _peek_scope_id();
13630
13628
  file_filter_default({
@@ -13637,131 +13635,181 @@ var review_tree_default = _template("z", (input) => {
13637
13635
  _if(() => {
13638
13636
  if (input.summary) {
13639
13637
  const $scope1_id = _scope_id();
13640
- _html(`<div${_attr_class("_jC")}>`);
13638
+ _html(`<div${_attr_class("_jf")}>`);
13641
13639
  _dynamic_tag($scope1_id, "b", input.summary, {}, 0, 0, $sg__input_summary);
13642
13640
  _html("</div>");
13643
13641
  $si__input_summary && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
13644
13642
  return 0;
13645
13643
  }
13646
- }, $scope0_id, "e", $sg__input_summary, $sg__input_summary, $sg__input_summary, 0, 1);
13647
- _html(`<div${_attr_class("_jD")}><div${_attr_class(["_jF", { ["_jE"]: lone }])}>`);
13644
+ }, $scope0_id, "e", $sg__input_summary, $sg__input_summary, $sg__input_sections__OR__input_folded__OR__input_summary, 0, 1);
13645
+ _html(`<div${_attr_class("_jg")}><div${_attr_class(["_ji", { ["_jh"]: lone }])}>`);
13648
13646
  _for_of(input.sections, (section$2) => {
13649
13647
  const $scope2_id = _scope_id();
13650
13648
  const $for_content__section_additions__closures = /* @__PURE__ */ new Set();
13651
13649
  const $for_content__section_deletions__closures = /* @__PURE__ */ new Set();
13652
13650
  const isFolded = !lone && input.folded.has(section$2.id);
13653
13651
  const count = section$2.files.length !== section$2.total ? `${section$2.files.length}/${section$2.total}` : `${section$2.total}`;
13654
- _html(`<div${_attr_class(["_jJ", {
13655
- ["_jG"]: lone,
13656
- ["_jH"]: isFolded,
13657
- ["_jI"]: !lone && section$2.id === input.active
13658
- }])}${_attr("data-section", section$2.id)}><div${_attr_class("_jK")} data-head>`);
13652
+ _html(`<div${_attr_class(["_jm", {
13653
+ ["_jj"]: lone,
13654
+ ["_jk"]: isFolded,
13655
+ ["_jl"]: !lone && section$2.id === input.active
13656
+ }])}${_attr("data-section", section$2.id)}><div${_attr_class("_jr")} data-head>`);
13659
13657
  _if(() => {
13660
13658
  if (lone) {
13661
- const $scope5_id = _scope_id();
13662
- _html(`<div${_attr_class("_jL")}><span${_attr_class("_jO")}>${_text_resume($scope5_id, "c", section$2.label, $sg__input_sections)}</span>`);
13659
+ const $scope8_id = _scope_id();
13660
+ _html(`<div${_attr_class("_js")}><span${_attr_class("_jv")}>${_text_resume($scope8_id, "c", section$2.label, $sg__input_sections)}</span>`);
13661
+ _set_serialize_reason({
13662
+ 0: $sg__input_sections,
13663
+ 1: $sg__input_sections,
13664
+ 2: $sg__input_sections,
13665
+ 3: $sg__input_sections,
13666
+ 4: $sg__input_sections,
13667
+ 5: $sg__input_sections
13668
+ });
13669
+ const $childScope2 = _peek_scope_id();
13670
+ Compare.content({ section: section$2 });
13663
13671
  _if(() => {
13664
13672
  if (section$2.additions || section$2.deletions) {
13665
- const $scope6_id = _scope_id();
13666
- _html(`<span${_attr_class("_jP")}><span${_attr_class("_jQ")}>+${_text_resume($scope6_id, "c", section$2.additions, $sg__input_sections * 2)}</span><span${_attr_class("_jR")}>−${_text_resume($scope6_id, "e", section$2.deletions, $sg__input_sections * 2)}</span></span>`);
13667
- $si__input_sections && _subscribe($for_content__section_deletions__closures, _subscribe($for_content__section_additions__closures, writeScope($scope6_id, { _: _scope_with_id($scope5_id) })));
13673
+ const $scope12_id = _scope_id();
13674
+ _html(`<span${_attr_class("_jz")}><span${_attr_class("_jA")}>+${_text_resume($scope12_id, "c", section$2.additions, $sg__input_sections * 2)}</span><span${_attr_class("_jB")}>−${_text_resume($scope12_id, "e", section$2.deletions, $sg__input_sections * 2)}</span></span>`);
13675
+ $si__input_sections && _subscribe($for_content__section_deletions__closures, _subscribe($for_content__section_additions__closures, writeScope($scope12_id, { _: _scope_with_id($scope8_id) })));
13668
13676
  return 0;
13669
13677
  }
13670
- }, $scope5_id, "d", $sg__input_sections, $sg__input_sections, $sg__input_sections, 0, 1);
13671
- _html(`<span${_attr_class("_jS")}>${_text_resume($scope5_id, "f", count, $sg__input_sections)}</span></div>`);
13672
- $si__input_sections && writeScope($scope5_id, { _: _scope_with_id($scope2_id) });
13678
+ }, $scope8_id, "e", $sg__input_sections, $sg__input_sections, $sg__input_sections, 0, 1);
13679
+ _html(`<span${_attr_class("_jC")}>${_text_resume($scope8_id, "g", count, $sg__input_sections)}</span></div>`);
13680
+ $si__input_sections && writeScope($scope8_id, {
13681
+ _: _scope_with_id($scope2_id),
13682
+ d: _existing_scope($childScope2)
13683
+ });
13673
13684
  return 0;
13674
13685
  } else {
13675
13686
  const $scope3_id = _scope_id();
13676
- _html(`<button type=button${_attr_class(["_jL", "_jM"])}${isFolded ? _attr("title", `${section$2.label}: show its files in the review`) : _attr("title", `${section$2.label}: hide its files from the review`)} aria-expanded=${isFolded ? "false" : "true"}><span${_attr_class("_jN")} aria-hidden=true>`);
13687
+ _html(`<button type=button${_attr_class(["_js", "_jt"])}${isFolded ? _attr("title", `${section$2.label}: show its files in the review`) : _attr("title", `${section$2.label}: hide its files from the review`)} aria-expanded=${isFolded ? "false" : "true"}><span${_attr_class("_ju")} aria-hidden=true>`);
13677
13688
  icon_chevron_right_default({ size: 12 });
13678
- _html(`</span><span${_attr_class("_jO")}>${_text_resume($scope3_id, "e", section$2.label, $sg__input_sections)}</span>`);
13689
+ _html(`</span><span${_attr_class("_jv")}>${_text_resume($scope3_id, "e", section$2.label, $sg__input_sections)}</span>`);
13690
+ _set_serialize_reason({
13691
+ 0: $sg__input_sections,
13692
+ 1: $sg__input_sections,
13693
+ 2: $sg__input_sections,
13694
+ 3: $sg__input_sections,
13695
+ 4: $sg__input_sections,
13696
+ 5: $sg__input_sections
13697
+ });
13698
+ const $childScope3 = _peek_scope_id();
13699
+ Compare.content({ section: section$2 });
13679
13700
  _if(() => {
13680
13701
  if (section$2.additions || section$2.deletions) {
13681
- const $scope7_id = _scope_id();
13682
- _html(`<span${_attr_class("_jP")}><span${_attr_class("_jQ")}>+${_text_resume($scope7_id, "c", section$2.additions, $sg__input_sections * 2)}</span><span${_attr_class("_jR")}>−${_text_resume($scope7_id, "e", section$2.deletions, $sg__input_sections * 2)}</span></span>`);
13683
- $si__input_sections && _subscribe($for_content__section_deletions__closures, _subscribe($for_content__section_additions__closures, writeScope($scope7_id, {
13702
+ const $scope13_id = _scope_id();
13703
+ _html(`<span${_attr_class("_jz")}><span${_attr_class("_jA")}>+${_text_resume($scope13_id, "c", section$2.additions, $sg__input_sections * 2)}</span><span${_attr_class("_jB")}>−${_text_resume($scope13_id, "e", section$2.deletions, $sg__input_sections * 2)}</span></span>`);
13704
+ $si__input_sections && _subscribe($for_content__section_deletions__closures, _subscribe($for_content__section_additions__closures, writeScope($scope13_id, {
13684
13705
  _: _scope_with_id($scope3_id),
13685
- Cy: 1,
13686
- Cz: 1
13706
+ Cz: 1,
13707
+ Ca0: 1
13687
13708
  })));
13688
13709
  return 0;
13689
13710
  }
13690
- }, $scope3_id, "f", $sg__input_sections, $sg__input_sections, $sg__input_sections, 0, 1);
13691
- _html(`<span${_attr_class("_jS")}>${_text_resume($scope3_id, "h", count, $sg__input_sections)}</span></button>${_el_resume($scope3_id, "a")}`);
13692
- _script($scope3_id, "z4");
13693
- writeScope($scope3_id, { _: _scope_with_id($scope2_id) });
13711
+ }, $scope3_id, "g", $sg__input_sections, $sg__input_sections, $sg__input_sections, 0, 1);
13712
+ _html(`<span${_attr_class("_jC")}>${_text_resume($scope3_id, "i", count, $sg__input_sections)}</span></button>${_el_resume($scope3_id, "a")}`);
13713
+ _script($scope3_id, "z5");
13714
+ writeScope($scope3_id, {
13715
+ _: _scope_with_id($scope2_id),
13716
+ f: $si__input_sections && _existing_scope($childScope3)
13717
+ });
13694
13718
  return 1;
13695
13719
  }
13696
13720
  }, $scope2_id, "c", $sg__input_sections__OR__input_folded || $sg__input_sections, $sg__input_sections_length, $sg__input_sections_length__OR__input_detail, 0, 1);
13697
13721
  _if(() => {
13698
13722
  if (input.detail) {
13699
13723
  const $scope4_id = _scope_id();
13700
- _html(`<div${_attr_class("_jT")}>`);
13724
+ _html(`<div${_attr_class("_jD")}>`);
13701
13725
  _dynamic_tag($scope4_id, "b", input.detail, { id: section$2.id }, 0, 0, $sg__input_sections__OR__input_detail);
13702
13726
  _html("</div>");
13703
13727
  $si__input_sections__OR__input_detail && _subscribe($si__input_detail && $input_detail__closures, writeScope($scope4_id, { _: _scope_with_id($scope2_id) }));
13704
13728
  return 0;
13705
13729
  }
13706
13730
  }, $scope2_id, "d", $sg__input_sections__OR__input_detail, $sg__input_detail, $sg__input_sections_length__OR__input_detail, 0, 1);
13707
- _html(`</div><div${_attr_class(["_jV", { ["_jU"]: lone }])}${_attr("data-tree", section$2.id)}${_attr("hidden", isFolded || !section$2.files.length)}></div>${_el_resume($scope2_id, "e", $sg__input_sections__OR__input_folded)}</div>${_el_resume($scope2_id, "a", $sg__input_sections__OR__input_folded__OR__input_active)}`);
13731
+ _html(`</div><div${_attr_class(["_jF", { ["_jE"]: lone }])}${_attr("data-tree", section$2.id)}${_attr("hidden", isFolded || !section$2.files.length)}></div>${_el_resume($scope2_id, "e", $sg__input_sections__OR__input_folded)}</div>${_el_resume($scope2_id, "a", $sg__input_sections__OR__input_folded__OR__input_active)}`);
13708
13732
  writeScope($scope2_id, {
13733
+ g: $si__input_sections_length && section$2,
13709
13734
  h: section$2?.id,
13710
13735
  k: $si__input_sections__OR__input_folded && section$2?.files?.length,
13711
13736
  n: $si__input_sections__OR__input_folded && section$2?.label,
13712
13737
  o: $si__input_sections && section$2?.additions,
13713
13738
  p: $si__input_sections && section$2?.deletions,
13714
13739
  q: _serialize_if($scope0_reason, 2) && isFolded,
13715
- v: _serialize_if($scope0_reason, 9) && count,
13740
+ v: $si__input_sections_length && count,
13716
13741
  _: _scope_with_id($scope0_id),
13717
- y: $si__input_sections && $for_content__section_additions__closures,
13718
- z: $si__input_sections && $for_content__section_deletions__closures
13742
+ z: $si__input_sections && $for_content__section_additions__closures,
13743
+ a0: $si__input_sections && $for_content__section_deletions__closures
13719
13744
  });
13720
- }, "id", $scope0_id, "g", _serialize_guard($scope0_reason, 5), 1, $sg__input_sections, "</div>", 1);
13721
- _html(`</div>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "a")}`);
13722
- _script($scope0_id, "z5");
13723
- _script($scope0_id, "z6");
13745
+ }, "id", $scope0_id, "g", _serialize_guard($scope0_reason, 6), 1, $sg__input_sections, "</div>", 1);
13746
+ _html(`</div>${_el_resume($scope0_id, "f")}`);
13747
+ _if(() => {
13748
+ if (foldedSections.length) {
13749
+ const $scope5_id = _scope_id();
13750
+ _html(`<div${_attr_class("_jn")} role=group aria-label="Folded sections">`);
13751
+ _for_of(foldedSections, (section) => {
13752
+ const $scope6_id = _scope_id();
13753
+ _html(`<button type=button${_attr_class(["_u", "_jo"])}${_attr("title", `${section.label}: show its ${section.files.length} file${section.files.length === 1 ? "" : "s"} in the review`)} aria-expanded=false><span${_attr_class("_jp")} aria-hidden=true>`);
13754
+ icon_chevron_right_default({ size: 10 });
13755
+ _html(`</span><span${_attr_class("_jq")}>${_text_resume($scope6_id, "e", section.label, $sg__input_sections__OR__input_folded)}</span></button>${_el_resume($scope6_id, "a")}`);
13756
+ _script($scope6_id, "z6");
13757
+ writeScope($scope6_id, {
13758
+ l: section?.id,
13759
+ _: _scope_with_id($scope5_id)
13760
+ });
13761
+ }, "id", $scope5_id, "a", $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, "</div>", 1);
13762
+ writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
13763
+ return 0;
13764
+ }
13765
+ }, $scope0_id, "h", $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded__OR__input_summary, 0, 1);
13766
+ _html(`</div>${_el_resume($scope0_id, "a")}`);
13767
+ _script($scope0_id, "z7");
13768
+ _script($scope0_id, "z8");
13724
13769
  writeScope($scope0_id, {
13725
- j: _serialize_if($scope0_reason, 7) && input.filter,
13726
- k: _serialize_if($scope0_reason, 6) && input.filterChange,
13727
- m: input.sections,
13728
- p: $si__input_summary && input.summary,
13729
- q: input.folded,
13730
- r: $si__input_sections__OR__input_folded && input.active,
13731
- s: input.onFold,
13732
- t: $si__input_sections__OR__input_detail && input.detail,
13733
- u: input.commentCounts,
13734
- v: input.newKeys,
13735
- w: input.onSelect,
13736
- a0: width,
13737
- a2: _serialize_if($scope0_reason, 4) && lone,
13738
- a4: dragBox.id,
13739
- a6: startDrag,
13740
- a7: moveDrag,
13741
- a8: endDrag,
13742
- z: input.filterChange || void 0,
13770
+ k: _serialize_if($scope0_reason, 8) && input.filter,
13771
+ l: _serialize_if($scope0_reason, 7) && input.filterChange,
13772
+ n: input.sections,
13773
+ p: input.folded,
13774
+ r: $si__input_summary && input.summary,
13775
+ s: $si__input_sections__OR__input_folded && input.active,
13776
+ t: input.onFold,
13777
+ u: $si__input_sections__OR__input_detail && input.detail,
13778
+ v: input.commentCounts,
13779
+ w: input.newKeys,
13780
+ x: input.onSelect,
13781
+ a1: width,
13782
+ a3: _serialize_if($scope0_reason, 5) && lone,
13783
+ a5: $si__input_sections__OR__input_folded && foldedSections,
13784
+ a8: dragBox.id,
13785
+ aa: startDrag,
13786
+ ab: moveDrag,
13787
+ ac: endDrag,
13788
+ a0: input.filterChange || void 0,
13743
13789
  d: _existing_scope($childScope),
13744
- ac: $si__input_detail && $input_detail__closures
13790
+ ag: $si__input_detail && $input_detail__closures
13745
13791
  });
13746
13792
  });
13747
- var sheetDir = "_js _ba";
13793
+ var sheetDir = "_j4 _ba";
13748
13794
  //#endregion
13749
13795
  //#region src/tags/diff-file-sheet.marko
13750
13796
  var diff_file_sheet_default = _template("i", (input) => {
13751
- const $scope0_reason = _scope_reason(), $sg__input_summary = _serialize_guard($scope0_reason, 17), $sg__input_sections = _serialize_guard($scope0_reason, 15), $sg__input_sections__OR__input_detail = _serialize_guard($scope0_reason, 4), $si__input_detail = _serialize_if($scope0_reason, 19), $sg__input_sections__OR__input_folded__OR__input_detail = _serialize_guard($scope0_reason, 7), $si__input_sections = _serialize_if($scope0_reason, 15), $sg__input_newKeys__OR__input_sections = _serialize_guard($scope0_reason, 1), $sg__input_commentKeys__OR__input_newKeys__OR__input_sections = _serialize_guard($scope0_reason, 6), $sg__input_commentKeys__OR__input_sections = _serialize_guard($scope0_reason, 0), $sg__input_sections__OR__input_folded = _serialize_guard($scope0_reason, 3), $sg__input_sections_length = _serialize_guard($scope0_reason, 16), $sg__input_detail = _serialize_guard($scope0_reason, 19), $si__input_sections_length = _serialize_if($scope0_reason, 16), $sg__input_sections__OR__input_summary = _serialize_guard($scope0_reason, 2), $si__input_summary = _serialize_if($scope0_reason, 17), $si__input_commentKeys = _serialize_if($scope0_reason, 13), $si__input_newKeys = _serialize_if($scope0_reason, 14), $si__input_workspaceId__OR__input_scope = _serialize_if($scope0_reason, 5), $si__input_folded = _serialize_if($scope0_reason, 18);
13797
+ const $scope0_reason = _scope_reason(), $sg__input_summary = _serialize_guard($scope0_reason, 18), $sg__input_sections__OR__input_folded = _serialize_guard($scope0_reason, 0), $si__input_sections__OR__input_folded = _serialize_if($scope0_reason, 0), $sg__input_sections__OR__input_folded__OR__input_detail = _serialize_guard($scope0_reason, 7), $si__input_detail = _serialize_if($scope0_reason, 19), $sg__input_sections_length__OR__input_detail = _serialize_guard($scope0_reason, 2), $sg__input_newKeys__OR__input_sections__OR__input_folded = _serialize_guard($scope0_reason, 5), $sg__input_commentKeys__OR__input_newKeys__OR__input_sections__OR__input_folded = _serialize_guard($scope0_reason, 8), $sg__input_commentKeys__OR__input_sections__OR__input_folded = _serialize_guard($scope0_reason, 4), $sg__input_sections_length = _serialize_guard($scope0_reason, 17), $sg__input_detail = _serialize_guard($scope0_reason, 19), $si__input_sections_length = _serialize_if($scope0_reason, 17), $sg__input_sections__OR__input_folded__OR__input_summary = _serialize_guard($scope0_reason, 6), $sg__input_sections = _serialize_guard($scope0_reason, 16), $si__input_sections = _serialize_if($scope0_reason, 16), $si__input_summary = _serialize_if($scope0_reason, 18), $si__input_commentKeys = _serialize_if($scope0_reason, 14), $si__input_newKeys = _serialize_if($scope0_reason, 15), $si__input_workspaceId__OR__input_scope = _serialize_if($scope0_reason, 3);
13752
13798
  const $scope0_id = _scope_id();
13753
13799
  const $input_summary__closures = /* @__PURE__ */ new Set();
13754
13800
  const $input_detail__closures = /* @__PURE__ */ new Set();
13755
13801
  const $commentKeys__closures = /* @__PURE__ */ new Set();
13756
13802
  const $newKeys__closures = /* @__PURE__ */ new Set();
13757
13803
  const $hrefFor2__closures = /* @__PURE__ */ new Set();
13758
- const $input_folded__closures = /* @__PURE__ */ new Set();
13759
13804
  const $many__closures = /* @__PURE__ */ new Set();
13805
+ const $foldedSections__closures = /* @__PURE__ */ new Set();
13760
13806
  let open = input.open;
13761
13807
  let filter = input.filter;
13762
13808
  const commentKeys = input.commentKeys || /* @__PURE__ */ new Set();
13763
13809
  const newKeys = input.newKeys || /* @__PURE__ */ new Set();
13764
13810
  const many = input.sections.length > 1;
13811
+ const foldedSections = many ? input.sections.filter((s) => input.folded.has(s.id)) : [];
13812
+ const openSections = many ? input.sections.filter((s) => !input.folded.has(s.id)) : input.sections;
13765
13813
  const hrefFor = _resume((key) => urlFor({
13766
13814
  workspaceId: input.workspaceId,
13767
13815
  view: "diff",
@@ -13795,9 +13843,46 @@ var diff_file_sheet_default = _template("i", (input) => {
13795
13843
  _if(() => {
13796
13844
  if (open) {
13797
13845
  const $scope1_id = _scope_id();
13798
- _html(`<div${_attr_class("_je")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_jf")} role=dialog aria-label="Jump to file"><div${_attr_class("_jg")}><strong${_attr_class("_jd")}>Files</strong><span${_attr_class("_z")}></span><button type=button${_attr_class([iconBtnLg, "_jc"])} title=Close aria-label=Close>`);
13846
+ _html(`<div${_attr_class("_jK")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_jL")} role=dialog aria-label="Jump to file"><div${_attr_class("_jM")}><strong${_attr_class("_jJ")}>Files</strong><span${_attr_class("_z")}></span><button type=button${_attr_class([iconBtnLg, "_jI"])} title=Close aria-label=Close>`);
13799
13847
  icon_xmark_default({ size: 16 });
13800
- _html(`</button>${_el_resume($scope1_id, "f")}</div><div${_attr_class("_jv")}>`);
13848
+ _html(`</button>${_el_resume($scope1_id, "f")}</div>`);
13849
+ const Compare = { content: _content("i3", ({ section }) => {
13850
+ const $scope10_id = _scope_id();
13851
+ const $Compare_content__section_compare_topic__closures = /* @__PURE__ */ new Set();
13852
+ const $Compare_content__section_compare_head__closures = /* @__PURE__ */ new Set();
13853
+ const $scope10_reason = _scope_reason(), $sg__section_compare_topic = _serialize_guard($scope10_reason, 3), $sg__section_compare_head = _serialize_guard($scope10_reason, 4), $si__section_compare = _serialize_if($scope10_reason, 1), $sg__section_compare_topic__OR__section_compare_head = _serialize_guard($scope10_reason, 0), $sg__section_compare_title = _serialize_guard($scope10_reason, 2), $sg__section_compare_base = _serialize_guard($scope10_reason, 5), $sg__section_compare = _serialize_guard($scope10_reason, 1), $si__section_compare_topic = _serialize_if($scope10_reason, 3), $si__section_compare_head = _serialize_if($scope10_reason, 4);
13854
+ _if(() => {
13855
+ if (section.compare) {
13856
+ const $scope12_id = _scope_id();
13857
+ _html(`<span${_attr_class("_jX")}${_attr("title", section.compare.title)}>`);
13858
+ _if(() => {
13859
+ if (section.compare.topic) {
13860
+ const $scope13_id = _scope_id();
13861
+ _html(`<span${_attr_class("_jZ")}>${_text_resume($scope13_id, "b", section.compare.topic, $sg__section_compare_topic)}</span>`);
13862
+ $si__section_compare && _subscribe($si__section_compare_topic && $Compare_content__section_compare_topic__closures, writeScope($scope13_id, { _: _scope_with_id($scope12_id) }));
13863
+ return 0;
13864
+ } else if (section.compare.head) {
13865
+ const $scope14_id = _scope_id();
13866
+ _html(`<span${_attr_class("_jY")}>${_text_resume($scope14_id, "b", section.compare.head, $sg__section_compare_head)}</span>`);
13867
+ $si__section_compare && _subscribe($si__section_compare_head && $Compare_content__section_compare_head__closures, writeScope($scope14_id, { _: _scope_with_id($scope12_id) }));
13868
+ return 1;
13869
+ }
13870
+ }, $scope12_id, "b", $sg__section_compare_topic__OR__section_compare_head, $sg__section_compare_topic__OR__section_compare_head, $sg__section_compare_topic__OR__section_compare_head, 0, 1);
13871
+ _html(` vs ${_text_resume($scope12_id, "c", section.compare.base, $sg__section_compare_base * 2)}</span>${_el_resume($scope12_id, "a", $sg__section_compare_title)}`);
13872
+ $si__section_compare && writeScope($scope12_id, { _: _scope_with_id($scope10_id) });
13873
+ return 0;
13874
+ }
13875
+ }, $scope10_id, "a", $sg__section_compare, $sg__section_compare, $sg__section_compare, 0, 1);
13876
+ $si__section_compare && writeScope($scope10_id, {
13877
+ f: section?.compare?.title,
13878
+ g: section?.compare?.topic,
13879
+ h: section?.compare?.head,
13880
+ i: section?.compare?.base,
13881
+ k: $si__section_compare_topic && $Compare_content__section_compare_topic__closures,
13882
+ l: $si__section_compare_head && $Compare_content__section_compare_head__closures
13883
+ });
13884
+ }, $scope1_id) };
13885
+ _html(`<div${_attr_class("_j7")}>`);
13801
13886
  _set_serialize_reason(2);
13802
13887
  const $childScope = _peek_scope_id();
13803
13888
  file_filter_default({
@@ -13809,161 +13894,204 @@ var diff_file_sheet_default = _template("i", (input) => {
13809
13894
  _if(() => {
13810
13895
  if (input.summary) {
13811
13896
  const $scope2_id = _scope_id();
13812
- _html(`<div${_attr_class("_ju")}>`);
13897
+ _html(`<div${_attr_class("_j6")}>`);
13813
13898
  _dynamic_tag($scope2_id, "b", input.summary, {}, 0, 0, $sg__input_summary);
13814
13899
  _html("</div>");
13815
13900
  _subscribe($si__input_summary && $input_summary__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }));
13816
13901
  return 0;
13817
13902
  }
13818
- }, $scope1_id, "j", $sg__input_summary, $sg__input_summary, $sg__input_sections__OR__input_summary, 0, 1);
13819
- _html(`</div><div${_attr_class("_jh")}>`);
13820
- _for_of(input.sections, (section) => {
13903
+ }, $scope1_id, "j", $sg__input_summary, $sg__input_summary, $sg__input_sections__OR__input_folded__OR__input_summary, 0, 1);
13904
+ _html(`</div><div${_attr_class("_jN")}>`);
13905
+ _for_of(openSections, (section) => {
13821
13906
  const $scope3_id = _scope_id();
13822
- const isFolded = many && input.folded.has(section.id);
13823
13907
  const count = section.files.length !== section.total ? `${section.files.length}/${section.total}` : `${section.total}`;
13824
- _html(`<div${_attr_class(["_jj", { ["_ji"]: isFolded }])}>`);
13908
+ _html(`<div${_attr_class("_jO")}>`);
13825
13909
  _if(() => {
13826
13910
  if (many) {
13827
13911
  const $scope4_id = _scope_id();
13828
- _html(`<button type=button${_attr_class(["_jk", "_jl"])} aria-expanded=${isFolded ? "false" : "true"} title=${isFolded ? "\"Show this section's files in the review\"" : "\"Hide this section's files from the review\""}><span${_attr_class("_jm")} aria-hidden=true>`);
13912
+ _html(`<button type=button${_attr_class(["_jT", "_jU"])} aria-expanded=true title="Hide this section's files from the review"><span${_attr_class("_jV")} aria-hidden=true>`);
13829
13913
  icon_chevron_right_default({ size: 12 });
13830
- _html(`</span><span${_attr_class("_jn")}>${_text_resume($scope4_id, "e", section.label, $sg__input_sections)}</span><span${_attr_class("_jo")}>${_text_resume($scope4_id, "g", count, $sg__input_sections)}</span></button>${_el_resume($scope4_id, "a")}`);
13831
- _script($scope4_id, "i3");
13832
- writeScope($scope4_id, { _: _scope_with_id($scope3_id) });
13914
+ _html(`</span><span${_attr_class("_jW")}>${_text_resume($scope4_id, "e", section.label, $sg__input_sections__OR__input_folded)}</span>`);
13915
+ _set_serialize_reason({
13916
+ 0: $sg__input_sections__OR__input_folded,
13917
+ 1: $sg__input_sections__OR__input_folded,
13918
+ 2: $sg__input_sections__OR__input_folded,
13919
+ 3: $sg__input_sections__OR__input_folded,
13920
+ 4: $sg__input_sections__OR__input_folded,
13921
+ 5: $sg__input_sections__OR__input_folded
13922
+ });
13923
+ const $childScope2 = _peek_scope_id();
13924
+ Compare.content({ section });
13925
+ _html(`<span${_attr_class("_j0")}>${_text_resume($scope4_id, "h", count, $sg__input_sections__OR__input_folded)}</span></button>${_el_resume($scope4_id, "a")}`);
13926
+ _script($scope4_id, "i4");
13927
+ writeScope($scope4_id, {
13928
+ _: _scope_with_id($scope3_id),
13929
+ f: $si__input_sections__OR__input_folded && _existing_scope($childScope2)
13930
+ });
13833
13931
  return 0;
13834
13932
  } else {
13835
- const $scope9_id = _scope_id();
13836
- _html(`<div${_attr_class("_jk")}><span${_attr_class("_jn")}>${_text_resume($scope9_id, "c", section.label, $sg__input_sections)}</span><span${_attr_class("_jo")}>${_text_resume($scope9_id, "e", count, $sg__input_sections)}</span></div>`);
13837
- $si__input_sections && writeScope($scope9_id, { _: _scope_with_id($scope3_id) });
13933
+ const $scope11_id = _scope_id();
13934
+ _html(`<div${_attr_class("_jT")}><span${_attr_class("_jW")}>${_text_resume($scope11_id, "c", section.label, $sg__input_sections__OR__input_folded)}</span>`);
13935
+ _set_serialize_reason({
13936
+ 0: $sg__input_sections__OR__input_folded,
13937
+ 1: $sg__input_sections__OR__input_folded,
13938
+ 2: $sg__input_sections__OR__input_folded,
13939
+ 3: $sg__input_sections__OR__input_folded,
13940
+ 4: $sg__input_sections__OR__input_folded,
13941
+ 5: $sg__input_sections__OR__input_folded
13942
+ });
13943
+ const $childScope3 = _peek_scope_id();
13944
+ Compare.content({ section });
13945
+ _html(`<span${_attr_class("_j0")}>${_text_resume($scope11_id, "f", count, $sg__input_sections__OR__input_folded)}</span></div>`);
13946
+ $si__input_sections__OR__input_folded && writeScope($scope11_id, {
13947
+ _: _scope_with_id($scope3_id),
13948
+ d: _existing_scope($childScope3)
13949
+ });
13838
13950
  return 1;
13839
13951
  }
13840
- }, $scope3_id, "b", $sg__input_sections__OR__input_folded || $sg__input_sections, $sg__input_sections_length, $sg__input_sections__OR__input_folded__OR__input_detail, 0, 1);
13952
+ }, $scope3_id, "b", $sg__input_sections__OR__input_folded, $sg__input_sections_length, $sg__input_sections_length__OR__input_detail, 0, 1);
13841
13953
  _if(() => {
13842
13954
  if (input.detail) {
13843
13955
  const $scope5_id = _scope_id();
13844
- _html(`<div${_attr_class("_jp")}>`);
13845
- _dynamic_tag($scope5_id, "b", input.detail, { id: section.id }, 0, 0, $sg__input_sections__OR__input_detail);
13956
+ _html(`<div${_attr_class("_j1")}>`);
13957
+ _dynamic_tag($scope5_id, "b", input.detail, { id: section.id }, 0, 0, $sg__input_sections__OR__input_folded__OR__input_detail);
13846
13958
  _html("</div>");
13847
13959
  _subscribe($si__input_detail && $input_detail__closures, writeScope($scope5_id, {
13848
13960
  _: _scope_with_id($scope3_id),
13849
- Ca7: $si__input_detail && 1
13961
+ Ca9: $si__input_detail && 1
13850
13962
  }));
13851
13963
  return 0;
13852
13964
  }
13853
- }, $scope3_id, "c", $sg__input_sections__OR__input_detail, $sg__input_detail, $sg__input_sections__OR__input_folded__OR__input_detail, 0, 1);
13854
- _if(() => {
13855
- if (!isFolded) {
13856
- const $scope6_id = _scope_id();
13857
- _for_of(dirsOf(section), ({ dir, files }) => {
13858
- const $scope7_id = _scope_id();
13859
- _html(`<div${_attr_class("_jq")}>`);
13860
- _if(() => {
13861
- if (dir) {
13862
- const $scope10_id = _scope_id();
13863
- _html(`<div${_attr_class(sheetDir)}${_attr("title", dir)}><bdi>${_text_resume($scope10_id, "b", dir, $sg__input_sections)}/</bdi></div>${_el_resume($scope10_id, "a", $sg__input_sections)}`);
13864
- $si__input_sections && writeScope($scope10_id, { _: _scope_with_id($scope7_id) });
13865
- return 0;
13866
- }
13867
- }, $scope7_id, "b", $sg__input_sections, $sg__input_sections, $sg__input_sections, 0, 1);
13868
- _for_of(files, ({ file, name }) => {
13869
- const $scope8_id = _scope_id();
13870
- _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_jr", "_y"])}><span${_attr_class("__")}${_attr("data-status", file.status)}>${_text_resume($scope8_id, "c", file.status, $sg__input_sections)}</span>${_el_resume($scope8_id, "b", $sg__input_sections)}<span${_attr_class("_jt")}><bdi>${_text_resume($scope8_id, "e", name, $sg__input_sections)}</bdi></span>`);
13871
- _if(() => {
13872
- if (newKeys.has(file.key)) {
13873
- const $scope11_id = _scope_id();
13874
- _html(`<span${_attr_class(["_A", "_jx"])} title="Changed since your last visit"></span>`);
13875
- _serialize_if($scope0_reason, 1) && writeScope($scope11_id, {});
13876
- return 0;
13877
- }
13878
- }, $scope8_id, "f", $sg__input_newKeys__OR__input_sections, $sg__input_newKeys__OR__input_sections, $sg__input_commentKeys__OR__input_newKeys__OR__input_sections, 0, 1);
13879
- _if(() => {
13880
- if (commentKeys.has(file.key)) {
13881
- const $scope12_id = _scope_id();
13882
- icon_comment_default({
13883
- size: 12,
13884
- class: "_jy"
13885
- });
13886
- _serialize_if($scope0_reason, 0) && writeScope($scope12_id, {});
13887
- return 0;
13888
- }
13889
- }, $scope8_id, "g", $sg__input_commentKeys__OR__input_sections, $sg__input_commentKeys__OR__input_sections, $sg__input_commentKeys__OR__input_newKeys__OR__input_sections, 0, 1);
13890
- _html(`</a>${_el_resume($scope8_id, "a")}`);
13891
- _script($scope8_id, "i4");
13892
- _subscribe($si__input_workspaceId__OR__input_scope && $hrefFor2__closures, _subscribe($si__input_newKeys && $newKeys__closures, _subscribe($si__input_commentKeys && $commentKeys__closures, writeScope($scope8_id, {
13893
- k: _serialize_if($scope0_reason, 8) && file?.key,
13894
- _: _scope_with_id($scope7_id)
13895
- }))));
13896
- }, (f) => f.file.key, $scope7_id, "c", $sg__input_sections, $sg__input_sections, $sg__input_sections, 0, 1);
13897
- _html("</div>");
13898
- writeScope($scope7_id, {
13899
- f: $si__input_sections && dir,
13900
- _: _scope_with_id($scope6_id)
13901
- });
13902
- }, "dir", $scope6_id, "a", $sg__input_sections, $sg__input_sections, $sg__input_sections, 0, 1);
13903
- writeScope($scope6_id, { _: _scope_with_id($scope3_id) });
13904
- return 0;
13905
- }
13906
- }, $scope3_id, "d", $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded__OR__input_detail);
13907
- _html(`</div>${_el_resume($scope3_id, "a", $sg__input_sections__OR__input_folded)}`);
13908
- _subscribe($si__input_sections_length && $many__closures, _subscribe($si__input_detail && $input_detail__closures, _subscribe($si__input_folded && $input_folded__closures, writeScope($scope3_id, {
13909
- f: _serialize_if($scope0_reason, 3) && section,
13910
- g: section?.id,
13965
+ }, $scope3_id, "c", $sg__input_sections__OR__input_folded__OR__input_detail, $sg__input_detail, $sg__input_sections_length__OR__input_detail, 0, 1);
13966
+ _for_of(dirsOf(section), ({ dir, files }) => {
13967
+ const $scope8_id = _scope_id();
13968
+ _html(`<div${_attr_class("_j2")}>`);
13969
+ _if(() => {
13970
+ if (dir) {
13971
+ const $scope15_id = _scope_id();
13972
+ _html(`<div${_attr_class(sheetDir)}${_attr("title", dir)}><bdi>${_text_resume($scope15_id, "b", dir, $sg__input_sections__OR__input_folded)}/</bdi></div>${_el_resume($scope15_id, "a", $sg__input_sections__OR__input_folded)}`);
13973
+ $si__input_sections__OR__input_folded && writeScope($scope15_id, { _: _scope_with_id($scope8_id) });
13974
+ return 0;
13975
+ }
13976
+ }, $scope8_id, "b", $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, 0, 1);
13977
+ _for_of(files, ({ file, name }) => {
13978
+ const $scope9_id = _scope_id();
13979
+ _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_j3", "_y"])}><span${_attr_class("__")}${_attr("data-status", file.status)}>${_text_resume($scope9_id, "c", file.status, $sg__input_sections__OR__input_folded)}</span>${_el_resume($scope9_id, "b", $sg__input_sections__OR__input_folded)}<span${_attr_class("_j5")}><bdi>${_text_resume($scope9_id, "e", name, $sg__input_sections__OR__input_folded)}</bdi></span>`);
13980
+ _if(() => {
13981
+ if (newKeys.has(file.key)) {
13982
+ const $scope16_id = _scope_id();
13983
+ _html(`<span${_attr_class(["_A", "_j9"])} title="Changed since your last visit"></span>`);
13984
+ _serialize_if($scope0_reason, 5) && writeScope($scope16_id, {});
13985
+ return 0;
13986
+ }
13987
+ }, $scope9_id, "f", $sg__input_newKeys__OR__input_sections__OR__input_folded, $sg__input_newKeys__OR__input_sections__OR__input_folded, $sg__input_commentKeys__OR__input_newKeys__OR__input_sections__OR__input_folded, 0, 1);
13988
+ _if(() => {
13989
+ if (commentKeys.has(file.key)) {
13990
+ const $scope17_id = _scope_id();
13991
+ icon_comment_default({
13992
+ size: 12,
13993
+ class: "_j_"
13994
+ });
13995
+ _serialize_if($scope0_reason, 4) && writeScope($scope17_id, {});
13996
+ return 0;
13997
+ }
13998
+ }, $scope9_id, "g", $sg__input_commentKeys__OR__input_sections__OR__input_folded, $sg__input_commentKeys__OR__input_sections__OR__input_folded, $sg__input_commentKeys__OR__input_newKeys__OR__input_sections__OR__input_folded, 0, 1);
13999
+ _html(`</a>${_el_resume($scope9_id, "a")}`);
14000
+ _script($scope9_id, "i5");
14001
+ _subscribe($si__input_workspaceId__OR__input_scope && $hrefFor2__closures, _subscribe($si__input_newKeys && $newKeys__closures, _subscribe($si__input_commentKeys && $commentKeys__closures, writeScope($scope9_id, {
14002
+ k: _serialize_if($scope0_reason, 9) && file?.key,
14003
+ _: _scope_with_id($scope8_id)
14004
+ }))));
14005
+ }, (f) => f.file.key, $scope8_id, "c", $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, 0, 1);
14006
+ _html("</div>");
14007
+ writeScope($scope8_id, {
14008
+ f: $si__input_sections__OR__input_folded && dir,
14009
+ _: _scope_with_id($scope3_id)
14010
+ });
14011
+ }, "dir", $scope3_id, "d", $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, 0, 1);
14012
+ _html("</div>");
14013
+ _subscribe($si__input_sections_length && $many__closures, _subscribe($si__input_detail && $input_detail__closures, writeScope($scope3_id, {
14014
+ f: $si__input_sections_length && section,
14015
+ l: section?.id,
13911
14016
  m: $si__input_sections_length && section?.label,
13912
- n: $si__input_sections_length && isFolded,
13913
- o: $si__input_sections_length && count,
14017
+ n: $si__input_sections_length && count,
13914
14018
  _: _scope_with_id($scope1_id)
13915
- }))));
13916
- }, "id", $scope1_id, "l", $sg__input_sections, $sg__input_sections, $sg__input_sections, 0, 1);
14019
+ })));
14020
+ }, "id", $scope1_id, "l", $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, 0, 1);
13917
14021
  _if(() => {
13918
14022
  if (!shown) {
13919
- const $scope13_id = _scope_id();
13920
- _html(`<p${_attr_class("_jw")}>No files match.</p>`);
13921
- $si__input_sections && writeScope($scope13_id, {});
14023
+ const $scope18_id = _scope_id();
14024
+ _html(`<p${_attr_class("_j8")}>No files match.</p>`);
14025
+ $si__input_sections && writeScope($scope18_id, {});
13922
14026
  return 0;
13923
14027
  }
13924
- }, $scope1_id, "m", $sg__input_sections, $sg__input_sections, $sg__input_sections__OR__input_summary, 0, 1);
13925
- _html("</div></div>");
13926
- _script($scope1_id, "i5");
14028
+ }, $scope1_id, "m", $sg__input_sections, $sg__input_sections, $sg__input_sections__OR__input_folded__OR__input_summary, 0, 1);
14029
+ _html("</div>");
14030
+ _if(() => {
14031
+ if (foldedSections.length) {
14032
+ const $scope6_id = _scope_id();
14033
+ _html(`<div${_attr_class("_jP")} role=group aria-label="Folded sections">`);
14034
+ _for_of(foldedSections, (section) => {
14035
+ const $scope7_id = _scope_id();
14036
+ _html(`<button type=button${_attr_class(["_u", "_jQ"])} aria-expanded=false${_attr("title", `${section.label}: show its ${section.files.length} file${section.files.length === 1 ? "" : "s"} in the review`)}><span${_attr_class("_jR")} aria-hidden=true>`);
14037
+ icon_chevron_right_default({ size: 10 });
14038
+ _html(`</span><span${_attr_class("_jS")}>${_text_resume($scope7_id, "e", section.label, $sg__input_sections__OR__input_folded)}</span></button>${_el_resume($scope7_id, "a")}`);
14039
+ _script($scope7_id, "i6");
14040
+ writeScope($scope7_id, {
14041
+ l: section?.id,
14042
+ _: _scope_with_id($scope6_id)
14043
+ });
14044
+ }, "id", $scope6_id, "a", $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, "</div>", 1);
14045
+ _subscribe($si__input_sections__OR__input_folded && $foldedSections__closures, writeScope($scope6_id, { _: _scope_with_id($scope1_id) }));
14046
+ return 0;
14047
+ }
14048
+ }, $scope1_id, "n", $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded, $sg__input_sections__OR__input_folded__OR__input_summary, 0, 1);
14049
+ _html("</div>");
14050
+ _script($scope1_id, "i7");
13927
14051
  writeScope($scope1_id, { i: _existing_scope($childScope) });
13928
14052
  return 0;
13929
14053
  }
13930
14054
  }, $scope0_id, "a");
13931
14055
  writeScope($scope0_id, {
13932
- d: _serialize_if($scope0_reason, 10) && input.open,
13933
- e: _serialize_if($scope0_reason, 9) && input.openChange,
13934
- g: _serialize_if($scope0_reason, 12) && input.filter,
13935
- h: _serialize_if($scope0_reason, 11) && input.filterChange,
13936
- l: input.sections,
13937
- n: input.workspaceId,
13938
- o: input.scope,
13939
- q: input.summary,
13940
- r: input.folded,
14056
+ d: _serialize_if($scope0_reason, 11) && input.open,
14057
+ e: _serialize_if($scope0_reason, 10) && input.openChange,
14058
+ g: _serialize_if($scope0_reason, 13) && input.filter,
14059
+ h: _serialize_if($scope0_reason, 12) && input.filterChange,
14060
+ l: _serialize_if($scope0_reason, 1) && input.sections,
14061
+ n: $si__input_sections && input.folded,
14062
+ o: input.workspaceId,
14063
+ p: input.scope,
14064
+ r: input.summary,
13941
14065
  s: input.onFold,
13942
14066
  t: input.detail,
13943
14067
  w: filter,
13944
14068
  y: commentKeys,
13945
14069
  z: newKeys,
13946
14070
  a0: many,
13947
- a1: hrefFor,
13948
- a2: dirsOf,
13949
- a3: shown,
14071
+ a2: foldedSections,
14072
+ a3: foldedSections?.length,
14073
+ a4: openSections,
14074
+ a5: hrefFor,
14075
+ a6: dirsOf,
14076
+ a7: shown,
13950
14077
  v: input.openChange || void 0,
13951
14078
  x: input.filterChange || void 0,
13952
- a5: $si__input_summary && $input_summary__closures,
13953
- a7: $si__input_detail && $input_detail__closures,
13954
- a9: $si__input_commentKeys && $commentKeys__closures,
13955
- aa: $si__input_newKeys && $newKeys__closures,
13956
- ac: $si__input_workspaceId__OR__input_scope && $hrefFor2__closures,
13957
- a6: $si__input_folded && $input_folded__closures,
13958
- ab: $si__input_sections_length && $many__closures
14079
+ a8: $si__input_summary && $input_summary__closures,
14080
+ a9: $si__input_detail && $input_detail__closures,
14081
+ ab: $si__input_commentKeys && $commentKeys__closures,
14082
+ ac: $si__input_newKeys && $newKeys__closures,
14083
+ ah: $si__input_workspaceId__OR__input_scope && $hrefFor2__closures,
14084
+ ad: $si__input_sections_length && $many__closures,
14085
+ ae: $si__input_sections__OR__input_folded && $foldedSections__closures
13959
14086
  });
13960
14087
  });
13961
14088
  //#endregion
13962
14089
  //#region src/tags/review-view.marko
13963
14090
  var api$6;
13964
14091
  var getTermDims;
14092
+ var NO_FOLDS = /* @__PURE__ */ new Set();
13965
14093
  var review_view_default = _template("A", (input) => {
13966
- const $scope0_reason = _scope_reason(), $sg__input_workspaceId = _serialize_guard($scope0_reason, 2), $si__input_workspaceBranch = _serialize_if($scope0_reason, 7), $si__input_workspaceName = _serialize_if($scope0_reason, 8);
14094
+ const $scope0_reason = _scope_reason(), $sg__input_workspaceId = _serialize_guard($scope0_reason, 1), $si__input_workspaceBranch = _serialize_if($scope0_reason, 6), $si__input_workspaceName = _serialize_if($scope0_reason, 7);
13967
14095
  const $scope0_id = _scope_id();
13968
14096
  const $findFocus_getter = _hoist($scope0_id, "A37");
13969
14097
  const $error__closures = /* @__PURE__ */ new Set();
@@ -14004,7 +14132,7 @@ var review_view_default = _template("A", (input) => {
14004
14132
  };
14005
14133
  let collapsedFiles = /* @__PURE__ */ new Set();
14006
14134
  let activeRepo = null;
14007
- let foldedRepos = /* @__PURE__ */ new Set();
14135
+ let foldedRepos = new Set(diffFolded(input.workspaceId));
14008
14136
  const headBox = {
14009
14137
  sig: "",
14010
14138
  timer: 0
@@ -14154,7 +14282,6 @@ var review_view_default = _template("A", (input) => {
14154
14282
  })();
14155
14283
  const findKeys = findState.query.trim() ? new Set(findState.keys) : null;
14156
14284
  const listFiles = findKeys ? fileFiltered.filter((f) => findKeys.has(f.key) || f.key === findState.hit?.key) : fileFiltered;
14157
- const shownFiles = listFiles.filter((f) => !foldedRepos.has(f.repo));
14158
14285
  const newKeys = new Set(allFiles.filter((f) => f.changedSince).map((f) => f.key));
14159
14286
  const commentsByFile = (() => {
14160
14287
  const map = /* @__PURE__ */ new Map();
@@ -14211,6 +14338,11 @@ var review_view_default = _template("A", (input) => {
14211
14338
  return {
14212
14339
  id: r.id,
14213
14340
  repo: r,
14341
+ compare: reviewCompareLine({
14342
+ base: r.pr?.baseRefName || r.base,
14343
+ head: r.pr?.headRefName || r.branch,
14344
+ defaultBranch: r.default_branch
14345
+ }, input.workspaceBranch || "", input.workspaceName || ""),
14214
14346
  label: r.pr && (perWorktree.get(r.worktree) || 0) > 1 ? `${r.worktree} #${r.pr.number}` : r.worktree,
14215
14347
  files,
14216
14348
  additions,
@@ -14220,6 +14352,8 @@ var review_view_default = _template("A", (input) => {
14220
14352
  }).filter((s) => s.files.length || !s.total && s.repo.pr);
14221
14353
  })();
14222
14354
  const sectionById = new Map(sections.map((s) => [s.id, s]));
14355
+ const folds = sections.length > 1 ? foldedRepos : NO_FOLDS;
14356
+ const shownFiles = listFiles.filter((f) => !folds.has(f.repo));
14223
14357
  const totals = (() => {
14224
14358
  let additions = 0;
14225
14359
  let deletions = 0;
@@ -14403,24 +14537,24 @@ var review_view_default = _template("A", (input) => {
14403
14537
  else viewBox.scrollToLine(hit.key, hit.line, hit.side);
14404
14538
  }, 0);
14405
14539
  };
14406
- _html(`<div${_attr_class("_eY")}><div${_attr_class("_e3")}><div${_attr_class("_fz")}><div${_attr_class("_e4")}><div${_attr_class("_fa")}>`);
14540
+ _html(`<div${_attr_class("_gl")}><div${_attr_class("_gq")}><div${_attr_class("_gX")}><div${_attr_class("_gr")}><div${_attr_class("_gy")}>`);
14407
14541
  _if(() => {
14408
14542
  if (input.onExit) {
14409
14543
  const $scope1_id = _scope_id();
14410
- _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_e5"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
14544
+ _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_gs"])} title="Back to terminal (⌘/Ctrl+Shift+D)">`);
14411
14545
  icon_back_default({ size: 14 });
14412
14546
  _html(`</a>${_el_resume($scope1_id, "a", $sg__input_workspaceId)}`);
14413
- _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 2) && _scope_with_id($scope0_id) });
14547
+ _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 1) && _scope_with_id($scope0_id) });
14414
14548
  return 0;
14415
14549
  }
14416
- }, $scope0_id, "f", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 9), 1, 0, 1);
14550
+ }, $scope0_id, "f", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 8), 1, 0, 1);
14417
14551
  _html(`<h1${_attr_class(pageTitle)}>Review</h1>`);
14418
14552
  _if(() => {
14419
14553
  if (comments.length) {
14420
14554
  const $scope2_id = _scope_id();
14421
- _html(`<span${_attr_class("_e6")}>`);
14555
+ _html(`<span${_attr_class("_gt")}>`);
14422
14556
  _set_serialize_reason({
14423
- 0: _serialize_guard($scope0_reason, 10),
14557
+ 0: _serialize_guard($scope0_reason, 9),
14424
14558
  1: 1
14425
14559
  });
14426
14560
  const $childScope = _peek_scope_id();
@@ -14435,14 +14569,14 @@ var review_view_default = _template("A", (input) => {
14435
14569
  return 0;
14436
14570
  }
14437
14571
  }, $scope0_id, "h", 1, 1, 1, 0, 1);
14438
- _html(`</div><div${_attr_class(["_e2", "_fy"])}>`);
14572
+ _html(`</div><div${_attr_class(["_gp", "_gW"])}>`);
14439
14573
  _if(() => {
14440
14574
  if (hasFiles) {
14441
14575
  const $scope12_id = _scope_id();
14442
14576
  _html(`<button${_attr_class([
14443
14577
  treeToggle,
14444
- "_e0",
14445
- { ["_eZ"]: treeOpen }
14578
+ "_gn",
14579
+ { ["_gm"]: treeOpen }
14446
14580
  ])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
14447
14581
  icon_sidebar_default({ size: 14 });
14448
14582
  _html(`</button>${_el_resume($scope12_id, "a")}`);
@@ -14451,7 +14585,7 @@ var review_view_default = _template("A", (input) => {
14451
14585
  return 0;
14452
14586
  }
14453
14587
  }, $scope0_id, "j", 1, 1, 1, 0, 1);
14454
- _html(`<button${_attr_class([iconBtnRow, "_e0"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14588
+ _html(`<button${_attr_class([iconBtnRow, "_gn"])} title="Refresh diff"${_attr("disabled", loading)}>`);
14455
14589
  _set_serialize_reason(1);
14456
14590
  const $childScope2 = _peek_scope_id();
14457
14591
  icon_refresh_default({
@@ -14464,46 +14598,46 @@ var review_view_default = _template("A", (input) => {
14464
14598
  const $scope13_id = _scope_id();
14465
14599
  _html(`<button${_attr_class([
14466
14600
  iconBtnRow,
14467
- "_e0",
14468
- "_fj"
14469
- ])}${_attr("title", `Jump to file (${shownFiles.length})`)}${_attr("aria-label", `Jump to file (${shownFiles.length} files)`)}><span${_attr_class("_fk")} aria-hidden=true>`);
14601
+ "_gn",
14602
+ "_gH"
14603
+ ])}${_attr("title", `Jump to file (${shownFiles.length})`)}${_attr("aria-label", `Jump to file (${shownFiles.length} files)`)}><span${_attr_class("_gI")} aria-hidden=true>`);
14470
14604
  icon_folder_default({
14471
14605
  size: 20,
14472
- class: "_fl"
14606
+ class: "_gJ"
14473
14607
  });
14474
- _html(`<span${_attr_class("_fm")}>${_text_resume($scope13_id, "e", shownFiles.length > 99 ? "99+" : shownFiles.length)}</span></span></button>${_el_resume($scope13_id, "a")}`);
14608
+ _html(`<span${_attr_class("_gK")}>${_text_resume($scope13_id, "e", shownFiles.length > 99 ? "99+" : shownFiles.length)}</span></span></button>${_el_resume($scope13_id, "a")}`);
14475
14609
  _script($scope13_id, "A39");
14476
14610
  writeScope($scope13_id, {});
14477
14611
  return 0;
14478
14612
  }
14479
14613
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
14480
- _html(`<span${_attr_class("_fb")}><button${_attr_class([
14614
+ _html(`<span${_attr_class("_gz")}><button${_attr_class([
14481
14615
  iconBtnRow,
14482
- "_e0",
14483
- { ["_eZ"]: !!rev }
14616
+ "_gn",
14617
+ { ["_gm"]: !!rev }
14484
14618
  ])}${_attr("title", `${compareLabel}\n${compareTitle}`)} aria-label=Compare${_attr("disabled", loading)}>`);
14485
14619
  icon_branch_default({ size: 14 });
14486
14620
  _html(`</button>${_el_resume($scope0_id, "o")}`);
14487
14621
  _attr_select_value($scope0_id, "q", rev ? `rev:${rev}` : scope, _resume(function(v) {
14488
14622
  pickCompare(v);
14489
14623
  }, "A0", $scope0_id), () => {
14490
- _html(`<select${_attr_class("_fc")} 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>`);
14624
+ _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>`);
14491
14625
  _if(() => {
14492
14626
  if (commitOptions.length) {
14493
- const $scope15_id = _scope_id();
14627
+ const $scope16_id = _scope_id();
14494
14628
  _html("<optgroup label=Commits>");
14495
14629
  _for_of(commitOptions, (c) => {
14496
- const $scope16_id = _scope_id();
14497
- _html(`<option${_attr_option_value(`rev:${c.sha}`)}>${_text_resume($scope16_id, "b", c.label)}</option>${_el_resume($scope16_id, "a")}`);
14498
- writeScope($scope16_id, {});
14499
- }, "sha", $scope15_id, "a", 1, 1, 1, "</optgroup>", 1);
14500
- writeScope($scope15_id, {});
14630
+ const $scope17_id = _scope_id();
14631
+ _html(`<option${_attr_option_value(`rev:${c.sha}`)}>${_text_resume($scope17_id, "b", c.label)}</option>${_el_resume($scope17_id, "a")}`);
14632
+ writeScope($scope17_id, {});
14633
+ }, "sha", $scope16_id, "a", 1, 1, 1, "</optgroup>", 1);
14634
+ writeScope($scope16_id, {});
14501
14635
  return 0;
14502
14636
  }
14503
14637
  }, $scope0_id, "r", 1, 1, 1, 0, 1);
14504
14638
  _html("</select>");
14505
14639
  });
14506
- _html(`${_el_resume($scope0_id, "q")}</span> <div${_attr_class(["_e_", { ["_e9"]: !findOpen }])}>`);
14640
+ _html(`${_el_resume($scope0_id, "q")}</span> <div${_attr_class(["_gx", { ["_gw"]: !findOpen }])}>`);
14507
14641
  _set_serialize_reason(2);
14508
14642
  const $childScope3 = _peek_scope_id();
14509
14643
  let findFocus = diff_find_default({
@@ -14526,8 +14660,8 @@ var review_view_default = _template("A", (input) => {
14526
14660
  const $scope14_id = _scope_id();
14527
14661
  _html(`<button${_attr_class([
14528
14662
  iconBtnRow,
14529
- "_e8",
14530
- "_e0"
14663
+ "_gv",
14664
+ "_gn"
14531
14665
  ])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
14532
14666
  icon_search_default({ size: 14 });
14533
14667
  _html(`</button>${_el_resume($scope14_id, "a")}`);
@@ -14536,7 +14670,7 @@ var review_view_default = _template("A", (input) => {
14536
14670
  return 0;
14537
14671
  }
14538
14672
  }, $scope0_id, "v", 1, 1, 1, 0, 1);
14539
- _html(`</div></div><div${_attr_class("_fn")}>`);
14673
+ _html(`</div></div><div${_attr_class("_gL")}>`);
14540
14674
  _if(() => {
14541
14675
  if (error) {
14542
14676
  const $scope5_id = _scope_id();
@@ -14578,32 +14712,38 @@ var review_view_default = _template("A", (input) => {
14578
14712
  }, "id", $scope0_id, "y", 1, 1, 1, 0, 1);
14579
14713
  _if(() => {
14580
14714
  if (!repos && loading) {
14581
- const $scope17_id = _scope_id();
14582
- _html(`<div${_attr_class("_fe")} aria-hidden=true>`);
14715
+ const $scope18_id = _scope_id();
14716
+ _html(`<div${_attr_class("_gC")} aria-hidden=true>`);
14583
14717
  forTo(2, 0, 1, () => {
14584
14718
  _scope_id();
14585
- _html(`<div${_attr_class("_fg")}><div${_attr_class(["_ff", "_fh"])}></div><div${_attr_class(["_ff", "_fi"])}></div></div>`);
14719
+ _html(`<div${_attr_class("_gE")}><div${_attr_class(["_gD", "_gF"])}></div><div${_attr_class(["_gD", "_gG"])}></div></div>`);
14586
14720
  });
14587
14721
  _html("</div>");
14588
- writeScope($scope17_id, {});
14722
+ writeScope($scope18_id, {});
14589
14723
  return 0;
14590
14724
  }
14591
14725
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
14592
14726
  _if(() => {
14593
14727
  if (repos && !allFiles.length) {
14594
14728
  const $scope11_id = _scope_id();
14595
- _html(`<p${_attr_class("_cj")}>${_text_resume($scope11_id, "b", rev ? "This commit is not in any of these repos." : repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
14729
+ _html(`<p${_attr_class("_b6")}>${_text_resume($scope11_id, "b", rev ? "This commit is not in any of these repos." : repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base.")}</p>`);
14596
14730
  writeScope($scope11_id, {});
14597
14731
  return 0;
14598
14732
  } else if (repos && !listFiles.length && !findState.hit) {
14599
14733
  const $scope7_id = _scope_id();
14600
- _html(`<p${_attr_class("_cj")}>${_text_resume($scope7_id, "b", findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${fileFilter}".`)}</p>`);
14734
+ _html(`<p${_attr_class("_b6")}>${_text_resume($scope7_id, "b", findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${fileFilter}".`)}</p>`);
14601
14735
  writeScope($scope7_id, {});
14602
14736
  return 1;
14737
+ } else if (repos && !shownFiles.length) {
14738
+ const $scope15_id = _scope_id();
14739
+ _html(`<div${_attr_class("_b6")}><span>Every section is folded (${_text_resume($scope15_id, "b", folds.size, 2)} of ${_text_resume($scope15_id, "c", sections.length, 2)}).</span><button${_attr_class("_q")}>Show all</button>${_el_resume($scope15_id, "d")}</div>`);
14740
+ _script($scope15_id, "A44");
14741
+ writeScope($scope15_id, {});
14742
+ return 2;
14603
14743
  }
14604
14744
  }, $scope0_id, "a0", 1, 1, 1, 0, 1);
14605
- _html(`</div></div><div${_attr_class("_fo")} data-diff-main></div>${_el_resume($scope0_id, "a1")}</div>`);
14606
- const Summary = { content: _content("A44", () => {
14745
+ _html(`</div></div><div${_attr_class("_gM")} data-diff-main></div>${_el_resume($scope0_id, "a1")}</div>`);
14746
+ const Summary = { content: _content("A45", () => {
14607
14747
  const $scope8_id = _scope_id();
14608
14748
  _scope_reason();
14609
14749
  _set_serialize_reason(1);
@@ -14625,7 +14765,7 @@ var review_view_default = _template("A", (input) => {
14625
14765
  a: _existing_scope($childScope5)
14626
14766
  })))))));
14627
14767
  }, $scope0_id) };
14628
- const Detail = { content: _content("A45", ({ id }) => {
14768
+ const Detail = { content: _content("A46", ({ id }) => {
14629
14769
  const $scope3_id = _scope_id();
14630
14770
  _scope_reason();
14631
14771
  const section = sectionById.get(id);
@@ -14634,20 +14774,19 @@ var review_view_default = _template("A", (input) => {
14634
14774
  const $scope4_id = _scope_id();
14635
14775
  _set_serialize_reason({
14636
14776
  0: 1,
14637
- 1: _serialize_guard($scope0_reason, 1),
14777
+ 1: 1,
14638
14778
  2: 1,
14639
14779
  3: 1,
14640
14780
  4: 1,
14641
- 5: _serialize_guard($scope0_reason, 7),
14642
- 6: _serialize_guard($scope0_reason, 8),
14781
+ 5: 1,
14782
+ 6: 1,
14643
14783
  7: 1,
14644
- 8: 1,
14645
- 9: 1
14784
+ 8: _serialize_guard($scope0_reason, 6),
14785
+ 9: _serialize_guard($scope0_reason, 7)
14646
14786
  });
14647
14787
  const $childScope6 = _peek_scope_id();
14648
14788
  review_head_default({
14649
14789
  repo: section.repo,
14650
- fileCount: section.files.length,
14651
14790
  workspaceBranch: input.workspaceBranch || "",
14652
14791
  workspaceName: input.workspaceName || "",
14653
14792
  localDiffers: localDifferIds.has(id),
@@ -14661,13 +14800,12 @@ var review_view_default = _template("A", (input) => {
14661
14800
  _subscribe($sectionById__closures, writeScope($scope3_id, {
14662
14801
  d: id,
14663
14802
  g: section?.repo,
14664
- i: section?.files?.length,
14665
14803
  _: _scope_with_id($scope0_id)
14666
14804
  }));
14667
14805
  }, $scope0_id) };
14668
- _set_serialize_reason(3838);
14806
+ _set_serialize_reason(7678);
14669
14807
  let $summary;
14670
- if (allFiles.length) $summary = attrTag({ content: _content_resume("A46", () => {
14808
+ if (allFiles.length) $summary = attrTag({ content: _content_resume("A47", () => {
14671
14809
  _scope_reason();
14672
14810
  _scope_id();
14673
14811
  Summary.content({});
@@ -14676,7 +14814,7 @@ var review_view_default = _template("A", (input) => {
14676
14814
  review_tree_default({
14677
14815
  open: treeOpen,
14678
14816
  sections,
14679
- folded: foldedRepos,
14817
+ folded: folds,
14680
14818
  onFold: foldSection,
14681
14819
  active: activeRepo ?? sections[0]?.id,
14682
14820
  commentCounts,
@@ -14687,18 +14825,18 @@ var review_view_default = _template("A", (input) => {
14687
14825
  jumpTo(key);
14688
14826
  }, "A34", $scope0_id),
14689
14827
  summary: $summary,
14690
- detail: attrTag({ content: _content_resume("A47", ({ id }) => {
14691
- const $scope21_reason = _scope_reason(), $sg__id = _serialize_guard($scope21_reason, 0);
14692
- const $scope21_id = _scope_id();
14828
+ detail: attrTag({ content: _content_resume("A48", ({ id }) => {
14829
+ const $scope22_reason = _scope_reason(), $sg__id = _serialize_guard($scope22_reason, 0);
14830
+ const $scope22_id = _scope_id();
14693
14831
  _set_serialize_reason($sg__id);
14694
14832
  const $childScope7 = _peek_scope_id();
14695
14833
  Detail.content({ id });
14696
- _serialize_if($scope21_reason, 0) && writeScope($scope21_id, { a: _existing_scope($childScope7) });
14834
+ _serialize_if($scope22_reason, 0) && writeScope($scope22_id, { a: _existing_scope($childScope7) });
14697
14835
  }, $scope0_id) })
14698
14836
  });
14699
- _set_serialize_reason(1038334);
14837
+ _set_serialize_reason(1028094);
14700
14838
  let $summary2;
14701
- if (allFiles.length) $summary2 = attrTag({ content: _content_resume("A48", () => {
14839
+ if (allFiles.length) $summary2 = attrTag({ content: _content_resume("A49", () => {
14702
14840
  _scope_reason();
14703
14841
  _scope_id();
14704
14842
  Summary.content({});
@@ -14710,7 +14848,7 @@ var review_view_default = _template("A", (input) => {
14710
14848
  fileSheet = _new_fileSheet;
14711
14849
  }, "A35", $scope0_id),
14712
14850
  sections,
14713
- folded: foldedRepos,
14851
+ folded: folds,
14714
14852
  onFold: foldSection,
14715
14853
  filter: fileFilter,
14716
14854
  filterChange: $filterChange,
@@ -14719,13 +14857,13 @@ var review_view_default = _template("A", (input) => {
14719
14857
  workspaceId: input.workspaceId,
14720
14858
  scope,
14721
14859
  summary: $summary2,
14722
- detail: attrTag({ content: _content_resume("A49", ({ id }) => {
14723
- const $scope22_reason = _scope_reason(), $sg__id2 = _serialize_guard($scope22_reason, 0);
14724
- const $scope22_id = _scope_id();
14860
+ detail: attrTag({ content: _content_resume("A50", ({ id }) => {
14861
+ const $scope23_reason = _scope_reason(), $sg__id2 = _serialize_guard($scope23_reason, 0);
14862
+ const $scope23_id = _scope_id();
14725
14863
  _set_serialize_reason($sg__id2);
14726
14864
  const $childScope9 = _peek_scope_id();
14727
14865
  Detail.content({ id });
14728
- _serialize_if($scope22_reason, 0) && writeScope($scope22_id, { a: _existing_scope($childScope9) });
14866
+ _serialize_if($scope23_reason, 0) && writeScope($scope23_id, { a: _existing_scope($childScope9) });
14729
14867
  }, $scope0_id) })
14730
14868
  });
14731
14869
  const dockBox = {
@@ -14755,19 +14893,20 @@ var review_view_default = _template("A", (input) => {
14755
14893
  }, "A36", $scope0_id);
14756
14894
  _html("</div>");
14757
14895
  const $return = $findFocus_getter;
14758
- _script($scope0_id, "A50");
14759
14896
  _script($scope0_id, "A51");
14760
14897
  _script($scope0_id, "A52");
14761
14898
  _script($scope0_id, "A53");
14762
14899
  _script($scope0_id, "A54");
14900
+ _script($scope0_id, "A55");
14901
+ _script($scope0_id, "A56");
14763
14902
  writeScope($scope0_id, {
14764
14903
  a6: input.workspaceId,
14765
14904
  a7: input.scope,
14766
14905
  a8: input.rev,
14767
- a9: _serialize_if($scope0_reason, 4) && input.findOpen,
14768
- aa: _serialize_if($scope0_reason, 3) && input.findOpenChange,
14769
- ac: _serialize_if($scope0_reason, 6) && input.findTick,
14770
- ad: _serialize_if($scope0_reason, 5) && input.findTickChange,
14906
+ a9: _serialize_if($scope0_reason, 3) && input.findOpen,
14907
+ aa: _serialize_if($scope0_reason, 2) && input.findOpenChange,
14908
+ ac: _serialize_if($scope0_reason, 5) && input.findTick,
14909
+ ad: _serialize_if($scope0_reason, 4) && input.findTickChange,
14771
14910
  af: input.onFileChange,
14772
14911
  ag: input.focusPr,
14773
14912
  ah: input.focusFile,
@@ -14800,79 +14939,82 @@ var review_view_default = _template("A", (input) => {
14800
14939
  bk: collapsedFiles,
14801
14940
  bl: activeRepo,
14802
14941
  bm: foldedRepos,
14803
- bo: headBox.sig,
14804
- bp: headBox.timer,
14805
- br: loadBox.seq,
14806
- bs: viewBox,
14807
- bu: posBox.anchor,
14808
- bw: posBox.raf,
14809
- by: restoreBox.pos,
14810
- c0: restoreBox.jump,
14811
- c2: restorePos,
14812
- c3: savePos,
14813
- c4: jumpTo,
14814
- c5: focusPrSection,
14815
- c7: load,
14816
- cc: reload,
14817
- cd: reloadSoon,
14818
- ce: loadReview,
14819
- cf: setScope,
14820
- cg: setRev,
14821
- ci: pickCompare,
14822
- ck: markSeen,
14823
- cl: repoList,
14824
- cn: shownRepos,
14825
- cp: allFiles,
14826
- cr: allFiles?.length,
14827
- ct: fileFiltered,
14828
- cu: findKeys,
14829
- cw: listFiles,
14830
- d2: shownFiles,
14831
- d3: shownFiles?.length,
14832
- d6: commentsByFile,
14833
- db: localDifferIds,
14834
- de: commitOptions,
14835
- dh: compareLabel,
14836
- dk: sections?.[0]?.id,
14837
- dm: sectionById,
14838
- ds: compareTitle,
14839
- du: fileWorktree,
14840
- dv: anchorFor,
14841
- dw: filesByKey,
14842
- dx: fileByKey,
14843
- dz: saveComment,
14844
- e0: deleteRemote,
14845
- e2: removeComment,
14846
- e3: editComment,
14847
- e5: sendGate.busy,
14848
- e7: dispatch,
14849
- ea: copyMarkdown,
14850
- eb: sendTo,
14851
- ec: sendOneComment,
14852
- ed: sendDraftComment,
14853
- ee: openFind,
14854
- eh: findFocus,
14855
- ej: dockBox.home,
14856
- ek: dockBox.raf,
14857
- em: dockFind,
14942
+ bp: headBox.sig,
14943
+ bq: headBox.timer,
14944
+ bs: loadBox.seq,
14945
+ bt: viewBox,
14946
+ bv: posBox.anchor,
14947
+ bx: posBox.raf,
14948
+ bz: restoreBox.pos,
14949
+ c1: restoreBox.jump,
14950
+ c3: restorePos,
14951
+ c4: savePos,
14952
+ c5: jumpTo,
14953
+ c6: focusPrSection,
14954
+ c8: load,
14955
+ cd: reload,
14956
+ ce: reloadSoon,
14957
+ cf: loadReview,
14958
+ cg: setScope,
14959
+ ch: setRev,
14960
+ cj: pickCompare,
14961
+ cl: markSeen,
14962
+ cm: repoList,
14963
+ co: shownRepos,
14964
+ cq: allFiles,
14965
+ cs: allFiles?.length,
14966
+ cu: fileFiltered,
14967
+ cv: findKeys,
14968
+ cx: listFiles,
14969
+ d0: listFiles?.length,
14970
+ d3: commentsByFile,
14971
+ d8: localDifferIds,
14972
+ db: commitOptions,
14973
+ de: compareLabel,
14974
+ dg: sections?.length,
14975
+ dj: sections?.[0]?.id,
14976
+ dl: sectionById,
14977
+ do: folds?.size,
14978
+ dp: shownFiles,
14979
+ dq: shownFiles?.length,
14980
+ dx: compareTitle,
14981
+ dz: fileWorktree,
14982
+ e0: anchorFor,
14983
+ e1: filesByKey,
14984
+ e2: fileByKey,
14985
+ e4: saveComment,
14986
+ e5: deleteRemote,
14987
+ e7: removeComment,
14988
+ e8: editComment,
14989
+ ea: sendGate.busy,
14990
+ ec: dispatch,
14991
+ ef: copyMarkdown,
14992
+ eg: sendTo,
14993
+ eh: sendOneComment,
14994
+ ei: sendDraftComment,
14995
+ ej: openFind,
14996
+ em: findFocus,
14997
+ eo: dockBox.home,
14998
+ ep: dockBox.raf,
14999
+ er: dockFind,
14858
15000
  ba: input.findOpenChange || void 0,
14859
15001
  be: input.findTickChange || void 0,
14860
15002
  l: _existing_scope($childScope2),
14861
15003
  t: _existing_scope($childScope3),
14862
- et: $error__closures,
14863
- ex: $scope__closures,
14864
- ew: $onlyNew__closures,
14865
- f4: $allFiles_length__closures,
14866
- f5: $listFiles_length__closures,
14867
- f7: $newKeys_size__closures,
14868
- fb: $totals_additions__closures,
14869
- fc: $totals_deletions__closures,
14870
- ep: $si__input_workspaceBranch && $input_workspaceBranch__closures,
14871
- eq: $si__input_workspaceName && $input_workspaceName__closures,
14872
- eu: $loading__closures,
14873
- f2: $reload2__closures,
14874
- f8: $localDifferIds__closures,
14875
- fa: $sectionById__closures,
15004
+ ey: $error__closures,
15005
+ f2: $scope__closures,
15006
+ f1: $onlyNew__closures,
15007
+ f9: $allFiles_length__closures,
15008
+ fa: $listFiles_length__closures,
15009
+ fb: $newKeys_size__closures,
15010
+ fi: $totals_additions__closures,
15011
+ fj: $totals_deletions__closures,
15012
+ eu: $si__input_workspaceBranch && $input_workspaceBranch__closures,
15013
+ ev: $si__input_workspaceName && $input_workspaceName__closures,
15014
+ ez: $loading__closures,
15015
+ f7: $reload2__closures,
15016
+ fc: $localDifferIds__closures,
15017
+ ff: $sectionById__closures,
14876
15018
  a2: _existing_scope($childScope8),
14877
15019
  a3: _existing_scope($childScope10)
14878
15020
  });
@@ -14990,10 +15132,10 @@ function parseInvite(text) {
14990
15132
  }
14991
15133
  //#endregion
14992
15134
  //#region src/tags/manage-workspace.css.ts
14993
- var procCmd = "_eK _en";
14994
- var skillRow = "_eM _el";
14995
- var skillName = "_eO _eK _en";
14996
- var skillDesc = "_eR _eo";
15135
+ var procCmd = "_f8 _cK";
15136
+ var skillRow = "_f_ _cI";
15137
+ var skillName = "_gb _f8 _cK";
15138
+ var skillDesc = "_ge _cL";
14997
15139
  //#endregion
14998
15140
  //#region src/tags/icons/icon-archive.marko
14999
15141
  var icon_archive_default = _template("Q", (input) => {
@@ -15028,10 +15170,10 @@ var icon_trash_default = _template("wb", (input) => {
15028
15170
  });
15029
15171
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
15030
15172
  });
15031
- var resultRow = "_hB _I";
15032
- var resultBranch = "_hC _es _X _W _3 _l";
15033
- var urlAction = "_hD _es _X _W _et";
15034
- var addedRow = "_hO _el";
15173
+ var resultRow = "_h5 _I";
15174
+ var resultBranch = "_h6 _cP _X _W _3 _l";
15175
+ var urlAction = "_h7 _cP _X _W _cQ";
15176
+ var addedRow = "_ih _cI";
15035
15177
  //#endregion
15036
15178
  //#region src/tags/branch-pick.marko
15037
15179
  var branch_pick_default = _template("f", (input) => {
@@ -15044,11 +15186,11 @@ var branch_pick_default = _template("f", (input) => {
15044
15186
  let branchFilter = "";
15045
15187
  let reloadTick = 0;
15046
15188
  let refreshing = false;
15047
- _html(`<div${_attr_class("_hE")}>`);
15189
+ _html(`<div${_attr_class("_h8")}>`);
15048
15190
  _if(() => {
15049
15191
  {
15050
15192
  const $scope4_id = _scope_id();
15051
- _html(`<p${_attr_class("_ci")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
15193
+ _html(`<p${_attr_class("_b5")}><span${_attr_class("_G")}></span> Loading branches…</p>`);
15052
15194
  writeScope($scope4_id, {});
15053
15195
  return 0;
15054
15196
  }
@@ -15149,10 +15291,10 @@ var repo_picker_default = _template("w", (input$2) => {
15149
15291
  }, $scope0_id) };
15150
15292
  const addedList = sheet ? input$2.added || [] : [];
15151
15293
  const hasBody = !!(pasted || results.length || filter && (!catalog || !pasted) || ssoPending.length || sheet && !!input$2.added);
15152
- _html(`<div${_attr_class(["_fA", {
15153
- ["_fB"]: !input$2.open,
15154
- ["_fC"]: input$2.pinned
15155
- }])}><label${_attr_class(["_0", "_fD"])}>`);
15294
+ _html(`<div${_attr_class(["_ec", {
15295
+ ["_ed"]: !input$2.open,
15296
+ ["_ee"]: input$2.pinned
15297
+ }])}><label${_attr_class(["_0", "_ef"])}>`);
15156
15298
  icon_search_default({
15157
15299
  size: 14,
15158
15300
  class: "_1"
@@ -15164,14 +15306,14 @@ var repo_picker_default = _template("w", (input$2) => {
15164
15306
  }, "w0", $scope0_id))}${_attr_class([
15165
15307
  "_Y",
15166
15308
  "_2",
15167
- "_fE"
15168
- ])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "d")}</label><button${_attr_class([iconBtnRow, "_fG"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
15309
+ "_eg"
15310
+ ])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input$2.disabled)}>${_el_resume($scope0_id, "d")}</label><button${_attr_class([iconBtnRow, "_ei"])} type=button title="Close search" aria-label="Close search"${_attr("hidden", !input$2.open)}>`);
15169
15311
  icon_xmark_default({ size: 14 });
15170
15312
  _html(`</button>${_el_resume($scope0_id, "e")}<div${_attr_class(pop$1)} data-add-pop${_attr("hidden", !hasBody || !input$2.open && !input$2.pinned)}>`);
15171
15313
  _if(() => {
15172
15314
  if (ssoPending.length) {
15173
15315
  const $scope11_id = _scope_id();
15174
- _html(`<div${_attr_class("_hx")}>`);
15316
+ _html(`<div${_attr_class("_h1")}>`);
15175
15317
  ssoBlock.content({});
15176
15318
  _html("</div>");
15177
15319
  writeScope($scope11_id, {});
@@ -15181,16 +15323,16 @@ var repo_picker_default = _template("w", (input$2) => {
15181
15323
  _if(() => {
15182
15324
  if (pasted) {
15183
15325
  const $scope1_id = _scope_id();
15184
- _html(`<ul${_attr_class("_hy")}><li><div${_attr_class(["_hA", "_hz"])}><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)`)}>`);
15326
+ _html(`<ul${_attr_class("_h2")}><li><div${_attr_class(["_h4", "_h3"])}><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)`)}>`);
15185
15327
  icon_plus_default({
15186
15328
  size: 12,
15187
- class: "_hG"
15329
+ class: "_h_"
15188
15330
  });
15189
- _html(`<span${_attr_class("_hH")}>${_text_resume($scope1_id, "f", repoLabel(pasted))}</span></button>${_el_resume($scope1_id, "c")}`);
15331
+ _html(`<span${_attr_class("_ia")}>${_text_resume($scope1_id, "f", repoLabel(pasted))}</span></button>${_el_resume($scope1_id, "c")}`);
15190
15332
  _if(() => {
15191
15333
  if (pastedForkable) {
15192
15334
  const $scope10_id = _scope_id();
15193
- _html(`<button${_attr_class([urlAction, { ["_er"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
15335
+ _html(`<button${_attr_class([urlAction, { ["_cO"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
15194
15336
  _if(() => {
15195
15337
  if (pasteWillFork) {
15196
15338
  const $scope13_id = _scope_id();
@@ -15210,7 +15352,7 @@ var repo_picker_default = _template("w", (input$2) => {
15210
15352
  return 0;
15211
15353
  }
15212
15354
  }, $scope1_id, "g", 1, 1, 1, 0, 1);
15213
- _html(`<button${_attr_class([resultBranch, { ["_er"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
15355
+ _html(`<button${_attr_class([resultBranch, { ["_cO"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
15214
15356
  icon_branch_default({ size: 12 });
15215
15357
  _html(`</button>${_el_resume($scope1_id, "h")}</div>`);
15216
15358
  _if(() => {
@@ -15237,7 +15379,7 @@ var repo_picker_default = _template("w", (input$2) => {
15237
15379
  return 0;
15238
15380
  } else if (filter && !catalog) {
15239
15381
  const $scope12_id = _scope_id();
15240
- _html(`<p${_attr_class("_ci")}>Loading repos…</p>`);
15382
+ _html(`<p${_attr_class("_b5")}>Loading repos…</p>`);
15241
15383
  writeScope($scope12_id, {});
15242
15384
  return 1;
15243
15385
  }
@@ -15245,15 +15387,15 @@ var repo_picker_default = _template("w", (input$2) => {
15245
15387
  _if(() => {
15246
15388
  if (results.length) {
15247
15389
  const $scope3_id = _scope_id();
15248
- _html(`<ul${_attr_class("_hy")}>`);
15390
+ _html(`<ul${_attr_class("_h2")}>`);
15249
15391
  _for_of(results, (repo, i) => {
15250
15392
  const $scope4_id = _scope_id();
15251
- _html(`<li><div${_attr_class(["_hA", { ["_hz"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
15393
+ _html(`<li><div${_attr_class(["_h4", { ["_h3"]: i === highlight }])}><button${_attr_class(resultRow)}>`);
15252
15394
  icon_plus_default({
15253
15395
  size: 12,
15254
- class: "_hG"
15396
+ class: "_h_"
15255
15397
  });
15256
- _html(`<span${_attr_class("_hH")}>${_text_resume($scope4_id, "e", repoLabel(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_er"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
15398
+ _html(`<span${_attr_class("_ia")}>${_text_resume($scope4_id, "e", repoLabel(repo.nameWithOwner))}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cO"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
15257
15399
  icon_branch_default({ size: 12 });
15258
15400
  _html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
15259
15401
  _if(() => {
@@ -15288,7 +15430,7 @@ var repo_picker_default = _template("w", (input$2) => {
15288
15430
  return 0;
15289
15431
  } else if (filter && catalog && !pasted) {
15290
15432
  const $scope8_id = _scope_id();
15291
- _html(`<p${_attr_class("_ci")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
15433
+ _html(`<p${_attr_class("_b5")}>No repos match "${_text_resume($scope8_id, "b", filter, 2)}". Paste a clone URL to add any repo.</p>`);
15292
15434
  writeScope($scope8_id, {});
15293
15435
  return 1;
15294
15436
  }
@@ -15296,10 +15438,10 @@ var repo_picker_default = _template("w", (input$2) => {
15296
15438
  _if(() => {
15297
15439
  if (sheet && input$2.added) {
15298
15440
  const $scope6_id = _scope_id();
15299
- _html(`<div${_attr_class("_hM")}><p${_attr_class("_hN")}>Repos <span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "d", addedList.length, $sg__input_added)}</span></p><ul${_attr_class(list$2)}>`);
15441
+ _html(`<div${_attr_class("_if")}><p${_attr_class("_ig")}>Repos <span${_attr_class(sectionCount$1)}>${_text_resume($scope6_id, "d", addedList.length, $sg__input_added)}</span></p><ul${_attr_class(list$2)}>`);
15300
15442
  _for_of(addedList, (repo) => {
15301
15443
  const $scope15_id = _scope_id();
15302
- _html(`<li${_attr_class([addedRow, { ["_eq"]: repo.pending }])}>`);
15444
+ _html(`<li${_attr_class([addedRow, { ["_cN"]: repo.pending }])}>`);
15303
15445
  _if(() => {
15304
15446
  if (repo.pending) {
15305
15447
  const $scope17_id = _scope_id();
@@ -15310,13 +15452,13 @@ var repo_picker_default = _template("w", (input$2) => {
15310
15452
  const $scope18_id = _scope_id();
15311
15453
  icon_check_default({
15312
15454
  size: 12,
15313
- class: "_hG"
15455
+ class: "_h_"
15314
15456
  });
15315
15457
  $si__input_added && writeScope($scope18_id, {});
15316
15458
  return 1;
15317
15459
  }
15318
15460
  }, $scope15_id, "b", $sg__input_added, $sg__input_added, $sg__input_added, 0, 1);
15319
- _html(`<span${_attr_class("_hH")}>${_text_resume($scope15_id, "d", repoLabel(repo.name), $sg__input_added)}</span>`);
15461
+ _html(`<span${_attr_class("_ia")}>${_text_resume($scope15_id, "d", repoLabel(repo.name), $sg__input_added)}</span>`);
15320
15462
  _if(() => {
15321
15463
  if (repo.baseBranch) {
15322
15464
  const $scope16_id = _scope_id();
@@ -15333,7 +15475,7 @@ var repo_picker_default = _template("w", (input$2) => {
15333
15475
  _if(() => {
15334
15476
  if (!addedList.length) {
15335
15477
  const $scope7_id = _scope_id();
15336
- _html(`<li${_attr_class([addedRow, "_eq"])}>`);
15478
+ _html(`<li${_attr_class([addedRow, "_cN"])}>`);
15337
15479
  _if(() => {
15338
15480
  if (catalog) {
15339
15481
  const $scope19_id = _scope_id();
@@ -15570,7 +15712,7 @@ var manage_workspace_default = _template("p", (input) => {
15570
15712
  setTimeout(() => loadProcs(void 0), 500);
15571
15713
  }, "p11", $scope0_id);
15572
15714
  const titleId = _id();
15573
- _html(`<div${_attr_class("_cQ")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cR")}><div${_attr_class("_cS")}>`);
15715
+ _html(`<div${_attr_class("_dX")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_dY")}><div${_attr_class("_dZ")}>`);
15574
15716
  _set_serialize_reason(30);
15575
15717
  const $childScope2 = _peek_scope_id();
15576
15718
  page_head_default({
@@ -15676,7 +15818,7 @@ var manage_workspace_default = _template("p", (input) => {
15676
15818
  }))));
15677
15819
  }, $scope0_id) })
15678
15820
  });
15679
- _html(`<div${_attr_class("_cT")}><section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>Details</h2></div><div${_attr_class(list$2)}><div${_attr_class(flatCardRow)}><span${_attr_class("_eV")}>Name</span><span${_attr_class(["_eW", "_eX"])}>${_text_resume($scope0_id, "m", ws.name)}</span>`);
15821
+ _html(`<div${_attr_class("_d0")}><section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>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>`);
15680
15822
  _if(() => {
15681
15823
  if (ws.status !== "active") {
15682
15824
  const $scope23_id = _scope_id();
@@ -15685,8 +15827,8 @@ var manage_workspace_default = _template("p", (input) => {
15685
15827
  return 0;
15686
15828
  }
15687
15829
  }, $scope0_id, "n", 1, 1, 1, 0, 1);
15688
- _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_eV")}>Path</span><span${_attr_class([
15689
- "_eW",
15830
+ _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_gi")}>Path</span><span${_attr_class([
15831
+ "_gj",
15690
15832
  "_y",
15691
15833
  "_ba"
15692
15834
  ])}${_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">`);
@@ -15703,7 +15845,7 @@ var manage_workspace_default = _template("p", (input) => {
15703
15845
  return 1;
15704
15846
  }
15705
15847
  }, $scope0_id, "s", 1, 1, 1, "</button>", 1);
15706
- _html(`</div><div${_attr_class(flatCardRow)}><span${_attr_class("_eV")}>Branch</span><span${_attr_class(["_eW", "_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">`);
15848
+ _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">`);
15707
15849
  _if(() => {
15708
15850
  if (copiedFact === "branch") {
15709
15851
  const $scope26_id = _scope_id();
@@ -15740,12 +15882,12 @@ var manage_workspace_default = _template("p", (input) => {
15740
15882
  _if(() => {
15741
15883
  if (pendingAction && actionStep) {
15742
15884
  const $scope10_id = _scope_id();
15743
- _html(`<p${_attr_class("_b7")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
15885
+ _html(`<p${_attr_class("_bT")}><span${_attr_class("_G")}></span>${_text_resume($scope10_id, "c", actionStep)}</p>`);
15744
15886
  writeScope($scope10_id, {});
15745
15887
  return 0;
15746
15888
  }
15747
15889
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
15748
- _html(`<section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>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, "_eU"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}>`);
15890
+ _html(`<section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>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)}>`);
15749
15891
  icon_plus_default({ size: 16 });
15750
15892
  _html(`</button>${_el_resume($scope0_id, "a6")}`);
15751
15893
  _set_serialize_reason(34);
@@ -15782,10 +15924,10 @@ var manage_workspace_default = _template("p", (input) => {
15782
15924
  size: 14,
15783
15925
  class: catalogRefreshing && "_F"
15784
15926
  });
15785
- _html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_ek"])}>`);
15927
+ _html(`</button>${_el_resume($scope0_id, "aa")}</div><ul${_attr_class([list$2, "_cH"])}>`);
15786
15928
  _for_of(ws.repos, (row) => {
15787
15929
  const $scope1_id = _scope_id();
15788
- _html(`<li${_attr_class("_el")}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class("_eo")}><a${_attr_class("_K")}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "f", repoLabel(row.full_name))}</a>${_el_resume($scope1_id, "e")}`);
15930
+ _html(`<li${_attr_class("_cI")}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope1_id, "c", row.worktree)}/</span><span${_attr_class("_cL")}><a${_attr_class("_K")}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_text_resume($scope1_id, "f", repoLabel(row.full_name))}</a>${_el_resume($scope1_id, "e")}`);
15789
15931
  _if(() => {
15790
15932
  if (row.base_branch !== row.default_branch) {
15791
15933
  const $scope28_id = _scope_id();
@@ -15796,7 +15938,7 @@ var manage_workspace_default = _template("p", (input) => {
15796
15938
  return 0;
15797
15939
  }
15798
15940
  }, $scope1_id, "g", 1, 1, 1, 0, 1);
15799
- _html(`</span><span${_attr_class("_ep")}>`);
15941
+ _html(`</span><span${_attr_class("_cM")}>`);
15800
15942
  _if(() => {
15801
15943
  if (busy.has(row.full_name)) {
15802
15944
  const $scope29_id = _scope_id();
@@ -15808,7 +15950,7 @@ var manage_workspace_default = _template("p", (input) => {
15808
15950
  const $childScope5 = _peek_scope_id();
15809
15951
  arm_button_default({
15810
15952
  class: [
15811
- "_ch",
15953
+ "_b4",
15812
15954
  "_7",
15813
15955
  "_8"
15814
15956
  ],
@@ -15839,16 +15981,16 @@ var manage_workspace_default = _template("p", (input) => {
15839
15981
  _for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
15840
15982
  const $scope31_id = _scope_id();
15841
15983
  _html(`<li${_attr_class([
15842
- "_el",
15843
- "_em",
15844
- "_cb"
15845
- ])}><span${_attr_class("_G")}></span><span${_attr_class("_cg")}>Adding ${_text_resume($scope31_id, "d", name, 2)}…</span></li>`);
15984
+ "_cI",
15985
+ "_cJ",
15986
+ "_bY"
15987
+ ])}><span${_attr_class("_G")}></span><span${_attr_class("_b3")}>Adding ${_text_resume($scope31_id, "d", name, 2)}…</span></li>`);
15846
15988
  writeScope($scope31_id, {});
15847
15989
  }, (n) => n, $scope0_id, "ae", 1, 1, 1, 0, 1);
15848
15990
  _if(() => {
15849
15991
  if (!ws.repos.length && !busy.size) {
15850
15992
  const $scope32_id = _scope_id();
15851
- _html(`<li${_attr_class(["_el", "_em"])}><span${_attr_class("_cg")}>No repos yet. Add one to start.</span></li>`);
15993
+ _html(`<li${_attr_class(["_cI", "_cJ"])}><span${_attr_class("_b3")}>No repos yet. Add one to start.</span></li>`);
15852
15994
  writeScope($scope32_id, {});
15853
15995
  return 0;
15854
15996
  }
@@ -15858,20 +16000,20 @@ var manage_workspace_default = _template("p", (input) => {
15858
16000
  _if(() => {
15859
16001
  if (running.length) {
15860
16002
  const $scope15_id = _scope_id();
15861
- _html(`<section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
16003
+ _html(`<section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>Running</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope15_id, "e", running.length)}</span></div><ul${_attr_class(list$2)}>`);
15862
16004
  _for_of(running, (p) => {
15863
16005
  const $scope16_id = _scope_id();
15864
- _html(`<li${_attr_class("_el")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_eo"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_ep")}>`);
16006
+ _html(`<li${_attr_class("_cI")}${_attr("title", `${p.cmd} ${p.args}`.trim())}><span${_attr_class(["_y", procCmd])}>${_text_resume($scope16_id, "c", p.cmd)}</span><span${_attr_class(["_y", "_cL"])}>${_text_resume($scope16_id, "e", p.args)}</span><span${_attr_class("_cM")}>`);
15865
16007
  _for_of(p.ports, (port) => {
15866
16008
  const $scope33_id = _scope_id();
15867
16009
  _html(`<button${_attr_class(["_u", "_K"])}${_attr("title", `Open port ${port}`)}>:${_text_resume($scope33_id, "b", port, 2)}</button>${_el_resume($scope33_id, "a")}`);
15868
16010
  _script($scope33_id, "p28");
15869
16011
  writeScope($scope33_id, { d: port });
15870
16012
  }, (x) => String(x), $scope16_id, "g", 1, 1, 1, 0, 1);
15871
- _html(`<span${_attr_class(["_y", "_eL"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
15872
- "_ch",
16013
+ _html(`<span${_attr_class(["_y", "_f9"])}>${_text_resume($scope16_id, "i", p.pid)}</span><button${_attr_class([
16014
+ "_b4",
15873
16015
  "_7",
15874
- "_eT"
16016
+ "_gg"
15875
16017
  ])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
15876
16018
  icon_xmark_default({ size: 14 });
15877
16019
  _html(`</button>${_el_resume($scope16_id, "j")}</span></li>${_el_resume($scope16_id, "a")}`);
@@ -15892,28 +16034,28 @@ var manage_workspace_default = _template("p", (input) => {
15892
16034
  s,
15893
16035
  linked: false
15894
16036
  }))].sort((a, b) => a.s.name.localeCompare(b.s.name));
15895
- _html(`</div><div${_attr_class("_cT")}>`);
16037
+ _html(`</div><div${_attr_class("_d0")}>`);
15896
16038
  _if(() => {
15897
16039
  if (allSkills.length) {
15898
16040
  const $scope2_id = _scope_id();
15899
- _html(`<section${_attr_class("_b8")}><div${_attr_class("_b9")}><h2${_attr_class("_cl")}>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, "_ek"])}>`);
16041
+ _html(`<section${_attr_class("_bU")}><div${_attr_class("_bV")}><h2${_attr_class("_b8")}>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, "_cH"])}>`);
15900
16042
  _for_of(allSkills, ({ s, linked }) => {
15901
16043
  const $scope3_id = _scope_id();
15902
16044
  const isBusy = skillBusy.has(s.id);
15903
- _html(`<li${_attr_class([skillRow, { ["_eN"]: !linked }])}><span${_attr_class("_eP")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
16045
+ _html(`<li${_attr_class([skillRow, { ["_ga"]: !linked }])}><span${_attr_class("_gc")}><span${_attr_class(["_y", skillName])}>${_text_resume($scope3_id, "d", s.name)}</span>`);
15904
16046
  _if(() => {
15905
16047
  if (s.worktree && !s.broken) {
15906
16048
  const $scope34_id = _scope_id();
15907
16049
  _html(`<span${_attr_class([
15908
16050
  "_N",
15909
16051
  "_y",
15910
- "_eQ"
16052
+ "_gd"
15911
16053
  ])}${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")}`);
15912
16054
  writeScope($scope34_id, {});
15913
16055
  return 0;
15914
16056
  }
15915
16057
  }, $scope3_id, "e", 1, 1, 1, 0, 1);
15916
- _html(`</span><span${_attr_class(skillDesc)}${_attr_or("title", s.description, "")}>${_text_resume($scope3_id, "g", s.description || "")}</span>${_el_resume($scope3_id, "f")}<span${_attr_class("_ep")}>`);
16058
+ _html(`</span><span${_attr_class(skillDesc)}${_attr_or("title", s.description, "")}>${_text_resume($scope3_id, "g", s.description || "")}</span>${_el_resume($scope3_id, "f")}<span${_attr_class("_cM")}>`);
15917
16059
  _if(() => {
15918
16060
  if (s.broken) {
15919
16061
  const $scope35_id = _scope_id();
@@ -15961,10 +16103,10 @@ var manage_workspace_default = _template("p", (input) => {
15961
16103
  const $childScope6 = _peek_scope_id();
15962
16104
  arm_button_default({
15963
16105
  class: [
15964
- "_ch",
16106
+ "_b4",
15965
16107
  "_7",
15966
16108
  "_8",
15967
- "_eS"
16109
+ "_gf"
15968
16110
  ],
15969
16111
  disabled: isBusy,
15970
16112
  busy: isBusy,
@@ -16073,10 +16215,10 @@ var manage_workspace_default = _template("p", (input) => {
16073
16215
  cq: $skills__closures
16074
16216
  });
16075
16217
  });
16076
- var curRow = "_eB _el";
16077
- var archived = "_eG _b8";
16078
- var archivedHint = "_eH _W";
16079
- var archivedRow = "_eI _ej _eh";
16218
+ var curRow = "_fz _cI";
16219
+ var archived = "_fE _bU";
16220
+ var archivedHint = "_fF _W";
16221
+ var archivedRow = "_fG _cG _cE";
16080
16222
  //#endregion
16081
16223
  //#region src/tags/icons/icon-group.marko
16082
16224
  var icon_group_default = _template("jb", (input) => {
@@ -16096,8 +16238,8 @@ var icon_group_default = _template("jb", (input) => {
16096
16238
  });
16097
16239
  //#endregion
16098
16240
  //#region src/tags/join-dialog.css.ts
16099
- var dlg = "_h6 _hW";
16100
- var hint = "_h7 _W";
16241
+ var dlg = "_io _g5";
16242
+ var hint = "_ip _W";
16101
16243
  //#endregion
16102
16244
  //#region src/tags/join-dialog.marko
16103
16245
  var api$3;
@@ -16225,26 +16367,26 @@ var join_dialog_default = _template("m", (input) => {
16225
16367
  content: _content("m12", () => {
16226
16368
  _scope_reason();
16227
16369
  const $scope1_id = _scope_id();
16228
- _html(`<h2${_attr_class("_hX")}${_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([
16370
+ _html(`<h2${_attr_class("_g6")}${_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([
16229
16371
  "_Y",
16230
16372
  "_y",
16231
- "_h9"
16373
+ "_ir"
16232
16374
  ])} 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")}`);
16233
16375
  _if(() => {
16234
16376
  if (parsed.error) {
16235
16377
  const $scope8_id = _scope_id();
16236
- _html(`<p${_attr_class([hint, "_h8"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16378
+ _html(`<p${_attr_class([hint, "_iq"])}>${_text_resume($scope8_id, "b", parsed.error)}</p>`);
16237
16379
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cag: 1 }));
16238
16380
  return 0;
16239
16381
  } else if (parsed.ok) {
16240
16382
  const $scope3_id = _scope_id();
16241
- _html(`<ul${_attr_class("_h_")}>`);
16383
+ _html(`<ul${_attr_class("_is")}>`);
16242
16384
  _for_of(parsed.ok.repos, (fullName) => {
16243
16385
  const $scope9_id = _scope_id();
16244
- _html(`<li${_attr_class("_ia")}><span${_attr_class("_ib")}>${_text_resume($scope9_id, "c", repoLabel(fullName))}</span></li>`);
16386
+ _html(`<li${_attr_class("_it")}><span${_attr_class("_iu")}>${_text_resume($scope9_id, "c", repoLabel(fullName))}</span></li>`);
16245
16387
  writeScope($scope9_id, {});
16246
16388
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
16247
- _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("_ic")}><span${_attr_class("_cl")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16389
+ _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("_iv")}><span${_attr_class("_b8")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
16248
16390
  name = _new_name;
16249
16391
  }, "m1", $scope3_id))}${_attr_class("_Y")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
16250
16392
  _script($scope3_id, "m8");
@@ -16280,10 +16422,10 @@ var join_dialog_default = _template("m", (input) => {
16280
16422
  _if(() => {
16281
16423
  if (busy && steps$2.length) {
16282
16424
  const $scope6_id = _scope_id();
16283
- _html(`<ul${_attr_class("_id")}>`);
16425
+ _html(`<ul${_attr_class("_iw")}>`);
16284
16426
  _for_of(steps$2, (step$2, i) => {
16285
16427
  const $scope7_id = _scope_id();
16286
- _html(`<li${_attr_class(["_if", { ["_ie"]: i === steps$2.length - 1 }])}>`);
16428
+ _html(`<li${_attr_class(["_iy", { ["_ix"]: i === steps$2.length - 1 }])}>`);
16287
16429
  _if(() => {
16288
16430
  if (i === steps$2.length - 1) {
16289
16431
  const $scope10_id = _scope_id();
@@ -16292,7 +16434,7 @@ var join_dialog_default = _template("m", (input) => {
16292
16434
  return 0;
16293
16435
  } else {
16294
16436
  const $scope11_id = _scope_id();
16295
- _html(`<span${_attr_class("_ig")}>`);
16437
+ _html(`<span${_attr_class("_iz")}>`);
16296
16438
  icon_check_default({ size: 14 });
16297
16439
  _html("</span>");
16298
16440
  writeScope($scope11_id, {});
@@ -16448,7 +16590,7 @@ var new_workspace_default = _template("s", (input) => {
16448
16590
  }
16449
16591
  }, "s6", $scope0_id);
16450
16592
  const titleId = _id();
16451
- _html(`<div${_attr_class("_cQ")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_cR")}><div${_attr_class("_cS")}>`);
16593
+ _html(`<div${_attr_class("_dX")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_dY")}><div${_attr_class("_dZ")}>`);
16452
16594
  _set_serialize_reason({
16453
16595
  0: _serialize_guard($scope0_reason, 2),
16454
16596
  1: $sg__input_backHref__OR__input_onExit,
@@ -16471,7 +16613,7 @@ var new_workspace_default = _template("s", (input) => {
16471
16613
  _subscribe($busy__closures, writeScope($scope2_id, { _: _scope_with_id($scope0_id) }));
16472
16614
  }, $scope0_id) })
16473
16615
  });
16474
- _html(`<div${_attr_class("_cT")}>`);
16616
+ _html(`<div${_attr_class("_d0")}>`);
16475
16617
  _if(() => {
16476
16618
  if (error) {
16477
16619
  const $scope7_id = _scope_id();
@@ -16491,9 +16633,9 @@ var new_workspace_default = _template("s", (input) => {
16491
16633
  return 0;
16492
16634
  }
16493
16635
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
16494
- _html(`<label${_attr_class("_ew")}><span${_attr_class("_cl")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16636
+ _html(`<label${_attr_class("_fu")}><span${_attr_class("_b8")}>Name</span><input${_attr_input_value($scope0_id, "i", name, _resume((_new_name) => {
16495
16637
  name = _new_name;
16496
- }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_b8")}><div${_attr_class("_ez")}><h2${_attr_class("_cl")}>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, "_ey"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
16638
+ }, "s0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "i")}</label><section${_attr_class("_bU")}><div${_attr_class("_fx")}><h2${_attr_class("_b8")}>Repos</h2><span${_attr_class(sectionCount$1)}>${_text_resume($scope0_id, "n", selected.length)}</span><div${_attr_class("_z")}></div><button type=button${_attr_class([iconBtnRow, "_fw"])} title="Add repo" aria-label="Add repo"${_attr("hidden", addingRepo)}${_attr("disabled", busy)}>`);
16497
16639
  icon_plus_default({ size: 16 });
16498
16640
  _html(`</button>${_el_resume($scope0_id, "p")}`);
16499
16641
  _set_serialize_reason(34);
@@ -16531,14 +16673,14 @@ var new_workspace_default = _template("s", (input) => {
16531
16673
  _html(`</button>${_el_resume($scope0_id, "t")}</div><ul${_attr_class(list$2)}>`);
16532
16674
  _for_of(selected, (repo) => {
16533
16675
  const $scope3_id = _scope_id();
16534
- _html(`<li${_attr_class("_eA")}><div${_attr_class(curRow)}><span${_attr_class("_en")}>${_text_resume($scope3_id, "d", repoLabel(repo.fullName))}</span><span${_attr_class("_ep")}>`);
16676
+ _html(`<li${_attr_class("_fy")}><div${_attr_class(curRow)}><span${_attr_class("_cK")}>${_text_resume($scope3_id, "d", repoLabel(repo.fullName))}</span><span${_attr_class("_cM")}>`);
16535
16677
  _if(() => {
16536
16678
  if (repo.fork !== void 0) {
16537
16679
  const $scope4_id = _scope_id();
16538
16680
  _html(`<button${_attr_class([
16539
16681
  chip$1,
16540
- "_et",
16541
- { ["_er"]: repo.fork }
16682
+ "_cQ",
16683
+ { ["_cO"]: repo.fork }
16542
16684
  ])}${repo.fork ? _attr("title", `${repo.fullName} will be forked to your account; click to clone as-is instead`) : _attr("title", `Fork ${repo.fullName} to your account and clone the fork`)} aria-pressed=${repo.fork ? "true" : "false"}${_attr("disabled", busy)}>`);
16543
16685
  _if(() => {
16544
16686
  if (repo.fork) {
@@ -16562,7 +16704,7 @@ var new_workspace_default = _template("s", (input) => {
16562
16704
  _html(`<button${_attr_class([
16563
16705
  chip$1,
16564
16706
  "_y",
16565
- { ["_er"]: branchesFor === repo.fullName }
16707
+ { ["_cO"]: branchesFor === repo.fullName }
16566
16708
  ])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>`);
16567
16709
  icon_branch_default({ size: 12 });
16568
16710
  _html(`${_text_resume($scope3_id, "i", repo.baseBranch ? `${_to_text(" ")}${_to_text(repo.baseBranch)}` : "")}</button>${_el_resume($scope3_id, "g")}<button${_attr_class([iconBtnXs, "_7"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
@@ -16571,7 +16713,7 @@ var new_workspace_default = _template("s", (input) => {
16571
16713
  _if(() => {
16572
16714
  if (branchesFor === repo.fullName) {
16573
16715
  const $scope9_id = _scope_id();
16574
- _html(`<div${_attr_class("_eC")}>`);
16716
+ _html(`<div${_attr_class("_fA")}>`);
16575
16717
  const $childScope4 = _peek_scope_id();
16576
16718
  branch_pick_default({
16577
16719
  repo: repo.fullName,
@@ -16600,7 +16742,7 @@ var new_workspace_default = _template("s", (input) => {
16600
16742
  _if(() => {
16601
16743
  if (!selected.length) {
16602
16744
  const $scope14_id = _scope_id();
16603
- _html(`<li${_attr_class(["_el", "_eq"])}>No repos yet. Add one above, or create it empty.</li>`);
16745
+ _html(`<li${_attr_class(["_cI", "_cN"])}>No repos yet. Add one above, or create it empty.</li>`);
16604
16746
  writeScope($scope14_id, {});
16605
16747
  return 0;
16606
16748
  }
@@ -16609,10 +16751,10 @@ var new_workspace_default = _template("s", (input) => {
16609
16751
  _if(() => {
16610
16752
  if (busy && steps.length) {
16611
16753
  const $scope10_id = _scope_id();
16612
- _html(`<ul${_attr_class("_eD")}>`);
16754
+ _html(`<ul${_attr_class("_fB")}>`);
16613
16755
  _for_of(steps, (step, i) => {
16614
16756
  const $scope11_id = _scope_id();
16615
- _html(`<li${_attr_class(["_eJ", { ["_eE"]: i === steps.length - 1 }])}>`);
16757
+ _html(`<li${_attr_class(["_fH", { ["_fC"]: i === steps.length - 1 }])}>`);
16616
16758
  _if(() => {
16617
16759
  if (i === steps.length - 1) {
16618
16760
  const $scope15_id = _scope_id();
@@ -16621,7 +16763,7 @@ var new_workspace_default = _template("s", (input) => {
16621
16763
  return 0;
16622
16764
  } else {
16623
16765
  const $scope16_id = _scope_id();
16624
- _html(`<span${_attr_class("_eF")}>`);
16766
+ _html(`<span${_attr_class("_fD")}>`);
16625
16767
  icon_check_default({ size: 14 });
16626
16768
  _html("</span>");
16627
16769
  writeScope($scope16_id, {});
@@ -16635,18 +16777,18 @@ var new_workspace_default = _template("s", (input) => {
16635
16777
  return 0;
16636
16778
  }
16637
16779
  }, $scope0_id, "y", 1, 1, 1, 0, 1);
16638
- _html(`<div${_attr_class("_eu")}><button type=button${_attr_class([
16780
+ _html(`<div${_attr_class("_fs")}><button type=button${_attr_class([
16639
16781
  btnLg,
16640
16782
  "_r",
16641
- "_ev"
16642
- ])}${_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("_cT")}>`);
16783
+ "_ft"
16784
+ ])}${_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("_d0")}>`);
16643
16785
  _if(() => {
16644
16786
  if (archived$1.length) {
16645
16787
  const $scope5_id = _scope_id();
16646
- _html(`<section${_attr_class(archived)}><div${_attr_class("_ez")}><h2${_attr_class("_cl")}>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)}>`);
16788
+ _html(`<section${_attr_class(archived)}><div${_attr_class("_fx")}><h2${_attr_class("_b8")}>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)}>`);
16647
16789
  _for_of(archived$1, (ws) => {
16648
16790
  const $scope6_id = _scope_id();
16649
- _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_cd")}><span${_attr_class("_ce")}>${_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)}>`);
16791
+ _html(`<li${_attr_class(archivedRow)}><div${_attr_class("_b0")}><span${_attr_class("_b1")}>${_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)}>`);
16650
16792
  _if(() => {
16651
16793
  if (restoring === ws.id) {
16652
16794
  const $scope17_id = _scope_id();
@@ -16762,19 +16904,19 @@ var term_find_default = _template("H", (input) => {
16762
16904
  const canStep = hasQuery && open;
16763
16905
  const keybar = input.placement === "keybar";
16764
16906
  _html(`<div${_attr_class([
16765
- "_cJ",
16766
- keybar ? "_cL" : "_cK",
16767
- !open && "_cN"
16768
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_cD", keybar ? "_cM" : "_cG"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
16907
+ "_eu",
16908
+ keybar ? "_ew" : "_ev",
16909
+ !open && "_ey"
16910
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_eo", keybar ? "_ex" : "_er"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
16769
16911
  if (!open) return;
16770
16912
  query = v;
16771
16913
  live.query = v;
16772
16914
  run(0);
16773
- }, "H1", $scope0_id))}${_attr_class([findInput, keybar && "_cO"])} 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 && "_cP"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16915
+ }, "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"}>`);
16774
16916
  icon_arrow_up_default({ size: 14 });
16775
- _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_cP"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
16917
+ _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"}>`);
16776
16918
  icon_arrow_down_default({ size: 14 });
16777
- _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_cP"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
16919
+ _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_eA"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
16778
16920
  icon_xmark_default({ size: 14 });
16779
16921
  _html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
16780
16922
  const $return = focusInput;
@@ -16924,7 +17066,7 @@ var term_default = _template("I", (input) => {
16924
17066
  }
16925
17067
  }, "I9", $scope0_id);
16926
17068
  input.keys;
16927
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_dd")}><div${_attr_class("_de")}></div>${_el_resume($scope0_id, "b")}`);
17069
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_fh")}><div${_attr_class("_fi")}></div>${_el_resume($scope0_id, "b")}`);
16928
17070
  _if(() => {
16929
17071
  if (findOpen) {
16930
17072
  const $scope4_id = _scope_id();
@@ -16951,7 +17093,7 @@ var term_default = _template("I", (input) => {
16951
17093
  _if(() => {
16952
17094
  if (uploading) {
16953
17095
  const $scope5_id = _scope_id();
16954
- _html(`<div${_attr_class("_dk")}>uploading…</div>`);
17096
+ _html(`<div${_attr_class("_fo")}>uploading…</div>`);
16955
17097
  writeScope($scope5_id, {});
16956
17098
  return 0;
16957
17099
  }
@@ -16959,7 +17101,7 @@ var term_default = _template("I", (input) => {
16959
17101
  _if(() => {
16960
17102
  if (copiedFlash) {
16961
17103
  const $scope6_id = _scope_id();
16962
- _html(`<div${_attr_class("_dj")}>Copied</div>`);
17104
+ _html(`<div${_attr_class("_fn")}>Copied</div>`);
16963
17105
  writeScope($scope6_id, {});
16964
17106
  return 0;
16965
17107
  }
@@ -16968,7 +17110,7 @@ var term_default = _template("I", (input) => {
16968
17110
  _if(() => {
16969
17111
  if (trapOpen) {
16970
17112
  const $scope3_id = _scope_id();
16971
- _html(`<div${_attr_class("_dl")}><div${_attr_class("_dm")}><p${_attr_class("_dn")}>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")}`);
17113
+ _html(`<div${_attr_class("_fp")}><div${_attr_class("_fq")}><p${_attr_class("_fr")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope3_id, "d")}<button${_attr_class("_q")}>Cancel</button>${_el_resume($scope3_id, "e")}</div>${_el_resume($scope3_id, "b")}</div>${_el_resume($scope3_id, "a")}`);
16972
17114
  _script($scope3_id, "I16");
16973
17115
  _script($scope3_id, "I17");
16974
17116
  writeScope($scope3_id, {});
@@ -17229,7 +17371,7 @@ var work_view_default = _template("N", (input) => {
17229
17371
  toggleDiff();
17230
17372
  }
17231
17373
  }, "N14", $scope0_id);
17232
- _html(`<div${_attr_class(["_cn", { ["_cm"]: !input.active }])}><div${_attr_class("_co")}>`);
17374
+ _html(`<div${_attr_class(["_bO", { ["_bN"]: !input.active }])}><div${_attr_class("_bP")}>`);
17233
17375
  _if(() => {
17234
17376
  if (error) {
17235
17377
  const $scope8_id = _scope_id();
@@ -17251,17 +17393,16 @@ var work_view_default = _template("N", (input) => {
17251
17393
  _if(() => {
17252
17394
  if (diffMounted && ws) {
17253
17395
  const $scope1_id = _scope_id();
17254
- _html(`<div${_attr_class("_cp")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
17396
+ _html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "diff", "")}${_attr("inert", view !== "diff")}>`);
17255
17397
  _set_serialize_reason({
17256
17398
  0: $sg__input_workspace,
17257
17399
  1: $sg__input_workspace,
17258
- 2: $sg__input_workspace,
17259
- 3: 1,
17260
- 5: 1,
17400
+ 2: 1,
17401
+ 4: 1,
17402
+ 6: $sg__input_workspace,
17261
17403
  7: $sg__input_workspace,
17262
17404
  8: $sg__input_workspace,
17263
- 9: $sg__input_workspace,
17264
- 10: 1
17405
+ 9: 1
17265
17406
  });
17266
17407
  const $childScope = _peek_scope_id();
17267
17408
  let reviewFindFocus = $ReviewView_withLoadAssets({
@@ -17313,7 +17454,7 @@ var work_view_default = _template("N", (input) => {
17313
17454
  _if(() => {
17314
17455
  if (manageMounted && ws) {
17315
17456
  const $scope2_id = _scope_id();
17316
- _html(`<div${_attr_class("_cp")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
17457
+ _html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "manage", "")}${_attr("inert", view !== "manage")}>`);
17317
17458
  _set_serialize_reason({
17318
17459
  0: $sg__input_workspace,
17319
17460
  1: _serialize_guard($scope0_reason, 9)
@@ -17339,7 +17480,7 @@ var work_view_default = _template("N", (input) => {
17339
17480
  _if(() => {
17340
17481
  if (settingsMounted) {
17341
17482
  const $scope3_id = _scope_id();
17342
- _html(`<div${_attr_class("_cp")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
17483
+ _html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "settings", "")}${_attr("inert", view !== "settings")}>`);
17343
17484
  _set_serialize_reason({
17344
17485
  0: _serialize_guard($scope0_reason, 0),
17345
17486
  1: $sg__input_workspace,
@@ -17381,7 +17522,7 @@ var work_view_default = _template("N", (input) => {
17381
17522
  _if(() => {
17382
17523
  if (newMounted) {
17383
17524
  const $scope4_id = _scope_id();
17384
- _html(`<div${_attr_class("_cp")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
17525
+ _html(`<div${_attr_class("_bQ")}${_attr_or("data-live", view === "new", "")}${_attr("inert", view !== "new")}>`);
17385
17526
  _set_serialize_reason({
17386
17527
  0: 1,
17387
17528
  1: _serialize_guard($scope0_reason, 13),
@@ -17406,13 +17547,13 @@ var work_view_default = _template("N", (input) => {
17406
17547
  return 0;
17407
17548
  }
17408
17549
  }, $scope0_id, "g", 1, 1, 1, 0, 1);
17409
- _html(`<div${_attr_class("_cq")}${_attr("inert", view !== "term")}>`);
17550
+ _html(`<div${_attr_class("_bR")}${_attr("inert", view !== "term")}>`);
17410
17551
  _if(() => {
17411
17552
  if (ws && shownSessions) {
17412
17553
  const $scope5_id = _scope_id();
17413
17554
  _for_of(input.active ? shownSessions : shownSessions.filter((x) => x.id === curTab), (s) => {
17414
17555
  const $scope6_id = _scope_id();
17415
- _html(`<div${_attr_class("_cr")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
17556
+ _html(`<div${_attr_class("_bS")}${_attr_or("data-live", s.id === curTab, "")}${_attr("inert", s.id !== curTab)}>`);
17416
17557
  _set_serialize_reason(2);
17417
17558
  const $childScope5 = _peek_scope_id();
17418
17559
  term_default({
@@ -17438,7 +17579,7 @@ var work_view_default = _template("N", (input) => {
17438
17579
  _if(() => {
17439
17580
  if (!shownSessions.length && view === "term") {
17440
17581
  const $scope7_id = _scope_id();
17441
- _html(`<div${_attr_class("_cj")}><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>`);
17582
+ _html(`<div${_attr_class("_b6")}><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>`);
17442
17583
  _script($scope7_id, "N39");
17443
17584
  _subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
17444
17585
  return 0;
@@ -17448,7 +17589,7 @@ var work_view_default = _template("N", (input) => {
17448
17589
  return 0;
17449
17590
  } else if (ws) {
17450
17591
  const $scope10_id = _scope_id();
17451
- _html(`<p${_attr_class("_cj")}>Loading sessions…</p>`);
17592
+ _html(`<p${_attr_class("_b6")}>Loading sessions…</p>`);
17452
17593
  writeScope($scope10_id, {});
17453
17594
  return 1;
17454
17595
  }
@@ -17566,8 +17707,8 @@ _template("yb", (input) => {
17566
17707
  });
17567
17708
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
17568
17709
  });
17569
- var sessOpen = "_c5 _I";
17570
- var sessRename = "_c9 _J";
17710
+ var sessOpen = "_eG _I";
17711
+ var sessRename = "_eK _J";
17571
17712
  //#endregion
17572
17713
  //#region src/tags/usage-pcts.marko
17573
17714
  var usage_pcts_default = _template("M", (input) => {
@@ -17594,7 +17735,7 @@ var usage_pcts_default = _template("M", (input) => {
17594
17735
  return 0;
17595
17736
  }
17596
17737
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
17597
- _html(`<span${_attr_class("_g1")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_g2", win$1.used_percent >= 90 ? "_ht" : win$1.used_percent >= 70 ? "_hs" : win$1.used_percent >= 40 ? "_hr" : "_hq"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
17738
+ _html(`<span${_attr_class("_g1")}>${_text_resume($scope2_id, "d", win$1.window, $sg__input_agent)}</span><span${_attr_class(["_g2", win$1.used_percent >= 90 ? "_hs" : win$1.used_percent >= 70 ? "_hr" : win$1.used_percent >= 40 ? "_hq" : "_hp"])}>${_text_resume($scope2_id, "f", pctText(win$1.used_percent), $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
17598
17739
  $si__input_agent && writeScope($scope2_id, {});
17599
17740
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
17600
17741
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -17636,7 +17777,7 @@ _template("n", (input) => {
17636
17777
  align: "center",
17637
17778
  gap: 8
17638
17779
  }), "n2", $scope0_id);
17639
- _html(`<button${_attr_class([kbtn, "_c0"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17780
+ _html(`<button${_attr_class([kbtn, "_eB"])} title=${input.onTermPage ? "Sessions" : "\"Back to session\""}${input.onTermPage ? _attr("popovertarget", popId) : ""}>`);
17640
17781
  _set_serialize_reason({
17641
17782
  1: $sg__input_sessions__OR__input_sessionId,
17642
17783
  2: $sg__input_sessions__OR__input_sessionId
@@ -17650,7 +17791,7 @@ _template("n", (input) => {
17650
17791
  "_A",
17651
17792
  "_bb",
17652
17793
  phase[sessionPhase(current$2?.state)]
17653
- ])}></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", "_c1"])}><div${_attr_class("_c2")}>`);
17794
+ ])}></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", "_eC"])}><div${_attr_class("_eD")}>`);
17654
17795
  _set_serialize_reason({ 0: _serialize_guard($scope0_reason, 8) });
17655
17796
  const $childScope2 = _peek_scope_id();
17656
17797
  side_nav_chips_default({
@@ -17662,7 +17803,7 @@ _template("n", (input) => {
17662
17803
  _for_of(input.sessions, (s) => {
17663
17804
  const $scope1_id = _scope_id();
17664
17805
  const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
17665
- _html(`<div${_attr_class(["_c4", { ["_c3"]: s.id === input.sessionId }])}>`);
17806
+ _html(`<div${_attr_class(["_eF", { ["_eE"]: s.id === input.sessionId }])}>`);
17666
17807
  _if(() => {
17667
17808
  if (renamingId === s.id) {
17668
17809
  const $scope5_id = _scope_id();
@@ -17694,7 +17835,7 @@ _template("n", (input) => {
17694
17835
  agent: activeAgent(s),
17695
17836
  size: 14
17696
17837
  });
17697
- _html(`<span${_attr_class("_c6")}><span${_attr_class("_c8")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17838
+ _html(`<span${_attr_class("_eH")}><span${_attr_class("_eJ")}>${_text_resume($scope2_id, "f", s.title || activeAgent(s), $sg__input_sessions)}</span>`);
17698
17839
  _if(() => {
17699
17840
  if (s.id === input.sessionId) {
17700
17841
  const $scope7_id = _scope_id();
@@ -17706,7 +17847,7 @@ _template("n", (input) => {
17706
17847
  const $childScope5 = _peek_scope_id();
17707
17848
  usage_pcts_default({
17708
17849
  agent: plan,
17709
- class: "_c7"
17850
+ class: "_eI"
17710
17851
  });
17711
17852
  writeScope($scope8_id, { a: _existing_scope($childScope5) });
17712
17853
  return 0;
@@ -17723,7 +17864,7 @@ _template("n", (input) => {
17723
17864
  _if(() => {
17724
17865
  if (input.onRenameSession) {
17725
17866
  const $scope6_id = _scope_id();
17726
- _html(`<button${_attr_class(["_c_", "_da"])} title="Rename session">`);
17867
+ _html(`<button${_attr_class(["_eL", "_eM"])} title="Rename session">`);
17727
17868
  icon_edit_default({ size: 12 });
17728
17869
  _html(`</button>${_el_resume($scope6_id, "a")}`);
17729
17870
  _script($scope6_id, "n5");
@@ -17735,7 +17876,7 @@ _template("n", (input) => {
17735
17876
  if (input.onCloseSession) {
17736
17877
  const $scope3_id = _scope_id();
17737
17878
  arm_button_default({
17738
- class: ["_c_", "_7"],
17879
+ class: ["_eL", "_7"],
17739
17880
  title: "Close session",
17740
17881
  armedTitle: "Close?",
17741
17882
  onFire: _resume(function() {
@@ -17767,7 +17908,7 @@ _template("n", (input) => {
17767
17908
  m: $si__input_sessions && $for_content__s_agent__closures
17768
17909
  });
17769
17910
  }, "id", $scope0_id, "g", 1, $sg__input_sessions, $sg__input_sessions__OR__input_agents, 0, 1);
17770
- _html(`<div${_attr_class("_db")} role=group aria-label="New session"><div${_attr_class("_dc")}>`);
17911
+ _html(`<div${_attr_class("_eN")} role=group aria-label="New session"><div${_attr_class("_eO")}>`);
17771
17912
  _for_of(["shell", ...input.agents], (agent) => {
17772
17913
  const $scope4_id = _scope_id();
17773
17914
  _html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
@@ -27156,4 +27297,4 @@ server.listen(port, () => {
27156
27297
  //#endregion
27157
27298
  export {};
27158
27299
 
27159
- ;var __MARKO_MANIFEST__={"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-DnflZ5yW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DnflZ5yW.css\"",">",2,"stylesheet#/assets/app-page-rXnZguHI.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-rXnZguHI.css\"",">"],"defer":[2,"/assets/settings-NqoOGnBo.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-NqoOGnBo.js\"","></script>",2,"modulepreload#/assets/_DM-ium3T.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DM-ium3T.js\"",">",2,"modulepreload#/assets/_BV5cuLsP.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BV5cuLsP.js\"",">",2,"modulepreload#/assets/_CyuD2cSo.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CyuD2cSo.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-DnflZ5yW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DnflZ5yW.css\"",">",2,"stylesheet#/assets/app-page-rXnZguHI.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-rXnZguHI.css\"",">"],"defer":[2,"/assets/w._-NqoOGnBo.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-NqoOGnBo.js\"","></script>",2,"modulepreload#/assets/_DM-ium3T.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DM-ium3T.js\"",">",2,"modulepreload#/assets/_BV5cuLsP.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BV5cuLsP.js\"",">",2,"modulepreload#/assets/_CyuD2cSo.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CyuD2cSo.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-DnflZ5yW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DnflZ5yW.css\"",">",2,"stylesheet#/assets/app-page-rXnZguHI.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-rXnZguHI.css\"",">"],"defer":[2,"/assets/w-NqoOGnBo.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-NqoOGnBo.js\"","></script>",2,"modulepreload#/assets/_DM-ium3T.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DM-ium3T.js\"",">",2,"modulepreload#/assets/_BV5cuLsP.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BV5cuLsP.js\"",">",2,"modulepreload#/assets/_CyuD2cSo.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CyuD2cSo.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-DnflZ5yW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DnflZ5yW.css\"",">",2,"stylesheet#/assets/app-page-rXnZguHI.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-rXnZguHI.css\"",">"],"defer":[2,"/assets/new-NqoOGnBo.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-NqoOGnBo.js\"","></script>",2,"modulepreload#/assets/_DM-ium3T.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DM-ium3T.js\"",">",2,"modulepreload#/assets/_BV5cuLsP.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BV5cuLsP.js\"",">",2,"modulepreload#/assets/_CyuD2cSo.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CyuD2cSo.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-DnflZ5yW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-DnflZ5yW.css\"",">",2,"stylesheet#/assets/app-page-rXnZguHI.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-rXnZguHI.css\"",">"],"defer":[2,"/assets/w._-BYRqNEuI.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BYRqNEuI.js\"","></script>",2,"modulepreload#/assets/_DM-ium3T.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DM-ium3T.js\"",">",2,"modulepreload#/assets/_BV5cuLsP.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BV5cuLsP.js\"",">",2,"modulepreload#/assets/_CyuD2cSo.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CyuD2cSo.js\"",">"]},"_A":{"block":[2,"stylesheet#/assets/review-view-DY0OU8Te.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-DY0OU8Te.css\"",">",2,"stylesheet#/assets/icon-arrow-down-DnflZ5yW.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-DnflZ5yW.css\"",">"],"defer":[2,"/assets/review-view-CGsWDCd7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-CGsWDCd7.js\"","></script>",2,"modulepreload#/assets/_DM-ium3T.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DM-ium3T.js\"",">"]}};
27300
+ ;var __MARKO_MANIFEST__={"AA0T2xt":{"block":[2,"stylesheet#/assets/icon-arrow-down-o2Q8gX32.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-o2Q8gX32.css\"",">",2,"stylesheet#/assets/app-page-BEEZP5zo.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BEEZP5zo.css\"",">"],"defer":[2,"/assets/settings-C7VSRXTL.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-C7VSRXTL.js\"","></script>",2,"modulepreload#/assets/_DM-ium3T.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DM-ium3T.js\"",">",2,"modulepreload#/assets/_CVgDVVCO.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CVgDVVCO.js\"",">",2,"modulepreload#/assets/_Xe_buWru.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Xe_buWru.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/icon-arrow-down-o2Q8gX32.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-o2Q8gX32.css\"",">",2,"stylesheet#/assets/app-page-BEEZP5zo.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BEEZP5zo.css\"",">"],"defer":[2,"/assets/new-C7VSRXTL.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-C7VSRXTL.js\"","></script>",2,"modulepreload#/assets/_DM-ium3T.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DM-ium3T.js\"",">",2,"modulepreload#/assets/_CVgDVVCO.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CVgDVVCO.js\"",">",2,"modulepreload#/assets/_Xe_buWru.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Xe_buWru.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/icon-arrow-down-o2Q8gX32.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-o2Q8gX32.css\"",">",2,"stylesheet#/assets/app-page-BEEZP5zo.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BEEZP5zo.css\"",">"],"defer":[2,"/assets/w._-C7VSRXTL.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-C7VSRXTL.js\"","></script>",2,"modulepreload#/assets/_DM-ium3T.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DM-ium3T.js\"",">",2,"modulepreload#/assets/_CVgDVVCO.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CVgDVVCO.js\"",">",2,"modulepreload#/assets/_Xe_buWru.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Xe_buWru.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/icon-arrow-down-o2Q8gX32.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-o2Q8gX32.css\"",">",2,"stylesheet#/assets/app-page-BEEZP5zo.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BEEZP5zo.css\"",">"],"defer":[2,"/assets/w._-gvNRHjn_.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-gvNRHjn_.js\"","></script>",2,"modulepreload#/assets/_DM-ium3T.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DM-ium3T.js\"",">",2,"modulepreload#/assets/_CVgDVVCO.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CVgDVVCO.js\"",">",2,"modulepreload#/assets/_Xe_buWru.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Xe_buWru.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/icon-arrow-down-o2Q8gX32.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/icon-arrow-down-o2Q8gX32.css\"",">",2,"stylesheet#/assets/app-page-BEEZP5zo.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BEEZP5zo.css\"",">"],"defer":[2,"/assets/w-C7VSRXTL.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-C7VSRXTL.js\"","></script>",2,"modulepreload#/assets/_DM-ium3T.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DM-ium3T.js\"",">",2,"modulepreload#/assets/_CVgDVVCO.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CVgDVVCO.js\"",">",2,"modulepreload#/assets/_Xe_buWru.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Xe_buWru.js\"",">"]},"_A":{"block":[2,"stylesheet#/assets/review-view-CBpY-Hxd.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/review-view-CBpY-Hxd.css\"",">",2,"stylesheet#/assets/icon-arrow-down-o2Q8gX32.css",6,"<link",0," rel=\"stylesheet\" href=\"",1,"assets/icon-arrow-down-o2Q8gX32.css\"",">"],"defer":[2,"/assets/review-view-DZAfy74d.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/review-view-DZAfy74d.js\"","></script>",2,"modulepreload#/assets/_DM-ium3T.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DM-ium3T.js\"",">"]}};