@dylanpiercey/work 0.0.95 → 0.0.97

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 (245) hide show
  1. package/dist/{_-9SN7lhj.js → _CRHCebx8.js} +62 -28
  2. package/dist/{_D13gIzTc.js → _DPT3XRV0.js} +339 -235
  3. package/dist/index.mjs +799 -613
  4. package/dist/public/assets/{_YHDsSm6D.js → _-b51A6U7.js} +1 -1
  5. package/dist/public/assets/_-b51A6U7.js.br +0 -0
  6. package/dist/public/assets/{_DIhnt-RM.js → _0KWxGbZw.js} +1 -1
  7. package/dist/public/assets/_0KWxGbZw.js.br +0 -0
  8. package/dist/public/assets/{_o-goWiqn.js → _8GNWgmjH.js} +1 -1
  9. package/dist/public/assets/_8GNWgmjH.js.br +0 -0
  10. package/dist/public/assets/{_BGtYhUy5.js → _8tiEU3RO.js} +1 -1
  11. package/dist/public/assets/_8tiEU3RO.js.br +0 -0
  12. package/dist/public/assets/{_DJWz5IwD.js → _B2AC3SUA.js} +1 -1
  13. package/dist/public/assets/_B2AC3SUA.js.br +0 -0
  14. package/dist/public/assets/{_DK0lys0m.js → _B8-V5BF5.js} +1 -1
  15. package/dist/public/assets/_B8-V5BF5.js.br +0 -0
  16. package/dist/public/assets/{_bRvxXZbS.js → _B80qXOTR.js} +1 -1
  17. package/dist/public/assets/_B80qXOTR.js.br +0 -0
  18. package/dist/public/assets/{_Txji4y3b.js → _B9D12lOA.js} +1 -1
  19. package/dist/public/assets/_B9D12lOA.js.br +0 -0
  20. package/dist/public/assets/{_9Cb6PnoF2.js → _BBS5zv8C2.js} +1 -1
  21. package/dist/public/assets/_BBS5zv8C2.js.br +0 -0
  22. package/dist/public/assets/{_amMU20AI.js → _BCovSJRb.js} +1 -1
  23. package/dist/public/assets/_BCovSJRb.js.br +0 -0
  24. package/dist/public/assets/{_D8yYAlmO.js → _BE3R8mFE.js} +1 -1
  25. package/dist/public/assets/_BE3R8mFE.js.br +0 -0
  26. package/dist/public/assets/{_DcNus2Vf2.js → _BGvyA4oE2.js} +1 -1
  27. package/dist/public/assets/_BGvyA4oE2.js.br +0 -0
  28. package/dist/public/assets/{_B_0nqTdg2.js → _BIOtkDha2.js} +1 -1
  29. package/dist/public/assets/_BIOtkDha2.js.br +0 -0
  30. package/dist/public/assets/{_BC2fmz4Y2.js → _BLcb3Cg42.js} +1 -1
  31. package/dist/public/assets/_BLcb3Cg42.js.br +0 -0
  32. package/dist/public/assets/{_BS7qhSY6.js → _BP_u4OL-.js} +1 -1
  33. package/dist/public/assets/_BP_u4OL-.js.br +0 -0
  34. package/dist/public/assets/{_6wZbjEqF.js → _BPfQaxTd.js} +1 -1
  35. package/dist/public/assets/_BPfQaxTd.js.br +0 -0
  36. package/dist/public/assets/{_C6R_qpkO.js → _BTsrDfH-.js} +1 -1
  37. package/dist/public/assets/_BTsrDfH-.js.br +0 -0
  38. package/dist/public/assets/{_dfU2imZ4.js → _BZsn-7u1.js} +1 -1
  39. package/dist/public/assets/_BZsn-7u1.js.br +0 -0
  40. package/dist/public/assets/{_BCKtabuZ2.js → _BaY0h2ec2.js} +1 -1
  41. package/dist/public/assets/_BaY0h2ec2.js.br +0 -0
  42. package/dist/public/assets/{_CQsoywcI.js → _Bc4j5n7x.js} +1 -1
  43. package/dist/public/assets/_Bc4j5n7x.js.br +0 -0
  44. package/dist/public/assets/{_Bt5xnL2D2.js → _BgPTyoAr2.js} +1 -1
  45. package/dist/public/assets/_BgPTyoAr2.js.br +0 -0
  46. package/dist/public/assets/{_zIcbcxRV2.js → _BiDyvSOO2.js} +1 -1
  47. package/dist/public/assets/_BiDyvSOO2.js.br +0 -0
  48. package/dist/public/assets/{_lX7nytmW.js → _BkjyxJ0i.js} +1 -1
  49. package/dist/public/assets/{_BZ5oh9fs.js → _Bl512FoL.js} +1 -1
  50. package/dist/public/assets/_Bl512FoL.js.br +0 -0
  51. package/dist/public/assets/{_CP5BtWSQ.js → _Bw9jvu1-.js} +1 -1
  52. package/dist/public/assets/_Bw9jvu1-.js.br +0 -0
  53. package/dist/public/assets/{_B1jHOqZH.js → _BwFRjBOz.js} +1 -1
  54. package/dist/public/assets/_BwFRjBOz.js.br +0 -0
  55. package/dist/public/assets/{_MMZVDI0Q2.js → _BzGLDIBO2.js} +1 -1
  56. package/dist/public/assets/_BzGLDIBO2.js.br +0 -0
  57. package/dist/public/assets/{_fxHb-KbN2.js → _BzfCLxV82.js} +1 -1
  58. package/dist/public/assets/_BzfCLxV82.js.br +0 -0
  59. package/dist/public/assets/{_7HSHWkd02.js → _Bzp9X35S2.js} +1 -1
  60. package/dist/public/assets/_Bzp9X35S2.js.br +0 -0
  61. package/dist/public/assets/{_QZPTxSDf2.js → _C-KXAuRh2.js} +1 -1
  62. package/dist/public/assets/_C-KXAuRh2.js.br +0 -0
  63. package/dist/public/assets/{_Drn3lXQP2.js → _C2SDF9Yg2.js} +1 -1
  64. package/dist/public/assets/{_YyV-EVam.js → _C4nOqeMD.js} +1 -1
  65. package/dist/public/assets/_C4nOqeMD.js.br +0 -0
  66. package/dist/public/assets/{_DxP9fuIM2.js → _C5xrDvQI2.js} +1 -1
  67. package/dist/public/assets/_C5xrDvQI2.js.br +0 -0
  68. package/dist/public/assets/{_vGqkGb_u.js → _CMYGsqdf.js} +1 -1
  69. package/dist/public/assets/_CMYGsqdf.js.br +0 -0
  70. package/dist/public/assets/{_loA_xJ2W.js → _COSXS0J8.js} +1 -1
  71. package/dist/public/assets/_COSXS0J8.js.br +0 -0
  72. package/dist/public/assets/{_BavnyJ90.js → _CPeBESzl.js} +1 -1
  73. package/dist/public/assets/_CPeBESzl.js.br +0 -0
  74. package/dist/public/assets/{_D4Uyoa0g2.js → _CRbRTfeP2.js} +1 -1
  75. package/dist/public/assets/_CRbRTfeP2.js.br +0 -0
  76. package/dist/public/assets/{_19yjqtuP.js → _Cn1q8R2G.js} +1 -1
  77. package/dist/public/assets/_Cn1q8R2G.js.br +0 -0
  78. package/dist/public/assets/{_BfXdOIFL.js → _Ct6qquOF.js} +1 -1
  79. package/dist/public/assets/_Ct6qquOF.js.br +0 -0
  80. package/dist/public/assets/{_CeELTPQl.js → _CyQMVS2T.js} +1 -1
  81. package/dist/public/assets/_CyQMVS2T.js.br +0 -0
  82. package/dist/public/assets/{_CPP_bPjn.js → _Cyhh59cC.js} +1 -1
  83. package/dist/public/assets/_Cyhh59cC.js.br +0 -0
  84. package/dist/public/assets/{_DXC_JO9C2.js → _Cyl9FKNU2.js} +1 -1
  85. package/dist/public/assets/_Cyl9FKNU2.js.br +0 -0
  86. package/dist/public/assets/{_DHIGTTg6.js → _D4cKCypW.js} +1 -1
  87. package/dist/public/assets/_D4cKCypW.js.br +0 -0
  88. package/dist/public/assets/{_D2inRKMJ.js → _D5o1QAvJ.js} +1 -1
  89. package/dist/public/assets/_D5o1QAvJ.js.br +0 -0
  90. package/dist/public/assets/{_C8Iu43Ry.js → _DA_USHEu.js} +1 -1
  91. package/dist/public/assets/_DA_USHEu.js.br +0 -0
  92. package/dist/public/assets/{_C12MnCJE2.js → _DFpIp88l2.js} +1 -1
  93. package/dist/public/assets/_DFpIp88l2.js.br +0 -0
  94. package/dist/public/assets/{_VXhkFKrd2.js → _DJ0uAfUp2.js} +1 -1
  95. package/dist/public/assets/_DJ0uAfUp2.js.br +0 -0
  96. package/dist/public/assets/{_wbLaii1_.js → _DJ6cJzuI.js} +1 -1
  97. package/dist/public/assets/_DJ6cJzuI.js.br +0 -0
  98. package/dist/public/assets/{_CBZeUUWn2.js → _DLSsOTkW2.js} +1 -1
  99. package/dist/public/assets/{_hyQI5FsG.js → _DSX5dMw5.js} +1 -1
  100. package/dist/public/assets/_DSX5dMw5.js.br +0 -0
  101. package/dist/public/assets/{_CN7YZ9Jt.js → _DYCJZ-Iu.js} +1 -1
  102. package/dist/public/assets/_DYCJZ-Iu.js.br +0 -0
  103. package/dist/public/assets/{_DGKIFykf.js → _DaH2ZbUV.js} +1 -1
  104. package/dist/public/assets/_DaH2ZbUV.js.br +0 -0
  105. package/dist/public/assets/{_Cl1qk0QM.js → _DcTJxua3.js} +1 -1
  106. package/dist/public/assets/_DcTJxua3.js.br +0 -0
  107. package/dist/public/assets/{_DFmhG3rm2.js → _DwVknvPD2.js} +1 -1
  108. package/dist/public/assets/_DwVknvPD2.js.br +0 -0
  109. package/dist/public/assets/{_B0hS9ikc.js → _Dx_iq98R.js} +1 -1
  110. package/dist/public/assets/_Dx_iq98R.js.br +0 -0
  111. package/dist/public/assets/{_BCw4FOz1.js → _DyjSeFv1.js} +1 -1
  112. package/dist/public/assets/_DyjSeFv1.js.br +0 -0
  113. package/dist/public/assets/{_vC8X4_FF.js → _ERnhNh-Y.js} +1 -1
  114. package/dist/public/assets/_ERnhNh-Y.js.br +0 -0
  115. package/dist/public/assets/{_BFDKvdah.js → _I8D7wiZO.js} +1 -1
  116. package/dist/public/assets/_I8D7wiZO.js.br +0 -0
  117. package/dist/public/assets/{_CAx_6lfv.js → _Is38l22C.js} +1 -1
  118. package/dist/public/assets/_Is38l22C.js.br +0 -0
  119. package/dist/public/assets/{_B8wWQ620.js → _J13dOJAl.js} +46 -46
  120. package/dist/public/assets/_J13dOJAl.js.br +0 -0
  121. package/dist/public/assets/{_DFoZ_gHS.js → _Ka1PvLiD.js} +1 -1
  122. package/dist/public/assets/_Ka1PvLiD.js.br +0 -0
  123. package/dist/public/assets/{_i50DwB9Z2.js → _Skj5Z76l2.js} +1 -1
  124. package/dist/public/assets/_Skj5Z76l2.js.br +0 -0
  125. package/dist/public/assets/{_B1tDI_nQ.js → _VJa0VTCn.js} +1 -1
  126. package/dist/public/assets/_VJa0VTCn.js.br +0 -0
  127. package/dist/public/assets/{_x7q187z1.js → _XQjM1w_8.js} +1 -1
  128. package/dist/public/assets/_XQjM1w_8.js.br +0 -0
  129. package/dist/public/assets/{_DMqW9uIi2.js → _YOqlhSHw2.js} +1 -1
  130. package/dist/public/assets/_YOqlhSHw2.js.br +0 -0
  131. package/dist/public/assets/{_DcqgsKkp.js → _a_oWV3XM.js} +1 -1
  132. package/dist/public/assets/_a_oWV3XM.js.br +0 -0
  133. package/dist/public/assets/{_CsPn7vMJ2.js → _cd0Dn5oM2.js} +1 -1
  134. package/dist/public/assets/_cd0Dn5oM2.js.br +0 -0
  135. package/dist/public/assets/{_DKFPQ1582.js → _e3oDddUx2.js} +1 -1
  136. package/dist/public/assets/_e3oDddUx2.js.br +0 -0
  137. package/dist/public/assets/{_D6aLEWL7.js → _gu9YaOjx.js} +1 -1
  138. package/dist/public/assets/_gu9YaOjx.js.br +0 -0
  139. package/dist/public/assets/{_BlMjgG5a.js → _jK_yh8X8.js} +1 -1
  140. package/dist/public/assets/_jK_yh8X8.js.br +0 -0
  141. package/dist/public/assets/{__T5qbsZi.js → _mU_JkZbV.js} +1 -1
  142. package/dist/public/assets/_mU_JkZbV.js.br +0 -0
  143. package/dist/public/assets/{_DgfTg0IW2.js → _pImBOEXD2.js} +1 -1
  144. package/dist/public/assets/_pImBOEXD2.js.br +0 -0
  145. package/dist/public/assets/{_D3DCFNQ9.js → _t5tGr2D1.js} +1 -1
  146. package/dist/public/assets/_t5tGr2D1.js.br +0 -0
  147. package/dist/public/assets/_tzwJRvKK.js +85 -0
  148. package/dist/public/assets/_tzwJRvKK.js.br +0 -0
  149. package/dist/public/assets/{_xMSqf4Dz.js → _zWXmuT9S.js} +1 -1
  150. package/dist/public/assets/_zWXmuT9S.js.br +0 -0
  151. package/dist/public/assets/{_BAC_-o69.js → _zZovbli0.js} +1 -1
  152. package/dist/public/assets/_zZovbli0.js.br +0 -0
  153. package/dist/public/assets/app-page-D30JmXcA.css +1 -0
  154. package/dist/public/assets/app-page-D30JmXcA.css.br +0 -0
  155. package/dist/public/assets/diff-view-WfajAxvs.css +1 -0
  156. package/dist/public/assets/diff-view-WfajAxvs.css.br +0 -0
  157. package/dist/public/assets/new-BiAv3en2.js +1 -0
  158. package/dist/public/assets/settings-BiAv3en2.js +1 -0
  159. package/dist/public/assets/w-BiAv3en2.js +1 -0
  160. package/dist/public/assets/w._-BiAv3en2.js +1 -0
  161. package/dist/public/assets/w._-DoR9D5Ku.js +1 -0
  162. package/package.json +1 -1
  163. package/dist/public/assets/_19yjqtuP.js.br +0 -0
  164. package/dist/public/assets/_6wZbjEqF.js.br +0 -0
  165. package/dist/public/assets/_7HSHWkd02.js.br +0 -0
  166. package/dist/public/assets/_9Cb6PnoF2.js.br +0 -0
  167. package/dist/public/assets/_B0hS9ikc.js.br +0 -0
  168. package/dist/public/assets/_B1jHOqZH.js.br +0 -0
  169. package/dist/public/assets/_B1tDI_nQ.js.br +0 -0
  170. package/dist/public/assets/_B8wWQ620.js.br +0 -0
  171. package/dist/public/assets/_BAC_-o69.js.br +0 -0
  172. package/dist/public/assets/_BC2fmz4Y2.js.br +0 -0
  173. package/dist/public/assets/_BCKtabuZ2.js.br +0 -0
  174. package/dist/public/assets/_BCw4FOz1.js.br +0 -0
  175. package/dist/public/assets/_BFDKvdah.js.br +0 -0
  176. package/dist/public/assets/_BGtYhUy5.js.br +0 -0
  177. package/dist/public/assets/_BS7qhSY6.js.br +0 -0
  178. package/dist/public/assets/_BZ5oh9fs.js.br +0 -0
  179. package/dist/public/assets/_B_0nqTdg2.js.br +0 -0
  180. package/dist/public/assets/_BavnyJ90.js.br +0 -0
  181. package/dist/public/assets/_BfXdOIFL.js.br +0 -0
  182. package/dist/public/assets/_BlMjgG5a.js.br +0 -0
  183. package/dist/public/assets/_BpdeumzG.js +0 -85
  184. package/dist/public/assets/_BpdeumzG.js.br +0 -0
  185. package/dist/public/assets/_Bt5xnL2D2.js.br +0 -0
  186. package/dist/public/assets/_C12MnCJE2.js.br +0 -0
  187. package/dist/public/assets/_C6R_qpkO.js.br +0 -0
  188. package/dist/public/assets/_C8Iu43Ry.js.br +0 -0
  189. package/dist/public/assets/_CAx_6lfv.js.br +0 -0
  190. package/dist/public/assets/_CN7YZ9Jt.js.br +0 -0
  191. package/dist/public/assets/_CP5BtWSQ.js.br +0 -0
  192. package/dist/public/assets/_CPP_bPjn.js.br +0 -0
  193. package/dist/public/assets/_CQsoywcI.js.br +0 -0
  194. package/dist/public/assets/_CeELTPQl.js.br +0 -0
  195. package/dist/public/assets/_Cl1qk0QM.js.br +0 -0
  196. package/dist/public/assets/_CsPn7vMJ2.js.br +0 -0
  197. package/dist/public/assets/_D2inRKMJ.js.br +0 -0
  198. package/dist/public/assets/_D3DCFNQ9.js.br +0 -0
  199. package/dist/public/assets/_D4Uyoa0g2.js.br +0 -0
  200. package/dist/public/assets/_D6aLEWL7.js.br +0 -0
  201. package/dist/public/assets/_D8yYAlmO.js.br +0 -0
  202. package/dist/public/assets/_DFmhG3rm2.js.br +0 -0
  203. package/dist/public/assets/_DFoZ_gHS.js.br +0 -0
  204. package/dist/public/assets/_DGKIFykf.js.br +0 -0
  205. package/dist/public/assets/_DHIGTTg6.js.br +0 -0
  206. package/dist/public/assets/_DIhnt-RM.js.br +0 -0
  207. package/dist/public/assets/_DJWz5IwD.js.br +0 -0
  208. package/dist/public/assets/_DK0lys0m.js.br +0 -0
  209. package/dist/public/assets/_DKFPQ1582.js.br +0 -0
  210. package/dist/public/assets/_DMqW9uIi2.js.br +0 -0
  211. package/dist/public/assets/_DXC_JO9C2.js.br +0 -0
  212. package/dist/public/assets/_DcNus2Vf2.js.br +0 -0
  213. package/dist/public/assets/_DcqgsKkp.js.br +0 -0
  214. package/dist/public/assets/_DgfTg0IW2.js.br +0 -0
  215. package/dist/public/assets/_DxP9fuIM2.js.br +0 -0
  216. package/dist/public/assets/_MMZVDI0Q2.js.br +0 -0
  217. package/dist/public/assets/_QZPTxSDf2.js.br +0 -0
  218. package/dist/public/assets/_Txji4y3b.js.br +0 -0
  219. package/dist/public/assets/_VXhkFKrd2.js.br +0 -0
  220. package/dist/public/assets/_YHDsSm6D.js.br +0 -0
  221. package/dist/public/assets/_YyV-EVam.js.br +0 -0
  222. package/dist/public/assets/__T5qbsZi.js.br +0 -0
  223. package/dist/public/assets/_amMU20AI.js.br +0 -0
  224. package/dist/public/assets/_bRvxXZbS.js.br +0 -0
  225. package/dist/public/assets/_dfU2imZ4.js.br +0 -0
  226. package/dist/public/assets/_fxHb-KbN2.js.br +0 -0
  227. package/dist/public/assets/_hyQI5FsG.js.br +0 -0
  228. package/dist/public/assets/_i50DwB9Z2.js.br +0 -0
  229. package/dist/public/assets/_loA_xJ2W.js.br +0 -0
  230. package/dist/public/assets/_o-goWiqn.js.br +0 -0
  231. package/dist/public/assets/_vC8X4_FF.js.br +0 -0
  232. package/dist/public/assets/_vGqkGb_u.js.br +0 -0
  233. package/dist/public/assets/_wbLaii1_.js.br +0 -0
  234. package/dist/public/assets/_x7q187z1.js.br +0 -0
  235. package/dist/public/assets/_xMSqf4Dz.js.br +0 -0
  236. package/dist/public/assets/_zIcbcxRV2.js.br +0 -0
  237. package/dist/public/assets/app-page-BB6oW8H9.css +0 -1
  238. package/dist/public/assets/app-page-BB6oW8H9.css.br +0 -0
  239. package/dist/public/assets/diff-view-DU-XDz7X.css +0 -1
  240. package/dist/public/assets/diff-view-DU-XDz7X.css.br +0 -0
  241. package/dist/public/assets/new-BmwwujAD.js +0 -1
  242. package/dist/public/assets/settings-BmwwujAD.js +0 -1
  243. package/dist/public/assets/w-BmwwujAD.js +0 -1
  244. package/dist/public/assets/w._-BmwwujAD.js +0 -1
  245. package/dist/public/assets/w._-DQmoJHNi.js +0 -1
@@ -1,4 +1,4 @@
1
- import { $ as _content_resume, Ct as _set_serialize_reason, G as _attr_option_value, H as _attr_class, J as _attr_style, Mt as writeScope, N as iconBtnLg, O as repoLabel, P as iconBtnRow, St as _serialize_if, T as icon_xmark_default, Tt as _template, U as _attr_details_or_dialog_open, V as _attr, W as _attr_input_value, _ as setDiffPos, _t as _scope_reason, at as _existing_scope, bt as _sep, c as icon_refresh_default, f as diffFilter, ft as _if, gt as _scope_id, h as diffTreeOpen, ht as _resume_branch, i as fuzzy, it as _escape, m as diffScope, mt as _resume, n as findInput, nt as _el_read_error, o as icon_search_default, p as diffPos, pt as _peek_scope_id, q as _attr_select_value, r as icon_sidebar_default, rt as _el_resume, s as icon_back_default, st as _for_of, t as findIconBtn, tt as _el, ut as _html, v as setDiffScope, vt as _scope_with_id, w as toast_default, wt as _subscribe, xt as _serialize_guard, yt as _script, z as tone } from "./_-9SN7lhj.js";
1
+ import { A as repoLabel, Ct as _serialize_guard, D as icon_xmark_default, Dt as _template, E as toast_default, Et as _subscribe, F as iconBtnLg, G as _attr_details_or_dialog_open, I as iconBtnRow, K as _attr_input_value, O as icon_base_default, Pt as writeScope, St as _sep, Tt as _set_serialize_reason, U as _attr, V as tone, W as _attr_class, X as _attr_style, Y as _attr_select_value, _ as diffTreeOpen, _t as _resume_branch, a as fuzzy, at as _el_resume, b as setDiffScope, bt as _scope_with_id, c as icon_arrow_up_default, ft as _html, g as diffScope, gt as _resume, h as diffPos, ht as _peek_scope_id, i as icon_sidebar_default, it as _el_read_error, l as icon_back_default, lt as _for_of, m as diffFilter, mt as _if, n as findIconBtn, ot as _escape, q as _attr_option_value, r as findInput, rt as _el, s as icon_search_default, st as _existing_scope, t as icon_arrow_down_default, tt as _content_resume, u as icon_refresh_default, vt as _scope_id, wt as _serialize_if, xt as _script, y as setDiffPos, yt as _scope_reason } from "./_CRHCebx8.js";
2
2
  //#region src/client/router.ts
3
3
  function urlFor(r) {
4
4
  if (r.view === "settings") return "/settings";
@@ -242,31 +242,31 @@ function treeDirs(files) {
242
242
  };
243
243
  return build(root, "", "", -1);
244
244
  }
245
- var treeToggle = "_em _0 _j";
245
+ var treeToggle = "_eY _0 _j";
246
246
  //#endregion
247
247
  //#region src/tags/diff-send.marko
248
- var diff_send_default = _template("i", (input) => {
248
+ var diff_send_default = _template("j", (input) => {
249
249
  const $scope0_reason = _scope_reason(), $sg__input_sessions = _serialize_guard($scope0_reason, 0), $si__input_sessions = _serialize_if($scope0_reason, 0);
250
250
  const $scope0_id = _scope_id();
251
251
  let sending = false;
252
252
  let sendTarget = null;
253
253
  const sessions = input.sessions || [];
254
254
  const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
255
- _html(`<span${_attr_class("_fF")}><button type=button${_attr_class("_o")} title="Copy comments as markdown">Copy${_el_resume($scope0_id, "c")}</button>${_el_resume($scope0_id, "b")}`);
255
+ _html(`<span${_attr_class("_fw")}><button type=button${_attr_class("_o")} title="Copy comments as markdown">Copy${_el_resume($scope0_id, "c")}</button>${_el_resume($scope0_id, "b")}`);
256
256
  _if(() => {
257
257
  if (sessions.length === 1) {
258
258
  const $scope1_id = _scope_id();
259
259
  _html(`<button type=button${_attr_class(["_o", "_p"])}${_attr("disabled", sending)}>${`Send to ${_escape(`${sessions[0].title || sessions[0].agent}`)}`}${_el_resume($scope1_id, "b")}</button>${_el_resume($scope1_id, "a")}`);
260
- _script($scope1_id, "i1");
260
+ _script($scope1_id, "j1");
261
261
  writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
262
262
  return 0;
263
263
  } else if (sessions.length) {
264
264
  const $scope2_id = _scope_id();
265
- _html(`<span${_attr_class("_fG")}><button type=button${_attr_class(["_p", "_fH"])}${_attr("disabled", sending)}>Send to${_el_resume($scope2_id, "c")}</button>${_el_resume($scope2_id, "b")}`);
265
+ _html(`<span${_attr_class("_fx")}><button type=button${_attr_class(["_p", "_fy"])}${_attr("disabled", sending)}>Send to${_el_resume($scope2_id, "c")}</button>${_el_resume($scope2_id, "b")}`);
266
266
  _attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
267
267
  sendTarget = _new_sendTarget;
268
- }, "i0", $scope2_id), () => {
269
- _html(`<select${_attr_class("_fI")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
268
+ }, "j0", $scope2_id), () => {
269
+ _html(`<select${_attr_class("_fz")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
270
270
  _for_of(sessions, (s) => {
271
271
  const $scope3_id = _scope_id();
272
272
  _html(`<option${_attr_option_value(s.id)}>${_escape(s.title || s.agent)}${_el_resume($scope3_id, "b", $sg__input_sessions)}</option>${_el_resume($scope3_id, "a", $sg__input_sessions)}`);
@@ -274,13 +274,13 @@ var diff_send_default = _template("i", (input) => {
274
274
  }, "id", $scope2_id, "d", $sg__input_sessions, 1, $sg__input_sessions, "</select>", 1);
275
275
  });
276
276
  _html("</span>");
277
- _script($scope2_id, "i2");
277
+ _script($scope2_id, "j2");
278
278
  writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
279
279
  return 1;
280
280
  }
281
281
  }, $scope0_id, "d", 1, $sg__input_sessions, $sg__input_sessions, 0, 1);
282
282
  _html("</span>");
283
- _script($scope0_id, "i3");
283
+ _script($scope0_id, "j3");
284
284
  writeScope($scope0_id, {
285
285
  h: input.onCopy,
286
286
  i: input.onSend,
@@ -1765,7 +1765,7 @@ function clip(line, at, len) {
1765
1765
  //#endregion
1766
1766
  //#region src/tags/diff-find.marko
1767
1767
  var setSearchPaint$1;
1768
- var diff_find_default = _template("h", (input) => {
1768
+ var diff_find_default = _template("i", (input) => {
1769
1769
  const $scope0_reason = _scope_reason();
1770
1770
  const $scope0_id = _scope_id();
1771
1771
  let open = input.open;
@@ -1792,7 +1792,7 @@ var diff_find_default = _template("h", (input) => {
1792
1792
  hi = (i % list.length + list.length) % list.length;
1793
1793
  const hit = list[hi];
1794
1794
  setSearchPaint$1(q, hit, hitKeys(list) ?? void 0);
1795
- }, "h1", $scope0_id);
1795
+ }, "i1", $scope0_id);
1796
1796
  const type = _resume((v) => {
1797
1797
  if (!live.open) return;
1798
1798
  query = v;
@@ -1804,7 +1804,7 @@ var diff_find_default = _template("h", (input) => {
1804
1804
  box.timer = 0;
1805
1805
  emit(v, 0);
1806
1806
  }, 80);
1807
- }, "h2", $scope0_id);
1807
+ }, "i2", $scope0_id);
1808
1808
  const next = _resume((dir) => {
1809
1809
  if (!live.open) return;
1810
1810
  if (box.timer) {
@@ -1812,7 +1812,7 @@ var diff_find_default = _template("h", (input) => {
1812
1812
  box.timer = 0;
1813
1813
  }
1814
1814
  emit(query || "", (at < 0 ? 0 : at) + dir);
1815
- }, "h3", $scope0_id);
1815
+ }, "i3", $scope0_id);
1816
1816
  const close = _resume(() => {
1817
1817
  open = false;
1818
1818
  live.open = false;
@@ -1821,7 +1821,7 @@ var diff_find_default = _template("h", (input) => {
1821
1821
  box.timer = 0;
1822
1822
  }
1823
1823
  setSearchPaint$1("", null);
1824
- }, "h4", $scope0_id);
1824
+ }, "i4", $scope0_id);
1825
1825
  const focusInput = _resume(() => {
1826
1826
  const el = ((findEl) => findEl())(_el_read_error);
1827
1827
  if (!el) return;
@@ -1831,42 +1831,46 @@ var diff_find_default = _template("h", (input) => {
1831
1831
  el.focus();
1832
1832
  el.select();
1833
1833
  }, 0);
1834
- }, "h5", $scope0_id);
1835
- _html(`<div${_attr_class(["_ft", !open && "_fs"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
1834
+ }, "i5", $scope0_id);
1835
+ _html(`<div${_attr_class(["_fB", !open && "_fA"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
1836
1836
  type(v);
1837
- }, "h0", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("_fw")}>${open && (query || "").trim() ? hits.length ? `${_escape(`${at + 1}`)}/${_escape(`${hits.length}`)}` : "0/0" : ""}${_el_resume($scope0_id, "d")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class(findIconBtn)} title="Close find" tabindex=${open ? "0" : "-1"}>`);
1837
+ }, "i0", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("_fE")}>${open && (query || "").trim() ? hits.length ? `${_escape(`${at + 1}`)}/${_escape(`${hits.length}`)}` : "0/0" : ""}${_el_resume($scope0_id, "d")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
1838
+ icon_arrow_up_default({ size: 14 });
1839
+ _html(`</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
1840
+ icon_arrow_down_default({ size: 14 });
1841
+ _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class(findIconBtn)} title="Close find" tabindex=${open ? "0" : "-1"}>`);
1838
1842
  icon_xmark_default({ size: 14 });
1839
- _html(`</button>${_el_resume($scope0_id, "g")}</div>${_el_resume($scope0_id, "a")}`);
1840
- _script($scope0_id, "h6");
1841
- _script($scope0_id, "h7");
1842
- _script($scope0_id, "h8");
1843
+ _html(`</button>${_el_resume($scope0_id, "i")}</div>${_el_resume($scope0_id, "a")}`);
1844
+ _script($scope0_id, "i6");
1845
+ _script($scope0_id, "i7");
1846
+ _script($scope0_id, "i8");
1843
1847
  writeScope($scope0_id, {
1844
- k: _serialize_if($scope0_reason, 1) && input.open,
1845
- l: _serialize_if($scope0_reason, 0) && input.openChange,
1846
- n: _serialize_if($scope0_reason, 3) && input.query,
1847
- o: _serialize_if($scope0_reason, 2) && input.queryChange,
1848
- q: _serialize_if($scope0_reason, 5) && input.state,
1849
- r: _serialize_if($scope0_reason, 4) && input.stateChange,
1850
- t: input.files,
1851
- u: input.focusRef,
1852
- v: input.tick,
1853
- w: open,
1854
- y: query,
1855
- a3: hi,
1856
- a5: hits?.length,
1857
- a8: at,
1858
- ab: live.open,
1859
- ae: box.timer,
1860
- ag: box.tick,
1861
- ah: box.wasOpen,
1862
- ai: emit,
1863
- al: type,
1864
- an: next,
1865
- ao: close,
1866
- ap: focusInput,
1867
- x: input.openChange || void 0,
1868
- z: input.queryChange || void 0,
1869
- a2: input.stateChange || void 0
1848
+ m: _serialize_if($scope0_reason, 1) && input.open,
1849
+ n: _serialize_if($scope0_reason, 0) && input.openChange,
1850
+ p: _serialize_if($scope0_reason, 3) && input.query,
1851
+ q: _serialize_if($scope0_reason, 2) && input.queryChange,
1852
+ s: _serialize_if($scope0_reason, 5) && input.state,
1853
+ t: _serialize_if($scope0_reason, 4) && input.stateChange,
1854
+ v: input.files,
1855
+ w: input.focusRef,
1856
+ x: input.tick,
1857
+ y: open,
1858
+ a0: query,
1859
+ a5: hi,
1860
+ a7: hits?.length,
1861
+ aa: at,
1862
+ ad: live.open,
1863
+ ag: box.timer,
1864
+ ai: box.tick,
1865
+ aj: box.wasOpen,
1866
+ ak: emit,
1867
+ an: type,
1868
+ ap: next,
1869
+ aq: close,
1870
+ ar: focusInput,
1871
+ z: input.openChange || void 0,
1872
+ a1: input.queryChange || void 0,
1873
+ a4: input.stateChange || void 0
1870
1874
  });
1871
1875
  _resume_branch($scope0_id);
1872
1876
  });
@@ -1931,15 +1935,66 @@ function shortBranch(name, wsBranch = "", wsName = "") {
1931
1935
  }
1932
1936
  return shortHeadFallback(head);
1933
1937
  }
1934
- var repoWorktree = "_gS _x";
1935
- var repoTitle = "_gY _w";
1938
+ var repoWorktree = "_gs _x";
1939
+ var repoTitle = "_gy _w";
1940
+ //#endregion
1941
+ //#region src/tags/icons/icon-chevron-right.marko
1942
+ var icon_chevron_right_default = _template("R", (input) => {
1943
+ const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
1944
+ const $scope0_id = _scope_id();
1945
+ _set_serialize_reason({
1946
+ 0: $sg__input_size__OR__input_class,
1947
+ 1: $sg__input_size__OR__input_class
1948
+ });
1949
+ const $childScope = _peek_scope_id();
1950
+ icon_base_default({
1951
+ d: "M9 6L15 12L9 18",
1952
+ size: input.size,
1953
+ class: input.class
1954
+ });
1955
+ _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
1956
+ });
1957
+ //#endregion
1958
+ //#region src/tags/icons/icon-chevron-down.marko
1959
+ var icon_chevron_down_default = _template("Q", (input) => {
1960
+ const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
1961
+ const $scope0_id = _scope_id();
1962
+ _set_serialize_reason({
1963
+ 0: $sg__input_size__OR__input_class,
1964
+ 1: $sg__input_size__OR__input_class
1965
+ });
1966
+ const $childScope = _peek_scope_id();
1967
+ icon_base_default({
1968
+ d: "M6 9L12 15L18 9",
1969
+ size: input.size,
1970
+ class: input.class
1971
+ });
1972
+ _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
1973
+ });
1974
+ //#endregion
1975
+ //#region src/tags/icons/icon-comment.marko
1976
+ var icon_comment_default = _template("T", (input) => {
1977
+ const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
1978
+ const $scope0_id = _scope_id();
1979
+ _set_serialize_reason({
1980
+ 0: $sg__input_size__OR__input_class,
1981
+ 1: $sg__input_size__OR__input_class
1982
+ });
1983
+ const $childScope = _peek_scope_id();
1984
+ icon_base_default({
1985
+ d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 13.8214 2.48697 15.5291 3.33782 17L2.5 21.5L7 20.6622C8.47087 21.513 10.1786 22 12 22Z",
1986
+ size: input.size,
1987
+ class: input.class
1988
+ });
1989
+ _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
1990
+ });
1936
1991
  tone.warn;
1937
- var diff_file_default = _template("g", (input) => {
1992
+ var diff_file_default = _template("h", (input) => {
1938
1993
  _scope_reason();
1939
1994
  const $scope0_id = _scope_id();
1940
- _el($scope0_id, "g0");
1995
+ _el($scope0_id, "h0");
1941
1996
  _html(`<div${_attr_class(["_hl", input.class])}></div>${_el_resume($scope0_id, "a")}`);
1942
- _script($scope0_id, "g1");
1997
+ _script($scope0_id, "h1");
1943
1998
  writeScope($scope0_id, {
1944
1999
  e: input.file,
1945
2000
  f: input.comments,
@@ -1958,8 +2013,8 @@ var diff_file_default = _template("g", (input) => {
1958
2013
  });
1959
2014
  //#endregion
1960
2015
  //#region src/tags/review-section.marko
1961
- var review_section_default = _template("t", (input) => {
1962
- const $scope0_reason = _scope_reason(), $sg__input_repo = _serialize_guard($scope0_reason, 34), $si__input_repo = _serialize_if($scope0_reason, 34), $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened = _serialize_guard($scope0_reason, 31), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_guard($scope0_reason, 13), $sg__input_repo__OR__input_files_length = _serialize_guard($scope0_reason, 0), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_if($scope0_reason, 13), $sg__input_files__OR__input_shownKeys = _serialize_guard($scope0_reason, 3), $sg__input_files__OR__input_onlyNew = _serialize_guard($scope0_reason, 4), $sg__input_files = _serialize_guard($scope0_reason, 35), $sg__input_files__OR__input_commentsByFile = _serialize_guard($scope0_reason, 5), $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles = _serialize_guard($scope0_reason, 18), $si__input_files__OR__input_collapsedFiles = _serialize_if($scope0_reason, 6), $si__input_files = _serialize_if($scope0_reason, 35), $si__input_files__OR__input_commentsByFile = _serialize_if($scope0_reason, 5), $si__input_findHit_key = _serialize_if($scope0_reason, 43), $sg__input_files__OR__input_collapsedFiles = _serialize_guard($scope0_reason, 6), $si__input_onFileToggle = _serialize_if($scope0_reason, 44), $si__input_repo__OR__input_files__OR__input_shownKeys = _serialize_if($scope0_reason, 11), $si__input_collapsible__OR__input_collapsed = _serialize_if($scope0_reason, 9), $si__input_files__OR__input_collapsible__OR__input_collapsed__OR__input_opened = _serialize_if($scope0_reason, 24), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers = _serialize_if($scope0_reason, 23), $si__input_files__OR__input_shownKeys = _serialize_if($scope0_reason, 3), $si__input_files__OR__input_onlyNew = _serialize_if($scope0_reason, 4), $si__input = _serialize_if($scope0_reason, 33), $si__input_draft = _serialize_if($scope0_reason, 46), $si__input_sessions = _serialize_if($scope0_reason, 47), $si__input_onSelect = _serialize_if($scope0_reason, 48), $si__input_onSaveComment = _serialize_if($scope0_reason, 49), $si__input_onSendDraft = _serialize_if($scope0_reason, 50), $si__input_onCancelDraft = _serialize_if($scope0_reason, 51), $si__input_onDeleteComment = _serialize_if($scope0_reason, 52), $si__input_onEditComment = _serialize_if($scope0_reason, 53), $si__input_onSendComment = _serialize_if($scope0_reason, 54), $si__input_onError = _serialize_if($scope0_reason, 55), $si__input_shownKeys = _serialize_if($scope0_reason, 36), $si__input_commentsByFile = _serialize_if($scope0_reason, 41), $si__input_collapsedFiles = _serialize_if($scope0_reason, 42), $si__input_findHit_line = _serialize_if($scope0_reason, 45);
2016
+ var review_section_default = _template("u", (input) => {
2017
+ const $scope0_reason = _scope_reason(), $si__input_collapsed = _serialize_if($scope0_reason, 39), $sg__input_collapsed = _serialize_guard($scope0_reason, 39), $sg__input_repo = _serialize_guard($scope0_reason, 34), $si__input_repo = _serialize_if($scope0_reason, 34), $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened = _serialize_guard($scope0_reason, 31), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_guard($scope0_reason, 13), $sg__input_repo__OR__input_files_length = _serialize_guard($scope0_reason, 0), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_if($scope0_reason, 13), $sg__input_files__OR__input_shownKeys = _serialize_guard($scope0_reason, 3), $sg__input_files__OR__input_onlyNew = _serialize_guard($scope0_reason, 4), $sg__input_files = _serialize_guard($scope0_reason, 35), $sg__input_files__OR__input_commentsByFile = _serialize_guard($scope0_reason, 5), $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles = _serialize_guard($scope0_reason, 18), $si__input_files__OR__input_collapsedFiles = _serialize_if($scope0_reason, 6), $si__input_files = _serialize_if($scope0_reason, 35), $si__input_files__OR__input_commentsByFile = _serialize_if($scope0_reason, 5), $si__input_findHit_key = _serialize_if($scope0_reason, 43), $sg__input_files__OR__input_collapsedFiles = _serialize_guard($scope0_reason, 6), $si__input_onFileToggle = _serialize_if($scope0_reason, 44), $si__input_repo__OR__input_files__OR__input_shownKeys = _serialize_if($scope0_reason, 11), $si__input_collapsible__OR__input_collapsed = _serialize_if($scope0_reason, 9), $si__input_files__OR__input_collapsible__OR__input_collapsed__OR__input_opened = _serialize_if($scope0_reason, 24), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers = _serialize_if($scope0_reason, 23), $si__input_files__OR__input_shownKeys = _serialize_if($scope0_reason, 3), $si__input_files__OR__input_onlyNew = _serialize_if($scope0_reason, 4), $si__input = _serialize_if($scope0_reason, 33), $si__input_draft = _serialize_if($scope0_reason, 46), $si__input_sessions = _serialize_if($scope0_reason, 47), $si__input_onSelect = _serialize_if($scope0_reason, 48), $si__input_onSaveComment = _serialize_if($scope0_reason, 49), $si__input_onSendDraft = _serialize_if($scope0_reason, 50), $si__input_onCancelDraft = _serialize_if($scope0_reason, 51), $si__input_onDeleteComment = _serialize_if($scope0_reason, 52), $si__input_onEditComment = _serialize_if($scope0_reason, 53), $si__input_onSendComment = _serialize_if($scope0_reason, 54), $si__input_onError = _serialize_if($scope0_reason, 55), $si__input_shownKeys = _serialize_if($scope0_reason, 36), $si__input_commentsByFile = _serialize_if($scope0_reason, 41), $si__input_collapsedFiles = _serialize_if($scope0_reason, 42), $si__input_findHit_line = _serialize_if($scope0_reason, 45);
1963
2018
  const $scope0_id = _scope_id();
1964
2019
  const $input__closures = /* @__PURE__ */ new Set();
1965
2020
  const $input_draft__closures = /* @__PURE__ */ new Set();
@@ -1997,16 +2052,30 @@ var review_section_default = _template("t", (input) => {
1997
2052
  const newCount = input.files.filter((f) => f.changedSince).length;
1998
2053
  const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
1999
2054
  const prTitle = repo.pr ? `${repo.pr.title}: ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}` : "";
2000
- _html(`<section${_attr_class("_gO")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownCount && !repo.pr && input.findHit?.repo !== repo.id)}><div${_attr_class(["_gP", { ["_gQ"]: input.collapsible && input.collapsed }])}>`);
2055
+ _html(`<section${_attr_class("_go")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownCount && !repo.pr && input.findHit?.repo !== repo.id)}><div${_attr_class(["_gp", { ["_gq"]: input.collapsible && input.collapsed }])}>`);
2001
2056
  _if(() => {
2002
2057
  if (input.collapsible) {
2003
2058
  const $scope1_id = _scope_id();
2004
- _html(`<button type=button${_attr_class("_gR")} aria-expanded=${!input.collapsed ? "true" : "false"} aria-busy=${input.expanding ? "true" : "false"}${input.collapsed ? _attr("title", `Show ${countLabel} files`) : " title=\"Hide files\""}><span${_attr_class([
2005
- "_ha",
2006
- !input.collapsed && "_hb",
2007
- input.expanding && "_hc"
2008
- ])} aria-hidden=true>${input.collapsed ? "▸" : "▾"}${_el_resume($scope1_id, "c", _serialize_guard($scope0_reason, 39))}</span>${_el_resume($scope1_id, "b", _serialize_guard($scope0_reason, 10))}<span${_attr_class(repoWorktree)}>${_escape(repo.worktree)}${_el_resume($scope1_id, "e", $sg__input_repo)}</span></button>${_el_resume($scope1_id, "a")}`);
2009
- _script($scope1_id, "t9");
2059
+ _html(`<button type=button${_attr_class("_gr")} aria-expanded=${!input.collapsed ? "true" : "false"} aria-busy=${input.expanding ? "true" : "false"}${input.collapsed ? _attr("title", `Show ${countLabel} files`) : " title=\"Hide files\""}><span${_attr_class([
2060
+ "_gL",
2061
+ !input.collapsed && "_gM",
2062
+ input.expanding && "_gN"
2063
+ ])} aria-hidden=true>`);
2064
+ _if(() => {
2065
+ if (input.collapsed) {
2066
+ const $scope16_id = _scope_id();
2067
+ icon_chevron_right_default({ size: 14 });
2068
+ $si__input_collapsed && writeScope($scope16_id, {});
2069
+ return 0;
2070
+ } else {
2071
+ const $scope17_id = _scope_id();
2072
+ icon_chevron_down_default({ size: 14 });
2073
+ $si__input_collapsed && writeScope($scope17_id, {});
2074
+ return 1;
2075
+ }
2076
+ }, $scope1_id, "b", $sg__input_collapsed, _serialize_guard($scope0_reason, 10), $sg__input_collapsed, "</span>", 1);
2077
+ _html(`<span${_attr_class(repoWorktree)}>${_escape(repo.worktree)}${_el_resume($scope1_id, "d", $sg__input_repo)}</span></button>${_el_resume($scope1_id, "a")}`);
2078
+ _script($scope1_id, "u9");
2010
2079
  writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
2011
2080
  return 0;
2012
2081
  } else {
@@ -2029,14 +2098,14 @@ var review_section_default = _template("t", (input) => {
2029
2098
  return 1;
2030
2099
  }
2031
2100
  }, $scope0_id, "d", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened);
2032
- _html(`<span${_attr_class("_gZ")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_I", "_g0"])}>${_escape(compare$1.base)}${_el_resume($scope0_id, "g", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_K", "_g2"])} aria-hidden=true>vs</span><span${_attr_class(["_I", "_g1"])}>${_escape(compare$1.head)}${_el_resume($scope0_id, "j", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
2101
+ _html(`<span${_attr_class("_gz")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_I", "_gA"])}>${_escape(compare$1.base)}${_el_resume($scope0_id, "g", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_K", "_gC"])} aria-hidden=true>vs</span><span${_attr_class(["_I", "_gB"])}>${_escape(compare$1.head)}${_el_resume($scope0_id, "j", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
2033
2102
  _if(() => {
2034
2103
  if (compare$1.topic) {
2035
2104
  const $scope15_id = _scope_id();
2036
2105
  _html(`<span${_attr_class([
2037
2106
  "_I",
2038
2107
  tone.accent,
2039
- "_g3"
2108
+ "_gD"
2040
2109
  ])}>${_escape(compare$1.topic)}${_el_resume($scope15_id, "b", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
2041
2110
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope15_id, { _: _scope_with_id($scope0_id) });
2042
2111
  return 0;
@@ -2049,9 +2118,9 @@ var review_section_default = _template("t", (input) => {
2049
2118
  _html(`<button type=button${_attr_class([
2050
2119
  "_I",
2051
2120
  tone.warn,
2052
- "_g4"
2121
+ "_gE"
2053
2122
  ])}${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}. Reload to re-ask GitHub`)}${_attr("disabled", input.loading)}>behind GitHub ${_sep($sg__input_repo)}${_escape(shortSha(repo.head, 7))}${_el_resume($scope2_id, "b", $sg__input_repo)} → ${_sep($sg__input_repo)}${_escape(shortSha(repo.pr.headRefOid, 7))}${_el_resume($scope2_id, "c", $sg__input_repo)}</button>${_el_resume($scope2_id, "a")}`);
2054
- _script($scope2_id, "t10");
2123
+ _script($scope2_id, "u10");
2055
2124
  writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
2056
2125
  return 0;
2057
2126
  }
@@ -2059,7 +2128,7 @@ var review_section_default = _template("t", (input) => {
2059
2128
  _if(() => {
2060
2129
  if (repo.contained && input.files.length) {
2061
2130
  const $scope13_id = _scope_id();
2062
- _html(`<span${_attr_class(["_I", "_g4"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_sep($sg__input_repo)}${_escape(repo.base)}${_el_resume($scope13_id, "b", $sg__input_repo)}</span>${_el_resume($scope13_id, "a", $sg__input_repo)}`);
2131
+ _html(`<span${_attr_class(["_I", "_gE"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_sep($sg__input_repo)}${_escape(repo.base)}${_el_resume($scope13_id, "b", $sg__input_repo)}</span>${_el_resume($scope13_id, "a", $sg__input_repo)}`);
2063
2132
  _serialize_if($scope0_reason, 0) && writeScope($scope13_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
2064
2133
  return 0;
2065
2134
  }
@@ -2067,16 +2136,16 @@ var review_section_default = _template("t", (input) => {
2067
2136
  _if(() => {
2068
2137
  if (input.localDiffers) {
2069
2138
  const $scope3_id = _scope_id();
2070
- _html(`<span${_attr_class(["_I", "_g4"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_sep($sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}${_escape(shortBranch(repo.branch, input.workspaceBranch, input.workspaceName))}${_el_resume($scope3_id, "b", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)} ${_sep($sg__input_repo)}${_escape(shortSha(repo.localHead, 7))}${_el_resume($scope3_id, "c", $sg__input_repo)}</span>${_el_resume($scope3_id, "a", $sg__input_repo)}`);
2139
+ _html(`<span${_attr_class(["_I", "_gE"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_sep($sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}${_escape(shortBranch(repo.branch, input.workspaceBranch, input.workspaceName))}${_el_resume($scope3_id, "b", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)} ${_sep($sg__input_repo)}${_escape(shortSha(repo.localHead, 7))}${_el_resume($scope3_id, "c", $sg__input_repo)}</span>${_el_resume($scope3_id, "a", $sg__input_repo)}`);
2071
2140
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && writeScope($scope3_id, { _: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _scope_with_id($scope0_id) });
2072
2141
  return 0;
2073
2142
  }
2074
2143
  }, $scope0_id, "n", _serialize_guard($scope0_reason, 23), _serialize_guard($scope0_reason, 40), $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened, 0, 1);
2075
- _html(`<span${_attr_class("_gT")}><span>${_escape(countLabel)}${_el_resume($scope0_id, "p", $sg__input_files__OR__input_shownKeys)} file${_sep($sg__input_files__OR__input_shownKeys)}${countLabel === 1 ? "" : "s"}${_el_resume($scope0_id, "q", $sg__input_files__OR__input_shownKeys)}</span>`);
2144
+ _html(`<span${_attr_class("_gt")}><span>${_escape(countLabel)}${_el_resume($scope0_id, "p", $sg__input_files__OR__input_shownKeys)} file${_sep($sg__input_files__OR__input_shownKeys)}${countLabel === 1 ? "" : "s"}${_el_resume($scope0_id, "q", $sg__input_files__OR__input_shownKeys)}</span>`);
2076
2145
  _if(() => {
2077
2146
  if (stats.additions || stats.deletions) {
2078
2147
  const $scope14_id = _scope_id();
2079
- _html(`<span${_attr_class("_gU")}>+${_sep($sg__input_files__OR__input_shownKeys)}${_escape(stats.additions)}${_el_resume($scope14_id, "b", $sg__input_files__OR__input_shownKeys)}</span><span${_attr_class("_gV")}>−${_sep($sg__input_files__OR__input_shownKeys)}${_escape(stats.deletions)}${_el_resume($scope14_id, "d", $sg__input_files__OR__input_shownKeys)}</span>`);
2148
+ _html(`<span${_attr_class("_gu")}>+${_sep($sg__input_files__OR__input_shownKeys)}${_escape(stats.additions)}${_el_resume($scope14_id, "b", $sg__input_files__OR__input_shownKeys)}</span><span${_attr_class("_gv")}>−${_sep($sg__input_files__OR__input_shownKeys)}${_escape(stats.deletions)}${_el_resume($scope14_id, "d", $sg__input_files__OR__input_shownKeys)}</span>`);
2080
2149
  $si__input_files__OR__input_shownKeys && writeScope($scope14_id, { _: _scope_with_id($scope0_id) });
2081
2150
  return 0;
2082
2151
  }
@@ -2084,8 +2153,8 @@ var review_section_default = _template("t", (input) => {
2084
2153
  _if(() => {
2085
2154
  if (newCount || input.onlyNew) {
2086
2155
  const $scope4_id = _scope_id();
2087
- _html(`<button type=button${_attr_class(["_gX", { ["_gW"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_escape(newCount)}${_el_resume($scope4_id, "b", $sg__input_files)} new</button>${_el_resume($scope4_id, "a")}`);
2088
- _script($scope4_id, "t11");
2156
+ _html(`<button type=button${_attr_class(["_gx", { ["_gw"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_escape(newCount)}${_el_resume($scope4_id, "b", $sg__input_files)} new</button>${_el_resume($scope4_id, "a")}`);
2157
+ _script($scope4_id, "u11");
2089
2158
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
2090
2159
  return 0;
2091
2160
  }
@@ -2094,7 +2163,7 @@ var review_section_default = _template("t", (input) => {
2094
2163
  _if(() => {
2095
2164
  if (!input.collapsible || !input.collapsed || input.opened) {
2096
2165
  const $scope5_id = _scope_id();
2097
- _html(`<div${_attr_class("_g6")}${_attr("hidden", input.collapsible && input.collapsed)}>`);
2166
+ _html(`<div${_attr_class("_gG")}${_attr("hidden", input.collapsible && input.collapsed)}>`);
2098
2167
  _for_of(input.files, (file$1) => {
2099
2168
  const $scope6_id = _scope_id();
2100
2169
  const $for_content__file__closures = /* @__PURE__ */ new Set();
@@ -2104,39 +2173,41 @@ var review_section_default = _template("t", (input) => {
2104
2173
  const expanded = !input.collapsedFiles.has(file$1.key);
2105
2174
  _html(`<details${_attr_details_or_dialog_open($scope6_id, "a", expanded, _resume(function(open) {
2106
2175
  input.onFileToggle(file$1.key, open);
2107
- }, "t0", $scope6_id))}${_attr_class(["_g7", input.findHit?.key === file$1.key && "_gM"])}${_attr("data-key", file$1.key)}${_attr("hidden", !input.shownKeys.has(file$1.key))}><summary${_attr_class("_g9")}><span${_attr_class("_hd")}${_attr("data-status", file$1.status)}>${_escape(file$1.status)}${_el_resume($scope6_id, "d", $sg__input_files)}</span>${_el_resume($scope6_id, "c", $sg__input_files)}<span${_attr_class(["_he", input.findHit?.key === file$1.key && input.findHit.line < 1 && "_gN"])}${_attr("title", file$1.path)}><bdi>${_escape(file$1.path)}${_el_resume($scope6_id, "f", $sg__input_files)}</bdi></span>${_el_resume($scope6_id, "e", _serialize_guard($scope0_reason, 19))}`);
2176
+ }, "u0", $scope6_id))}${_attr_class(["_gH", input.findHit?.key === file$1.key && "_gm"])}${_attr("data-key", file$1.key)}${_attr("hidden", !input.shownKeys.has(file$1.key))}><summary${_attr_class("_gJ")}><span${_attr_class("_gO")}${_attr("data-status", file$1.status)}>${_escape(file$1.status)}${_el_resume($scope6_id, "d", $sg__input_files)}</span>${_el_resume($scope6_id, "c", $sg__input_files)}<span${_attr_class(["_gP", input.findHit?.key === file$1.key && input.findHit.line < 1 && "_gn"])}${_attr("title", file$1.path)}><bdi>${_escape(file$1.path)}${_el_resume($scope6_id, "f", $sg__input_files)}</bdi></span>${_el_resume($scope6_id, "e", _serialize_guard($scope0_reason, 19))}`);
2108
2177
  _if(() => {
2109
2178
  if (file$1.changedSince) {
2110
- const $scope17_id = _scope_id();
2111
- _html(`<span${_attr_class(["_z", "_g5"])} title="Changed since your last visit"></span>`);
2112
- $si__input_files && writeScope($scope17_id, {});
2179
+ const $scope19_id = _scope_id();
2180
+ _html(`<span${_attr_class(["_z", "_gF"])} title="Changed since your last visit"></span>`);
2181
+ $si__input_files && writeScope($scope19_id, {});
2113
2182
  return 0;
2114
2183
  }
2115
2184
  }, $scope6_id, "g", $sg__input_files, $sg__input_files, $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles, 0, 1);
2116
2185
  _if(() => {
2117
2186
  if (fileComments.length) {
2118
- const $scope16_id = _scope_id();
2119
- _html(`<span${_attr_class("_s")}>💬 ${_sep($sg__input_files__OR__input_commentsByFile)}${_escape(fileComments.length)}${_el_resume($scope16_id, "b", $sg__input_files__OR__input_commentsByFile)}</span>`);
2120
- $si__input_files__OR__input_commentsByFile && writeScope($scope16_id, { _: _scope_with_id($scope6_id) });
2187
+ const $scope18_id = _scope_id();
2188
+ _html(`<span${_attr_class("_s")}>`);
2189
+ icon_comment_default({ size: 12 });
2190
+ _html(` ${_sep($sg__input_files__OR__input_commentsByFile)}${_escape(fileComments.length)}${_el_resume($scope18_id, "c", $sg__input_files__OR__input_commentsByFile)}</span>`);
2191
+ $si__input_files__OR__input_commentsByFile && writeScope($scope18_id, { _: _scope_with_id($scope6_id) });
2121
2192
  return 0;
2122
2193
  }
2123
2194
  }, $scope6_id, "h", $sg__input_files__OR__input_commentsByFile, $sg__input_files__OR__input_commentsByFile, $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles, 0, 1);
2124
2195
  _html("</summary>");
2125
2196
  _if(() => {
2126
2197
  if (file$1.binary) {
2127
- const $scope18_id = _scope_id();
2128
- _html(`<p${_attr_class(["_hf", "_g8"])}>binary file</p>`);
2129
- $si__input_files__OR__input_collapsedFiles && writeScope($scope18_id, {});
2198
+ const $scope20_id = _scope_id();
2199
+ _html(`<p${_attr_class(["_gQ", "_gI"])}>binary file</p>`);
2200
+ $si__input_files__OR__input_collapsedFiles && writeScope($scope20_id, {});
2130
2201
  return 0;
2131
2202
  } else if (file$1.tooLarge) {
2132
- const $scope19_id = _scope_id();
2133
- _html(`<p${_attr_class(["_hf", "_g8"])}>file too large to display</p>`);
2134
- $si__input_files__OR__input_collapsedFiles && writeScope($scope19_id, {});
2203
+ const $scope21_id = _scope_id();
2204
+ _html(`<p${_attr_class(["_gQ", "_gI"])}>file too large to display</p>`);
2205
+ $si__input_files__OR__input_collapsedFiles && writeScope($scope21_id, {});
2135
2206
  return 1;
2136
2207
  } else if (file$1.old == null && file$1.new == null) {
2137
- const $scope20_id = _scope_id();
2138
- _html(`<p${_attr_class(["_hf", "_g8"])}>file could not be read</p>`);
2139
- $si__input_files__OR__input_collapsedFiles && writeScope($scope20_id, {});
2208
+ const $scope22_id = _scope_id();
2209
+ _html(`<p${_attr_class(["_gQ", "_gI"])}>file could not be read</p>`);
2210
+ $si__input_files__OR__input_collapsedFiles && writeScope($scope22_id, {});
2140
2211
  return 2;
2141
2212
  } else if (expanded) {
2142
2213
  const $scope7_id = _scope_id();
@@ -2145,43 +2216,43 @@ var review_section_default = _template("t", (input) => {
2145
2216
  _if(() => {
2146
2217
  if (!forceNear) {
2147
2218
  const $scope8_id = _scope_id();
2148
- _html(`<div${_attr_class(["_g_", "_g8"])}></div>${_el_resume($scope8_id, "a")}`);
2149
- _script($scope8_id, "t12");
2219
+ _html(`<div${_attr_class(["_gK", "_gI"])}></div>${_el_resume($scope8_id, "a")}`);
2220
+ _script($scope8_id, "u12");
2150
2221
  _subscribe($si__input && $input__closures, writeScope($scope8_id, {}));
2151
2222
  return 0;
2152
2223
  } else {
2153
2224
  const $scope9_id = _scope_id();
2154
2225
  const $childScope = _peek_scope_id();
2155
2226
  diff_file_default({
2156
- class: "_g8",
2227
+ class: "_gI",
2157
2228
  file: file$1,
2158
2229
  comments: fileComments,
2159
2230
  draft: input.draft && input.draft.key === file$1.key ? input.draft : null,
2160
2231
  sessions: input.sessions,
2161
2232
  onSelect: _resume(function(range) {
2162
2233
  input.onSelect(file$1, range);
2163
- }, "t1", $scope9_id),
2234
+ }, "u1", $scope9_id),
2164
2235
  onSaveComment: _resume(function(text) {
2165
2236
  input.onSaveComment(file$1, text);
2166
- }, "t2", $scope9_id),
2237
+ }, "u2", $scope9_id),
2167
2238
  onSendDraft: _resume(function(text, sessionId) {
2168
2239
  input.onSendDraft(file$1, text, sessionId);
2169
- }, "t3", $scope9_id),
2240
+ }, "u3", $scope9_id),
2170
2241
  onCancelDraft: _resume(function() {
2171
2242
  input.onCancelDraft();
2172
- }, "t4", $scope9_id),
2243
+ }, "u4", $scope9_id),
2173
2244
  onDeleteComment: _resume(function(id) {
2174
2245
  input.onDeleteComment(id);
2175
- }, "t5", $scope9_id),
2246
+ }, "u5", $scope9_id),
2176
2247
  onEditComment: _resume(function(id, text) {
2177
2248
  input.onEditComment(id, text);
2178
- }, "t6", $scope9_id),
2249
+ }, "u6", $scope9_id),
2179
2250
  onSendComment: _resume(function(id, sessionId) {
2180
2251
  input.onSendComment(id, sessionId);
2181
- }, "t7", $scope9_id),
2252
+ }, "u7", $scope9_id),
2182
2253
  onError: _resume(function(message) {
2183
2254
  input.onError(message);
2184
- }, "t8", $scope9_id)
2255
+ }, "u8", $scope9_id)
2185
2256
  });
2186
2257
  _subscribe($si__input_files__OR__input_commentsByFile && $for_content__fileComments__closures, _subscribe($si__input_files && $for_content__file_key__closures, _subscribe($si__input_files && $for_content__file__closures, _subscribe($si__input_onError && $input_onError__closures, _subscribe($si__input_onSendComment && $input_onSendComment__closures, _subscribe($si__input_onEditComment && $input_onEditComment__closures, _subscribe($si__input_onDeleteComment && $input_onDeleteComment__closures, _subscribe($si__input_onCancelDraft && $input_onCancelDraft__closures, _subscribe($si__input_onSendDraft && $input_onSendDraft__closures, _subscribe($si__input_onSaveComment && $input_onSaveComment__closures, _subscribe($si__input_onSelect && $input_onSelect__closures, _subscribe($si__input_sessions && $input_sessions__closures, _subscribe($si__input_draft && $input_draft__closures, writeScope($scope9_id, { a: _serialize_if($scope0_reason, 32) && _existing_scope($childScope) }))))))))))))));
2187
2258
  return 1;
@@ -2197,7 +2268,7 @@ var review_section_default = _template("t", (input) => {
2197
2268
  }
2198
2269
  }, $scope6_id, "i", $sg__input_files__OR__input_collapsedFiles, $sg__input_files__OR__input_collapsedFiles, $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles);
2199
2270
  _html(`</details>${_el_resume($scope6_id, "a")}`);
2200
- _script($scope6_id, "t13");
2271
+ _script($scope6_id, "u13");
2201
2272
  _subscribe($si__input_findHit_line && $input_findHit_line__closures, _subscribe($si__input_onFileToggle && $input_onFileToggle__closures, _subscribe($si__input_findHit_key && $input_findHit_key__closures, _subscribe($si__input_collapsedFiles && $input_collapsedFiles__closures, _subscribe($si__input_commentsByFile && $input_commentsByFile__closures, _subscribe($si__input_shownKeys && $input_shownKeys__closures, writeScope($scope6_id, {
2202
2273
  k: file$1,
2203
2274
  l: file$1?.key,
@@ -2293,10 +2364,10 @@ var review_section_default = _template("t", (input) => {
2293
2364
  cd: $si__input_findHit_line && $input_findHit_line__closures
2294
2365
  });
2295
2366
  });
2296
- var fileFilter = "_hh _l";
2367
+ var fileFilter = "_hn _l";
2297
2368
  //#endregion
2298
2369
  //#region src/tags/file-filter.marko
2299
- var file_filter_default = _template("m", (input) => {
2370
+ var file_filter_default = _template("n", (input) => {
2300
2371
  const $scope0_reason = _scope_reason();
2301
2372
  const $scope0_id = _scope_id();
2302
2373
  let value = input.value;
@@ -2311,7 +2382,7 @@ var file_filter_default = _template("m", (input) => {
2311
2382
  const next = pending !== null ? pending : value || "";
2312
2383
  pending = null;
2313
2384
  value = next;
2314
- }, "m1", $scope0_id);
2385
+ }, "n1", $scope0_id);
2315
2386
  const type = _resume((v) => {
2316
2387
  if (box.timer) clearTimeout(box.timer);
2317
2388
  if (!v) {
@@ -2322,11 +2393,11 @@ var file_filter_default = _template("m", (input) => {
2322
2393
  }
2323
2394
  pending = v;
2324
2395
  box.timer = setTimeout(flush, 150);
2325
- }, "m2", $scope0_id);
2326
- _html(`<div${_attr_class("_hg")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
2396
+ }, "n2", $scope0_id);
2397
+ _html(`<div${_attr_class("_hm")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
2327
2398
  type(v);
2328
- }, "m0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
2329
- _script($scope0_id, "m3");
2399
+ }, "n0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
2400
+ _script($scope0_id, "n3");
2330
2401
  writeScope($scope0_id, {
2331
2402
  e: _serialize_if($scope0_reason, 1) && input.value,
2332
2403
  f: _serialize_if($scope0_reason, 0) && input.valueChange,
@@ -2343,7 +2414,7 @@ var file_filter_default = _template("m", (input) => {
2343
2414
  //#endregion
2344
2415
  //#region src/tags/diff-tree-dir.marko
2345
2416
  var $content = (input) => {
2346
- const $scope0_reason = _scope_reason(), $sg__input_dir__OR__input_collapsed__OR__input_onToggleDir__OR__input_collapsedKey__OR__input_hrefFor__OR__input_collapsedFiles__OR__input_commentKeys__OR__input_newKeys = _serialize_guard($scope0_reason, 3), $sg__input = _serialize_guard($scope0_reason, 4), $si__input = _serialize_if($scope0_reason, 4), $sg__input_dir = _serialize_guard($scope0_reason, 5), $sg__input_dir__OR__input_newKeys = _serialize_guard($scope0_reason, 1), $sg__input_dir__OR__input_commentKeys__OR__input_newKeys = _serialize_guard($scope0_reason, 2), $sg__input_dir__OR__input_commentKeys = _serialize_guard($scope0_reason, 0), $si__input_collapsedFiles = _serialize_if($scope0_reason, 10), $si__input_dir = _serialize_if($scope0_reason, 5), $si__input_collapsed = _serialize_if($scope0_reason, 6), $si__input_onToggleDir = _serialize_if($scope0_reason, 7), $si__input_collapsedKey = _serialize_if($scope0_reason, 8), $si__input_hrefFor = _serialize_if($scope0_reason, 9), $si__input_commentKeys = _serialize_if($scope0_reason, 11), $si__input_newKeys = _serialize_if($scope0_reason, 12);
2417
+ const $scope0_reason = _scope_reason(), $si__input = _serialize_if($scope0_reason, 4), $sg__input = _serialize_guard($scope0_reason, 4), $sg__input_dir__OR__input_collapsed__OR__input_onToggleDir__OR__input_collapsedKey__OR__input_hrefFor__OR__input_collapsedFiles__OR__input_commentKeys__OR__input_newKeys = _serialize_guard($scope0_reason, 3), $sg__input_dir = _serialize_guard($scope0_reason, 5), $sg__input_dir__OR__input_newKeys = _serialize_guard($scope0_reason, 1), $sg__input_dir__OR__input_commentKeys__OR__input_newKeys = _serialize_guard($scope0_reason, 2), $sg__input_dir__OR__input_commentKeys = _serialize_guard($scope0_reason, 0), $si__input_collapsedFiles = _serialize_if($scope0_reason, 10), $si__input_dir = _serialize_if($scope0_reason, 5), $si__input_collapsed = _serialize_if($scope0_reason, 6), $si__input_onToggleDir = _serialize_if($scope0_reason, 7), $si__input_collapsedKey = _serialize_if($scope0_reason, 8), $si__input_hrefFor = _serialize_if($scope0_reason, 9), $si__input_commentKeys = _serialize_if($scope0_reason, 11), $si__input_newKeys = _serialize_if($scope0_reason, 12);
2347
2418
  const $scope0_id = _scope_id();
2348
2419
  const $input_collapsed__closures = /* @__PURE__ */ new Set();
2349
2420
  const $input_onToggleDir__closures = /* @__PURE__ */ new Set();
@@ -2356,7 +2427,21 @@ var $content = (input) => {
2356
2427
  _for_of(dir.dirs, (child) => {
2357
2428
  const $scope1_id = _scope_id();
2358
2429
  const shut = input.collapsed.has(input.collapsedKey(child.path));
2359
- _html(`<div${_attr_class("_f_")}><button type=button${_attr_class(["_ga", { ["_f2"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_gh")}>${shut ? "▸" : "▾"}${_el_resume($scope1_id, "d", $sg__input)}</span><span${_attr_class("_gb")}>${_escape(child.label)}${_el_resume($scope1_id, "f", $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
2430
+ _html(`<div${_attr_class("_fV")}><button type=button${_attr_class(["_fW", { ["_fN"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_f3")}>`);
2431
+ _if(() => {
2432
+ if (shut) {
2433
+ const $scope4_id = _scope_id();
2434
+ icon_chevron_right_default({ size: 12 });
2435
+ $si__input && writeScope($scope4_id, {});
2436
+ return 0;
2437
+ } else {
2438
+ const $scope5_id = _scope_id();
2439
+ icon_chevron_down_default({ size: 12 });
2440
+ $si__input && writeScope($scope5_id, {});
2441
+ return 1;
2442
+ }
2443
+ }, $scope1_id, "c", $sg__input, $sg__input, $sg__input, "</span>", 1);
2444
+ _html(`<span${_attr_class("_fX")}>${_escape(child.label)}${_el_resume($scope1_id, "e", $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
2360
2445
  _if(() => {
2361
2446
  if (!shut) {
2362
2447
  const $scope2_id = _scope_id();
@@ -2392,31 +2477,33 @@ var $content = (input) => {
2392
2477
  }))))))));
2393
2478
  return 0;
2394
2479
  }
2395
- }, $scope1_id, "g", $sg__input, $sg__input, $sg__input);
2480
+ }, $scope1_id, "f", $sg__input, $sg__input, $sg__input);
2396
2481
  _html("</div>");
2397
- _script($scope1_id, "j0");
2482
+ _script($scope1_id, "k0");
2398
2483
  writeScope($scope1_id, {
2399
- i: child,
2400
- j: $si__input && child?.path,
2484
+ h: child,
2485
+ i: $si__input && child?.path,
2401
2486
  _: _scope_with_id($scope0_id)
2402
2487
  });
2403
2488
  }, "path", $scope0_id, "a", $sg__input, $sg__input_dir, $sg__input_dir, 0, 1);
2404
2489
  _for_of(dir.files, ({ file, name }) => {
2405
2490
  const $scope3_id = _scope_id();
2406
- _html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_gd", { ["_gc"]: input.collapsedFiles?.has(file.key) }])}${input.collapsedFiles?.has(file.key) ? _attr("title", `${file.path} (folded — click to open)`) : _attr("title", file.path)}${_attr_style(`--depth:${dir.depth + 1}`)}><span${_attr_class("_gi")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope3_id, "c", $sg__input_dir)}</span>${_el_resume($scope3_id, "b", $sg__input_dir)}<span${_attr_class("_ge")}>${_escape(name)}${_el_resume($scope3_id, "e", $sg__input_dir)}</span>`);
2491
+ _html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_fZ", { ["_fY"]: input.collapsedFiles?.has(file.key) }])}${input.collapsedFiles?.has(file.key) ? _attr("title", `${file.path} (folded — click to open)`) : _attr("title", file.path)}${_attr_style(`--depth:${dir.depth + 1}`)}><span${_attr_class("_f4")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope3_id, "c", $sg__input_dir)}</span>${_el_resume($scope3_id, "b", $sg__input_dir)}<span${_attr_class("_f0")}>${_escape(name)}${_el_resume($scope3_id, "e", $sg__input_dir)}</span>`);
2407
2492
  _if(() => {
2408
2493
  if (input.newKeys.has(file.key)) {
2409
- const $scope4_id = _scope_id();
2410
- _html(`<span${_attr_class(["_z", "_gf"])} title="Changed since your last visit"></span>`);
2411
- _serialize_if($scope0_reason, 1) && writeScope($scope4_id, {});
2494
+ const $scope6_id = _scope_id();
2495
+ _html(`<span${_attr_class(["_z", "_f1"])} title="Changed since your last visit"></span>`);
2496
+ _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
2412
2497
  return 0;
2413
2498
  }
2414
2499
  }, $scope3_id, "f", $sg__input_dir__OR__input_newKeys, $sg__input_dir__OR__input_newKeys, $sg__input_dir__OR__input_commentKeys__OR__input_newKeys, 0, 1);
2415
2500
  _if(() => {
2416
2501
  if (input.commentKeys.has(file.key)) {
2417
- const $scope5_id = _scope_id();
2418
- _html(`<span${_attr_class("_gg")}>💬</span>`);
2419
- _serialize_if($scope0_reason, 0) && writeScope($scope5_id, {});
2502
+ const $scope7_id = _scope_id();
2503
+ _html(`<span${_attr_class("_f2")}>`);
2504
+ icon_comment_default({ size: 12 });
2505
+ _html("</span>");
2506
+ _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
2420
2507
  return 0;
2421
2508
  }
2422
2509
  }, $scope3_id, "g", $sg__input_dir__OR__input_commentKeys, $sg__input_dir__OR__input_commentKeys, $sg__input_dir__OR__input_commentKeys__OR__input_newKeys, 0, 1);
@@ -2446,10 +2533,10 @@ var $content = (input) => {
2446
2533
  x: $si__input_newKeys && $input_newKeys__closures
2447
2534
  });
2448
2535
  };
2449
- var diff_tree_dir_default = _template("j", $content);
2536
+ var diff_tree_dir_default = _template("k", $content);
2450
2537
  //#endregion
2451
2538
  //#region src/tags/diff-tree.marko
2452
- var diff_tree_default = _template("k", (input) => {
2539
+ var diff_tree_default = _template("l", (input) => {
2453
2540
  const $scope0_reason = _scope_reason(), $sg__input_sections = _serialize_guard($scope0_reason, 10), $si__input_onDirToggle = _serialize_if($scope0_reason, 12), $si__input_collapsedFiles = _serialize_if($scope0_reason, 13), $si__input_commentKeys = _serialize_if($scope0_reason, 7), $si__input_newKeys = _serialize_if($scope0_reason, 8), $si__input_workspaceId__OR__input_scope = _serialize_if($scope0_reason, 0);
2454
2541
  const $scope0_id = _scope_id();
2455
2542
  const $input_onDirToggle__closures = /* @__PURE__ */ new Set();
@@ -2470,39 +2557,53 @@ var diff_tree_default = _template("k", (input) => {
2470
2557
  view: "diff",
2471
2558
  scope: input.scope ?? null,
2472
2559
  file: key
2473
- }), "k0", $scope0_id);
2474
- _html(`<aside${_attr_class(["_f3", { ["_f2"]: input.open === false }])}><div${_attr_class("_f4")}>`);
2560
+ }), "l0", $scope0_id);
2561
+ _html(`<aside${_attr_class(["_fO", { ["_fN"]: input.open === false }])}><div${_attr_class("_fP")}>`);
2475
2562
  _set_serialize_reason(2);
2476
2563
  const $childScope = _peek_scope_id();
2477
2564
  file_filter_default({
2478
2565
  value: filter,
2479
2566
  valueChange: _resume((_new_filter) => {
2480
2567
  filter = _new_filter;
2481
- }, "k1", $scope0_id)
2568
+ }, "l1", $scope0_id)
2482
2569
  });
2483
- _html(`</div><div${_attr_class("_f5")}>`);
2570
+ _html(`</div><div${_attr_class("_fQ")}>`);
2484
2571
  _if(() => {
2485
2572
  if (!input.sections.length && filter) {
2486
2573
  const $scope3_id = _scope_id();
2487
- _html(`<p${_attr_class("_f6")}>No files match.</p>`);
2574
+ _html(`<p${_attr_class("_fR")}>No files match.</p>`);
2488
2575
  writeScope($scope3_id, {});
2489
2576
  return 0;
2490
2577
  }
2491
2578
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
2492
2579
  _for_of(input.sections, (section) => {
2493
2580
  const $scope1_id = _scope_id();
2494
- _html(`<div${_attr_class("_f7")}><button type=button${_attr_class(["_f8", { ["_f2"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_gh")}>${collapsedRepos.has(section.id) ? "▸" : "▾"}${_el_resume($scope1_id, "d")}</span><span${_attr_class("_gb")}>${_escape(section.label)}${_el_resume($scope1_id, "f", $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
2581
+ _html(`<div${_attr_class("_fS")}><button type=button${_attr_class(["_fT", { ["_fN"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_f3")}>`);
2582
+ _if(() => {
2583
+ if (collapsedRepos.has(section.id)) {
2584
+ const $scope4_id = _scope_id();
2585
+ icon_chevron_right_default({ size: 12 });
2586
+ writeScope($scope4_id, {});
2587
+ return 0;
2588
+ } else {
2589
+ const $scope5_id = _scope_id();
2590
+ icon_chevron_down_default({ size: 12 });
2591
+ writeScope($scope5_id, {});
2592
+ return 1;
2593
+ }
2594
+ }, $scope1_id, "c", 1, 1, 1, "</span>", 1);
2595
+ _html(`<span${_attr_class("_fX")}>${_escape(section.label)}${_el_resume($scope1_id, "e", $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
2495
2596
  _if(() => {
2496
2597
  if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
2497
2598
  const $scope2_id = _scope_id();
2498
2599
  const root = treeDirs(section.files);
2499
- _html(`<div${_attr_class("_f9")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
2600
+ _html(`<div${_attr_class("_fU")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
2500
2601
  _set_serialize_reason(1);
2501
2602
  const $childScope2 = _peek_scope_id();
2502
2603
  diff_tree_dir_default({
2503
2604
  dir: root,
2504
2605
  collapsed: collapsedDirs,
2505
- collapsedKey: _resume((path) => `${section.id}/${path}`, "k2", $scope2_id),
2606
+ collapsedKey: _resume((path) => `${section.id}/${path}`, "l2", $scope2_id),
2506
2607
  onToggleDir: _resume(function(dir) {
2507
2608
  const key = `${section.id}/${dir.path}`;
2508
2609
  const next = new Set(collapsedDirs);
@@ -2510,7 +2611,7 @@ var diff_tree_default = _template("k", (input) => {
2510
2611
  if (collapsed) next.add(key);
2511
2612
  collapsedDirs = next;
2512
2613
  input.onDirToggle?.(section.files.filter((f) => f.path.startsWith(`${dir.path}/`)).map((f) => f.key), collapsed);
2513
- }, "k3", $scope2_id),
2614
+ }, "l3", $scope2_id),
2514
2615
  hrefFor,
2515
2616
  collapsedFiles: input.collapsedFiles,
2516
2617
  commentKeys,
@@ -2523,12 +2624,12 @@ var diff_tree_default = _template("k", (input) => {
2523
2624
  }))))))));
2524
2625
  return 0;
2525
2626
  }
2526
- }, $scope1_id, "g", 1, 1, 1, 0, 1);
2627
+ }, $scope1_id, "f", 1, 1, 1, 0, 1);
2527
2628
  _html("</div>");
2528
- _script($scope1_id, "k4");
2629
+ _script($scope1_id, "l4");
2529
2630
  writeScope($scope1_id, {
2530
- j: section?.id,
2531
- n: section?.files,
2631
+ i: section?.id,
2632
+ m: section?.files,
2532
2633
  _: _scope_with_id($scope0_id)
2533
2634
  });
2534
2635
  }, "id", $scope0_id, "f", 1, $sg__input_sections, $sg__input_sections, 0, 1);
@@ -2568,7 +2669,7 @@ var diff_tree_default = _template("k", (input) => {
2568
2669
  });
2569
2670
  //#endregion
2570
2671
  //#region src/tags/diff-file-sheet.marko
2571
- var diff_file_sheet_default = _template("f", (input) => {
2672
+ var diff_file_sheet_default = _template("g", (input) => {
2572
2673
  const $scope0_reason = _scope_reason(), $sg__input_total__OR__input_files_length = _serialize_guard($scope0_reason, 2), $sg__input_files = _serialize_guard($scope0_reason, 12), $sg__input_newKeys__OR__input_files = _serialize_guard($scope0_reason, 1), $sg__input_commentKeys__OR__input_newKeys__OR__input_files = _serialize_guard($scope0_reason, 4), $sg__input_commentKeys__OR__input_files = _serialize_guard($scope0_reason, 0), $si__input_files = _serialize_if($scope0_reason, 12), $sg__input_files_length = _serialize_guard($scope0_reason, 13), $si__input_files_length = _serialize_if($scope0_reason, 13), $si__input_commentKeys = _serialize_if($scope0_reason, 10), $si__input_newKeys = _serialize_if($scope0_reason, 11), $si__input_workspaceId__OR__input_scope = _serialize_if($scope0_reason, 3);
2573
2674
  const $scope0_id = _scope_id();
2574
2675
  const $commentKeys__closures = /* @__PURE__ */ new Set();
@@ -2584,7 +2685,7 @@ var diff_file_sheet_default = _template("f", (input) => {
2584
2685
  view: "diff",
2585
2686
  scope: input.scope ?? null,
2586
2687
  file: key
2587
- }), "f0", $scope0_id);
2688
+ }), "g0", $scope0_id);
2588
2689
  const groups = (() => {
2589
2690
  const out = [];
2590
2691
  const byRepo = /* @__PURE__ */ new Map();
@@ -2621,39 +2722,39 @@ var diff_file_sheet_default = _template("f", (input) => {
2621
2722
  _if(() => {
2622
2723
  if (open) {
2623
2724
  const $scope1_id = _scope_id();
2624
- _html(`<div${_attr_class("_fL")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_fM")} role=dialog aria-label="Jump to file"><div${_attr_class("_fN")}><strong${_attr_class("_fK")}>Files</strong><span${_attr_class("_fO")}>${_escape(input.files.length)}${_el_resume($scope1_id, "f", $sg__input_files_length)}${_sep($sg__input_total__OR__input_files_length)}${input.files.length !== total ? ` / ${_escape(`${total}`)}` : ""}${_el_resume($scope1_id, "g", $sg__input_total__OR__input_files_length)}</span><button type=button${_attr_class([iconBtnLg, "_fJ"])} title=Close aria-label=Close>`);
2725
+ _html(`<div${_attr_class("_f7")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_f8")} role=dialog aria-label="Jump to file"><div${_attr_class("_f9")}><strong${_attr_class("_f6")}>Files</strong><span${_attr_class("_f_")}>${_escape(input.files.length)}${_el_resume($scope1_id, "f", $sg__input_files_length)}${_sep($sg__input_total__OR__input_files_length)}${input.files.length !== total ? ` / ${_escape(`${total}`)}` : ""}${_el_resume($scope1_id, "g", $sg__input_total__OR__input_files_length)}</span><button type=button${_attr_class([iconBtnLg, "_f5"])} title=Close aria-label=Close>`);
2625
2726
  icon_xmark_default({ size: 16 });
2626
- _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_fW")}>`);
2727
+ _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_gh")}>`);
2627
2728
  _set_serialize_reason(2);
2628
2729
  const $childScope = _peek_scope_id();
2629
2730
  file_filter_default({
2630
2731
  value: filter,
2631
2732
  valueChange: _resume((_new_filter) => {
2632
2733
  filter = _new_filter;
2633
- }, "f1", $scope1_id)
2734
+ }, "g1", $scope1_id)
2634
2735
  });
2635
- _html(`</div><div${_attr_class("_fP")}>`);
2736
+ _html(`</div><div${_attr_class("_ga")}>`);
2636
2737
  _for_of(groups, (group) => {
2637
2738
  const $scope2_id = _scope_id();
2638
- _html(`<div${_attr_class("_fQ")}><div${_attr_class("_fR")}>${_escape(group.repo)}${_el_resume($scope2_id, "c", $sg__input_files)}</div>`);
2739
+ _html(`<div${_attr_class("_gb")}><div${_attr_class("_gc")}>${_escape(group.repo)}${_el_resume($scope2_id, "c", $sg__input_files)}</div>`);
2639
2740
  _for_of(group.dirs, ({ dir, files }) => {
2640
2741
  const $scope3_id = _scope_id();
2641
- _html(`<div${_attr_class("_fS")}>`);
2742
+ _html(`<div${_attr_class("_gd")}>`);
2642
2743
  _if(() => {
2643
2744
  if (dir) {
2644
2745
  const $scope5_id = _scope_id();
2645
- _html(`<div${_attr_class("_fU")}${_attr("title", dir)}><bdi>${_escape(dir)}${_el_resume($scope5_id, "b", $sg__input_files)}/</bdi></div>${_el_resume($scope5_id, "a", $sg__input_files)}`);
2746
+ _html(`<div${_attr_class("_gf")}${_attr("title", dir)}><bdi>${_escape(dir)}${_el_resume($scope5_id, "b", $sg__input_files)}/</bdi></div>${_el_resume($scope5_id, "a", $sg__input_files)}`);
2646
2747
  $si__input_files && writeScope($scope5_id, { _: _scope_with_id($scope3_id) });
2647
2748
  return 0;
2648
2749
  }
2649
2750
  }, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
2650
2751
  _for_of(files, ({ file, name }) => {
2651
2752
  const $scope4_id = _scope_id();
2652
- _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_fT", "_x"])}><span${_attr_class("_fZ")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope4_id, "c", $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_fV")}><bdi>${_escape(name)}${_el_resume($scope4_id, "e", $sg__input_files)}</bdi></span>`);
2753
+ _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_ge", "_x"])}><span${_attr_class("_gl")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope4_id, "c", $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_gg")}><bdi>${_escape(name)}${_el_resume($scope4_id, "e", $sg__input_files)}</bdi></span>`);
2653
2754
  _if(() => {
2654
2755
  if (newKeys.has(file.key)) {
2655
2756
  const $scope6_id = _scope_id();
2656
- _html(`<span${_attr_class(["_z", "_fY"])} title="Changed since your last visit"></span>`);
2757
+ _html(`<span${_attr_class(["_z", "_gj"])} title="Changed since your last visit"></span>`);
2657
2758
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
2658
2759
  return 0;
2659
2760
  }
@@ -2661,13 +2762,16 @@ var diff_file_sheet_default = _template("f", (input) => {
2661
2762
  _if(() => {
2662
2763
  if (commentKeys.has(file.key)) {
2663
2764
  const $scope7_id = _scope_id();
2664
- _html("<span>💬</span>");
2765
+ icon_comment_default({
2766
+ size: 12,
2767
+ class: "_gk"
2768
+ });
2665
2769
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
2666
2770
  return 0;
2667
2771
  }
2668
2772
  }, $scope4_id, "g", $sg__input_commentKeys__OR__input_files, $sg__input_commentKeys__OR__input_files, $sg__input_commentKeys__OR__input_newKeys__OR__input_files, 0, 1);
2669
2773
  _html(`</a>${_el_resume($scope4_id, "a")}`);
2670
- _script($scope4_id, "f2");
2774
+ _script($scope4_id, "g2");
2671
2775
  _subscribe($si__input_workspaceId__OR__input_scope && $hrefFor2__closures, _subscribe($si__input_newKeys && $newKeys__closures, _subscribe($si__input_commentKeys && $commentKeys__closures, writeScope($scope4_id, {
2672
2776
  k: _serialize_if($scope0_reason, 5) && file?.key,
2673
2777
  _: _scope_with_id($scope3_id)
@@ -2685,13 +2789,13 @@ var diff_file_sheet_default = _template("f", (input) => {
2685
2789
  _if(() => {
2686
2790
  if (!input.files.length) {
2687
2791
  const $scope8_id = _scope_id();
2688
- _html(`<p${_attr_class("_fX")}>No files match.</p>`);
2792
+ _html(`<p${_attr_class("_gi")}>No files match.</p>`);
2689
2793
  $si__input_files_length && writeScope($scope8_id, {});
2690
2794
  return 0;
2691
2795
  }
2692
2796
  }, $scope1_id, "n", $sg__input_files_length, $sg__input_files_length, $sg__input_files_length, 0, 1);
2693
2797
  _html("</div></div>");
2694
- _script($scope1_id, "f3");
2798
+ _script($scope1_id, "g3");
2695
2799
  writeScope($scope1_id, { k: _existing_scope($childScope) });
2696
2800
  return 0;
2697
2801
  }
@@ -2725,7 +2829,7 @@ var api;
2725
2829
  var getTermDims;
2726
2830
  var revealSearchHit;
2727
2831
  var setSearchPaint;
2728
- var diff_view_default = _template("l", (input) => {
2832
+ var diff_view_default = _template("m", (input) => {
2729
2833
  const $scope0_reason = _scope_reason(), $si__input_sessions = _serialize_if($scope0_reason, 5), $si__input_workspaceBranch = _serialize_if($scope0_reason, 6), $si__input_workspaceName = _serialize_if($scope0_reason, 7);
2730
2834
  const $scope0_id = _scope_id();
2731
2835
  const $error__closures = /* @__PURE__ */ new Set();
@@ -2761,14 +2865,14 @@ var diff_view_default = _template("l", (input) => {
2761
2865
  let fileFilter = diffFilter(input.workspaceId);
2762
2866
  const $filterChange = _resume((_new_fileFilter) => {
2763
2867
  fileFilter = _new_fileFilter;
2764
- }, "l1", $scope0_id);
2868
+ }, "m1", $scope0_id);
2765
2869
  let onlyNew = false;
2766
2870
  let scope$1 = input.scope ?? diffScope();
2767
2871
  let treeOpen = diffTreeOpen();
2768
2872
  let fileSheet = false;
2769
2873
  let findOpen = input.findOpen;
2770
2874
  let findTick = input.findTick || 0;
2771
- const findFocusRef = input.findFocusRef || { focus: _resume(function() {}, "l2") };
2875
+ const findFocusRef = input.findFocusRef || { focus: _resume(function() {}, "m2") };
2772
2876
  let findState = {
2773
2877
  query: "",
2774
2878
  hit: null,
@@ -2781,7 +2885,7 @@ var diff_view_default = _template("l", (input) => {
2781
2885
  for (const key of keys) if (collapsed) next.add(key);
2782
2886
  else next.delete(key);
2783
2887
  if (next.size !== collapsedFiles.size || [...next].some((k) => !collapsedFiles.has(k))) collapsedFiles = next;
2784
- }, "l3", $scope0_id);
2888
+ }, "m3", $scope0_id);
2785
2889
  let openedRepos = /* @__PURE__ */ new Set();
2786
2890
  let expandingRepos = /* @__PURE__ */ new Set();
2787
2891
  const nearBox = {
@@ -2822,7 +2926,7 @@ var diff_view_default = _template("l", (input) => {
2822
2926
  cb();
2823
2927
  }
2824
2928
  });
2825
- }, "l4", $scope0_id);
2929
+ }, "m4", $scope0_id);
2826
2930
  const pinToTop = _resume((el) => {
2827
2931
  const root = ((scrollEl) => scrollEl())(_el_read_error);
2828
2932
  if (!root) {
@@ -2831,14 +2935,14 @@ var diff_view_default = _template("l", (input) => {
2831
2935
  }
2832
2936
  const top = el.getBoundingClientRect().top - root.getBoundingClientRect().top + root.scrollTop;
2833
2937
  root.scrollTo({ top: Math.max(0, top - 8) });
2834
- }, "l5", $scope0_id);
2938
+ }, "m5", $scope0_id);
2835
2939
  const retryFrames = _resume((attempt, ms = 2500) => {
2836
2940
  const started = Date.now();
2837
2941
  const tick = () => {
2838
2942
  if (!attempt() && Date.now() - started < ms) requestAnimationFrame(tick);
2839
2943
  };
2840
2944
  tick();
2841
- }, "l6");
2945
+ }, "m6");
2842
2946
  const focusPrSection = _resume((pr) => {
2843
2947
  if (!pr) return;
2844
2948
  const list = repos || [];
@@ -2856,13 +2960,13 @@ var diff_view_default = _template("l", (input) => {
2856
2960
  if (el) pinToTop(el);
2857
2961
  return !!el;
2858
2962
  });
2859
- }, "l7", $scope0_id);
2860
- const findFile = _resume((key) => ((scrollEl) => scrollEl())(_el_read_error)?.querySelector(`details[data-key="${CSS.escape(key)}"]`) ?? null, "l8", $scope0_id);
2963
+ }, "m7", $scope0_id);
2964
+ const findFile = _resume((key) => ((scrollEl) => scrollEl())(_el_read_error)?.querySelector(`details[data-key="${CSS.escape(key)}"]`) ?? null, "m8", $scope0_id);
2861
2965
  const openFile = _resume((key) => {
2862
2966
  const el = findFile(key);
2863
2967
  if (el) el.open = true;
2864
2968
  return el;
2865
- }, "l9", $scope0_id);
2969
+ }, "m9", $scope0_id);
2866
2970
  const jumpTo = _resume((key) => {
2867
2971
  input.onFileChange?.(key);
2868
2972
  retryFrames(() => {
@@ -2870,7 +2974,7 @@ var diff_view_default = _template("l", (input) => {
2870
2974
  if (el) pinToTop(el);
2871
2975
  return !!el;
2872
2976
  });
2873
- }, "l10", $scope0_id);
2977
+ }, "m10", $scope0_id);
2874
2978
  const posBox = {
2875
2979
  anchor: null,
2876
2980
  raf: 0,
@@ -2892,17 +2996,17 @@ var diff_view_default = _template("l", (input) => {
2892
2996
  };
2893
2997
  }
2894
2998
  return best;
2895
- }, "l11", $scope0_id);
2999
+ }, "m11", $scope0_id);
2896
3000
  const noteScroll = _resume(() => {
2897
3001
  if (posBox.raf) return;
2898
3002
  posBox.raf = requestAnimationFrame(() => {
2899
3003
  posBox.raf = 0;
2900
3004
  if (((scrollEl) => scrollEl())(_el_read_error)?.isConnected) posBox.anchor = anchorAt();
2901
3005
  });
2902
- }, "l12", $scope0_id);
3006
+ }, "m12", $scope0_id);
2903
3007
  const savePos = _resume(() => {
2904
3008
  if (repos) setDiffPos(input.workspaceId, posBox.anchor);
2905
- }, "l13", $scope0_id);
3009
+ }, "m13", $scope0_id);
2906
3010
  const restorePos = _resume((pos) => {
2907
3011
  const run = ++posBox.run;
2908
3012
  const started = Date.now();
@@ -2932,7 +3036,7 @@ var diff_view_default = _template("l", (input) => {
2932
3036
  } else if (!pinnedAt && Date.now() - started < 2500) requestAnimationFrame(tick);
2933
3037
  };
2934
3038
  requestAnimationFrame(tick);
2935
- }, "l14", $scope0_id);
3039
+ }, "m14", $scope0_id);
2936
3040
  const headBox = {
2937
3041
  sig: "",
2938
3042
  timer: 0
@@ -2964,14 +3068,14 @@ var diff_view_default = _template("l", (input) => {
2964
3068
  } finally {
2965
3069
  if (seq === loadBox.seq) loading = false;
2966
3070
  }
2967
- }, "l15", $scope0_id);
3071
+ }, "m15", $scope0_id);
2968
3072
  const setScope = _resume((next, persist = true) => {
2969
3073
  if (next === scope$1) return;
2970
3074
  scope$1 = next;
2971
3075
  if (persist) setDiffScope(next);
2972
3076
  input.onScopeChange?.(next);
2973
3077
  load(next);
2974
- }, "l16", $scope0_id);
3078
+ }, "m16", $scope0_id);
2975
3079
  const sendGate = { busy: 0 };
2976
3080
  const loadReview = _resume(async () => {
2977
3081
  if (sendGate.busy) return;
@@ -2980,15 +3084,15 @@ var diff_view_default = _template("l", (input) => {
2980
3084
  if (sendGate.busy) return;
2981
3085
  comments = reviewData.comments || [];
2982
3086
  } catch {}
2983
- }, "l17", $scope0_id);
2984
- const reload = _resume(() => load(scope$1, true), "l18", $scope0_id);
3087
+ }, "m17", $scope0_id);
3088
+ const reload = _resume(() => load(scope$1, true), "m18", $scope0_id);
2985
3089
  const reloadSoon = _resume(() => {
2986
3090
  if (headBox.timer) clearTimeout(headBox.timer);
2987
3091
  headBox.timer = setTimeout(() => {
2988
3092
  headBox.timer = 0;
2989
3093
  reload();
2990
3094
  }, 250);
2991
- }, "l19", $scope0_id);
3095
+ }, "m19", $scope0_id);
2992
3096
  const markSeen = _resume(() => {
2993
3097
  if (!repos) return;
2994
3098
  const heads = {};
@@ -3007,7 +3111,7 @@ var diff_view_default = _template("l", (input) => {
3007
3111
  }),
3008
3112
  keepalive: true
3009
3113
  }).catch(() => {});
3010
- }, "l20", $scope0_id);
3114
+ }, "m20", $scope0_id);
3011
3115
  const repoList = repos || [];
3012
3116
  const allFiles = repoList.flatMap((r) => r.files.map((f) => ({
3013
3117
  ...f,
@@ -3030,7 +3134,7 @@ var diff_view_default = _template("l", (input) => {
3030
3134
  else map.set(f.repo, [f]);
3031
3135
  }
3032
3136
  return map;
3033
- }, "l21");
3137
+ }, "m21");
3034
3138
  const filesByRepo = groupByRepo(allFiles);
3035
3139
  const shownByRepo = groupByRepo(shownFiles);
3036
3140
  const commentsByFile = (() => {
@@ -3049,7 +3153,7 @@ var diff_view_default = _template("l", (input) => {
3049
3153
  }));
3050
3154
  const localDifferIds = new Set(repoList.filter((repo) => !!repo.pr && !!repo.localHead && (repo.localHead !== repo.head || repo.branch !== repo.pr.headRefName)).map((r) => r.id));
3051
3155
  const hasFiles = !repos || allFiles.length > 0;
3052
- const fileWorktree = _resume((repo) => repo.includes("#") ? repo.split("#")[0] : repo, "l22");
3156
+ const fileWorktree = _resume((repo) => repo.includes("#") ? repo.split("#")[0] : repo, "m22");
3053
3157
  const anchorFor = _resume((file, range) => {
3054
3158
  const section = repoList.find((r) => r.id === file.repo);
3055
3159
  const source = range.side === "deletions" ? file.old : file.new;
@@ -3057,7 +3161,7 @@ var diff_view_default = _template("l", (input) => {
3057
3161
  head: section?.head,
3058
3162
  snippet: source == null ? void 0 : quoteRange(source, range.start, range.end, range.side === "deletions" ? "deletions" : "additions")
3059
3163
  };
3060
- }, "l23", $scope0_id);
3164
+ }, "m23", $scope0_id);
3061
3165
  const saveComment = _resume(async (file, text) => {
3062
3166
  const range = draft;
3063
3167
  draft = null;
@@ -3081,16 +3185,16 @@ var diff_view_default = _template("l", (input) => {
3081
3185
  } catch (err) {
3082
3186
  error = String(err.message || err);
3083
3187
  }
3084
- }, "l24", $scope0_id);
3188
+ }, "m24", $scope0_id);
3085
3189
  const deleteRemote = _resume((ids) => ids === "all" ? fetch(`/api/workspaces/${input.workspaceId}/review`, {
3086
3190
  method: "POST",
3087
3191
  headers: { "content-type": "application/json" },
3088
3192
  body: JSON.stringify({ action: "clear" })
3089
- }) : Promise.all(ids.map((id) => fetch(`/api/workspaces/${input.workspaceId}/review/${id}`, { method: "DELETE" }))), "l25", $scope0_id);
3193
+ }) : Promise.all(ids.map((id) => fetch(`/api/workspaces/${input.workspaceId}/review/${id}`, { method: "DELETE" }))), "m25", $scope0_id);
3090
3194
  const removeComment = _resume(async (id) => {
3091
3195
  comments = comments.filter((c) => c.id !== id);
3092
3196
  await deleteRemote([id]).catch(() => {});
3093
- }, "l26", $scope0_id);
3197
+ }, "m26", $scope0_id);
3094
3198
  const editComment = _resume(async (id, text) => {
3095
3199
  const prev = comments.find((c) => c.id === id);
3096
3200
  if (!prev) return;
@@ -3111,7 +3215,7 @@ var diff_view_default = _template("l", (input) => {
3111
3215
  error = String(err.message || err);
3112
3216
  throw err;
3113
3217
  }
3114
- }, "l27", $scope0_id);
3218
+ }, "m27", $scope0_id);
3115
3219
  const dispatch = _resume(async (list, to, consume) => {
3116
3220
  if (!list.length) return true;
3117
3221
  sendGate.busy++;
@@ -3147,13 +3251,13 @@ var diff_view_default = _template("l", (input) => {
3147
3251
  } finally {
3148
3252
  sendGate.busy--;
3149
3253
  }
3150
- }, "l28", $scope0_id);
3151
- const copyMarkdown = _resume(() => dispatch(comments, { clipboard: true }, "all"), "l29", $scope0_id);
3152
- const sendTo = _resume((sessionId) => dispatch(comments, { session: sessionId }, "all"), "l30", $scope0_id);
3254
+ }, "m28", $scope0_id);
3255
+ const copyMarkdown = _resume(() => dispatch(comments, { clipboard: true }, "all"), "m29", $scope0_id);
3256
+ const sendTo = _resume((sessionId) => dispatch(comments, { session: sessionId }, "all"), "m30", $scope0_id);
3153
3257
  const sendOneComment = _resume((id, sessionId) => {
3154
3258
  const comment = comments.find((c) => c.id === id);
3155
3259
  return comment ? dispatch([comment], { session: sessionId }, [id]) : Promise.resolve(false);
3156
- }, "l31", $scope0_id);
3260
+ }, "m31", $scope0_id);
3157
3261
  const sendDraftComment = _resume((file, text, sessionId) => {
3158
3262
  const range = draft;
3159
3263
  const trimmed = text.trim();
@@ -3171,12 +3275,12 @@ var diff_view_default = _template("l", (input) => {
3171
3275
  ...anchorFor(file, range)
3172
3276
  };
3173
3277
  return dispatch([one], { session: sessionId }, []);
3174
- }, "l32", $scope0_id);
3278
+ }, "m32", $scope0_id);
3175
3279
  const openFind = _resume(() => {
3176
3280
  findOpen = true;
3177
3281
  findTick++;
3178
3282
  findFocusRef.focus();
3179
- }, "l33", $scope0_id);
3283
+ }, "m33", $scope0_id);
3180
3284
  const onFindState = _resume((next) => {
3181
3285
  findState = next;
3182
3286
  if (!next.hit) return;
@@ -3191,7 +3295,7 @@ var diff_view_default = _template("l", (input) => {
3191
3295
  setSearchPaint(next.query, hit);
3192
3296
  revealSearchHit();
3193
3297
  }, 0);
3194
- }, "l34", $scope0_id);
3298
+ }, "m34", $scope0_id);
3195
3299
  const toggleSection = _resume((id) => {
3196
3300
  if (expandingRepos.has(id)) {
3197
3301
  const busy = new Set(expandingRepos);
@@ -3223,23 +3327,23 @@ var diff_view_default = _template("l", (input) => {
3223
3327
  openedRepos = /* @__PURE__ */ new Set([...openedRepos, id]);
3224
3328
  collapsedRepos = /* @__PURE__ */ new Set([...collapsedRepos, id]);
3225
3329
  }
3226
- }, "l35", $scope0_id);
3227
- _html(`<div${_attr_class("_ej")}><div${_attr_class("_eo")}><div${_attr_class("_ep")}><div${_attr_class(["_ez", { ["_ey"]: !comments.length }])}>`);
3330
+ }, "m35", $scope0_id);
3331
+ _html(`<div${_attr_class("_eV")}><div${_attr_class("_e0")}><div${_attr_class("_e1")}><div${_attr_class(["_fa", { ["_e_"]: !comments.length }])}>`);
3228
3332
  _if(() => {
3229
3333
  if (input.onExit) {
3230
3334
  const $scope1_id = _scope_id();
3231
- _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_eq"])} title="Back to terminal (Esc)">`);
3335
+ _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_e2"])} title="Back to terminal (Esc)">`);
3232
3336
  icon_back_default({ size: 14 });
3233
3337
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 1))}`);
3234
3338
  _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 1) && _scope_with_id($scope0_id) });
3235
3339
  return 0;
3236
3340
  }
3237
3341
  }, $scope0_id, "e", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 4), 1, 0, 1);
3238
- _html(`<h1${_attr_class("_et")}>Review</h1>`);
3342
+ _html(`<h1${_attr_class("_e5")}>Review</h1>`);
3239
3343
  _if(() => {
3240
3344
  if (comments.length) {
3241
3345
  const $scope5_id = _scope_id();
3242
- _html(`<span${_attr_class("_es")}>${_escape(comments.length)}${_el_resume($scope5_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope5_id, "c")}</span>`);
3346
+ _html(`<span${_attr_class("_e4")}>${_escape(comments.length)}${_el_resume($scope5_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope5_id, "c")}</span>`);
3243
3347
  writeScope($scope5_id, {});
3244
3348
  return 0;
3245
3349
  }
@@ -3247,7 +3351,7 @@ var diff_view_default = _template("l", (input) => {
3247
3351
  _if(() => {
3248
3352
  if (comments.length) {
3249
3353
  const $scope2_id = _scope_id();
3250
- _html(`<span${_attr_class("_er")}>`);
3354
+ _html(`<span${_attr_class("_e3")}>`);
3251
3355
  _set_serialize_reason(_serialize_guard($scope0_reason, 5));
3252
3356
  const $childScope = _peek_scope_id();
3253
3357
  diff_send_default({
@@ -3260,23 +3364,23 @@ var diff_view_default = _template("l", (input) => {
3260
3364
  return 0;
3261
3365
  }
3262
3366
  }, $scope0_id, "h", 1, 1, 1, 0, 1);
3263
- _html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("_en")}>`);
3367
+ _html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("_eZ")}>`);
3264
3368
  _if(() => {
3265
3369
  if (hasFiles) {
3266
3370
  const $scope12_id = _scope_id();
3267
3371
  _html(`<button${_attr_class([
3268
3372
  treeToggle,
3269
- "_el",
3270
- { ["_ek"]: treeOpen }
3373
+ "_eX",
3374
+ { ["_eW"]: treeOpen }
3271
3375
  ])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
3272
3376
  icon_sidebar_default({ size: 14 });
3273
3377
  _html(`</button>${_el_resume($scope12_id, "a")}`);
3274
- _script($scope12_id, "l54");
3378
+ _script($scope12_id, "m54");
3275
3379
  writeScope($scope12_id, {});
3276
3380
  return 0;
3277
3381
  }
3278
3382
  }, $scope0_id, "j", 1, 1, 1, 0, 1);
3279
- _html(`<button${_attr_class([iconBtnRow, "_el"])} title="Refresh diff"${_attr("disabled", loading)}>`);
3383
+ _html(`<button${_attr_class([iconBtnRow, "_eX"])} title="Refresh diff"${_attr("disabled", loading)}>`);
3280
3384
  _set_serialize_reason(1);
3281
3385
  const $childScope2 = _peek_scope_id();
3282
3386
  icon_refresh_default({
@@ -3287,19 +3391,19 @@ var diff_view_default = _template("l", (input) => {
3287
3391
  _if(() => {
3288
3392
  if (hasFiles) {
3289
3393
  const $scope13_id = _scope_id();
3290
- _html(`<button${_attr_class(["_o", "_eL"])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope13_id, "b")})</button>${_el_resume($scope13_id, "a")}`);
3291
- _script($scope13_id, "l55");
3394
+ _html(`<button${_attr_class(["_o", "_fm"])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope13_id, "b")})</button>${_el_resume($scope13_id, "a")}`);
3395
+ _script($scope13_id, "m55");
3292
3396
  writeScope($scope13_id, {});
3293
3397
  return 0;
3294
3398
  }
3295
3399
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
3296
- _html(`<div${_attr_class("_eA")} role=group aria-label="Review scope"><button type=button${_attr_class(["_eC", { ["_eB"]: scope$1 === "committed" }])} aria-pressed=${scope$1 === "committed" ? "true" : "false"} title="Committed changes only (base…tip, no working-tree edits)"${_attr("disabled", loading)}>Committed</button>${_el_resume($scope0_id, "o")}<button type=button${_attr_class(["_eC", { ["_eB"]: scope$1 === "working" }])} aria-pressed=${scope$1 === "working" ? "true" : "false"} title="Committed changes plus uncommitted and untracked files"${_attr("disabled", loading)}>Working tree</button>${_el_resume($scope0_id, "p")}<button type=button${_attr_class(["_eC", { ["_eB"]: scope$1 === "dirty" }])} aria-pressed=${scope$1 === "dirty" ? "true" : "false"} title="Only uncommitted and untracked files, against HEAD"${_attr("disabled", loading)}>Uncommitted</button>${_el_resume($scope0_id, "q")}</div><span${_attr_class(["_m", "_eD"])}>`);
3400
+ _html(`<div${_attr_class("_fb")} role=group aria-label="Review scope"><button type=button${_attr_class(["_fd", { ["_fc"]: scope$1 === "committed" }])} aria-pressed=${scope$1 === "committed" ? "true" : "false"} title="Committed changes only (base…tip, no working-tree edits)"${_attr("disabled", loading)}>Committed</button>${_el_resume($scope0_id, "o")}<button type=button${_attr_class(["_fd", { ["_fc"]: scope$1 === "working" }])} aria-pressed=${scope$1 === "working" ? "true" : "false"} title="Committed changes plus uncommitted and untracked files"${_attr("disabled", loading)}>Working tree</button>${_el_resume($scope0_id, "p")}<button type=button${_attr_class(["_fd", { ["_fc"]: scope$1 === "dirty" }])} aria-pressed=${scope$1 === "dirty" ? "true" : "false"} title="Only uncommitted and untracked files, against HEAD"${_attr("disabled", loading)}>Uncommitted</button>${_el_resume($scope0_id, "q")}</div><span${_attr_class(["_m", "_fe"])}>`);
3297
3401
  _attr_select_value($scope0_id, "s", scope$1, _resume(function(v) {
3298
3402
  setScope(v);
3299
- }, "l0", $scope0_id), () => {
3300
- _html(`<select${_attr_class(["_n", "_eE"])} aria-label="Review scope"${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option></select>`);
3403
+ }, "m0", $scope0_id), () => {
3404
+ _html(`<select${_attr_class(["_n", "_ff"])} aria-label="Review scope"${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option></select>`);
3301
3405
  });
3302
- _html(`${_el_resume($scope0_id, "s")}</span><div${_attr_class(["_ew", { ["_ev"]: !findOpen }])}>`);
3406
+ _html(`${_el_resume($scope0_id, "s")}</span><div${_attr_class(["_e8", { ["_e7"]: !findOpen }])}>`);
3303
3407
  _set_serialize_reason(2);
3304
3408
  const $childScope3 = _peek_scope_id();
3305
3409
  diff_find_default({
@@ -3308,11 +3412,11 @@ var diff_view_default = _template("l", (input) => {
3308
3412
  open: findOpen,
3309
3413
  openChange: _resume((_new_findOpen) => {
3310
3414
  findOpen = _new_findOpen;
3311
- }, "l36", $scope0_id),
3415
+ }, "m36", $scope0_id),
3312
3416
  focusRef: findFocusRef,
3313
3417
  stateChange: _resume(function(s) {
3314
3418
  onFindState(s);
3315
- }, "l37", $scope0_id)
3419
+ }, "m37", $scope0_id)
3316
3420
  });
3317
3421
  _html(`</div>${_el_resume($scope0_id, "t")}`);
3318
3422
  _if(() => {
@@ -3320,25 +3424,25 @@ var diff_view_default = _template("l", (input) => {
3320
3424
  const $scope14_id = _scope_id();
3321
3425
  _html(`<button${_attr_class([
3322
3426
  iconBtnRow,
3323
- "_eu",
3324
- "_el"
3427
+ "_e6",
3428
+ "_eX"
3325
3429
  ])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
3326
3430
  icon_search_default({ size: 14 });
3327
3431
  _html(`</button>${_el_resume($scope14_id, "a")}`);
3328
- _script($scope14_id, "l56");
3432
+ _script($scope14_id, "m56");
3329
3433
  writeScope($scope14_id, {});
3330
3434
  return 0;
3331
3435
  }
3332
3436
  }, $scope0_id, "v", 1, 1, 1, 0, 1);
3333
- _html(`</div></div><div${_attr_class("_ex")} data-diff-main>`);
3437
+ _html(`</div></div><div${_attr_class("_e9")} data-diff-main>`);
3334
3438
  _if(() => {
3335
3439
  if (error) {
3336
3440
  const $scope6_id = _scope_id();
3337
3441
  toast_default({
3338
3442
  onDismiss: _resume(function() {
3339
3443
  error = null;
3340
- }, "l38", $scope6_id),
3341
- content: _content_resume("l57", () => {
3444
+ }, "m38", $scope6_id),
3445
+ content: _content_resume("m57", () => {
3342
3446
  _scope_reason();
3343
3447
  const $scope7_id = _scope_id();
3344
3448
  _html(`${_escape(error)}${_el_resume($scope7_id, "a")}`);
@@ -3353,7 +3457,7 @@ var diff_view_default = _template("l", (input) => {
3353
3457
  _if(() => {
3354
3458
  if (!repos && loading) {
3355
3459
  const $scope15_id = _scope_id();
3356
- _html(`<div${_attr_class("_eG")} aria-hidden=true><div${_attr_class(["_eH", "_eI"])}></div><div${_attr_class(["_eH", "_eJ"])}></div><div${_attr_class(["_eH", "_eK"])}></div><div${_attr_class(["_eH", "_eJ"])}></div><div${_attr_class(["_eH", "_eK"])}></div></div>`);
3460
+ _html(`<div${_attr_class("_fh")} aria-hidden=true><div${_attr_class(["_fi", "_fj"])}></div><div${_attr_class(["_fi", "_fk"])}></div><div${_attr_class(["_fi", "_fl"])}></div><div${_attr_class(["_fi", "_fk"])}></div><div${_attr_class(["_fi", "_fl"])}></div></div>`);
3357
3461
  writeScope($scope15_id, {});
3358
3462
  return 0;
3359
3463
  }
@@ -3367,7 +3471,7 @@ var diff_view_default = _template("l", (input) => {
3367
3471
  kind: "warn",
3368
3472
  placement: "inline",
3369
3473
  title: `${repo.worktree}: base not found`,
3370
- content: _content_resume("l58", () => {
3474
+ content: _content_resume("m58", () => {
3371
3475
  _scope_reason();
3372
3476
  const $scope10_id = _scope_id();
3373
3477
  _html(`${_escape(repo.base)}${_el_resume($scope10_id, "a")}<!>${scope$1 !== "committed" ? ", showing uncommitted changes only" : ""}${_el_resume($scope10_id, "b")}.`);
@@ -3384,12 +3488,12 @@ var diff_view_default = _template("l", (input) => {
3384
3488
  _if(() => {
3385
3489
  if (repos && !allFiles.length) {
3386
3490
  const $scope11_id = _scope_id();
3387
- _html(`<p${_attr_class("_bv")}>${repoList.some((r) => r.unborn) ? "No commits yet." : scope$1 === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base."}${_el_resume($scope11_id, "b")}</p>`);
3491
+ _html(`<p${_attr_class("_bG")}>${repoList.some((r) => r.unborn) ? "No commits yet." : scope$1 === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base."}${_el_resume($scope11_id, "b")}</p>`);
3388
3492
  writeScope($scope11_id, {});
3389
3493
  return 0;
3390
3494
  } else if (repos && !shownFiles.length && !findState.hit) {
3391
3495
  const $scope8_id = _scope_id();
3392
- _html(`<p${_attr_class("_bv")}>${findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${_escape(`${fileFilter}`)}".`}${_el_resume($scope8_id, "b")}</p>`);
3496
+ _html(`<p${_attr_class("_bG")}>${findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${_escape(`${fileFilter}`)}".`}${_el_resume($scope8_id, "b")}</p>`);
3393
3497
  writeScope($scope8_id, {});
3394
3498
  return 1;
3395
3499
  }
@@ -3412,14 +3516,14 @@ var diff_view_default = _template("l", (input) => {
3412
3516
  opened: openedRepos.has(repo.id),
3413
3517
  onToggle: _resume(function() {
3414
3518
  toggleSection(repo.id);
3415
- }, "l39", $scope4_id),
3519
+ }, "m39", $scope4_id),
3416
3520
  workspaceBranch: input.workspaceBranch || "",
3417
3521
  workspaceName: input.workspaceName || "",
3418
3522
  localDiffers: localDifferIds.has(repo.id),
3419
3523
  onlyNew,
3420
3524
  onToggleNew: _resume(function() {
3421
3525
  onlyNew = !onlyNew;
3422
- }, "l40", $scope4_id),
3526
+ }, "m40", $scope4_id),
3423
3527
  onReload: reload,
3424
3528
  loading,
3425
3529
  findHit: findState.hit,
@@ -3430,7 +3534,7 @@ var diff_view_default = _template("l", (input) => {
3430
3534
  collapsedFiles,
3431
3535
  onFileToggle: _resume(function(key, open) {
3432
3536
  setFilesCollapsed([key], !open);
3433
- }, "l41", $scope4_id),
3537
+ }, "m41", $scope4_id),
3434
3538
  onSelect: _resume(function(file, range) {
3435
3539
  draft = {
3436
3540
  key: file.key,
@@ -3438,28 +3542,28 @@ var diff_view_default = _template("l", (input) => {
3438
3542
  start: Math.min(range.start, range.end),
3439
3543
  end: Math.max(range.start, range.end)
3440
3544
  };
3441
- }, "l42", $scope4_id),
3545
+ }, "m42", $scope4_id),
3442
3546
  onSaveComment: _resume(function(file, text) {
3443
3547
  saveComment(file, text);
3444
- }, "l43", $scope4_id),
3548
+ }, "m43", $scope4_id),
3445
3549
  onSendDraft: _resume(function(file, text, sessionId) {
3446
3550
  sendDraftComment(file, text, sessionId);
3447
- }, "l44", $scope4_id),
3551
+ }, "m44", $scope4_id),
3448
3552
  onCancelDraft: _resume(function() {
3449
3553
  draft = null;
3450
- }, "l45", $scope4_id),
3554
+ }, "m45", $scope4_id),
3451
3555
  onDeleteComment: _resume(function(id) {
3452
3556
  removeComment(id);
3453
- }, "l46", $scope4_id),
3557
+ }, "m46", $scope4_id),
3454
3558
  onEditComment: _resume(function(id, text) {
3455
3559
  editComment(id, text);
3456
- }, "l47", $scope4_id),
3560
+ }, "m47", $scope4_id),
3457
3561
  onSendComment: _resume(function(id, sessionId) {
3458
3562
  sendOneComment(id, sessionId);
3459
- }, "l48", $scope4_id),
3563
+ }, "m48", $scope4_id),
3460
3564
  onError: _resume(function(message) {
3461
3565
  error = message;
3462
- }, "l49", $scope4_id)
3566
+ }, "m49", $scope4_id)
3463
3567
  });
3464
3568
  _subscribe($toggleSection2__closures, _subscribe($sendDraftComment2__closures, _subscribe($sendOneComment2__closures, _subscribe($editComment2__closures, _subscribe($removeComment2__closures, _subscribe($saveComment2__closures, _subscribe($localDifferIds__closures, _subscribe($commentsByFile__closures, _subscribe($shownKeySet__closures, _subscribe($repoList_length__closures, _subscribe($reload2__closures, _subscribe($expandingRepos__closures, _subscribe($openedRepos__closures, _subscribe($setFilesCollapsed2__closures, _subscribe($collapsedFiles__closures, _subscribe($collapsedRepos__closures, _subscribe($findState_hit__closures, _subscribe($onlyNew__closures, _subscribe($loading__closures, _subscribe($draft__closures, _subscribe($si__input_workspaceName && $input_workspaceName__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, _subscribe($si__input_sessions && $input_sessions__closures, writeScope($scope4_id, { a: _existing_scope($childScope5) }))))))))))))))))))))))));
3465
3569
  return 0;
@@ -3481,17 +3585,17 @@ var diff_view_default = _template("l", (input) => {
3481
3585
  collapsedRepos,
3482
3586
  collapsedReposChange: _resume((_new_collapsedRepos) => {
3483
3587
  collapsedRepos = _new_collapsedRepos;
3484
- }, "l50", $scope0_id),
3588
+ }, "m50", $scope0_id),
3485
3589
  openedRepos,
3486
3590
  openedReposChange: _resume((_new_openedRepos) => {
3487
3591
  openedRepos = _new_openedRepos;
3488
- }, "l51", $scope0_id),
3592
+ }, "m51", $scope0_id),
3489
3593
  commentKeys,
3490
3594
  newKeys,
3491
3595
  collapsedFiles,
3492
3596
  onDirToggle: _resume(function(keys, collapsed) {
3493
3597
  setFilesCollapsed(keys, collapsed);
3494
- }, "l52", $scope0_id),
3598
+ }, "m52", $scope0_id),
3495
3599
  workspaceId: input.workspaceId,
3496
3600
  scope: scope$1
3497
3601
  });
@@ -3501,7 +3605,7 @@ var diff_view_default = _template("l", (input) => {
3501
3605
  open: fileSheet,
3502
3606
  openChange: _resume((_new_fileSheet) => {
3503
3607
  fileSheet = _new_fileSheet;
3504
- }, "l53", $scope0_id),
3608
+ }, "m53", $scope0_id),
3505
3609
  files: shownFiles,
3506
3610
  filter: fileFilter,
3507
3611
  filterChange: $filterChange,
@@ -3512,11 +3616,11 @@ var diff_view_default = _template("l", (input) => {
3512
3616
  scope: scope$1
3513
3617
  });
3514
3618
  _html("</div>");
3515
- _script($scope0_id, "l59");
3516
- _script($scope0_id, "l60");
3517
- _script($scope0_id, "l61");
3518
- _script($scope0_id, "l62");
3519
- _script($scope0_id, "l63");
3619
+ _script($scope0_id, "m59");
3620
+ _script($scope0_id, "m60");
3621
+ _script($scope0_id, "m61");
3622
+ _script($scope0_id, "m62");
3623
+ _script($scope0_id, "m63");
3520
3624
  writeScope($scope0_id, {
3521
3625
  a6: input.workspaceId,
3522
3626
  a7: input.scope,