@chrisjowen/wheelhouse 0.21.0 → 0.22.1

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 (1522) hide show
  1. package/README.md +2 -1
  2. package/build/client/_app/immutable/assets/0.qRWjtWq3.css +1 -0
  3. package/build/client/_app/immutable/assets/0.qRWjtWq3.css.br +0 -0
  4. package/build/client/_app/immutable/assets/0.qRWjtWq3.css.gz +0 -0
  5. package/build/client/_app/immutable/assets/2.meoe_KFK.css +1 -0
  6. package/build/client/_app/immutable/assets/2.meoe_KFK.css.br +0 -0
  7. package/build/client/_app/immutable/assets/2.meoe_KFK.css.gz +0 -0
  8. package/build/client/_app/immutable/chunks/0sYpgigu.js +96 -0
  9. package/build/client/_app/immutable/chunks/0sYpgigu.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/0sYpgigu.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/3DGzQTMH.js +249 -0
  12. package/build/client/_app/immutable/chunks/3DGzQTMH.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/3DGzQTMH.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/3WY8aZ2Q.js +7 -0
  15. package/build/client/_app/immutable/chunks/3WY8aZ2Q.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/3WY8aZ2Q.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/3XowoO28.js +1 -0
  18. package/build/client/_app/immutable/chunks/3XowoO28.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/3XowoO28.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/4DPf7zan.js +1 -0
  21. package/build/client/_app/immutable/chunks/4DPf7zan.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/4DPf7zan.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/6RHaml95.js +1 -0
  24. package/build/client/_app/immutable/chunks/6RHaml95.js.br +4 -0
  25. package/build/client/_app/immutable/chunks/6RHaml95.js.gz +0 -0
  26. package/build/client/_app/immutable/chunks/8Vs3qoOm.js +1 -0
  27. package/build/client/_app/immutable/chunks/8Vs3qoOm.js.br +0 -0
  28. package/build/client/_app/immutable/chunks/8Vs3qoOm.js.gz +0 -0
  29. package/build/client/_app/immutable/chunks/9MoIYj4l.js +1 -0
  30. package/build/client/_app/immutable/chunks/9MoIYj4l.js.br +0 -0
  31. package/build/client/_app/immutable/chunks/9MoIYj4l.js.gz +0 -0
  32. package/build/client/_app/immutable/chunks/9fRy5PA-.js +5 -0
  33. package/build/client/_app/immutable/chunks/9fRy5PA-.js.br +0 -0
  34. package/build/client/_app/immutable/chunks/9fRy5PA-.js.gz +0 -0
  35. package/build/client/_app/immutable/chunks/B0tbY5sp.js +1 -0
  36. package/build/client/_app/immutable/chunks/B0tbY5sp.js.br +5 -0
  37. package/build/client/_app/immutable/chunks/B0tbY5sp.js.gz +0 -0
  38. package/build/client/_app/immutable/chunks/B0zdZHgO.js +24 -0
  39. package/build/client/_app/immutable/chunks/B0zdZHgO.js.br +0 -0
  40. package/build/client/_app/immutable/chunks/B0zdZHgO.js.gz +0 -0
  41. package/build/client/_app/immutable/chunks/B1r5mhzg.js +1 -0
  42. package/build/client/_app/immutable/chunks/B1r5mhzg.js.br +0 -0
  43. package/build/client/_app/immutable/chunks/B1r5mhzg.js.gz +0 -0
  44. package/build/client/_app/immutable/chunks/B27c-PP_.js +1 -0
  45. package/build/client/_app/immutable/chunks/B27c-PP_.js.br +0 -0
  46. package/build/client/_app/immutable/chunks/B27c-PP_.js.gz +0 -0
  47. package/build/client/_app/immutable/chunks/B3Iw5AjE.js +1 -0
  48. package/build/client/_app/immutable/chunks/B3Iw5AjE.js.br +0 -0
  49. package/build/client/_app/immutable/chunks/B3Iw5AjE.js.gz +0 -0
  50. package/build/client/_app/immutable/chunks/B4S7lFaW.js +1 -0
  51. package/build/client/_app/immutable/chunks/B4S7lFaW.js.br +0 -0
  52. package/build/client/_app/immutable/chunks/B4S7lFaW.js.gz +0 -0
  53. package/build/client/_app/immutable/chunks/B5LK4iv8.js +24 -0
  54. package/build/client/_app/immutable/chunks/B5LK4iv8.js.br +0 -0
  55. package/build/client/_app/immutable/chunks/B5LK4iv8.js.gz +0 -0
  56. package/build/client/_app/immutable/chunks/B6YOtYDk.js +1 -0
  57. package/build/client/_app/immutable/chunks/B6YOtYDk.js.br +3 -0
  58. package/build/client/_app/immutable/chunks/B6YOtYDk.js.gz +0 -0
  59. package/build/client/_app/immutable/chunks/B8ZTEP3p.js +1 -0
  60. package/build/client/_app/immutable/chunks/B8ZTEP3p.js.br +2 -0
  61. package/build/client/_app/immutable/chunks/B8ZTEP3p.js.gz +0 -0
  62. package/build/client/_app/immutable/chunks/B9mssl2A.js +292 -0
  63. package/build/client/_app/immutable/chunks/B9mssl2A.js.br +0 -0
  64. package/build/client/_app/immutable/chunks/B9mssl2A.js.gz +0 -0
  65. package/build/client/_app/immutable/chunks/BBW8BHiX.js +1 -0
  66. package/build/client/_app/immutable/chunks/BBW8BHiX.js.br +0 -0
  67. package/build/client/_app/immutable/chunks/BBW8BHiX.js.gz +0 -0
  68. package/build/client/_app/immutable/chunks/BDHDFGrC.js +3 -0
  69. package/build/client/_app/immutable/chunks/BDHDFGrC.js.br +0 -0
  70. package/build/client/_app/immutable/chunks/BDHDFGrC.js.gz +0 -0
  71. package/build/client/_app/immutable/chunks/BDJZf7X_.js +4 -0
  72. package/build/client/_app/immutable/chunks/BDJZf7X_.js.br +0 -0
  73. package/build/client/_app/immutable/chunks/BDJZf7X_.js.gz +0 -0
  74. package/build/client/_app/immutable/chunks/BG2J3BHn.js +1 -0
  75. package/build/client/_app/immutable/chunks/BG2J3BHn.js.br +0 -0
  76. package/build/client/_app/immutable/chunks/BG2J3BHn.js.gz +0 -0
  77. package/build/client/_app/immutable/chunks/BHVQxZ8j.js +1 -0
  78. package/build/client/_app/immutable/chunks/BHVQxZ8j.js.br +0 -0
  79. package/build/client/_app/immutable/chunks/BHVQxZ8j.js.gz +0 -0
  80. package/build/client/_app/immutable/chunks/BHa1VTXv.js +321 -0
  81. package/build/client/_app/immutable/chunks/BHa1VTXv.js.br +0 -0
  82. package/build/client/_app/immutable/chunks/BHa1VTXv.js.gz +0 -0
  83. package/build/client/_app/immutable/chunks/BHlYl7xH.js +1 -0
  84. package/build/client/_app/immutable/chunks/BHlYl7xH.js.br +0 -0
  85. package/build/client/_app/immutable/chunks/BHlYl7xH.js.gz +0 -0
  86. package/build/client/_app/immutable/chunks/BIAqP8Ww.js +1 -0
  87. package/build/client/_app/immutable/chunks/BIAqP8Ww.js.br +0 -0
  88. package/build/client/_app/immutable/chunks/BIAqP8Ww.js.gz +0 -0
  89. package/build/client/_app/immutable/chunks/BI_iZ-MY.js +1 -0
  90. package/build/client/_app/immutable/chunks/BI_iZ-MY.js.br +0 -0
  91. package/build/client/_app/immutable/chunks/BI_iZ-MY.js.gz +0 -0
  92. package/build/client/_app/immutable/chunks/BJ4eea7U.js +1 -0
  93. package/build/client/_app/immutable/chunks/BJ4eea7U.js.br +0 -0
  94. package/build/client/_app/immutable/chunks/BJ4eea7U.js.gz +0 -0
  95. package/build/client/_app/immutable/chunks/BJBRPIx6.js +106 -0
  96. package/build/client/_app/immutable/chunks/BJBRPIx6.js.br +0 -0
  97. package/build/client/_app/immutable/chunks/BJBRPIx6.js.gz +0 -0
  98. package/build/client/_app/immutable/chunks/BJl_OH5S.js +1 -0
  99. package/build/client/_app/immutable/chunks/BJl_OH5S.js.br +0 -0
  100. package/build/client/_app/immutable/chunks/BJl_OH5S.js.gz +0 -0
  101. package/build/client/_app/immutable/chunks/BPITxfuK.js +62 -0
  102. package/build/client/_app/immutable/chunks/BPITxfuK.js.br +0 -0
  103. package/build/client/_app/immutable/chunks/BPITxfuK.js.gz +0 -0
  104. package/build/client/_app/immutable/chunks/BPq9FYZ0.js +40 -0
  105. package/build/client/_app/immutable/chunks/BPq9FYZ0.js.br +0 -0
  106. package/build/client/_app/immutable/chunks/BPq9FYZ0.js.gz +0 -0
  107. package/build/client/_app/immutable/chunks/BQ0l7ESI.js +4 -0
  108. package/build/client/_app/immutable/chunks/BQ0l7ESI.js.br +0 -0
  109. package/build/client/_app/immutable/chunks/BQ0l7ESI.js.gz +0 -0
  110. package/build/client/_app/immutable/chunks/BRKOeLML.js +1 -0
  111. package/build/client/_app/immutable/chunks/BRKOeLML.js.br +0 -0
  112. package/build/client/_app/immutable/chunks/BRKOeLML.js.gz +0 -0
  113. package/build/client/_app/immutable/chunks/BVaOGgl3.js +129 -0
  114. package/build/client/_app/immutable/chunks/BVaOGgl3.js.br +0 -0
  115. package/build/client/_app/immutable/chunks/BVaOGgl3.js.gz +0 -0
  116. package/build/client/_app/immutable/chunks/BW6RmZIt.js +2 -0
  117. package/build/client/_app/immutable/chunks/BW6RmZIt.js.br +0 -0
  118. package/build/client/_app/immutable/chunks/BW6RmZIt.js.gz +0 -0
  119. package/build/client/_app/immutable/chunks/BXDIFTFV.js +1 -0
  120. package/build/client/_app/immutable/chunks/BXDIFTFV.js.br +0 -0
  121. package/build/client/_app/immutable/chunks/BXDIFTFV.js.gz +0 -0
  122. package/build/client/_app/immutable/chunks/B_w1XHWJ.js +1 -0
  123. package/build/client/_app/immutable/chunks/B_w1XHWJ.js.br +0 -0
  124. package/build/client/_app/immutable/chunks/B_w1XHWJ.js.gz +0 -0
  125. package/build/client/_app/immutable/chunks/Ba3YV-ZC.js +1 -0
  126. package/build/client/_app/immutable/chunks/Ba3YV-ZC.js.br +0 -0
  127. package/build/client/_app/immutable/chunks/Ba3YV-ZC.js.gz +0 -0
  128. package/build/client/_app/immutable/chunks/Bb-r3y4C.js +41 -0
  129. package/build/client/_app/immutable/chunks/Bb-r3y4C.js.br +0 -0
  130. package/build/client/_app/immutable/chunks/Bb-r3y4C.js.gz +0 -0
  131. package/build/client/_app/immutable/chunks/Bkzv7FRV.js +1 -0
  132. package/build/client/_app/immutable/chunks/Bkzv7FRV.js.br +0 -0
  133. package/build/client/_app/immutable/chunks/Bkzv7FRV.js.gz +0 -0
  134. package/build/client/_app/immutable/chunks/Blq1W4m0.js +2 -0
  135. package/build/client/_app/immutable/chunks/Blq1W4m0.js.br +0 -0
  136. package/build/client/_app/immutable/chunks/Blq1W4m0.js.gz +0 -0
  137. package/build/client/_app/immutable/chunks/BpEbWI7L.js +3 -0
  138. package/build/client/_app/immutable/chunks/BpEbWI7L.js.br +0 -0
  139. package/build/client/_app/immutable/chunks/BpEbWI7L.js.gz +0 -0
  140. package/build/client/_app/immutable/chunks/BpYCeUum.js +1 -0
  141. package/build/client/_app/immutable/chunks/BpYCeUum.js.br +0 -0
  142. package/build/client/_app/immutable/chunks/BpYCeUum.js.gz +0 -0
  143. package/build/client/_app/immutable/chunks/BsvfIscj.js +2 -0
  144. package/build/client/_app/immutable/chunks/BsvfIscj.js.br +0 -0
  145. package/build/client/_app/immutable/chunks/BsvfIscj.js.gz +0 -0
  146. package/build/client/_app/immutable/chunks/Bw3vXArA.js +1 -0
  147. package/build/client/_app/immutable/chunks/Bw3vXArA.js.br +0 -0
  148. package/build/client/_app/immutable/chunks/Bw3vXArA.js.gz +0 -0
  149. package/build/client/_app/immutable/chunks/BwnzFNry.js +1 -0
  150. package/build/client/_app/immutable/chunks/BwnzFNry.js.br +0 -0
  151. package/build/client/_app/immutable/chunks/BwnzFNry.js.gz +0 -0
  152. package/build/client/_app/immutable/chunks/BxaeaGfi.js +1 -0
  153. package/build/client/_app/immutable/chunks/BxaeaGfi.js.br +0 -0
  154. package/build/client/_app/immutable/chunks/BxaeaGfi.js.gz +0 -0
  155. package/build/client/_app/immutable/chunks/C-3_of0w.js +1 -0
  156. package/build/client/_app/immutable/chunks/C-3_of0w.js.br +0 -0
  157. package/build/client/_app/immutable/chunks/C-3_of0w.js.gz +0 -0
  158. package/build/client/_app/immutable/chunks/C-Jjmtog.js +166 -0
  159. package/build/client/_app/immutable/chunks/C-Jjmtog.js.br +0 -0
  160. package/build/client/_app/immutable/chunks/C-Jjmtog.js.gz +0 -0
  161. package/build/client/_app/immutable/chunks/C0Bkj1f9.js +84 -0
  162. package/build/client/_app/immutable/chunks/C0Bkj1f9.js.br +0 -0
  163. package/build/client/_app/immutable/chunks/C0Bkj1f9.js.gz +0 -0
  164. package/build/client/_app/immutable/chunks/C14pDzYB.js +1 -0
  165. package/build/client/_app/immutable/chunks/C14pDzYB.js.br +0 -0
  166. package/build/client/_app/immutable/chunks/C14pDzYB.js.gz +0 -0
  167. package/build/client/_app/immutable/chunks/C2vxtxo0.js +1 -0
  168. package/build/client/_app/immutable/chunks/C2vxtxo0.js.br +0 -0
  169. package/build/client/_app/immutable/chunks/C2vxtxo0.js.gz +0 -0
  170. package/build/client/_app/immutable/chunks/C4Rfj8GW.js +168 -0
  171. package/build/client/_app/immutable/chunks/C4Rfj8GW.js.br +0 -0
  172. package/build/client/_app/immutable/chunks/C4Rfj8GW.js.gz +0 -0
  173. package/build/client/_app/immutable/chunks/C4a2X4N_.js +1 -0
  174. package/build/client/_app/immutable/chunks/C4a2X4N_.js.br +0 -0
  175. package/build/client/_app/immutable/chunks/C4a2X4N_.js.gz +0 -0
  176. package/build/client/_app/immutable/chunks/C4kvXl8Z.js +1 -0
  177. package/build/client/_app/immutable/chunks/C4kvXl8Z.js.br +0 -0
  178. package/build/client/_app/immutable/chunks/C4kvXl8Z.js.gz +0 -0
  179. package/build/client/_app/immutable/chunks/C4tyuY2c.js +1 -0
  180. package/build/client/_app/immutable/chunks/C4tyuY2c.js.br +0 -0
  181. package/build/client/_app/immutable/chunks/C4tyuY2c.js.gz +0 -0
  182. package/build/client/_app/immutable/chunks/C64kRQ9C.js +30 -0
  183. package/build/client/_app/immutable/chunks/C64kRQ9C.js.br +0 -0
  184. package/build/client/_app/immutable/chunks/C64kRQ9C.js.gz +0 -0
  185. package/build/client/_app/immutable/chunks/C8-wd_UW.js +1 -0
  186. package/build/client/_app/immutable/chunks/C8-wd_UW.js.br +0 -0
  187. package/build/client/_app/immutable/chunks/C8-wd_UW.js.gz +0 -0
  188. package/build/client/_app/immutable/chunks/C93yurIH.js +1 -0
  189. package/build/client/_app/immutable/chunks/C93yurIH.js.br +0 -0
  190. package/build/client/_app/immutable/chunks/C93yurIH.js.gz +0 -0
  191. package/build/client/_app/immutable/chunks/CA5kFhE2.js +231 -0
  192. package/build/client/_app/immutable/chunks/CA5kFhE2.js.br +0 -0
  193. package/build/client/_app/immutable/chunks/CA5kFhE2.js.gz +0 -0
  194. package/build/client/_app/immutable/chunks/CAKQFOun.js +5 -0
  195. package/build/client/_app/immutable/chunks/CAKQFOun.js.br +0 -0
  196. package/build/client/_app/immutable/chunks/CAKQFOun.js.gz +0 -0
  197. package/build/client/_app/immutable/chunks/CArqSZta.js +1 -0
  198. package/build/client/_app/immutable/chunks/CArqSZta.js.br +0 -0
  199. package/build/client/_app/immutable/chunks/CArqSZta.js.gz +0 -0
  200. package/build/client/_app/immutable/chunks/CBJl8RFX.js +1 -0
  201. package/build/client/_app/immutable/chunks/CBJl8RFX.js.br +0 -0
  202. package/build/client/_app/immutable/chunks/CBJl8RFX.js.gz +0 -0
  203. package/build/client/_app/immutable/chunks/CBQGf7i4.js +1 -0
  204. package/build/client/_app/immutable/chunks/CBQGf7i4.js.br +0 -0
  205. package/build/client/_app/immutable/chunks/CBQGf7i4.js.gz +0 -0
  206. package/build/client/_app/immutable/chunks/CC6U6O9O.js +1 -0
  207. package/build/client/_app/immutable/chunks/CC6U6O9O.js.br +3 -0
  208. package/build/client/_app/immutable/chunks/CC6U6O9O.js.gz +0 -0
  209. package/build/client/_app/immutable/chunks/CE5my3kM.js +1 -0
  210. package/build/client/_app/immutable/chunks/CE5my3kM.js.br +1 -0
  211. package/build/client/_app/immutable/chunks/CE5my3kM.js.gz +0 -0
  212. package/build/client/_app/immutable/chunks/CFUEU5Nl.js +1 -0
  213. package/build/client/_app/immutable/chunks/CFUEU5Nl.js.br +0 -0
  214. package/build/client/_app/immutable/chunks/CFUEU5Nl.js.gz +0 -0
  215. package/build/client/_app/immutable/chunks/CFXp4bzz.js +1 -0
  216. package/build/client/_app/immutable/chunks/CFXp4bzz.js.br +0 -0
  217. package/build/client/_app/immutable/chunks/CFXp4bzz.js.gz +0 -0
  218. package/build/client/_app/immutable/chunks/CI-toNaN.js +1 -0
  219. package/build/client/_app/immutable/chunks/CI-toNaN.js.br +0 -0
  220. package/build/client/_app/immutable/chunks/CI-toNaN.js.gz +0 -0
  221. package/build/client/_app/immutable/chunks/CIZoGyNC.js +1 -0
  222. package/build/client/_app/immutable/chunks/CIZoGyNC.js.br +0 -0
  223. package/build/client/_app/immutable/chunks/CIZoGyNC.js.gz +0 -0
  224. package/build/client/_app/immutable/chunks/CIcPUteJ.js +2 -0
  225. package/build/client/_app/immutable/chunks/CIcPUteJ.js.br +0 -0
  226. package/build/client/_app/immutable/chunks/CIcPUteJ.js.gz +0 -0
  227. package/build/client/_app/immutable/chunks/CJQpQkOK.js +36 -0
  228. package/build/client/_app/immutable/chunks/CJQpQkOK.js.br +0 -0
  229. package/build/client/_app/immutable/chunks/CJQpQkOK.js.gz +0 -0
  230. package/build/client/_app/immutable/chunks/CK-V7wjL.js +1 -0
  231. package/build/client/_app/immutable/chunks/CK-V7wjL.js.br +0 -0
  232. package/build/client/_app/immutable/chunks/CK-V7wjL.js.gz +0 -0
  233. package/build/client/_app/immutable/chunks/CMKuhFK2.js +6 -0
  234. package/build/client/_app/immutable/chunks/CMKuhFK2.js.br +0 -0
  235. package/build/client/_app/immutable/chunks/CMKuhFK2.js.gz +0 -0
  236. package/build/client/_app/immutable/chunks/CNPXEqnm.js +1 -0
  237. package/build/client/_app/immutable/chunks/CNPXEqnm.js.br +0 -0
  238. package/build/client/_app/immutable/chunks/CNPXEqnm.js.gz +0 -0
  239. package/build/client/_app/immutable/chunks/CN_aaQJc.js +6 -0
  240. package/build/client/_app/immutable/chunks/CN_aaQJc.js.br +0 -0
  241. package/build/client/_app/immutable/chunks/CN_aaQJc.js.gz +0 -0
  242. package/build/client/_app/immutable/chunks/COVPhMh-.js +1 -0
  243. package/build/client/_app/immutable/chunks/COVPhMh-.js.br +0 -0
  244. package/build/client/_app/immutable/chunks/COVPhMh-.js.gz +0 -0
  245. package/build/client/_app/immutable/chunks/CPYrjZxD.js +1 -0
  246. package/build/client/_app/immutable/chunks/CPYrjZxD.js.br +0 -0
  247. package/build/client/_app/immutable/chunks/CPYrjZxD.js.gz +0 -0
  248. package/build/client/_app/immutable/chunks/CSQi64co.js +1 -0
  249. package/build/client/_app/immutable/chunks/CSQi64co.js.br +0 -0
  250. package/build/client/_app/immutable/chunks/CSQi64co.js.gz +0 -0
  251. package/build/client/_app/immutable/chunks/CTViHs6g.js +2 -0
  252. package/build/client/_app/immutable/chunks/CTViHs6g.js.br +0 -0
  253. package/build/client/_app/immutable/chunks/CTViHs6g.js.gz +0 -0
  254. package/build/client/_app/immutable/chunks/CUKBEnHF.js +78 -0
  255. package/build/client/_app/immutable/chunks/CUKBEnHF.js.br +0 -0
  256. package/build/client/_app/immutable/chunks/CUKBEnHF.js.gz +0 -0
  257. package/build/client/_app/immutable/chunks/CX-M4F5k.js +1 -0
  258. package/build/client/_app/immutable/chunks/CX-M4F5k.js.br +0 -0
  259. package/build/client/_app/immutable/chunks/CX-M4F5k.js.gz +0 -0
  260. package/build/client/_app/immutable/chunks/CXICpFkf.js +1 -0
  261. package/build/client/_app/immutable/chunks/CXICpFkf.js.br +0 -0
  262. package/build/client/_app/immutable/chunks/CXICpFkf.js.gz +0 -0
  263. package/build/client/_app/immutable/chunks/C_UyAoTW.js +1 -0
  264. package/build/client/_app/immutable/chunks/C_UyAoTW.js.br +0 -0
  265. package/build/client/_app/immutable/chunks/C_UyAoTW.js.gz +0 -0
  266. package/build/client/_app/immutable/chunks/CasjVk9W.js +34 -0
  267. package/build/client/_app/immutable/chunks/CasjVk9W.js.br +0 -0
  268. package/build/client/_app/immutable/chunks/CasjVk9W.js.gz +0 -0
  269. package/build/client/_app/immutable/chunks/CbWQJ7q6.js +1 -0
  270. package/build/client/_app/immutable/chunks/CbWQJ7q6.js.br +0 -0
  271. package/build/client/_app/immutable/chunks/CbWQJ7q6.js.gz +0 -0
  272. package/build/client/_app/immutable/chunks/CcJZ4Ryv.js +3 -0
  273. package/build/client/_app/immutable/chunks/CcJZ4Ryv.js.br +0 -0
  274. package/build/client/_app/immutable/chunks/CcJZ4Ryv.js.gz +0 -0
  275. package/build/client/_app/immutable/chunks/ChqBjBkC.js +1 -0
  276. package/build/client/_app/immutable/chunks/ChqBjBkC.js.br +0 -0
  277. package/build/client/_app/immutable/chunks/ChqBjBkC.js.gz +0 -0
  278. package/build/client/_app/immutable/chunks/CioDbcGP.js +1 -0
  279. package/build/client/_app/immutable/chunks/CioDbcGP.js.br +2 -0
  280. package/build/client/_app/immutable/chunks/CioDbcGP.js.gz +0 -0
  281. package/build/client/_app/immutable/chunks/Ck-8e8TW.js +1 -0
  282. package/build/client/_app/immutable/chunks/Ck-8e8TW.js.br +0 -0
  283. package/build/client/_app/immutable/chunks/Ck-8e8TW.js.gz +0 -0
  284. package/build/client/_app/immutable/chunks/ClW5XsT3.js +1 -0
  285. package/build/client/_app/immutable/chunks/ClW5XsT3.js.br +0 -0
  286. package/build/client/_app/immutable/chunks/ClW5XsT3.js.gz +0 -0
  287. package/build/client/_app/immutable/chunks/Cm8AB1ox.js +1 -0
  288. package/build/client/_app/immutable/chunks/Cm8AB1ox.js.br +0 -0
  289. package/build/client/_app/immutable/chunks/Cm8AB1ox.js.gz +0 -0
  290. package/build/client/_app/immutable/chunks/CmLjl9Jc.js +1 -0
  291. package/build/client/_app/immutable/chunks/CmLjl9Jc.js.br +0 -0
  292. package/build/client/_app/immutable/chunks/CmLjl9Jc.js.gz +0 -0
  293. package/build/client/_app/immutable/chunks/Crdi5svS.js +1 -0
  294. package/build/client/_app/immutable/chunks/Crdi5svS.js.br +0 -0
  295. package/build/client/_app/immutable/chunks/Crdi5svS.js.gz +0 -0
  296. package/build/client/_app/immutable/chunks/CtffiUi1.js +1 -0
  297. package/build/client/_app/immutable/chunks/CtffiUi1.js.br +0 -0
  298. package/build/client/_app/immutable/chunks/CtffiUi1.js.gz +0 -0
  299. package/build/client/_app/immutable/chunks/CuLW7UjU.js +99 -0
  300. package/build/client/_app/immutable/chunks/CuLW7UjU.js.br +0 -0
  301. package/build/client/_app/immutable/chunks/CuLW7UjU.js.gz +0 -0
  302. package/build/client/_app/immutable/chunks/CukBkIEb.js +3 -0
  303. package/build/client/_app/immutable/chunks/CukBkIEb.js.br +0 -0
  304. package/build/client/_app/immutable/chunks/CukBkIEb.js.gz +0 -0
  305. package/build/client/_app/immutable/chunks/Cw8YWg-m.js +15 -0
  306. package/build/client/_app/immutable/chunks/Cw8YWg-m.js.br +0 -0
  307. package/build/client/_app/immutable/chunks/Cw8YWg-m.js.gz +0 -0
  308. package/build/client/_app/immutable/chunks/Cz4e2F0V.js +1 -0
  309. package/build/client/_app/immutable/chunks/Cz4e2F0V.js.br +0 -0
  310. package/build/client/_app/immutable/chunks/Cz4e2F0V.js.gz +0 -0
  311. package/build/client/_app/immutable/chunks/D-zaPTRX.js +1 -0
  312. package/build/client/_app/immutable/chunks/D-zaPTRX.js.br +0 -0
  313. package/build/client/_app/immutable/chunks/D-zaPTRX.js.gz +0 -0
  314. package/build/client/_app/immutable/chunks/D0JXJPyC.js +2 -0
  315. package/build/client/_app/immutable/chunks/D0JXJPyC.js.br +0 -0
  316. package/build/client/_app/immutable/chunks/D0JXJPyC.js.gz +0 -0
  317. package/build/client/_app/immutable/chunks/D1CLgFmr.js +1 -0
  318. package/build/client/_app/immutable/chunks/D1CLgFmr.js.br +0 -0
  319. package/build/client/_app/immutable/chunks/D1CLgFmr.js.gz +0 -0
  320. package/build/client/_app/immutable/chunks/D1ctx90p.js +1 -0
  321. package/build/client/_app/immutable/chunks/D1ctx90p.js.br +0 -0
  322. package/build/client/_app/immutable/chunks/D1ctx90p.js.gz +0 -0
  323. package/build/client/_app/immutable/chunks/D7-1sbzI.js +1 -0
  324. package/build/client/_app/immutable/chunks/D7-1sbzI.js.br +0 -0
  325. package/build/client/_app/immutable/chunks/D7-1sbzI.js.gz +0 -0
  326. package/build/client/_app/immutable/chunks/D8TvECTZ.js +1 -0
  327. package/build/client/_app/immutable/chunks/D8TvECTZ.js.br +0 -0
  328. package/build/client/_app/immutable/chunks/D8TvECTZ.js.gz +0 -0
  329. package/build/client/_app/immutable/chunks/D9KRxYwi.js +1 -0
  330. package/build/client/_app/immutable/chunks/D9KRxYwi.js.br +0 -0
  331. package/build/client/_app/immutable/chunks/D9KRxYwi.js.gz +0 -0
  332. package/build/client/_app/immutable/chunks/D9OSLH_o.js +1 -0
  333. package/build/client/_app/immutable/chunks/D9OSLH_o.js.br +0 -0
  334. package/build/client/_app/immutable/chunks/D9OSLH_o.js.gz +0 -0
  335. package/build/client/_app/immutable/chunks/DBuAe07o.js +8 -0
  336. package/build/client/_app/immutable/chunks/DBuAe07o.js.br +0 -0
  337. package/build/client/_app/immutable/chunks/DBuAe07o.js.gz +0 -0
  338. package/build/client/_app/immutable/chunks/DDRb49GV.js +39 -0
  339. package/build/client/_app/immutable/chunks/DDRb49GV.js.br +0 -0
  340. package/build/client/_app/immutable/chunks/DDRb49GV.js.gz +0 -0
  341. package/build/client/_app/immutable/chunks/DDcw5zdi.js +1 -0
  342. package/build/client/_app/immutable/chunks/DDcw5zdi.js.br +0 -0
  343. package/build/client/_app/immutable/chunks/DDcw5zdi.js.gz +0 -0
  344. package/build/client/_app/immutable/chunks/DDrX-JDw.js +1 -0
  345. package/build/client/_app/immutable/chunks/DDrX-JDw.js.br +0 -0
  346. package/build/client/_app/immutable/chunks/DDrX-JDw.js.gz +0 -0
  347. package/build/client/_app/immutable/chunks/DEA_cSpG.js +1 -0
  348. package/build/client/_app/immutable/chunks/DEA_cSpG.js.br +0 -0
  349. package/build/client/_app/immutable/chunks/DEA_cSpG.js.gz +0 -0
  350. package/build/client/_app/immutable/chunks/DELl3-mG.js +1 -0
  351. package/build/client/_app/immutable/chunks/DELl3-mG.js.br +0 -0
  352. package/build/client/_app/immutable/chunks/DELl3-mG.js.gz +0 -0
  353. package/build/client/_app/immutable/chunks/DGFy0yuU.js +1 -0
  354. package/build/client/_app/immutable/chunks/DGFy0yuU.js.br +0 -0
  355. package/build/client/_app/immutable/chunks/DGFy0yuU.js.gz +0 -0
  356. package/build/client/_app/immutable/chunks/DHUIxaz6.js +1 -0
  357. package/build/client/_app/immutable/chunks/DHUIxaz6.js.br +0 -0
  358. package/build/client/_app/immutable/chunks/DHUIxaz6.js.gz +0 -0
  359. package/build/client/_app/immutable/chunks/DIVES_LH.js +1 -0
  360. package/build/client/_app/immutable/chunks/DIVES_LH.js.br +0 -0
  361. package/build/client/_app/immutable/chunks/DIVES_LH.js.gz +0 -0
  362. package/build/client/_app/immutable/chunks/DIs8JEci.js +1 -0
  363. package/build/client/_app/immutable/chunks/DIs8JEci.js.br +0 -0
  364. package/build/client/_app/immutable/chunks/DIs8JEci.js.gz +0 -0
  365. package/build/client/_app/immutable/chunks/DK9_tRLU.js +1 -0
  366. package/build/client/_app/immutable/chunks/DK9_tRLU.js.br +0 -0
  367. package/build/client/_app/immutable/chunks/DK9_tRLU.js.gz +0 -0
  368. package/build/client/_app/immutable/chunks/DNyxOJUs.js +1 -0
  369. package/build/client/_app/immutable/chunks/DNyxOJUs.js.br +0 -0
  370. package/build/client/_app/immutable/chunks/DNyxOJUs.js.gz +0 -0
  371. package/build/client/_app/immutable/chunks/DPP9hyyA.js +89 -0
  372. package/build/client/_app/immutable/chunks/DPP9hyyA.js.br +0 -0
  373. package/build/client/_app/immutable/chunks/DPP9hyyA.js.gz +0 -0
  374. package/build/client/_app/immutable/chunks/DRUMJjv9.js +1 -0
  375. package/build/client/_app/immutable/chunks/DRUMJjv9.js.br +1 -0
  376. package/build/client/_app/immutable/chunks/DRUMJjv9.js.gz +0 -0
  377. package/build/client/_app/immutable/chunks/DS36wcHH.js +1 -0
  378. package/build/client/_app/immutable/chunks/DS36wcHH.js.br +0 -0
  379. package/build/client/_app/immutable/chunks/DS36wcHH.js.gz +0 -0
  380. package/build/client/_app/immutable/chunks/DVCsHdGj.js +1 -0
  381. package/build/client/_app/immutable/chunks/DVCsHdGj.js.br +0 -0
  382. package/build/client/_app/immutable/chunks/DVCsHdGj.js.gz +0 -0
  383. package/build/client/_app/immutable/chunks/DXbpIGw8.js +1 -0
  384. package/build/client/_app/immutable/chunks/DXbpIGw8.js.br +0 -0
  385. package/build/client/_app/immutable/chunks/DXbpIGw8.js.gz +0 -0
  386. package/build/client/_app/immutable/chunks/Db066mLa.js +1 -0
  387. package/build/client/_app/immutable/chunks/Db066mLa.js.br +0 -0
  388. package/build/client/_app/immutable/chunks/Db066mLa.js.gz +0 -0
  389. package/build/client/_app/immutable/chunks/Ddah-xMR.js +1 -0
  390. package/build/client/_app/immutable/chunks/Ddah-xMR.js.br +2 -0
  391. package/build/client/_app/immutable/chunks/Ddah-xMR.js.gz +0 -0
  392. package/build/client/_app/immutable/chunks/DeoDIOCo.js +1 -0
  393. package/build/client/_app/immutable/chunks/DeoDIOCo.js.br +0 -0
  394. package/build/client/_app/immutable/chunks/DeoDIOCo.js.gz +0 -0
  395. package/build/client/_app/immutable/chunks/DiXmTtYI.js +7 -0
  396. package/build/client/_app/immutable/chunks/DiXmTtYI.js.br +0 -0
  397. package/build/client/_app/immutable/chunks/DiXmTtYI.js.gz +0 -0
  398. package/build/client/_app/immutable/chunks/Dj0GMYWt.js +1 -0
  399. package/build/client/_app/immutable/chunks/Dj0GMYWt.js.br +0 -0
  400. package/build/client/_app/immutable/chunks/Dj0GMYWt.js.gz +0 -0
  401. package/build/client/_app/immutable/chunks/DlYVwHSQ.js +3 -0
  402. package/build/client/_app/immutable/chunks/DlYVwHSQ.js.br +0 -0
  403. package/build/client/_app/immutable/chunks/DlYVwHSQ.js.gz +0 -0
  404. package/build/client/_app/immutable/chunks/Dm6F1MzB.js +1 -0
  405. package/build/client/_app/immutable/chunks/Dm6F1MzB.js.br +0 -0
  406. package/build/client/_app/immutable/chunks/Dm6F1MzB.js.gz +0 -0
  407. package/build/client/_app/immutable/chunks/Dr1o5Tgo.js +38 -0
  408. package/build/client/_app/immutable/chunks/Dr1o5Tgo.js.br +0 -0
  409. package/build/client/_app/immutable/chunks/Dr1o5Tgo.js.gz +0 -0
  410. package/build/client/_app/immutable/chunks/DxC6-DdZ.js +70 -0
  411. package/build/client/_app/immutable/chunks/DxC6-DdZ.js.br +0 -0
  412. package/build/client/_app/immutable/chunks/DxC6-DdZ.js.gz +0 -0
  413. package/build/client/_app/immutable/chunks/Dzlk32Te.js +1 -0
  414. package/build/client/_app/immutable/chunks/Dzlk32Te.js.br +0 -0
  415. package/build/client/_app/immutable/chunks/Dzlk32Te.js.gz +0 -0
  416. package/build/client/_app/immutable/chunks/DzmuTynR.js +1 -0
  417. package/build/client/_app/immutable/chunks/DzmuTynR.js.br +0 -0
  418. package/build/client/_app/immutable/chunks/DzmuTynR.js.gz +0 -0
  419. package/build/client/_app/immutable/chunks/DzrNoQI1.js +1 -0
  420. package/build/client/_app/immutable/chunks/DzrNoQI1.js.br +0 -0
  421. package/build/client/_app/immutable/chunks/DzrNoQI1.js.gz +0 -0
  422. package/build/client/_app/immutable/chunks/DzrXgv0V.js +88 -0
  423. package/build/client/_app/immutable/chunks/DzrXgv0V.js.br +0 -0
  424. package/build/client/_app/immutable/chunks/DzrXgv0V.js.gz +0 -0
  425. package/build/client/_app/immutable/chunks/Dzw-SVcG.js +1 -0
  426. package/build/client/_app/immutable/chunks/Dzw-SVcG.js.br +0 -0
  427. package/build/client/_app/immutable/chunks/Dzw-SVcG.js.gz +0 -0
  428. package/build/client/_app/immutable/chunks/FIAR-fQd.js +1 -0
  429. package/build/client/_app/immutable/chunks/FIAR-fQd.js.br +0 -0
  430. package/build/client/_app/immutable/chunks/FIAR-fQd.js.gz +0 -0
  431. package/build/client/_app/immutable/chunks/FkN0it88.js +1 -0
  432. package/build/client/_app/immutable/chunks/FkN0it88.js.br +0 -0
  433. package/build/client/_app/immutable/chunks/FkN0it88.js.gz +0 -0
  434. package/build/client/_app/immutable/chunks/H65m8wRV.js +1 -0
  435. package/build/client/_app/immutable/chunks/H65m8wRV.js.br +0 -0
  436. package/build/client/_app/immutable/chunks/H65m8wRV.js.gz +0 -0
  437. package/build/client/_app/immutable/chunks/HP8lGamR.js +257 -0
  438. package/build/client/_app/immutable/chunks/HP8lGamR.js.br +0 -0
  439. package/build/client/_app/immutable/chunks/HP8lGamR.js.gz +0 -0
  440. package/build/client/_app/immutable/chunks/IUXMoaw_.js +6 -0
  441. package/build/client/_app/immutable/chunks/IUXMoaw_.js.br +0 -0
  442. package/build/client/_app/immutable/chunks/IUXMoaw_.js.gz +0 -0
  443. package/build/client/_app/immutable/chunks/LxevZj8R.js +120 -0
  444. package/build/client/_app/immutable/chunks/LxevZj8R.js.br +0 -0
  445. package/build/client/_app/immutable/chunks/LxevZj8R.js.gz +0 -0
  446. package/build/client/_app/immutable/chunks/M2BYVI70.js +206 -0
  447. package/build/client/_app/immutable/chunks/M2BYVI70.js.br +0 -0
  448. package/build/client/_app/immutable/chunks/M2BYVI70.js.gz +0 -0
  449. package/build/client/_app/immutable/chunks/NZgNgYxY.js +1 -0
  450. package/build/client/_app/immutable/chunks/NZgNgYxY.js.br +0 -0
  451. package/build/client/_app/immutable/chunks/NZgNgYxY.js.gz +0 -0
  452. package/build/client/_app/immutable/chunks/PIDKqgYe.js +1 -0
  453. package/build/client/_app/immutable/chunks/PIDKqgYe.js.br +0 -0
  454. package/build/client/_app/immutable/chunks/PIDKqgYe.js.gz +0 -0
  455. package/build/client/_app/immutable/chunks/PKzJfzQb.js +1 -0
  456. package/build/client/_app/immutable/chunks/PKzJfzQb.js.br +2 -0
  457. package/build/client/_app/immutable/chunks/PKzJfzQb.js.gz +0 -0
  458. package/build/client/_app/immutable/chunks/PvILxv6-.js +1 -0
  459. package/build/client/_app/immutable/chunks/PvILxv6-.js.br +0 -0
  460. package/build/client/_app/immutable/chunks/PvILxv6-.js.gz +0 -0
  461. package/build/client/_app/immutable/chunks/RjH1AB9i.js +1 -0
  462. package/build/client/_app/immutable/chunks/RjH1AB9i.js.br +0 -0
  463. package/build/client/_app/immutable/chunks/RjH1AB9i.js.gz +0 -0
  464. package/build/client/_app/immutable/chunks/UCkzcw6v.js +162 -0
  465. package/build/client/_app/immutable/chunks/UCkzcw6v.js.br +0 -0
  466. package/build/client/_app/immutable/chunks/UCkzcw6v.js.gz +0 -0
  467. package/build/client/_app/immutable/chunks/UgYjvoOY.js +1 -0
  468. package/build/client/_app/immutable/chunks/UgYjvoOY.js.br +0 -0
  469. package/build/client/_app/immutable/chunks/UgYjvoOY.js.gz +0 -0
  470. package/build/client/_app/immutable/chunks/XeQqE5Le.js +3 -0
  471. package/build/client/_app/immutable/chunks/XeQqE5Le.js.br +0 -0
  472. package/build/client/_app/immutable/chunks/XeQqE5Le.js.gz +0 -0
  473. package/build/client/_app/immutable/chunks/_9KU6-qn.js +1 -0
  474. package/build/client/_app/immutable/chunks/_9KU6-qn.js.br +2 -0
  475. package/build/client/_app/immutable/chunks/_9KU6-qn.js.gz +0 -0
  476. package/build/client/_app/immutable/chunks/a-JPOVQB.js +1 -0
  477. package/build/client/_app/immutable/chunks/a-JPOVQB.js.br +0 -0
  478. package/build/client/_app/immutable/chunks/a-JPOVQB.js.gz +0 -0
  479. package/build/client/_app/immutable/chunks/cTCWh2o_.js +1 -0
  480. package/build/client/_app/immutable/chunks/cTCWh2o_.js.br +4 -0
  481. package/build/client/_app/immutable/chunks/cTCWh2o_.js.gz +0 -0
  482. package/build/client/_app/immutable/chunks/ceRp2Wf3.js +1 -0
  483. package/build/client/_app/immutable/chunks/ceRp2Wf3.js.br +0 -0
  484. package/build/client/_app/immutable/chunks/ceRp2Wf3.js.gz +0 -0
  485. package/build/client/_app/immutable/chunks/fyT-HKYu.js +1 -0
  486. package/build/client/_app/immutable/chunks/fyT-HKYu.js.br +0 -0
  487. package/build/client/_app/immutable/chunks/fyT-HKYu.js.gz +0 -0
  488. package/build/client/_app/immutable/chunks/lpKHpkrM.js +1 -0
  489. package/build/client/_app/immutable/chunks/lpKHpkrM.js.br +0 -0
  490. package/build/client/_app/immutable/chunks/lpKHpkrM.js.gz +0 -0
  491. package/build/client/_app/immutable/chunks/nGxSuLbC.js +1 -0
  492. package/build/client/_app/immutable/chunks/nGxSuLbC.js.br +0 -0
  493. package/build/client/_app/immutable/chunks/nGxSuLbC.js.gz +0 -0
  494. package/build/client/_app/immutable/chunks/njM0O-gI.js +139 -0
  495. package/build/client/_app/immutable/chunks/njM0O-gI.js.br +0 -0
  496. package/build/client/_app/immutable/chunks/njM0O-gI.js.gz +0 -0
  497. package/build/client/_app/immutable/chunks/qljlsftH.js +7 -0
  498. package/build/client/_app/immutable/chunks/qljlsftH.js.br +0 -0
  499. package/build/client/_app/immutable/chunks/qljlsftH.js.gz +0 -0
  500. package/build/client/_app/immutable/chunks/sX4ThU7s.js +2 -0
  501. package/build/client/_app/immutable/chunks/sX4ThU7s.js.br +0 -0
  502. package/build/client/_app/immutable/chunks/sX4ThU7s.js.gz +0 -0
  503. package/build/client/_app/immutable/chunks/scfloRaw.js +1 -0
  504. package/build/client/_app/immutable/chunks/scfloRaw.js.br +0 -0
  505. package/build/client/_app/immutable/chunks/scfloRaw.js.gz +0 -0
  506. package/build/client/_app/immutable/chunks/uc0jtTUU.js +1 -0
  507. package/build/client/_app/immutable/chunks/uc0jtTUU.js.br +0 -0
  508. package/build/client/_app/immutable/chunks/uc0jtTUU.js.gz +0 -0
  509. package/build/client/_app/immutable/chunks/w4idq0jH.js +1 -0
  510. package/build/client/_app/immutable/chunks/w4idq0jH.js.br +1 -0
  511. package/build/client/_app/immutable/chunks/w4idq0jH.js.gz +0 -0
  512. package/build/client/_app/immutable/chunks/yWtFHF99.js +1 -0
  513. package/build/client/_app/immutable/chunks/yWtFHF99.js.br +0 -0
  514. package/build/client/_app/immutable/chunks/yWtFHF99.js.gz +0 -0
  515. package/build/client/_app/immutable/chunks/zvd1Az_D.js +62 -0
  516. package/build/client/_app/immutable/chunks/zvd1Az_D.js.br +0 -0
  517. package/build/client/_app/immutable/chunks/zvd1Az_D.js.gz +0 -0
  518. package/build/client/_app/immutable/entry/app.CzPEb1d2.js +2 -0
  519. package/build/client/_app/immutable/entry/app.CzPEb1d2.js.br +0 -0
  520. package/build/client/_app/immutable/entry/app.CzPEb1d2.js.gz +0 -0
  521. package/build/client/_app/immutable/entry/start.CRLqN06h.js +1 -0
  522. package/build/client/_app/immutable/entry/start.CRLqN06h.js.br +0 -0
  523. package/build/client/_app/immutable/entry/start.CRLqN06h.js.gz +0 -0
  524. package/build/client/_app/immutable/nodes/0.pWbRJNLu.js +9 -0
  525. package/build/client/_app/immutable/nodes/0.pWbRJNLu.js.br +0 -0
  526. package/build/client/_app/immutable/nodes/0.pWbRJNLu.js.gz +0 -0
  527. package/build/client/_app/immutable/nodes/1.HJII6BCm.js +1 -0
  528. package/build/client/_app/immutable/nodes/1.HJII6BCm.js.br +0 -0
  529. package/build/client/_app/immutable/nodes/1.HJII6BCm.js.gz +0 -0
  530. package/build/client/_app/immutable/nodes/10.V7KNkpai.js +6 -0
  531. package/build/client/_app/immutable/nodes/10.V7KNkpai.js.br +0 -0
  532. package/build/client/_app/immutable/nodes/10.V7KNkpai.js.gz +0 -0
  533. package/build/client/_app/immutable/nodes/11.CNaPxZkz.js +1 -0
  534. package/build/client/_app/immutable/nodes/11.CNaPxZkz.js.br +0 -0
  535. package/build/client/_app/immutable/nodes/11.CNaPxZkz.js.gz +0 -0
  536. package/build/client/_app/immutable/nodes/12.ZFbfsrws.js +10 -0
  537. package/build/client/_app/immutable/nodes/12.ZFbfsrws.js.br +0 -0
  538. package/build/client/_app/immutable/nodes/12.ZFbfsrws.js.gz +0 -0
  539. package/build/client/_app/immutable/nodes/13.Bc1OyEla.js +1 -0
  540. package/build/client/_app/immutable/nodes/13.Bc1OyEla.js.br +0 -0
  541. package/build/client/_app/immutable/nodes/13.Bc1OyEla.js.gz +0 -0
  542. package/build/client/_app/immutable/nodes/14.DoqlZ0z7.js +3 -0
  543. package/build/client/_app/immutable/nodes/14.DoqlZ0z7.js.br +0 -0
  544. package/build/client/_app/immutable/nodes/14.DoqlZ0z7.js.gz +0 -0
  545. package/build/client/_app/immutable/nodes/15.3Ya3Fh0D.js +1 -0
  546. package/build/client/_app/immutable/nodes/15.3Ya3Fh0D.js.br +0 -0
  547. package/build/client/_app/immutable/nodes/15.3Ya3Fh0D.js.gz +0 -0
  548. package/build/client/_app/immutable/nodes/16.BBblyjhF.js +14 -0
  549. package/build/client/_app/immutable/nodes/16.BBblyjhF.js.br +0 -0
  550. package/build/client/_app/immutable/nodes/16.BBblyjhF.js.gz +0 -0
  551. package/build/client/_app/immutable/nodes/17.B5blvUGb.js +150 -0
  552. package/build/client/_app/immutable/nodes/17.B5blvUGb.js.br +0 -0
  553. package/build/client/_app/immutable/nodes/17.B5blvUGb.js.gz +0 -0
  554. package/build/client/_app/immutable/nodes/18.CmtlCXpB.js +25 -0
  555. package/build/client/_app/immutable/nodes/18.CmtlCXpB.js.br +0 -0
  556. package/build/client/_app/immutable/nodes/18.CmtlCXpB.js.gz +0 -0
  557. package/build/client/_app/immutable/nodes/19.BMsymd1l.js +5 -0
  558. package/build/client/_app/immutable/nodes/19.BMsymd1l.js.br +0 -0
  559. package/build/client/_app/immutable/nodes/19.BMsymd1l.js.gz +0 -0
  560. package/build/client/_app/immutable/nodes/2.CT3mHDSn.js +34 -0
  561. package/build/client/_app/immutable/nodes/2.CT3mHDSn.js.br +0 -0
  562. package/build/client/_app/immutable/nodes/2.CT3mHDSn.js.gz +0 -0
  563. package/build/client/_app/immutable/nodes/20.BgTmceNa.js +17 -0
  564. package/build/client/_app/immutable/nodes/20.BgTmceNa.js.br +0 -0
  565. package/build/client/_app/immutable/nodes/20.BgTmceNa.js.gz +0 -0
  566. package/build/client/_app/immutable/nodes/22.CZT1v63r.js +4 -0
  567. package/build/client/_app/immutable/nodes/22.CZT1v63r.js.br +0 -0
  568. package/build/client/_app/immutable/nodes/22.CZT1v63r.js.gz +0 -0
  569. package/build/client/_app/immutable/nodes/23.YJu8W2PV.js +1 -0
  570. package/build/client/_app/immutable/nodes/23.YJu8W2PV.js.br +1 -0
  571. package/build/client/_app/immutable/nodes/23.YJu8W2PV.js.gz +0 -0
  572. package/build/client/_app/immutable/nodes/24.CQxilE8c.js +6 -0
  573. package/build/client/_app/immutable/nodes/24.CQxilE8c.js.br +0 -0
  574. package/build/client/_app/immutable/nodes/24.CQxilE8c.js.gz +0 -0
  575. package/build/client/_app/immutable/nodes/25.CkZ7gK9g.js +8 -0
  576. package/build/client/_app/immutable/nodes/25.CkZ7gK9g.js.br +0 -0
  577. package/build/client/_app/immutable/nodes/25.CkZ7gK9g.js.gz +0 -0
  578. package/build/client/_app/immutable/nodes/26.D_CkVsh-.js +2 -0
  579. package/build/client/_app/immutable/nodes/26.D_CkVsh-.js.br +0 -0
  580. package/build/client/_app/immutable/nodes/26.D_CkVsh-.js.gz +0 -0
  581. package/build/client/_app/immutable/nodes/27.Em4I6dbN.js +5 -0
  582. package/build/client/_app/immutable/nodes/27.Em4I6dbN.js.br +0 -0
  583. package/build/client/_app/immutable/nodes/27.Em4I6dbN.js.gz +0 -0
  584. package/build/client/_app/immutable/nodes/28.IMyvl6Vp.js +4 -0
  585. package/build/client/_app/immutable/nodes/28.IMyvl6Vp.js.br +0 -0
  586. package/build/client/_app/immutable/nodes/28.IMyvl6Vp.js.gz +0 -0
  587. package/build/client/_app/immutable/nodes/29.wFKZevuD.js +7 -0
  588. package/build/client/_app/immutable/nodes/29.wFKZevuD.js.br +0 -0
  589. package/build/client/_app/immutable/nodes/29.wFKZevuD.js.gz +0 -0
  590. package/build/client/_app/immutable/nodes/3.Ni7KfATw.js +2 -0
  591. package/build/client/_app/immutable/nodes/3.Ni7KfATw.js.br +0 -0
  592. package/build/client/_app/immutable/nodes/3.Ni7KfATw.js.gz +0 -0
  593. package/build/client/_app/immutable/nodes/30.DeZ1waJl.js +2 -0
  594. package/build/client/_app/immutable/nodes/30.DeZ1waJl.js.br +0 -0
  595. package/build/client/_app/immutable/nodes/30.DeZ1waJl.js.gz +0 -0
  596. package/build/client/_app/immutable/nodes/31.B50WzINo.js +4 -0
  597. package/build/client/_app/immutable/nodes/31.B50WzINo.js.br +0 -0
  598. package/build/client/_app/immutable/nodes/31.B50WzINo.js.gz +0 -0
  599. package/build/client/_app/immutable/nodes/32.87O-VUhI.js +7 -0
  600. package/build/client/_app/immutable/nodes/32.87O-VUhI.js.br +0 -0
  601. package/build/client/_app/immutable/nodes/32.87O-VUhI.js.gz +0 -0
  602. package/build/client/_app/immutable/nodes/33.BN5zeJkZ.js +6 -0
  603. package/build/client/_app/immutable/nodes/33.BN5zeJkZ.js.br +0 -0
  604. package/build/client/_app/immutable/nodes/33.BN5zeJkZ.js.gz +0 -0
  605. package/build/client/_app/immutable/nodes/34.GzT8007j.js +23 -0
  606. package/build/client/_app/immutable/nodes/34.GzT8007j.js.br +0 -0
  607. package/build/client/_app/immutable/nodes/34.GzT8007j.js.gz +0 -0
  608. package/build/client/_app/immutable/nodes/35.BmXfdUco.js +3 -0
  609. package/build/client/_app/immutable/nodes/35.BmXfdUco.js.br +0 -0
  610. package/build/client/_app/immutable/nodes/35.BmXfdUco.js.gz +0 -0
  611. package/build/client/_app/immutable/nodes/36.JzQtmWjz.js +1 -0
  612. package/build/client/_app/immutable/nodes/36.JzQtmWjz.js.br +0 -0
  613. package/build/client/_app/immutable/nodes/36.JzQtmWjz.js.gz +0 -0
  614. package/build/client/_app/immutable/nodes/37.BXQYzCsE.js +6 -0
  615. package/build/client/_app/immutable/nodes/37.BXQYzCsE.js.br +0 -0
  616. package/build/client/_app/immutable/nodes/37.BXQYzCsE.js.gz +0 -0
  617. package/build/client/_app/immutable/nodes/4.Deqh-XPt.js +5 -0
  618. package/build/client/_app/immutable/nodes/4.Deqh-XPt.js.br +0 -0
  619. package/build/client/_app/immutable/nodes/4.Deqh-XPt.js.gz +0 -0
  620. package/build/client/_app/immutable/nodes/5.Bt7FRTuy.js +1 -0
  621. package/build/client/_app/immutable/nodes/5.Bt7FRTuy.js.br +0 -0
  622. package/build/client/_app/immutable/nodes/5.Bt7FRTuy.js.gz +0 -0
  623. package/build/client/_app/immutable/nodes/7.C-LP_ycL.js +1 -0
  624. package/build/client/_app/immutable/nodes/7.C-LP_ycL.js.br +0 -0
  625. package/build/client/_app/immutable/nodes/7.C-LP_ycL.js.gz +0 -0
  626. package/build/client/_app/immutable/nodes/8.BljsERa8.js +2 -0
  627. package/build/client/_app/immutable/nodes/8.BljsERa8.js.br +0 -0
  628. package/build/client/_app/immutable/nodes/8.BljsERa8.js.gz +0 -0
  629. package/build/client/_app/immutable/nodes/9.ByCm8TUZ.js +10 -0
  630. package/build/client/_app/immutable/nodes/9.ByCm8TUZ.js.br +0 -0
  631. package/build/client/_app/immutable/nodes/9.ByCm8TUZ.js.gz +0 -0
  632. package/build/client/_app/version.json +1 -1
  633. package/build/client/_app/version.json.br +0 -0
  634. package/build/client/_app/version.json.gz +0 -0
  635. package/build/handler.js +4 -4
  636. package/build/index.js +4 -4
  637. package/build/server/chunks/chunks/Activity.js-CVotE9na.js +46 -0
  638. package/build/server/chunks/chunks/ConsoleWindow.js-BHNWqM9g.js +120 -0
  639. package/build/server/chunks/chunks/DecisionCard.js-QY9htT6b.js +2206 -0
  640. package/build/server/chunks/chunks/Discussion.js-BpKNy-zU.js +592 -0
  641. package/build/server/chunks/chunks/EtaLine.js-C_vpaPD4.js +98 -0
  642. package/build/server/chunks/chunks/InsightsNav.js-Du6rc1fW.js +18 -0
  643. package/build/server/chunks/chunks/InstallFromGitHub.js-CGbSzIB1.js +272 -0
  644. package/build/server/chunks/chunks/Lightbox.js-DoiLSEBT.js +200 -0
  645. package/build/server/chunks/chunks/OpenDecision.js-BXWJZZq0.js +29 -0
  646. package/build/server/chunks/chunks/PluginElement.js-DW1ooWEo.js +25 -0
  647. package/build/server/chunks/chunks/SettingsNav.js-C2J-VY7I.js +39 -0
  648. package/build/server/chunks/chunks/Sheet.js-6nHEEt3S.js +3854 -0
  649. package/build/server/chunks/chunks/SlotContent.js-BsZHHN_u.js +704 -0
  650. package/build/server/chunks/chunks/VaultAdd.js-PcFUxHT9.js +146 -0
  651. package/build/server/chunks/chunks/blocks.js-DuedYFvd.js +156 -0
  652. package/build/server/chunks/chunks/chat.svelte.js-CN2Dl5hL.js +590 -0
  653. package/build/server/chunks/chunks/client.js-eyO8nh9R.js +24 -0
  654. package/build/server/chunks/chunks/detail.js-DRLnqEyQ.js +151 -0
  655. package/build/server/chunks/chunks/dialog-close.js-0Lh57mtO.js +42 -0
  656. package/build/server/chunks/chunks/dialog-content.js-B8ISMiZP.js +3356 -0
  657. package/build/server/chunks/chunks/dialog.js-hQ4Lcqz_.js +392 -0
  658. package/build/server/chunks/chunks/features.js-Bi0sPXvU.js +140 -0
  659. package/build/server/chunks/chunks/feedback.js-CESyaUOB.js +67 -0
  660. package/build/server/chunks/chunks/fold.js-BNM4Ug44.js +395 -0
  661. package/build/server/chunks/chunks/hourglass.js-BRDWs1ar.js +30 -0
  662. package/build/server/chunks/chunks/index-server.js-DMc-UvjC.js +19 -0
  663. package/build/server/chunks/chunks/index-server2.js-qvYADcF_.js +17 -0
  664. package/build/server/chunks/chunks/index2.js-CwJbkPWB.js +40 -0
  665. package/build/server/chunks/chunks/insights.svelte.js-BjCJwX23.js +681 -0
  666. package/build/server/chunks/chunks/internal.js-DoJl8rwN.js +151 -0
  667. package/build/server/chunks/chunks/live.svelte.js-bE0H0fOh.js +259 -0
  668. package/build/server/chunks/chunks/marketplace-service.js-DXm8rtSf.js +557 -0
  669. package/build/server/chunks/chunks/package.js-CrrQoAnK.js +154 -0
  670. package/build/server/chunks/chunks/page.js-C8gcgUih.js +11 -0
  671. package/build/server/chunks/chunks/phone.svelte.js-Bz4rhdR6.js +7 -0
  672. package/build/server/chunks/chunks/plugins.js-CEZaeLDm.js +58 -0
  673. package/build/server/chunks/chunks/previewhelper2.js-CPW-ym9F.js +166 -0
  674. package/build/server/chunks/chunks/repo.js-Du-fw6dp.js +33 -0
  675. package/build/server/chunks/chunks/runtime.js-mgwdmp8t.js +23378 -0
  676. package/build/server/chunks/chunks/service.js-DrkaOdZh.js +1339 -0
  677. package/build/server/chunks/chunks/service2.js-Bll5vrZ9.js +835 -0
  678. package/build/server/chunks/chunks/service3.js-CPx2wPWX.js +811 -0
  679. package/build/server/chunks/chunks/sessions.js-Bjm8IMKp.js +452 -0
  680. package/build/server/chunks/chunks/settings.js-DqKx7bPt.js +379 -0
  681. package/build/server/chunks/chunks/settings3.js-BlZbXkzQ.js +21 -0
  682. package/build/server/chunks/chunks/settings4.js-8JjZvg3U.js +690 -0
  683. package/build/server/chunks/chunks/starter.js-JTMo1Mvg.js +400 -0
  684. package/build/server/chunks/chunks/state.svelte.js-kNm-eS2R.js +13 -0
  685. package/build/server/chunks/chunks/tmux.js-iKfXN6X8.js +450 -0
  686. package/build/server/chunks/chunks/tools.js-DijWil7F.js +155 -0
  687. package/build/server/chunks/chunks/vault.js-giGoLNSu.js +12 -0
  688. package/build/server/chunks/chunks/view.js-C1OUGijL.js +76 -0
  689. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-BuSitHCg.js +105 -0
  690. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-CNl9Ias2.js +111 -0
  691. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-bQyXxBQf.js +52 -0
  692. package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-C0O0609p.js +68 -0
  693. package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-0w4WXHDi.js +72 -0
  694. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-CaBYHg-p.js +134 -0
  695. package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-mlT973XN.js +56 -0
  696. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-mOOjBpQ5.js +64 -0
  697. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-BQ9tsuI4.js +98 -0
  698. package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-BUcW4PvM.js +76 -0
  699. package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-D8qRYxh1.js +65 -0
  700. package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-C-VI8e2k.js +59 -0
  701. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-CVujdoKz.js +59 -0
  702. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-0VJvxe2Y.js +60 -0
  703. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-DHFt8CoD.js +66 -0
  704. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-DQgW9Ntd.js +59 -0
  705. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-UGhSPzFZ.js +108 -0
  706. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-BPU6Xpdp.js +69 -0
  707. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-bvYU2Ioc.js +80 -0
  708. package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-BDB2BVgs.js +68 -0
  709. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-C1ZKwy2B.js +59 -0
  710. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-Cu9vBWfZ.js +51 -0
  711. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-CG-XB_Ym.js +51 -0
  712. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-Cox5jJ2Q.js +78 -0
  713. package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-C3DNu8pd.js +76 -0
  714. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-Fxrg4PGy.js +69 -0
  715. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-BAU5WTFf.js +51 -0
  716. package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-C3KNOI_z.js +70 -0
  717. package/build/server/chunks/entries/endpoints/api/live/_id_/events/_server.ts.js-BKqsHvHg.js +65 -0
  718. package/build/server/chunks/entries/endpoints/api/live/_id_/interrupt/_server.ts.js-BjAQnIN6.js +23 -0
  719. package/build/server/chunks/entries/endpoints/api/live/_id_/say/_server.ts.js-ZTtHt5q3.js +26 -0
  720. package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-CUPyprsc.js +86 -0
  721. package/build/server/chunks/entries/endpoints/api/live/image/_server.ts.js-ClesSc9w.js +69 -0
  722. package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-D4Xc7hJR.js +65 -0
  723. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-BmXyODw3.js +86 -0
  724. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-to_a3SYk.js +75 -0
  725. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-LyQRMWvK.js +70 -0
  726. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-Byj9O_J1.js +67 -0
  727. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-DVdmEXgI.js +27 -0
  728. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-DaanKmt_.js +74 -0
  729. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-DyJ-NyJA.js +39 -0
  730. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-CNFJbTf1.js +51 -0
  731. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-BMlNgjWs.js +39 -0
  732. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-BW7qwxw4.js +42 -0
  733. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-DBJbPZGJ.js +56 -0
  734. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-Dc2np-kT.js +65 -0
  735. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-u8BgK2aT.js +62 -0
  736. package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-1Yto-9_p.js +66 -0
  737. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-DsE6Q13G.js +27 -0
  738. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-ooBKDSjB.js +74 -0
  739. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-CSm3fpDB.js +56 -0
  740. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-nTrpwAyt.js +65 -0
  741. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-BvVFR97i.js +77 -0
  742. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-BpfSXCKZ.js +64 -0
  743. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-yy9LH6Wm.js +87 -0
  744. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-D4qOEHTQ.js +70 -0
  745. package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-Ch4KyB7C.js +569 -0
  746. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-xBFdDBRB.js +81 -0
  747. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js--ijsVFNn.js +60 -0
  748. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-DAWsPyHN.js +70 -0
  749. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-CCirdhaF.js +130 -0
  750. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-DpbDXwle.js +59 -0
  751. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-DmtswYlE.js +56 -0
  752. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-BH2dqm4H.js +75 -0
  753. package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-BxbmyFJ9.js +100 -0
  754. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-CgP1wlDY.js +68 -0
  755. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-CUDKIOC-.js +116 -0
  756. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-B89iytOD.js +70 -0
  757. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-o-MMdyQY.js +73 -0
  758. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-Be6RPnv3.js +74 -0
  759. package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-1Xpy0Skk.js +23 -0
  760. package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-BXEBQai-.js +30 -0
  761. package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-BfgrNGGr.js +32 -0
  762. package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-DwOSe2Xb.js +86 -0
  763. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-C0qxImm3.js +40 -0
  764. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-DnXLeCOG.js +27 -0
  765. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-BDBVyy_4.js +27 -0
  766. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-BqohXKPa.js +55 -0
  767. package/build/server/chunks/entries/fallbacks/error.svelte.js-CQ6LuoCk.js +16 -0
  768. package/build/server/chunks/entries/hooks.server.js-3OcmRF6Y.js +97 -0
  769. package/build/server/chunks/entries/pages/_layout.server.ts.js-DEdQNKf4.js +54 -0
  770. package/build/server/chunks/entries/pages/_layout.svelte.js-DYo_IIVD.js +5630 -0
  771. package/build/server/chunks/entries/pages/_page.server.ts.js-ChltsQ0Z.js +16 -0
  772. package/build/server/chunks/entries/pages/_page.svelte.js-koYjFwMr.js +4444 -0
  773. package/build/server/chunks/entries/pages/crew/_page.svelte.js-D75Ou9XE.js +136 -0
  774. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-CsdK96p0.js +11 -0
  775. package/build/server/chunks/entries/pages/decisions/_page.svelte.js-q0GzHUU9.js +203 -0
  776. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-D02oYejY.js +16 -0
  777. package/build/server/chunks/entries/pages/deck/_page.svelte.js-BTFq3iWb.js +110 -0
  778. package/build/server/chunks/entries/pages/files/_page.server.ts.js-BrGpZdiN.js +17 -0
  779. package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-DvT9q8I7.js +47 -0
  780. package/build/server/chunks/entries/pages/harbour/_page.svelte.js-B9TjegrQ.js +752 -0
  781. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-B7S2-K6e.js +11 -0
  782. package/build/server/chunks/entries/pages/headroom/_page.svelte.js-Dwzou84I.js +296 -0
  783. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-28IqYicd.js +11 -0
  784. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-PIMnXd72.js +217 -0
  785. package/build/server/chunks/entries/pages/more/_page.svelte.js-BpPI8mng.js +144 -0
  786. package/build/server/chunks/entries/pages/plugins/_page.svelte.js-BfGhV09D.js +677 -0
  787. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-D5RIxVu_.js +16 -0
  788. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-Cpuc83Iz.js +60 -0
  789. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-D6ODIMJe.js +23 -0
  790. package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-DyzbY0r0.js +957 -0
  791. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-JYQaYPT1.js +21 -0
  792. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-D6D5AH7J.js +82 -0
  793. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-DiH7Xgxh.js +27 -0
  794. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-BEja-Msc.js +420 -0
  795. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-DXN1Pz6N.js +15 -0
  796. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-VthWhHjD.js +1867 -0
  797. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-unNhJXMe.js +11 -0
  798. package/build/server/chunks/entries/pages/remotes/_page.svelte.js-CBQbWcJc.js +336 -0
  799. package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-CvFse8fa.js +13 -0
  800. package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-x-oZvzb6.js +432 -0
  801. package/build/server/chunks/entries/pages/second-mates/add/_page.svelte.js-C4UNV2C4.js +51 -0
  802. package/build/server/chunks/entries/pages/settings/_page.server.ts.js-C6YK0DH6.js +12 -0
  803. package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-DLWo2WbV.js +18 -0
  804. package/build/server/chunks/entries/pages/settings/chat/_page.svelte.js-kO0jkmet.js +77 -0
  805. package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-BRhWAJHp.js +19 -0
  806. package/build/server/chunks/entries/pages/settings/discussion/_page.svelte.js-BXuafe1n.js +125 -0
  807. package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-DiI_TaEO.js +16 -0
  808. package/build/server/chunks/entries/pages/settings/events/_page.svelte.js-BbnawBPo.js +111 -0
  809. package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-BOJ5ZyM9.js +15 -0
  810. package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-BHqMDcoN.js +68 -0
  811. package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-DN1bZUKc.js +797 -0
  812. package/build/server/chunks/entries/pages/settings/firstmate/_page.svelte.js-D4BUKnQE.js +254 -0
  813. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-BB8VWh97.js +11 -0
  814. package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-CLIBt7cn.js +248 -0
  815. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-BGUvTLnA.js +19 -0
  816. package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-BfF1T4_C.js +566 -0
  817. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-CLDJv8c7.js +17 -0
  818. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-DCCuPnVH.js +239 -0
  819. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-BclOpKsO.js +11 -0
  820. package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-BfjVuU7n.js +56 -0
  821. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-DRjpy-3P.js +11 -0
  822. package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-DCadYd7c.js +62 -0
  823. package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-CrCnBoyl.js +15 -0
  824. package/build/server/chunks/entries/pages/settings/voice/_page.svelte.js-bT1bJsEw.js +179 -0
  825. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-DeC7oHWi.js +18 -0
  826. package/build/server/chunks/entries/pages/setup/_page.svelte.js-B1bBmKtN.js +1439 -0
  827. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-DS2cCumK.js +36 -0
  828. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-C11bllW6.js +3017 -0
  829. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-BmIPemm2.js +24 -0
  830. package/build/server/chunks/entries/pages/time/_page.server.ts.js-YJ6bz3kM.js +11 -0
  831. package/build/server/chunks/entries/pages/time/_page.svelte.js-BNFJtEjQ.js +109 -0
  832. package/build/server/chunks/handler-DkqWdYGS.js +1474 -0
  833. package/build/server/chunks/index.js-CkJF4slq.js +4296 -0
  834. package/build/server/chunks/manifest.js-Bs7BUT9P.js +889 -0
  835. package/build/server/chunks/nodes/0.js-BLa84UcD.js +59 -0
  836. package/build/server/chunks/nodes/1.js-CoZLKs_5.js +9 -0
  837. package/build/server/chunks/nodes/10.js-CZt42Sbx.js +56 -0
  838. package/build/server/chunks/nodes/11.js-CBpDHAYR.js +9 -0
  839. package/build/server/chunks/nodes/12.js-43L-gzrz.js +9 -0
  840. package/build/server/chunks/nodes/13.js-CnypCFEM.js +56 -0
  841. package/build/server/chunks/nodes/14.js-DuIh16yC.js +59 -0
  842. package/build/server/chunks/nodes/15.js-B2yybaHF.js +57 -0
  843. package/build/server/chunks/nodes/16.js-BA2nus4V.js +58 -0
  844. package/build/server/chunks/nodes/17.js-D292D7q8.js +57 -0
  845. package/build/server/chunks/nodes/18.js-CAY8fIZd.js +26 -0
  846. package/build/server/chunks/nodes/19.js-XA1Xw7Au.js +25 -0
  847. package/build/server/chunks/nodes/2.js-Dpz6x1T7.js +56 -0
  848. package/build/server/chunks/nodes/20.js-BoIi2_y2.js +9 -0
  849. package/build/server/chunks/nodes/21.js-ByqHK-r-.js +25 -0
  850. package/build/server/chunks/nodes/22.js-DWJ3DgEA.js +56 -0
  851. package/build/server/chunks/nodes/23.js-CSOx5wG0.js +16 -0
  852. package/build/server/chunks/nodes/24.js-DGHoTZcL.js +57 -0
  853. package/build/server/chunks/nodes/25.js-eOrNKIXr.js +56 -0
  854. package/build/server/chunks/nodes/26.js-Ceaqnuy-.js +25 -0
  855. package/build/server/chunks/nodes/27.js-sFX3iijs.js +56 -0
  856. package/build/server/chunks/nodes/28.js-ByZFjWh5.js +26 -0
  857. package/build/server/chunks/nodes/29.js-C1B9W3tQ.js +56 -0
  858. package/build/server/chunks/nodes/3.js-BH_6ASRs.js +9 -0
  859. package/build/server/chunks/nodes/30.js-Bk0O1CPW.js +59 -0
  860. package/build/server/chunks/nodes/31.js-BFHuPPYT.js +58 -0
  861. package/build/server/chunks/nodes/32.js-BiQg4dhH.js +26 -0
  862. package/build/server/chunks/nodes/33.js-zzJuoF-k.js +58 -0
  863. package/build/server/chunks/nodes/34.js-BJqPvgXC.js +60 -0
  864. package/build/server/chunks/nodes/35.js-DIqcKF3q.js +57 -0
  865. package/build/server/chunks/nodes/36.js-DPnWfRPH.js +57 -0
  866. package/build/server/chunks/nodes/37.js-DOoDt57E.js +56 -0
  867. package/build/server/chunks/nodes/4.js-91cTeZNJ.js +56 -0
  868. package/build/server/chunks/nodes/5.js-vruaHYMc.js +56 -0
  869. package/build/server/chunks/nodes/7.js-BIhblnu_.js +56 -0
  870. package/build/server/chunks/nodes/8.js-CyITTuZ1.js +61 -0
  871. package/build/server/chunks/nodes/9.js-RBViwGx9.js +56 -0
  872. package/dist/cli.js +18 -6
  873. package/dist/wh-vault.js +1 -1
  874. package/firstmate-extension/firstmate-extension.json +1 -1
  875. package/package.json +3 -1
  876. package/skills/manage-wheelhouse/references/operations.md +22 -22
  877. package/build/client/_app/immutable/assets/0.DPXXVvQJ.css +0 -1
  878. package/build/client/_app/immutable/assets/0.DPXXVvQJ.css.br +0 -0
  879. package/build/client/_app/immutable/assets/0.DPXXVvQJ.css.gz +0 -0
  880. package/build/client/_app/immutable/assets/2.9iA_78o1.css +0 -1
  881. package/build/client/_app/immutable/assets/2.9iA_78o1.css.br +0 -0
  882. package/build/client/_app/immutable/assets/2.9iA_78o1.css.gz +0 -0
  883. package/build/client/_app/immutable/chunks/-7ouQdsG.js +0 -1
  884. package/build/client/_app/immutable/chunks/-7ouQdsG.js.br +0 -0
  885. package/build/client/_app/immutable/chunks/-7ouQdsG.js.gz +0 -0
  886. package/build/client/_app/immutable/chunks/1c_L7VrA.js +0 -3
  887. package/build/client/_app/immutable/chunks/1c_L7VrA.js.br +0 -0
  888. package/build/client/_app/immutable/chunks/1c_L7VrA.js.gz +0 -0
  889. package/build/client/_app/immutable/chunks/4pTUx6eL.js +0 -1
  890. package/build/client/_app/immutable/chunks/4pTUx6eL.js.br +0 -4
  891. package/build/client/_app/immutable/chunks/4pTUx6eL.js.gz +0 -0
  892. package/build/client/_app/immutable/chunks/55XEoNtX.js +0 -1
  893. package/build/client/_app/immutable/chunks/55XEoNtX.js.br +0 -2
  894. package/build/client/_app/immutable/chunks/55XEoNtX.js.gz +0 -0
  895. package/build/client/_app/immutable/chunks/6DAn206W.js +0 -1
  896. package/build/client/_app/immutable/chunks/6DAn206W.js.br +0 -0
  897. package/build/client/_app/immutable/chunks/6DAn206W.js.gz +0 -0
  898. package/build/client/_app/immutable/chunks/6rTUl_co.js +0 -1
  899. package/build/client/_app/immutable/chunks/6rTUl_co.js.br +0 -0
  900. package/build/client/_app/immutable/chunks/6rTUl_co.js.gz +0 -0
  901. package/build/client/_app/immutable/chunks/8Fai-wPF.js +0 -1
  902. package/build/client/_app/immutable/chunks/8Fai-wPF.js.br +0 -0
  903. package/build/client/_app/immutable/chunks/8Fai-wPF.js.gz +0 -0
  904. package/build/client/_app/immutable/chunks/B-0qqE45.js +0 -1
  905. package/build/client/_app/immutable/chunks/B-0qqE45.js.br +0 -0
  906. package/build/client/_app/immutable/chunks/B-0qqE45.js.gz +0 -0
  907. package/build/client/_app/immutable/chunks/B0-xhMiU.js +0 -5
  908. package/build/client/_app/immutable/chunks/B0-xhMiU.js.br +0 -0
  909. package/build/client/_app/immutable/chunks/B0-xhMiU.js.gz +0 -0
  910. package/build/client/_app/immutable/chunks/B60LYfBd.js +0 -1
  911. package/build/client/_app/immutable/chunks/B60LYfBd.js.br +0 -0
  912. package/build/client/_app/immutable/chunks/B60LYfBd.js.gz +0 -0
  913. package/build/client/_app/immutable/chunks/BAsiHkaZ.js +0 -1
  914. package/build/client/_app/immutable/chunks/BAsiHkaZ.js.br +0 -0
  915. package/build/client/_app/immutable/chunks/BAsiHkaZ.js.gz +0 -0
  916. package/build/client/_app/immutable/chunks/BAuCcuxw.js +0 -1
  917. package/build/client/_app/immutable/chunks/BAuCcuxw.js.br +0 -0
  918. package/build/client/_app/immutable/chunks/BAuCcuxw.js.gz +0 -0
  919. package/build/client/_app/immutable/chunks/BG4ZPCNg.js +0 -5
  920. package/build/client/_app/immutable/chunks/BG4ZPCNg.js.br +0 -0
  921. package/build/client/_app/immutable/chunks/BG4ZPCNg.js.gz +0 -0
  922. package/build/client/_app/immutable/chunks/BGW1RfKQ.js +0 -1
  923. package/build/client/_app/immutable/chunks/BGW1RfKQ.js.br +0 -2
  924. package/build/client/_app/immutable/chunks/BGW1RfKQ.js.gz +0 -0
  925. package/build/client/_app/immutable/chunks/BJoMiuA8.js +0 -1
  926. package/build/client/_app/immutable/chunks/BJoMiuA8.js.br +0 -0
  927. package/build/client/_app/immutable/chunks/BJoMiuA8.js.gz +0 -0
  928. package/build/client/_app/immutable/chunks/BOy3K7xN.js +0 -1
  929. package/build/client/_app/immutable/chunks/BOy3K7xN.js.br +0 -0
  930. package/build/client/_app/immutable/chunks/BOy3K7xN.js.gz +0 -0
  931. package/build/client/_app/immutable/chunks/BPcURVOt.js +0 -3
  932. package/build/client/_app/immutable/chunks/BPcURVOt.js.br +0 -0
  933. package/build/client/_app/immutable/chunks/BPcURVOt.js.gz +0 -0
  934. package/build/client/_app/immutable/chunks/BQ56-tK5.js +0 -2
  935. package/build/client/_app/immutable/chunks/BQ56-tK5.js.br +0 -0
  936. package/build/client/_app/immutable/chunks/BQ56-tK5.js.gz +0 -0
  937. package/build/client/_app/immutable/chunks/BTUBKbNp.js +0 -1
  938. package/build/client/_app/immutable/chunks/BTUBKbNp.js.br +0 -0
  939. package/build/client/_app/immutable/chunks/BTUBKbNp.js.gz +0 -0
  940. package/build/client/_app/immutable/chunks/BWPYBmh1.js +0 -1
  941. package/build/client/_app/immutable/chunks/BWPYBmh1.js.br +0 -2
  942. package/build/client/_app/immutable/chunks/BWPYBmh1.js.gz +0 -0
  943. package/build/client/_app/immutable/chunks/BW_JnYeB.js +0 -1
  944. package/build/client/_app/immutable/chunks/BW_JnYeB.js.br +0 -0
  945. package/build/client/_app/immutable/chunks/BW_JnYeB.js.gz +0 -0
  946. package/build/client/_app/immutable/chunks/BbNNG5a4.js +0 -1
  947. package/build/client/_app/immutable/chunks/BbNNG5a4.js.br +0 -0
  948. package/build/client/_app/immutable/chunks/BbNNG5a4.js.gz +0 -0
  949. package/build/client/_app/immutable/chunks/BcCorYoj.js +0 -1
  950. package/build/client/_app/immutable/chunks/BcCorYoj.js.br +0 -0
  951. package/build/client/_app/immutable/chunks/BcCorYoj.js.gz +0 -0
  952. package/build/client/_app/immutable/chunks/Bf46oUeB.js +0 -1
  953. package/build/client/_app/immutable/chunks/Bf46oUeB.js.br +0 -0
  954. package/build/client/_app/immutable/chunks/Bf46oUeB.js.gz +0 -0
  955. package/build/client/_app/immutable/chunks/BfNiKjWt.js +0 -1
  956. package/build/client/_app/immutable/chunks/BfNiKjWt.js.br +0 -0
  957. package/build/client/_app/immutable/chunks/BfNiKjWt.js.gz +0 -0
  958. package/build/client/_app/immutable/chunks/BgdwPfvE.js +0 -1
  959. package/build/client/_app/immutable/chunks/BgdwPfvE.js.br +0 -0
  960. package/build/client/_app/immutable/chunks/BgdwPfvE.js.gz +0 -0
  961. package/build/client/_app/immutable/chunks/BjfHpW4u.js +0 -1
  962. package/build/client/_app/immutable/chunks/BjfHpW4u.js.br +0 -0
  963. package/build/client/_app/immutable/chunks/BjfHpW4u.js.gz +0 -0
  964. package/build/client/_app/immutable/chunks/BjlKuhi7.js +0 -1
  965. package/build/client/_app/immutable/chunks/BjlKuhi7.js.br +0 -3
  966. package/build/client/_app/immutable/chunks/BjlKuhi7.js.gz +0 -0
  967. package/build/client/_app/immutable/chunks/Bt6KUUDH.js +0 -1
  968. package/build/client/_app/immutable/chunks/Bt6KUUDH.js.br +0 -0
  969. package/build/client/_app/immutable/chunks/Bt6KUUDH.js.gz +0 -0
  970. package/build/client/_app/immutable/chunks/Buvnupwl.js +0 -1
  971. package/build/client/_app/immutable/chunks/Buvnupwl.js.br +0 -0
  972. package/build/client/_app/immutable/chunks/Buvnupwl.js.gz +0 -0
  973. package/build/client/_app/immutable/chunks/Bvjx1IR1.js +0 -1
  974. package/build/client/_app/immutable/chunks/Bvjx1IR1.js.br +0 -0
  975. package/build/client/_app/immutable/chunks/Bvjx1IR1.js.gz +0 -0
  976. package/build/client/_app/immutable/chunks/C-hNi8vR.js +0 -1
  977. package/build/client/_app/immutable/chunks/C-hNi8vR.js.br +0 -0
  978. package/build/client/_app/immutable/chunks/C-hNi8vR.js.gz +0 -0
  979. package/build/client/_app/immutable/chunks/C3RYx8bC.js +0 -1
  980. package/build/client/_app/immutable/chunks/C3RYx8bC.js.br +0 -0
  981. package/build/client/_app/immutable/chunks/C3RYx8bC.js.gz +0 -0
  982. package/build/client/_app/immutable/chunks/C3tLc6qk.js +0 -1
  983. package/build/client/_app/immutable/chunks/C3tLc6qk.js.br +0 -2
  984. package/build/client/_app/immutable/chunks/C3tLc6qk.js.gz +0 -0
  985. package/build/client/_app/immutable/chunks/C6Hf7_tG.js +0 -1
  986. package/build/client/_app/immutable/chunks/C6Hf7_tG.js.br +0 -0
  987. package/build/client/_app/immutable/chunks/C6Hf7_tG.js.gz +0 -0
  988. package/build/client/_app/immutable/chunks/C8KbmUF3.js +0 -1
  989. package/build/client/_app/immutable/chunks/C8KbmUF3.js.br +0 -2
  990. package/build/client/_app/immutable/chunks/C8KbmUF3.js.gz +0 -0
  991. package/build/client/_app/immutable/chunks/CA87s_sP.js +0 -1
  992. package/build/client/_app/immutable/chunks/CA87s_sP.js.br +0 -0
  993. package/build/client/_app/immutable/chunks/CA87s_sP.js.gz +0 -0
  994. package/build/client/_app/immutable/chunks/CCwsNQVJ.js +0 -1
  995. package/build/client/_app/immutable/chunks/CCwsNQVJ.js.br +0 -0
  996. package/build/client/_app/immutable/chunks/CCwsNQVJ.js.gz +0 -0
  997. package/build/client/_app/immutable/chunks/CFm6pZG0.js +0 -1
  998. package/build/client/_app/immutable/chunks/CFm6pZG0.js.br +0 -0
  999. package/build/client/_app/immutable/chunks/CFm6pZG0.js.gz +0 -0
  1000. package/build/client/_app/immutable/chunks/CIMsnGRb.js +0 -2
  1001. package/build/client/_app/immutable/chunks/CIMsnGRb.js.br +0 -0
  1002. package/build/client/_app/immutable/chunks/CIMsnGRb.js.gz +0 -0
  1003. package/build/client/_app/immutable/chunks/CJNEYVWj.js +0 -2
  1004. package/build/client/_app/immutable/chunks/CJNEYVWj.js.br +0 -0
  1005. package/build/client/_app/immutable/chunks/CJNEYVWj.js.gz +0 -0
  1006. package/build/client/_app/immutable/chunks/CLd-Yktx.js +0 -1
  1007. package/build/client/_app/immutable/chunks/CLd-Yktx.js.br +0 -0
  1008. package/build/client/_app/immutable/chunks/CLd-Yktx.js.gz +0 -0
  1009. package/build/client/_app/immutable/chunks/CMHkuJ4s.js +0 -1
  1010. package/build/client/_app/immutable/chunks/CMHkuJ4s.js.br +0 -0
  1011. package/build/client/_app/immutable/chunks/CMHkuJ4s.js.gz +0 -0
  1012. package/build/client/_app/immutable/chunks/CONXZwsH.js +0 -1
  1013. package/build/client/_app/immutable/chunks/CONXZwsH.js.br +0 -0
  1014. package/build/client/_app/immutable/chunks/CONXZwsH.js.gz +0 -0
  1015. package/build/client/_app/immutable/chunks/CPGokFxi.js +0 -7
  1016. package/build/client/_app/immutable/chunks/CPGokFxi.js.br +0 -0
  1017. package/build/client/_app/immutable/chunks/CPGokFxi.js.gz +0 -0
  1018. package/build/client/_app/immutable/chunks/CQL7onaq.js +0 -1
  1019. package/build/client/_app/immutable/chunks/CQL7onaq.js.br +0 -0
  1020. package/build/client/_app/immutable/chunks/CQL7onaq.js.gz +0 -0
  1021. package/build/client/_app/immutable/chunks/CVZBXS_-.js +0 -6
  1022. package/build/client/_app/immutable/chunks/CVZBXS_-.js.br +0 -0
  1023. package/build/client/_app/immutable/chunks/CVZBXS_-.js.gz +0 -0
  1024. package/build/client/_app/immutable/chunks/Cd67i1u_.js +0 -62
  1025. package/build/client/_app/immutable/chunks/Cd67i1u_.js.br +0 -0
  1026. package/build/client/_app/immutable/chunks/Cd67i1u_.js.gz +0 -0
  1027. package/build/client/_app/immutable/chunks/CddGcyNX.js +0 -1
  1028. package/build/client/_app/immutable/chunks/CddGcyNX.js.br +0 -0
  1029. package/build/client/_app/immutable/chunks/CddGcyNX.js.gz +0 -0
  1030. package/build/client/_app/immutable/chunks/CeEmbWm6.js +0 -1
  1031. package/build/client/_app/immutable/chunks/CeEmbWm6.js.br +0 -0
  1032. package/build/client/_app/immutable/chunks/CeEmbWm6.js.gz +0 -0
  1033. package/build/client/_app/immutable/chunks/Cf6pdpsz.js +0 -1
  1034. package/build/client/_app/immutable/chunks/Cf6pdpsz.js.br +0 -0
  1035. package/build/client/_app/immutable/chunks/Cf6pdpsz.js.gz +0 -0
  1036. package/build/client/_app/immutable/chunks/Cg5o-Sdi.js +0 -1
  1037. package/build/client/_app/immutable/chunks/Cg5o-Sdi.js.br +0 -0
  1038. package/build/client/_app/immutable/chunks/Cg5o-Sdi.js.gz +0 -0
  1039. package/build/client/_app/immutable/chunks/CkNCm7Ts.js +0 -1
  1040. package/build/client/_app/immutable/chunks/CkNCm7Ts.js.br +0 -0
  1041. package/build/client/_app/immutable/chunks/CkNCm7Ts.js.gz +0 -0
  1042. package/build/client/_app/immutable/chunks/CloMQgCF.js +0 -1
  1043. package/build/client/_app/immutable/chunks/CloMQgCF.js.br +0 -0
  1044. package/build/client/_app/immutable/chunks/CloMQgCF.js.gz +0 -0
  1045. package/build/client/_app/immutable/chunks/CmLAxoyv.js +0 -1
  1046. package/build/client/_app/immutable/chunks/CmLAxoyv.js.br +0 -0
  1047. package/build/client/_app/immutable/chunks/CmLAxoyv.js.gz +0 -0
  1048. package/build/client/_app/immutable/chunks/CmYKKTYS.js +0 -1
  1049. package/build/client/_app/immutable/chunks/CmYKKTYS.js.br +0 -0
  1050. package/build/client/_app/immutable/chunks/CmYKKTYS.js.gz +0 -0
  1051. package/build/client/_app/immutable/chunks/Cox57RCx.js +0 -1
  1052. package/build/client/_app/immutable/chunks/Cox57RCx.js.br +0 -0
  1053. package/build/client/_app/immutable/chunks/Cox57RCx.js.gz +0 -0
  1054. package/build/client/_app/immutable/chunks/CrfUP_VX.js +0 -1
  1055. package/build/client/_app/immutable/chunks/CrfUP_VX.js.br +0 -0
  1056. package/build/client/_app/immutable/chunks/CrfUP_VX.js.gz +0 -0
  1057. package/build/client/_app/immutable/chunks/CvmB6XOk.js +0 -1
  1058. package/build/client/_app/immutable/chunks/CvmB6XOk.js.br +0 -0
  1059. package/build/client/_app/immutable/chunks/CvmB6XOk.js.gz +0 -0
  1060. package/build/client/_app/immutable/chunks/Cx5j6iHA.js +0 -1
  1061. package/build/client/_app/immutable/chunks/Cx5j6iHA.js.br +0 -0
  1062. package/build/client/_app/immutable/chunks/Cx5j6iHA.js.gz +0 -0
  1063. package/build/client/_app/immutable/chunks/CyXpILz0.js +0 -1
  1064. package/build/client/_app/immutable/chunks/CyXpILz0.js.br +0 -3
  1065. package/build/client/_app/immutable/chunks/CyXpILz0.js.gz +0 -0
  1066. package/build/client/_app/immutable/chunks/CzzMm39R.js +0 -1
  1067. package/build/client/_app/immutable/chunks/CzzMm39R.js.br +0 -0
  1068. package/build/client/_app/immutable/chunks/CzzMm39R.js.gz +0 -0
  1069. package/build/client/_app/immutable/chunks/D3nPFlu1.js +0 -1
  1070. package/build/client/_app/immutable/chunks/D3nPFlu1.js.br +0 -0
  1071. package/build/client/_app/immutable/chunks/D3nPFlu1.js.gz +0 -0
  1072. package/build/client/_app/immutable/chunks/D5JDx3SO.js +0 -1
  1073. package/build/client/_app/immutable/chunks/D5JDx3SO.js.br +0 -0
  1074. package/build/client/_app/immutable/chunks/D5JDx3SO.js.gz +0 -0
  1075. package/build/client/_app/immutable/chunks/D6iImB2R.js +0 -1
  1076. package/build/client/_app/immutable/chunks/D6iImB2R.js.br +0 -0
  1077. package/build/client/_app/immutable/chunks/D6iImB2R.js.gz +0 -0
  1078. package/build/client/_app/immutable/chunks/D7FYExvP.js +0 -1
  1079. package/build/client/_app/immutable/chunks/D7FYExvP.js.br +0 -0
  1080. package/build/client/_app/immutable/chunks/D7FYExvP.js.gz +0 -0
  1081. package/build/client/_app/immutable/chunks/DCCfudFU.js +0 -1
  1082. package/build/client/_app/immutable/chunks/DCCfudFU.js.br +0 -0
  1083. package/build/client/_app/immutable/chunks/DCCfudFU.js.gz +0 -0
  1084. package/build/client/_app/immutable/chunks/DDdiwn-U.js +0 -1
  1085. package/build/client/_app/immutable/chunks/DDdiwn-U.js.br +0 -0
  1086. package/build/client/_app/immutable/chunks/DDdiwn-U.js.gz +0 -0
  1087. package/build/client/_app/immutable/chunks/DHpOAFQk.js +0 -6
  1088. package/build/client/_app/immutable/chunks/DHpOAFQk.js.br +0 -0
  1089. package/build/client/_app/immutable/chunks/DHpOAFQk.js.gz +0 -0
  1090. package/build/client/_app/immutable/chunks/DNoFJI2q.js +0 -1
  1091. package/build/client/_app/immutable/chunks/DNoFJI2q.js.br +0 -0
  1092. package/build/client/_app/immutable/chunks/DNoFJI2q.js.gz +0 -0
  1093. package/build/client/_app/immutable/chunks/DNy30I3F.js +0 -1
  1094. package/build/client/_app/immutable/chunks/DNy30I3F.js.br +0 -0
  1095. package/build/client/_app/immutable/chunks/DNy30I3F.js.gz +0 -0
  1096. package/build/client/_app/immutable/chunks/DP4AJpRJ.js +0 -1
  1097. package/build/client/_app/immutable/chunks/DP4AJpRJ.js.br +0 -0
  1098. package/build/client/_app/immutable/chunks/DP4AJpRJ.js.gz +0 -0
  1099. package/build/client/_app/immutable/chunks/DQ1JWnwW.js +0 -1
  1100. package/build/client/_app/immutable/chunks/DQ1JWnwW.js.br +0 -0
  1101. package/build/client/_app/immutable/chunks/DQ1JWnwW.js.gz +0 -0
  1102. package/build/client/_app/immutable/chunks/DRN_mvpb.js +0 -1
  1103. package/build/client/_app/immutable/chunks/DRN_mvpb.js.br +0 -0
  1104. package/build/client/_app/immutable/chunks/DRN_mvpb.js.gz +0 -0
  1105. package/build/client/_app/immutable/chunks/DY9OJPPO.js +0 -1
  1106. package/build/client/_app/immutable/chunks/DY9OJPPO.js.br +0 -0
  1107. package/build/client/_app/immutable/chunks/DY9OJPPO.js.gz +0 -0
  1108. package/build/client/_app/immutable/chunks/DYyCX7y8.js +0 -1
  1109. package/build/client/_app/immutable/chunks/DYyCX7y8.js.br +0 -0
  1110. package/build/client/_app/immutable/chunks/DYyCX7y8.js.gz +0 -0
  1111. package/build/client/_app/immutable/chunks/DZCe_kkO.js +0 -1
  1112. package/build/client/_app/immutable/chunks/DZCe_kkO.js.br +0 -0
  1113. package/build/client/_app/immutable/chunks/DZCe_kkO.js.gz +0 -0
  1114. package/build/client/_app/immutable/chunks/DcVEd5MS.js +0 -1
  1115. package/build/client/_app/immutable/chunks/DcVEd5MS.js.br +0 -0
  1116. package/build/client/_app/immutable/chunks/DcVEd5MS.js.gz +0 -0
  1117. package/build/client/_app/immutable/chunks/De2vcdXM.js +0 -2
  1118. package/build/client/_app/immutable/chunks/De2vcdXM.js.br +0 -0
  1119. package/build/client/_app/immutable/chunks/De2vcdXM.js.gz +0 -0
  1120. package/build/client/_app/immutable/chunks/De4O2In1.js +0 -1
  1121. package/build/client/_app/immutable/chunks/De4O2In1.js.br +0 -0
  1122. package/build/client/_app/immutable/chunks/De4O2In1.js.gz +0 -0
  1123. package/build/client/_app/immutable/chunks/DflltLwV.js +0 -1
  1124. package/build/client/_app/immutable/chunks/DflltLwV.js.br +0 -0
  1125. package/build/client/_app/immutable/chunks/DflltLwV.js.gz +0 -0
  1126. package/build/client/_app/immutable/chunks/DlKNcnrA.js +0 -1
  1127. package/build/client/_app/immutable/chunks/DlKNcnrA.js.br +0 -0
  1128. package/build/client/_app/immutable/chunks/DlKNcnrA.js.gz +0 -0
  1129. package/build/client/_app/immutable/chunks/DmM4WIRE.js +0 -2
  1130. package/build/client/_app/immutable/chunks/DmM4WIRE.js.br +0 -0
  1131. package/build/client/_app/immutable/chunks/DmM4WIRE.js.gz +0 -0
  1132. package/build/client/_app/immutable/chunks/Do3aY-pJ.js +0 -3
  1133. package/build/client/_app/immutable/chunks/Do3aY-pJ.js.br +0 -0
  1134. package/build/client/_app/immutable/chunks/Do3aY-pJ.js.gz +0 -0
  1135. package/build/client/_app/immutable/chunks/Dr1I4h-s.js +0 -1
  1136. package/build/client/_app/immutable/chunks/Dr1I4h-s.js.br +0 -0
  1137. package/build/client/_app/immutable/chunks/Dr1I4h-s.js.gz +0 -0
  1138. package/build/client/_app/immutable/chunks/DupmVJLw.js +0 -4
  1139. package/build/client/_app/immutable/chunks/DupmVJLw.js.br +0 -0
  1140. package/build/client/_app/immutable/chunks/DupmVJLw.js.gz +0 -0
  1141. package/build/client/_app/immutable/chunks/Dx4-AA8Z.js +0 -1
  1142. package/build/client/_app/immutable/chunks/Dx4-AA8Z.js.br +0 -0
  1143. package/build/client/_app/immutable/chunks/Dx4-AA8Z.js.gz +0 -0
  1144. package/build/client/_app/immutable/chunks/DyxFq-Tu.js +0 -1
  1145. package/build/client/_app/immutable/chunks/DyxFq-Tu.js.br +0 -0
  1146. package/build/client/_app/immutable/chunks/DyxFq-Tu.js.gz +0 -0
  1147. package/build/client/_app/immutable/chunks/JUcpD7p2.js +0 -1
  1148. package/build/client/_app/immutable/chunks/JUcpD7p2.js.br +0 -0
  1149. package/build/client/_app/immutable/chunks/JUcpD7p2.js.gz +0 -0
  1150. package/build/client/_app/immutable/chunks/Jwgp9Ian.js +0 -1
  1151. package/build/client/_app/immutable/chunks/Jwgp9Ian.js.br +0 -0
  1152. package/build/client/_app/immutable/chunks/Jwgp9Ian.js.gz +0 -0
  1153. package/build/client/_app/immutable/chunks/Kc5eW0mD.js +0 -1
  1154. package/build/client/_app/immutable/chunks/Kc5eW0mD.js.br +0 -0
  1155. package/build/client/_app/immutable/chunks/Kc5eW0mD.js.gz +0 -0
  1156. package/build/client/_app/immutable/chunks/MfmuqTIn.js +0 -2
  1157. package/build/client/_app/immutable/chunks/MfmuqTIn.js.br +0 -0
  1158. package/build/client/_app/immutable/chunks/MfmuqTIn.js.gz +0 -0
  1159. package/build/client/_app/immutable/chunks/OB0MS-qW.js +0 -1
  1160. package/build/client/_app/immutable/chunks/OB0MS-qW.js.br +0 -0
  1161. package/build/client/_app/immutable/chunks/OB0MS-qW.js.gz +0 -0
  1162. package/build/client/_app/immutable/chunks/OLaJBqkk.js +0 -6
  1163. package/build/client/_app/immutable/chunks/OLaJBqkk.js.br +0 -0
  1164. package/build/client/_app/immutable/chunks/OLaJBqkk.js.gz +0 -0
  1165. package/build/client/_app/immutable/chunks/Rgz0--W-.js +0 -1
  1166. package/build/client/_app/immutable/chunks/Rgz0--W-.js.br +0 -0
  1167. package/build/client/_app/immutable/chunks/Rgz0--W-.js.gz +0 -0
  1168. package/build/client/_app/immutable/chunks/RqfDdPGP.js +0 -1
  1169. package/build/client/_app/immutable/chunks/RqfDdPGP.js.br +0 -0
  1170. package/build/client/_app/immutable/chunks/RqfDdPGP.js.gz +0 -0
  1171. package/build/client/_app/immutable/chunks/SwQNkIpc.js +0 -1
  1172. package/build/client/_app/immutable/chunks/SwQNkIpc.js.br +0 -0
  1173. package/build/client/_app/immutable/chunks/SwQNkIpc.js.gz +0 -0
  1174. package/build/client/_app/immutable/chunks/Sz_v_ihG.js +0 -1
  1175. package/build/client/_app/immutable/chunks/Sz_v_ihG.js.br +0 -0
  1176. package/build/client/_app/immutable/chunks/Sz_v_ihG.js.gz +0 -0
  1177. package/build/client/_app/immutable/chunks/XNI4QyoL.js +0 -1
  1178. package/build/client/_app/immutable/chunks/XNI4QyoL.js.br +0 -0
  1179. package/build/client/_app/immutable/chunks/XNI4QyoL.js.gz +0 -0
  1180. package/build/client/_app/immutable/chunks/XcArh8sq.js +0 -1
  1181. package/build/client/_app/immutable/chunks/XcArh8sq.js.br +0 -0
  1182. package/build/client/_app/immutable/chunks/XcArh8sq.js.gz +0 -0
  1183. package/build/client/_app/immutable/chunks/Y8TXbmCY.js +0 -1
  1184. package/build/client/_app/immutable/chunks/Y8TXbmCY.js.br +0 -0
  1185. package/build/client/_app/immutable/chunks/Y8TXbmCY.js.gz +0 -0
  1186. package/build/client/_app/immutable/chunks/YAQH2TLS.js +0 -1
  1187. package/build/client/_app/immutable/chunks/YAQH2TLS.js.br +0 -2
  1188. package/build/client/_app/immutable/chunks/YAQH2TLS.js.gz +0 -0
  1189. package/build/client/_app/immutable/chunks/bFJ0wt-E.js +0 -1
  1190. package/build/client/_app/immutable/chunks/bFJ0wt-E.js.br +0 -0
  1191. package/build/client/_app/immutable/chunks/bFJ0wt-E.js.gz +0 -0
  1192. package/build/client/_app/immutable/chunks/j2tARAl0.js +0 -1
  1193. package/build/client/_app/immutable/chunks/j2tARAl0.js.br +0 -0
  1194. package/build/client/_app/immutable/chunks/j2tARAl0.js.gz +0 -0
  1195. package/build/client/_app/immutable/chunks/pJK9uwuX.js +0 -1
  1196. package/build/client/_app/immutable/chunks/pJK9uwuX.js.br +0 -0
  1197. package/build/client/_app/immutable/chunks/pJK9uwuX.js.gz +0 -0
  1198. package/build/client/_app/immutable/chunks/siUtttqk.js +0 -1
  1199. package/build/client/_app/immutable/chunks/siUtttqk.js.br +0 -0
  1200. package/build/client/_app/immutable/chunks/siUtttqk.js.gz +0 -0
  1201. package/build/client/_app/immutable/chunks/vvzN7ZZi.js +0 -1
  1202. package/build/client/_app/immutable/chunks/vvzN7ZZi.js.br +0 -0
  1203. package/build/client/_app/immutable/chunks/vvzN7ZZi.js.gz +0 -0
  1204. package/build/client/_app/immutable/chunks/wu_NjAkT.js +0 -1
  1205. package/build/client/_app/immutable/chunks/wu_NjAkT.js.br +0 -0
  1206. package/build/client/_app/immutable/chunks/wu_NjAkT.js.gz +0 -0
  1207. package/build/client/_app/immutable/chunks/x63vhHzM.js +0 -1
  1208. package/build/client/_app/immutable/chunks/x63vhHzM.js.br +0 -0
  1209. package/build/client/_app/immutable/chunks/x63vhHzM.js.gz +0 -0
  1210. package/build/client/_app/immutable/chunks/yNn5dmAl.js +0 -1
  1211. package/build/client/_app/immutable/chunks/yNn5dmAl.js.br +0 -0
  1212. package/build/client/_app/immutable/chunks/yNn5dmAl.js.gz +0 -0
  1213. package/build/client/_app/immutable/entry/app.DFIrP568.js +0 -2
  1214. package/build/client/_app/immutable/entry/app.DFIrP568.js.br +0 -0
  1215. package/build/client/_app/immutable/entry/app.DFIrP568.js.gz +0 -0
  1216. package/build/client/_app/immutable/entry/start.C06u36g3.js +0 -1
  1217. package/build/client/_app/immutable/entry/start.C06u36g3.js.br +0 -0
  1218. package/build/client/_app/immutable/entry/start.C06u36g3.js.gz +0 -0
  1219. package/build/client/_app/immutable/nodes/0.DnTfQD5x.js +0 -9
  1220. package/build/client/_app/immutable/nodes/0.DnTfQD5x.js.br +0 -0
  1221. package/build/client/_app/immutable/nodes/0.DnTfQD5x.js.gz +0 -0
  1222. package/build/client/_app/immutable/nodes/1.DYf3eeEz.js +0 -1
  1223. package/build/client/_app/immutable/nodes/1.DYf3eeEz.js.br +0 -0
  1224. package/build/client/_app/immutable/nodes/1.DYf3eeEz.js.gz +0 -0
  1225. package/build/client/_app/immutable/nodes/10.Tup2MsME.js +0 -6
  1226. package/build/client/_app/immutable/nodes/10.Tup2MsME.js.br +0 -0
  1227. package/build/client/_app/immutable/nodes/10.Tup2MsME.js.gz +0 -0
  1228. package/build/client/_app/immutable/nodes/11.CeQYv8eh.js +0 -1
  1229. package/build/client/_app/immutable/nodes/11.CeQYv8eh.js.br +0 -0
  1230. package/build/client/_app/immutable/nodes/11.CeQYv8eh.js.gz +0 -0
  1231. package/build/client/_app/immutable/nodes/12.B8vOqWp-.js +0 -10
  1232. package/build/client/_app/immutable/nodes/12.B8vOqWp-.js.br +0 -0
  1233. package/build/client/_app/immutable/nodes/12.B8vOqWp-.js.gz +0 -0
  1234. package/build/client/_app/immutable/nodes/13.CWPNAkXZ.js +0 -1
  1235. package/build/client/_app/immutable/nodes/13.CWPNAkXZ.js.br +0 -0
  1236. package/build/client/_app/immutable/nodes/13.CWPNAkXZ.js.gz +0 -0
  1237. package/build/client/_app/immutable/nodes/14.BomHFWNP.js +0 -3
  1238. package/build/client/_app/immutable/nodes/14.BomHFWNP.js.br +0 -0
  1239. package/build/client/_app/immutable/nodes/14.BomHFWNP.js.gz +0 -0
  1240. package/build/client/_app/immutable/nodes/15.D7wICcdV.js +0 -1
  1241. package/build/client/_app/immutable/nodes/15.D7wICcdV.js.br +0 -0
  1242. package/build/client/_app/immutable/nodes/15.D7wICcdV.js.gz +0 -0
  1243. package/build/client/_app/immutable/nodes/16.CwYX0DD0.js +0 -14
  1244. package/build/client/_app/immutable/nodes/16.CwYX0DD0.js.br +0 -0
  1245. package/build/client/_app/immutable/nodes/16.CwYX0DD0.js.gz +0 -0
  1246. package/build/client/_app/immutable/nodes/17.CP6SSMQz.js +0 -150
  1247. package/build/client/_app/immutable/nodes/17.CP6SSMQz.js.br +0 -0
  1248. package/build/client/_app/immutable/nodes/17.CP6SSMQz.js.gz +0 -0
  1249. package/build/client/_app/immutable/nodes/18.dinO_mGJ.js +0 -25
  1250. package/build/client/_app/immutable/nodes/18.dinO_mGJ.js.br +0 -0
  1251. package/build/client/_app/immutable/nodes/18.dinO_mGJ.js.gz +0 -0
  1252. package/build/client/_app/immutable/nodes/19.B3LIDplG.js +0 -5
  1253. package/build/client/_app/immutable/nodes/19.B3LIDplG.js.br +0 -0
  1254. package/build/client/_app/immutable/nodes/19.B3LIDplG.js.gz +0 -0
  1255. package/build/client/_app/immutable/nodes/2.Ds7AG1Sp.js +0 -28
  1256. package/build/client/_app/immutable/nodes/2.Ds7AG1Sp.js.br +0 -0
  1257. package/build/client/_app/immutable/nodes/2.Ds7AG1Sp.js.gz +0 -0
  1258. package/build/client/_app/immutable/nodes/21.GeOCbpc_.js +0 -4
  1259. package/build/client/_app/immutable/nodes/21.GeOCbpc_.js.br +0 -0
  1260. package/build/client/_app/immutable/nodes/21.GeOCbpc_.js.gz +0 -0
  1261. package/build/client/_app/immutable/nodes/22.BirH-Y0c.js +0 -1
  1262. package/build/client/_app/immutable/nodes/22.BirH-Y0c.js.br +0 -0
  1263. package/build/client/_app/immutable/nodes/22.BirH-Y0c.js.gz +0 -0
  1264. package/build/client/_app/immutable/nodes/23.BhQVufuj.js +0 -8
  1265. package/build/client/_app/immutable/nodes/23.BhQVufuj.js.br +0 -0
  1266. package/build/client/_app/immutable/nodes/23.BhQVufuj.js.gz +0 -0
  1267. package/build/client/_app/immutable/nodes/24.D1qQjP2S.js +0 -3
  1268. package/build/client/_app/immutable/nodes/24.D1qQjP2S.js.br +0 -0
  1269. package/build/client/_app/immutable/nodes/24.D1qQjP2S.js.gz +0 -0
  1270. package/build/client/_app/immutable/nodes/25.DjtNBrX-.js +0 -5
  1271. package/build/client/_app/immutable/nodes/25.DjtNBrX-.js.br +0 -0
  1272. package/build/client/_app/immutable/nodes/25.DjtNBrX-.js.gz +0 -0
  1273. package/build/client/_app/immutable/nodes/26.1W95w8Kh.js +0 -4
  1274. package/build/client/_app/immutable/nodes/26.1W95w8Kh.js.br +0 -0
  1275. package/build/client/_app/immutable/nodes/26.1W95w8Kh.js.gz +0 -0
  1276. package/build/client/_app/immutable/nodes/27.DuJzt0BC.js +0 -7
  1277. package/build/client/_app/immutable/nodes/27.DuJzt0BC.js.br +0 -0
  1278. package/build/client/_app/immutable/nodes/27.DuJzt0BC.js.gz +0 -0
  1279. package/build/client/_app/immutable/nodes/28.BcUVR-We.js +0 -2
  1280. package/build/client/_app/immutable/nodes/28.BcUVR-We.js.br +0 -0
  1281. package/build/client/_app/immutable/nodes/28.BcUVR-We.js.gz +0 -0
  1282. package/build/client/_app/immutable/nodes/29.CSQdxeSK.js +0 -4
  1283. package/build/client/_app/immutable/nodes/29.CSQdxeSK.js.br +0 -0
  1284. package/build/client/_app/immutable/nodes/29.CSQdxeSK.js.gz +0 -0
  1285. package/build/client/_app/immutable/nodes/3.Dysdqlw7.js +0 -2
  1286. package/build/client/_app/immutable/nodes/3.Dysdqlw7.js.br +0 -0
  1287. package/build/client/_app/immutable/nodes/3.Dysdqlw7.js.gz +0 -0
  1288. package/build/client/_app/immutable/nodes/30.BFp98q1T.js +0 -7
  1289. package/build/client/_app/immutable/nodes/30.BFp98q1T.js.br +0 -0
  1290. package/build/client/_app/immutable/nodes/30.BFp98q1T.js.gz +0 -0
  1291. package/build/client/_app/immutable/nodes/31.DMpLzXiB.js +0 -23
  1292. package/build/client/_app/immutable/nodes/31.DMpLzXiB.js.br +0 -0
  1293. package/build/client/_app/immutable/nodes/31.DMpLzXiB.js.gz +0 -0
  1294. package/build/client/_app/immutable/nodes/32.CnTU-Fay.js +0 -3
  1295. package/build/client/_app/immutable/nodes/32.CnTU-Fay.js.br +0 -0
  1296. package/build/client/_app/immutable/nodes/32.CnTU-Fay.js.gz +0 -0
  1297. package/build/client/_app/immutable/nodes/33.DEE9D8C0.js +0 -1
  1298. package/build/client/_app/immutable/nodes/33.DEE9D8C0.js.br +0 -0
  1299. package/build/client/_app/immutable/nodes/33.DEE9D8C0.js.gz +0 -0
  1300. package/build/client/_app/immutable/nodes/34.D2flYQ6C.js +0 -6
  1301. package/build/client/_app/immutable/nodes/34.D2flYQ6C.js.br +0 -0
  1302. package/build/client/_app/immutable/nodes/34.D2flYQ6C.js.gz +0 -0
  1303. package/build/client/_app/immutable/nodes/4.CWkCY0Gp.js +0 -5
  1304. package/build/client/_app/immutable/nodes/4.CWkCY0Gp.js.br +0 -0
  1305. package/build/client/_app/immutable/nodes/4.CWkCY0Gp.js.gz +0 -0
  1306. package/build/client/_app/immutable/nodes/5.8mHB8XXE.js +0 -1
  1307. package/build/client/_app/immutable/nodes/5.8mHB8XXE.js.br +0 -0
  1308. package/build/client/_app/immutable/nodes/5.8mHB8XXE.js.gz +0 -0
  1309. package/build/client/_app/immutable/nodes/7.DE_eLV5y.js +0 -1
  1310. package/build/client/_app/immutable/nodes/7.DE_eLV5y.js.br +0 -0
  1311. package/build/client/_app/immutable/nodes/7.DE_eLV5y.js.gz +0 -0
  1312. package/build/client/_app/immutable/nodes/8.DkWdKRyC.js +0 -2
  1313. package/build/client/_app/immutable/nodes/8.DkWdKRyC.js.br +0 -0
  1314. package/build/client/_app/immutable/nodes/8.DkWdKRyC.js.gz +0 -0
  1315. package/build/client/_app/immutable/nodes/9.Gvdpdyk5.js +0 -7
  1316. package/build/client/_app/immutable/nodes/9.Gvdpdyk5.js.br +0 -0
  1317. package/build/client/_app/immutable/nodes/9.Gvdpdyk5.js.gz +0 -0
  1318. package/build/server/chunks/chunks/Activity.js-DXjVG5xT.js +0 -46
  1319. package/build/server/chunks/chunks/ConsoleWindow.js-DEk3iKGa.js +0 -120
  1320. package/build/server/chunks/chunks/DecisionCard.js-86G6u4pB.js +0 -2206
  1321. package/build/server/chunks/chunks/Discussion.js-IMI0BumV.js +0 -592
  1322. package/build/server/chunks/chunks/EtaLine.js-CKEZyLau.js +0 -98
  1323. package/build/server/chunks/chunks/InsightsNav.js-B21jABX7.js +0 -18
  1324. package/build/server/chunks/chunks/InstallFromGitHub.js-DTgSNvPF.js +0 -272
  1325. package/build/server/chunks/chunks/MicButton.svelte_svelte_type_style_lang.js-B10vMz9A.js +0 -200
  1326. package/build/server/chunks/chunks/OpenDecision.js-BMOUb2a9.js +0 -29
  1327. package/build/server/chunks/chunks/PluginElement.js-B4PKHT2H.js +0 -25
  1328. package/build/server/chunks/chunks/SettingsNav.js-D2wjoTYl.js +0 -36
  1329. package/build/server/chunks/chunks/Sheet.js-CkERuQ6f.js +0 -3854
  1330. package/build/server/chunks/chunks/SlotContent.js-yg9VzqdZ.js +0 -702
  1331. package/build/server/chunks/chunks/chat.svelte.js-Jj2-jIOn.js +0 -981
  1332. package/build/server/chunks/chunks/client.js-Z9ZB5A3s.js +0 -24
  1333. package/build/server/chunks/chunks/detail.js-DxYLE5pO.js +0 -146
  1334. package/build/server/chunks/chunks/dialog-close.js-B-uEcIR7.js +0 -42
  1335. package/build/server/chunks/chunks/dialog-content.js-p_-FwAQn.js +0 -3356
  1336. package/build/server/chunks/chunks/dialog.js-iAYK6Lpj.js +0 -392
  1337. package/build/server/chunks/chunks/features.js-BNl8N8us.js +0 -124
  1338. package/build/server/chunks/chunks/feedback.js-CXkVSg-e.js +0 -67
  1339. package/build/server/chunks/chunks/index-server.js-qvYADcF_.js +0 -17
  1340. package/build/server/chunks/chunks/index-server2.js-DMc-UvjC.js +0 -19
  1341. package/build/server/chunks/chunks/index2.js-BuH5pXIO.js +0 -46
  1342. package/build/server/chunks/chunks/insights.svelte.js-DJcO7VuV.js +0 -681
  1343. package/build/server/chunks/chunks/internal.js-P5l_A-5A.js +0 -151
  1344. package/build/server/chunks/chunks/live.svelte.js-CBuX_3NN.js +0 -259
  1345. package/build/server/chunks/chunks/marketplace-service.js-CGVSX8p6.js +0 -557
  1346. package/build/server/chunks/chunks/package.js-BDDNJbGn.js +0 -154
  1347. package/build/server/chunks/chunks/page.js-BgfXtu-S.js +0 -11
  1348. package/build/server/chunks/chunks/phone.svelte.js-DSEWkTcb.js +0 -7
  1349. package/build/server/chunks/chunks/plugins.js-Du4zNBUe.js +0 -58
  1350. package/build/server/chunks/chunks/previewhelper2.js-NdpLxkBo.js +0 -165
  1351. package/build/server/chunks/chunks/repo.js-CyflQovd.js +0 -33
  1352. package/build/server/chunks/chunks/runtime.js-D2Y_y1vM.js +0 -23293
  1353. package/build/server/chunks/chunks/service.js-CcUA1MNf.js +0 -1339
  1354. package/build/server/chunks/chunks/service2.js-Bcz1_dhB.js +0 -834
  1355. package/build/server/chunks/chunks/settings.js-0qSOXxJ2.js +0 -379
  1356. package/build/server/chunks/chunks/settings3.js-8JjZvg3U.js +0 -690
  1357. package/build/server/chunks/chunks/starter.js-B1Io2RMM.js +0 -400
  1358. package/build/server/chunks/chunks/vault.js-kx-rYEM0.js +0 -165
  1359. package/build/server/chunks/chunks/view.js-BgivR0p2.js +0 -76
  1360. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-CtVCWCgm.js +0 -103
  1361. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-DTQ6l-_K.js +0 -111
  1362. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-DVqDb5ph.js +0 -50
  1363. package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-DVKRUKVj.js +0 -66
  1364. package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-bZHq-SMc.js +0 -70
  1365. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-DTxFJR1V.js +0 -132
  1366. package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-DNgC2fr8.js +0 -54
  1367. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-du3b3Ua-.js +0 -62
  1368. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-DNDT3Z4d.js +0 -96
  1369. package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-B8O-PapK.js +0 -74
  1370. package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-n8fHjcWz.js +0 -63
  1371. package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-uLIM5Rap.js +0 -57
  1372. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-BmfvCF25.js +0 -57
  1373. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-DLvuxrgl.js +0 -58
  1374. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-BdE7Nbi8.js +0 -64
  1375. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-C5hgha-_.js +0 -57
  1376. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-BuYdy0_e.js +0 -106
  1377. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-D8ix-KMV.js +0 -67
  1378. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-DCrszJBd.js +0 -78
  1379. package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-DiRR2F11.js +0 -66
  1380. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-uy69dgQl.js +0 -57
  1381. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-aWmREBg4.js +0 -49
  1382. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-BxMzoJpi.js +0 -49
  1383. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-Dyd0MZRM.js +0 -76
  1384. package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-B_cXfz2Y.js +0 -74
  1385. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-ZDiOr7_Q.js +0 -67
  1386. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-CUma0b0j.js +0 -49
  1387. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-fjQ2v9Ce.js +0 -84
  1388. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-WZowbKT7.js +0 -73
  1389. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-DzBIDGRQ.js +0 -68
  1390. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-BiHE49Iv.js +0 -65
  1391. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-DLIcirzt.js +0 -27
  1392. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-utxduCZr.js +0 -72
  1393. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-f0B4cC8P.js +0 -39
  1394. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-DnD5DtX6.js +0 -49
  1395. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-DpihWANb.js +0 -39
  1396. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-KUYI13Aa.js +0 -42
  1397. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-DhVmKcI9.js +0 -54
  1398. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-D_tX9zNT.js +0 -63
  1399. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-D6rcu4Aq.js +0 -60
  1400. package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-CarsSrsd.js +0 -64
  1401. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-Dhu23C6L.js +0 -27
  1402. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-BjSLckyg.js +0 -72
  1403. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-CEhSuDsm.js +0 -54
  1404. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-De82q9RO.js +0 -63
  1405. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-CmLpNwYf.js +0 -75
  1406. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-DJ3zl97H.js +0 -62
  1407. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-RAts5XHT.js +0 -85
  1408. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-DrIMVE1H.js +0 -68
  1409. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-1Ds5x_14.js +0 -79
  1410. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-DmR6P1jj.js +0 -58
  1411. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-L-UHmfql.js +0 -68
  1412. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-gtT9iS_p.js +0 -128
  1413. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-C2Y5B6rW.js +0 -57
  1414. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-c-TVwbRQ.js +0 -54
  1415. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-D29QxZKX.js +0 -73
  1416. package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-Cy9CBznv.js +0 -98
  1417. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-_yBEHTVc.js +0 -66
  1418. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-BEz3gaAM.js +0 -114
  1419. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-CrGpz4qm.js +0 -68
  1420. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-sH01ulMQ.js +0 -71
  1421. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-BOVzuP-v.js +0 -72
  1422. package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-CdpcII5l.js +0 -84
  1423. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-BPQoTrFi.js +0 -40
  1424. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-B6sAaEgs.js +0 -27
  1425. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-Bn4SoRIm.js +0 -27
  1426. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-AYH3pZmL.js +0 -53
  1427. package/build/server/chunks/entries/fallbacks/error.svelte.js-C0-QO05E.js +0 -15
  1428. package/build/server/chunks/entries/hooks.server.js-D6a2gyRp.js +0 -95
  1429. package/build/server/chunks/entries/pages/_layout.server.ts.js-CvHliDGo.js +0 -54
  1430. package/build/server/chunks/entries/pages/_layout.svelte.js-Bl5-NbQq.js +0 -5624
  1431. package/build/server/chunks/entries/pages/_page.server.ts.js-BSjI8PFH.js +0 -16
  1432. package/build/server/chunks/entries/pages/_page.svelte.js-BlopBrAk.js +0 -3279
  1433. package/build/server/chunks/entries/pages/crew/_page.svelte.js-BF5K8zoV.js +0 -134
  1434. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-CugjhhJ0.js +0 -11
  1435. package/build/server/chunks/entries/pages/decisions/_page.svelte.js-Ds4xjfuV.js +0 -202
  1436. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-DRIsp4Z8.js +0 -16
  1437. package/build/server/chunks/entries/pages/deck/_page.svelte.js-B3j1apFG.js +0 -107
  1438. package/build/server/chunks/entries/pages/files/_page.server.ts.js-Cy8Z9bx2.js +0 -17
  1439. package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-CBlLK4ps.js +0 -46
  1440. package/build/server/chunks/entries/pages/harbour/_page.svelte.js-osLHLxVk.js +0 -751
  1441. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-CO4Z6ira.js +0 -11
  1442. package/build/server/chunks/entries/pages/headroom/_page.svelte.js-Bax8UYm0.js +0 -183
  1443. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-DGZW2L8Q.js +0 -11
  1444. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-B15AVX_c.js +0 -215
  1445. package/build/server/chunks/entries/pages/more/_page.svelte.js-DOf4Awv5.js +0 -143
  1446. package/build/server/chunks/entries/pages/plugins/_page.svelte.js-CLdrz-XA.js +0 -676
  1447. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-vWTk7VOf.js +0 -16
  1448. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-CkcJyKQ4.js +0 -58
  1449. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-PlLgOOyO.js +0 -23
  1450. package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-BTXYH5-g.js +0 -978
  1451. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-BLuhmEnf.js +0 -21
  1452. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-CD_Blsw9.js +0 -80
  1453. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-qgMZkmkx.js +0 -27
  1454. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-61qrv1Hx.js +0 -419
  1455. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-935RdFbz.js +0 -15
  1456. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-B49gjxTM.js +0 -1866
  1457. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-CSdxnjGK.js +0 -11
  1458. package/build/server/chunks/entries/pages/remotes/_page.svelte.js-BKjibxGx.js +0 -335
  1459. package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-D0ng6b-W.js +0 -421
  1460. package/build/server/chunks/entries/pages/settings/_page.server.ts.js-Cr5jVgGI.js +0 -12
  1461. package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-opY1gfOw.js +0 -18
  1462. package/build/server/chunks/entries/pages/settings/chat/_page.svelte.js-Bppo_LHG.js +0 -76
  1463. package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-DYo-qcBu.js +0 -16
  1464. package/build/server/chunks/entries/pages/settings/events/_page.svelte.js-BMgyxQA5.js +0 -110
  1465. package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-DvXcvQMa.js +0 -15
  1466. package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-DMgIFEB6.js +0 -53
  1467. package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-C8Tad0XT.js +0 -796
  1468. package/build/server/chunks/entries/pages/settings/firstmate/_page.svelte.js-CJZx5WlZ.js +0 -253
  1469. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-QvEiw0LD.js +0 -11
  1470. package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-Iwfr2BCD.js +0 -247
  1471. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-Cul9MxiY.js +0 -19
  1472. package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-BGjIG10E.js +0 -565
  1473. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-iJh09d16.js +0 -17
  1474. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-Dfi_Loha.js +0 -238
  1475. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-DKYLb57v.js +0 -11
  1476. package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-CLRHx36O.js +0 -55
  1477. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-D9a8uPep.js +0 -11
  1478. package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-BXbaUlyB.js +0 -61
  1479. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-D67sZMdF.js +0 -18
  1480. package/build/server/chunks/entries/pages/setup/_page.svelte.js-Ba-ZtZ1O.js +0 -1438
  1481. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-DAkSnSQA.js +0 -25
  1482. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-C12olDYH.js +0 -2987
  1483. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-CQE8Ijr4.js +0 -24
  1484. package/build/server/chunks/entries/pages/time/_page.server.ts.js-Db0rnwb5.js +0 -11
  1485. package/build/server/chunks/entries/pages/time/_page.svelte.js-Covw-Y4G.js +0 -108
  1486. package/build/server/chunks/handler-D0Goy_gj.js +0 -1474
  1487. package/build/server/chunks/index.js-pXu9ObUY.js +0 -4296
  1488. package/build/server/chunks/manifest.js-Do1T4-VF.js +0 -788
  1489. package/build/server/chunks/nodes/0.js-BZTsbmJz.js +0 -57
  1490. package/build/server/chunks/nodes/1.js-CdP0WXa2.js +0 -9
  1491. package/build/server/chunks/nodes/10.js-CNrino7f.js +0 -54
  1492. package/build/server/chunks/nodes/11.js-DGF3qkTE.js +0 -9
  1493. package/build/server/chunks/nodes/12.js-1BjONRNw.js +0 -9
  1494. package/build/server/chunks/nodes/13.js-DKhpmZJk.js +0 -54
  1495. package/build/server/chunks/nodes/14.js-C0nSMejk.js +0 -57
  1496. package/build/server/chunks/nodes/15.js-Bv9h9CZN.js +0 -55
  1497. package/build/server/chunks/nodes/16.js-CQJ-fJmL.js +0 -56
  1498. package/build/server/chunks/nodes/17.js-DfTBudeO.js +0 -55
  1499. package/build/server/chunks/nodes/18.js-CPQ8qvV7.js +0 -26
  1500. package/build/server/chunks/nodes/19.js-QxfpabCN.js +0 -9
  1501. package/build/server/chunks/nodes/2.js-DHnUGSut.js +0 -54
  1502. package/build/server/chunks/nodes/20.js-CO0jqK-v.js +0 -25
  1503. package/build/server/chunks/nodes/21.js-CyU03Rv0.js +0 -54
  1504. package/build/server/chunks/nodes/22.js-Bu0MnVtI.js +0 -16
  1505. package/build/server/chunks/nodes/23.js-Duh3S-2m.js +0 -54
  1506. package/build/server/chunks/nodes/24.js-BSW5HPZi.js +0 -25
  1507. package/build/server/chunks/nodes/25.js-D-_N0Mbw.js +0 -54
  1508. package/build/server/chunks/nodes/26.js-BvY1ynuu.js +0 -26
  1509. package/build/server/chunks/nodes/27.js-CkuIeOqp.js +0 -54
  1510. package/build/server/chunks/nodes/28.js-CITEOjWA.js +0 -57
  1511. package/build/server/chunks/nodes/29.js-v2pVe4SR.js +0 -56
  1512. package/build/server/chunks/nodes/3.js-CCBAkyWc.js +0 -9
  1513. package/build/server/chunks/nodes/30.js-CqZkNWNo.js +0 -26
  1514. package/build/server/chunks/nodes/31.js-D6hGifSX.js +0 -58
  1515. package/build/server/chunks/nodes/32.js-DUZFV2hq.js +0 -55
  1516. package/build/server/chunks/nodes/33.js-fhp8akGp.js +0 -55
  1517. package/build/server/chunks/nodes/34.js-vu6Q9-ea.js +0 -54
  1518. package/build/server/chunks/nodes/4.js-CHh9z8tT.js +0 -54
  1519. package/build/server/chunks/nodes/5.js-BBqBq22l.js +0 -54
  1520. package/build/server/chunks/nodes/7.js-BI4oQA5p.js +0 -54
  1521. package/build/server/chunks/nodes/8.js-DA9me9XO.js +0 -59
  1522. package/build/server/chunks/nodes/9.js-BoVoGe6z.js +0 -54
@@ -1,3279 +0,0 @@
1
- import { al as head, am as attr_class, _ as derived, ak as escape_html, ao as attr, ap as stringify, a8 as ensure_array_like, ac as spread_props, a6 as clsx, a7 as bind_props, a5 as attributes } from '../../chunks/index.js-CNAJQSM0.js';
2
- import { p as page } from '../../chunks/index2.js-BuH5pXIO.js';
3
- import { l as live, a as currentFleet, d as currentMessages, b as currentHealth } from '../../chunks/live.svelte.js-CBuX_3NN.js';
4
- import { s as slots } from '../../chunks/slots.svelte.js-CLIV5nwM.js';
5
- import { s as slotKey } from '../../chunks/keys.js-iHygUPeb.js';
6
- import { h as harbour } from '../../chunks/harbour.js-D3N7u1_p.js';
7
- import { p as parseAttachments, k as kindLabel, f as fileSize, a as UPLOAD_MAX_BYTES, t as thumbUrl, i as isImage, b as pastedName, N as NAME_HEADER, T as TYPE_HEADER } from '../../chunks/attachments.js-BAnnqpd-.js';
8
- import { a as Monitor_play, C as Compass, M as Maximize_2, L as Lightbox, p as pullRequests, b as previewChecks, u as urlKey } from '../../chunks/MicButton.svelte_svelte_type_style_lang.js-B10vMz9A.js';
9
- import { m as markdown, F as File_text } from '../../chunks/markdown.js-8EKwlA8M.js';
10
- import { t as escalated, w as cardContext, g as choiceLabel, y as cardTaskHref } from '../../chunks/inbox.js-cDDxDr-d.js';
11
- import { f as formIn, a as formIdIn, c as cardForm, b as decidedLabel, w as withoutForm, D as DECIDED_MAX } from '../../chunks/decisionform.js-BgBiAAsS.js';
12
- import { U as UNSORTED, p as parseReply, i as parseThread, j as UNSORTED_TAG, B as Bell, t as topicName, k as foldRuns, l as tagChat, q as quotes, m as parseRefs, n as chipLabel, o as parseMarkers, r as previewCards, s as cardTag, u as threadRows, S as Sheet, P as Popover, v as snippetOf, a as Popover_trigger, b as Popover_content } from '../../chunks/Sheet.js-CkERuQ6f.js';
13
- import { f as firstmateChat, d as duration, p as pendingLabel, i as inbox } from '../../chunks/chat.svelte.js-Jj2-jIOn.js';
14
- import { m as matchBridgeCards, s as storeWhere, S as SECRET_NAME, P as PROJECT_ID, b as andList } from '../../chunks/vault.js-kx-rYEM0.js';
15
- import { h as hue, p as projectLabels, a as aliases } from '../../chunks/aliases.svelte.js-C2TIS6Rl.js';
16
- import { S as SESSION_HEADER } from '../../chunks/messages.js-CFyGKoqq.js';
17
- import { a as ago } from '../../chunks/format.js-D72dE2wD.js';
18
- import { H as HARNESS_NAMES } from '../../chunks/harness.js-DvhIhjw1.js';
19
- import { t as terminalWait } from '../../chunks/bell.js-D6xuggvQ.js';
20
- import { B as Blocks, A as AppFrame } from '../../chunks/SlotContent.js-yg9VzqdZ.js';
21
- import { L as LinkedText } from '../../chunks/LinkedText.js-Bto6J20h.js';
22
- import { A as Activity } from '../../chunks/Activity.js-DXjVG5xT.js';
23
- import { I as Icon } from '../../chunks/Icon.js-DZKsF3Gu.js';
24
- import { C as Chevron_right } from '../../chunks/chevron-right.js-PPUgqXgy.js';
25
- import { a as DecisionForm, C as Circle_x, M as Monitor_off, L as Layout_dashboard, b as LivePreview, P as PreviewActions, c as DecisionLinks, e as answerWith, f as chatAboutHref, U as Undo_2, g as DecisionDetails, r as reviewSurface, h as MicButton, S as Square, i as editableTarget, j as PreviewStudio } from '../../chunks/DecisionCard.js-86G6u4pB.js';
26
- import { M as Messages_square } from '../../chunks/messages-square.js-K86OwN55.js';
27
- import { H as Hand } from '../../chunks/hand.js-OgzocAnn.js';
28
- import { R as Refresh_cw } from '../../chunks/refresh-cw.js-CbDhy8fm.js';
29
- import { M as Message_square } from '../../chunks/message-square.js-CrZeO0AI.js';
30
- import { E as External_link } from '../../chunks/external-link.js-DDXtld4W.js';
31
- import { X } from '../../chunks/x.js-vo5qKISo.js';
32
- import { C as Circle_check } from '../../chunks/circle-check.js-oWgE2-Ib.js';
33
- import { L as Loader_circle } from '../../chunks/loader-circle.js-B1RYi3bC.js';
34
- import { R as Rotate_cw } from '../../chunks/rotate-cw.js-BPC6IxqZ.js';
35
- import { h as html } from '../../chunks/html.js-FW6Ia4bL.js';
36
- import { P as Puzzle } from '../../chunks/puzzle.js-DISwYPxF.js';
37
- import { p as parseBatch } from '../../chunks/previewhelper.js-D_I_aa96.js';
38
- import { R as ResizableRail, G as Git_merge } from '../../chunks/ResizableRail.js-Clu-Wya9.js';
39
- import { G as Git_pull_request } from '../../chunks/git-pull-request.js-DPwvD_k6.js';
40
- import { C as Circle_dashed } from '../../chunks/circle-dashed.js-DCwzYTH0.js';
41
- import { C as Circle_alert } from '../../chunks/circle-alert.js-B6F_Zxc7.js';
42
- import '../../chunks/exports.js-BZBK1HC9.js';
43
- import '../../chunks/utils2.js-BQzn9ikS.js';
44
- import '../../chunks/utils.js-BJgm9WbO.js';
45
- import '../../chunks/root.js-BMwYWidL.js';
46
- import { P as Plus } from '../../chunks/plus.js-_sWZi-RM.js';
47
- import { K as Key_round } from '../../chunks/key-round.js-Ch8DEqV4.js';
48
- import { A as Arrow_up } from '../../chunks/arrow-up.js-D8v3fwUB.js';
49
- import { S as Square_terminal } from '../../chunks/square-terminal.js-CBs-sBt1.js';
50
- import { M as Message_circle_question_mark } from '../../chunks/message-circle-question-mark.js-DhKP-ciZ.js';
51
- import { C as Check } from '../../chunks/check.js-BizfScOy.js';
52
- import { C as Copy } from '../../chunks/copy.js-BTlHqk6c.js';
53
- import { B as Button } from '../../chunks/button.js-Bg2ee8PR.js';
54
- import { p as phone } from '../../chunks/phone.svelte.js-DSEWkTcb.js';
55
- import { P as Portal } from '../../chunks/dialog-content.js-p_-FwAQn.js';
56
- import { t as tick } from '../../chunks/index-server.js-qvYADcF_.js';
57
- import { L as Lock } from '../../chunks/lock.js-NF_B51Fb.js';
58
- import { S as Search } from '../../chunks/search.js-D4_Ymk2F.js';
59
- import { T as Triangle_alert } from '../../chunks/triangle-alert.js-DCXyDwgC.js';
60
- import { R as Rail, r as railInsights } from '../../chunks/insights.svelte.js-DJcO7VuV.js';
61
- import { g as goto } from '../../chunks/client.js-Z9ZB5A3s.js';
62
- import '../../chunks/chevron-left.js-D17b39o2.js';
63
- import '../../chunks/pullrequests.js-CCzk2sqm.js';
64
- import '../../chunks/docpath.js-D27w_pf9.js';
65
- import '../../chunks/index-server2.js-DMc-UvjC.js';
66
- import '../../chunks/previewnote.js-DB6VK2fp.js';
67
- import '../../chunks/preview.js-CbgkVvT_.js';
68
- import '../../chunks/urls.js-CM6aklCF.js';
69
- import '../../chunks/eye.js-BTtIKcHk.js';
70
- import '../../chunks/PluginElement.js-B4PKHT2H.js';
71
- import '../../chunks/chevron-down.js-DLf9oWYQ.js';
72
- import '../../chunks/cloud.js-CNJrzYEH.js';
73
- import '../../chunks/addresses.js-DmMJzvLK.js';
74
- import '../../chunks/utils3.js-ByN3K_WW.js';
75
- import '../../chunks/clock.js-BRFOn_JF.js';
76
- import '../../chunks/scale.js-5D4jKhvV.js';
77
- import '../../chunks/matelink.js-D9ilVdpZ.js';
78
- import '../../chunks/insights.js-CzzfyHGp.js';
79
- import '../../chunks/checks.js-Cn5S6WhT.js';
80
- import '../../chunks/TimeBar.js-Dduf0kTb.js';
81
- import '../../chunks/MateHealthPill.js-DlhkG33B.js';
82
- import '../../chunks/EtaLine.js-CKEZyLau.js';
83
- import '../../chunks/WhereBadge.js-bxjlBG9F.js';
84
- import '../../chunks/tone.js-Ci1XHrIZ.js';
85
- import '../../chunks/ship.js-BVQ9iFsJ.js';
86
- import '../../chunks/OpenDecision.js-BMOUb2a9.js';
87
- import '../../chunks/arrow-up-right.js-B5ORjULl.js';
88
- import '../../chunks/bridge.js-D-xKM47V.js';
89
- import '../../chunks/gauge.js-cdrDtC-R.js';
90
- import '../../chunks/arrow-right.js-vz3YukWJ.js';
91
-
92
- function App_window($$renderer, $$props) {
93
- let { $$slots, $$events, ...props } = $$props;
94
- const iconData = {
95
- "name": "app-window",
96
- "size": 24,
97
- "node": [
98
- [
99
- "rect",
100
- { "x": "2", "y": "4", "width": "20", "height": "16", "rx": "2" }
101
- ],
102
- ["path", { "d": "M10 4v4" }],
103
- ["path", { "d": "M2 8h20" }],
104
- ["path", { "d": "M6 4v4" }]
105
- ]
106
- };
107
- Icon($$renderer, spread_props([props, { icon: iconData }]));
108
- }
109
- function Arrow_left_right($$renderer, $$props) {
110
- let { $$slots, $$events, ...props } = $$props;
111
- const iconData = {
112
- "name": "arrow-left-right",
113
- "size": 24,
114
- "node": [
115
- ["path", { "d": "M8 3 4 7l4 4" }],
116
- ["path", { "d": "M4 7h16" }],
117
- ["path", { "d": "m16 21 4-4-4-4" }],
118
- ["path", { "d": "M20 17H4" }]
119
- ]
120
- };
121
- Icon($$renderer, spread_props([props, { icon: iconData }]));
122
- }
123
- function Panel_left($$renderer, $$props) {
124
- let { $$slots, $$events, ...props } = $$props;
125
- const iconData = {
126
- "name": "panel-left",
127
- "size": 24,
128
- "node": [
129
- [
130
- "rect",
131
- { "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }
132
- ],
133
- ["path", { "d": "M9 3v18" }]
134
- ],
135
- "aliases": ["sidebar"]
136
- };
137
- Icon($$renderer, spread_props([props, { icon: iconData }]));
138
- }
139
- function Panel_right($$renderer, $$props) {
140
- let { $$slots, $$events, ...props } = $$props;
141
- const iconData = {
142
- "name": "panel-right",
143
- "size": 24,
144
- "node": [
145
- [
146
- "rect",
147
- { "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }
148
- ],
149
- ["path", { "d": "M15 3v18" }]
150
- ]
151
- };
152
- Icon($$renderer, spread_props([props, { icon: iconData }]));
153
- }
154
- function Paperclip($$renderer, $$props) {
155
- let { $$slots, $$events, ...props } = $$props;
156
- const iconData = {
157
- "name": "paperclip",
158
- "size": 24,
159
- "node": [
160
- [
161
- "path",
162
- {
163
- "d": "m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"
164
- }
165
- ]
166
- ]
167
- };
168
- Icon($$renderer, spread_props([props, { icon: iconData }]));
169
- }
170
- function Reply($$renderer, $$props) {
171
- let { $$slots, $$events, ...props } = $$props;
172
- const iconData = {
173
- "name": "reply",
174
- "size": 24,
175
- "node": [
176
- ["path", { "d": "M20 18v-2a4 4 0 0 0-4-4H4" }],
177
- ["path", { "d": "m9 17-5-5 5-5" }]
178
- ]
179
- };
180
- Icon($$renderer, spread_props([props, { icon: iconData }]));
181
- }
182
- function Thumbs_up($$renderer, $$props) {
183
- let { $$slots, $$events, ...props } = $$props;
184
- const iconData = {
185
- "name": "thumbs-up",
186
- "size": 24,
187
- "node": [
188
- [
189
- "path",
190
- {
191
- "d": "M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z"
192
- }
193
- ],
194
- ["path", { "d": "M7 10v12" }]
195
- ]
196
- };
197
- Icon($$renderer, spread_props([props, { icon: iconData }]));
198
- }
199
- function shipHealth(h) {
200
- if (h.stepFailed.length || h.trouble.some((t) => t.status === "failed")) {
201
- return { label: "Something failed", tone: "danger" };
202
- }
203
- const n = h.needsYou.length;
204
- if (n) return { label: `${n} need${n === 1 ? "s" : ""} you`, tone: "sea" };
205
- if (h.trouble.length) return { label: "Keeping an eye on a problem", tone: "warning" };
206
- return { label: "All well", tone: "success" };
207
- }
208
- const TOO_LARGE = `Too large · ${UPLOAD_MAX_BYTES / (1024 * 1024)} MB at most`;
209
- class Attachments {
210
- drafts = [];
211
- /** Files dropped on the chat, for the composer to take. */
212
- dropped = [];
213
- inflight = /* @__PURE__ */ new Map();
214
- /** Add files and start uploading them. `pasted`: from the clipboard, so an image under the browser's generic name gets a readable one. */
215
- add(files, token, pasted = false) {
216
- for (const f of files) {
217
- const generic = pasted && isImage(f.type) && /^image\.\w+$/.test(f.name);
218
- const name = generic || !f.name ? pastedName(f.type) : f.name;
219
- this.drafts.push({
220
- id: crypto.randomUUID(),
221
- name,
222
- size: f.size,
223
- type: f.type,
224
- preview: isImage(f.type) ? URL.createObjectURL(f) : null,
225
- state: "uploading",
226
- progress: 0,
227
- error: null,
228
- upload: null
229
- });
230
- const d = this.drafts[this.drafts.length - 1];
231
- if (f.size > UPLOAD_MAX_BYTES) this.fail(d, TOO_LARGE);
232
- else if (f.size === 0) this.fail(d, "Empty file");
233
- else this.send(d, f, token);
234
- }
235
- }
236
- remove(id) {
237
- this.inflight.get(id)?.abort();
238
- this.inflight.delete(id);
239
- const d = this.drafts.find((x) => x.id === id);
240
- if (d?.preview) URL.revokeObjectURL(d.preview);
241
- this.drafts = this.drafts.filter((x) => x.id !== id);
242
- }
243
- /** The uploaded files, handed to the message; failed ones stay listed. */
244
- take() {
245
- const ready = this.drafts.filter((d) => d.state === "ready" && d.upload);
246
- for (const d of ready) if (d.preview) URL.revokeObjectURL(d.preview);
247
- this.drafts = this.drafts.filter((d) => !ready.includes(d));
248
- return ready.map((d) => d.upload);
249
- }
250
- get uploading() {
251
- return this.drafts.some((d) => d.state === "uploading");
252
- }
253
- get ready() {
254
- return this.drafts.some((d) => d.state === "ready");
255
- }
256
- fail(d, error) {
257
- d.state = "failed";
258
- d.error = error;
259
- }
260
- send(d, file, token) {
261
- const xhr = new XMLHttpRequest();
262
- this.inflight.set(d.id, xhr);
263
- xhr.open("POST", "/api/firstmate/uploads");
264
- xhr.setRequestHeader(SESSION_HEADER, token);
265
- xhr.setRequestHeader(NAME_HEADER, encodeURIComponent(d.name));
266
- xhr.setRequestHeader(TYPE_HEADER, file.type);
267
- xhr.setRequestHeader("content-type", "application/octet-stream");
268
- xhr.upload.onprogress = (e) => {
269
- if (e.lengthComputable) d.progress = e.loaded / e.total;
270
- };
271
- xhr.onload = () => {
272
- this.inflight.delete(d.id);
273
- let body = {};
274
- try {
275
- body = JSON.parse(xhr.responseText);
276
- } catch {
277
- }
278
- if (xhr.status === 201 && typeof body.path === "string") {
279
- d.upload = {
280
- path: body.path,
281
- name: body.name ?? d.name,
282
- size: body.size ?? d.size,
283
- type: body.type ?? ""
284
- };
285
- d.progress = 1;
286
- d.state = "ready";
287
- } else if (xhr.status === 413) this.fail(d, TOO_LARGE);
288
- else this.fail(d, body.message ?? `Not uploaded · Wheelhouse answered ${xhr.status}`);
289
- };
290
- xhr.onerror = () => {
291
- this.inflight.delete(d.id);
292
- this.fail(d, "Could not reach the Wheelhouse server");
293
- };
294
- xhr.send(file);
295
- }
296
- }
297
- const attachments = new Attachments();
298
- function SentFiles($$renderer, $$props) {
299
- $$renderer.component(($$renderer2) => {
300
- let { files, pending = false } = $$props;
301
- let broken = {};
302
- const thumb = (a) => broken[a.path] ? null : thumbUrl(a);
303
- const images = derived(() => files.filter((a) => thumb(a)));
304
- let open = null;
305
- let $$settled = true;
306
- let $$inner_renderer;
307
- function $$render_inner($$renderer3) {
308
- $$renderer3.push(`<div${attr_class(`mt-1.5 w-full max-w-[min(85%,62ch)] min-w-0 rounded-lg border border-hair bg-card px-3 py-2 sm:min-w-72 ${pending ? "border-dashed opacity-60" : ""}`)} data-sent-files=""><p class="mb-0.5 text-[0.8rem] font-semibold tracking-[0.08em] text-muted-foreground" style="font-variant-caps: all-small-caps">${escape_html(files.length === 1 ? "1 file attached" : `${files.length} files attached`)}</p> <ul class="flex flex-col divide-y divide-hair"><!--[-->`);
309
- const each_array = ensure_array_like(files);
310
- for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
311
- let a = each_array[$$index];
312
- const src = thumb(a);
313
- $$renderer3.push(`<li class="flex items-center gap-2.5 py-1.5 text-sm">`);
314
- if (src) {
315
- $$renderer3.push(`<!--[0--><button type="button" class="shrink-0 cursor-zoom-in rounded"${attr("aria-label", `Enlarge ${stringify(a.name)}`)}><img${attr("src", src)} alt="" loading="lazy" class="size-10 rounded border border-hair bg-muted object-cover" onerror="this.__e=event"/></button>`);
316
- } else {
317
- $$renderer3.push(`<!--[-1--><span class="flex size-10 shrink-0 items-center justify-center rounded bg-sea/10 text-sea" aria-hidden="true">`);
318
- File_text($$renderer3, { class: "size-4" });
319
- $$renderer3.push(`<!----></span>`);
320
- }
321
- $$renderer3.push(`<!--]--> <span class="min-w-0 truncate font-medium"${attr("title", a.name)}>${escape_html(a.name)}</span> <span class="ml-auto shrink-0 pl-2 text-xs text-muted-foreground">${escape_html(kindLabel(a))} · ${escape_html(fileSize(a.size))}</span></li>`);
322
- }
323
- $$renderer3.push(`<!--]--></ul></div> `);
324
- if (images().length) {
325
- $$renderer3.push("<!--[0-->");
326
- Lightbox($$renderer3, {
327
- shots: images().map((a) => ({ name: a.name, url: thumb(a) ?? "" })),
328
- get index() {
329
- return open;
330
- },
331
- set index($$value) {
332
- open = $$value;
333
- $$settled = false;
334
- }
335
- });
336
- } else {
337
- $$renderer3.push("<!--[-1-->");
338
- }
339
- $$renderer3.push(`<!--]-->`);
340
- }
341
- do {
342
- $$settled = true;
343
- $$inner_renderer = $$renderer2.copy();
344
- $$render_inner($$inner_renderer);
345
- } while (!$$settled);
346
- $$renderer2.subsume($$inner_renderer);
347
- });
348
- }
349
- const headOf = (c) => ({
350
- cardId: c.id,
351
- taskId: c.taskId,
352
- taskTitle: c.taskTitle,
353
- projectId: c.projectId,
354
- kind: c.kind,
355
- key: c.key,
356
- question: c.title,
357
- askedAt: c.askedAt,
358
- secondMate: c.secondMate ?? null
359
- });
360
- function chatDecisions(cards, answered, local, opened = /* @__PURE__ */ new Set()) {
361
- const out = [];
362
- const shown = /* @__PURE__ */ new Set();
363
- for (const c of cards) {
364
- const head2 = headOf(c);
365
- const mine = local[c.id]?.question === c.question ? local[c.id] : null;
366
- const taken = c.sent && c.sent.delivery !== "failed" ? c.sent : null;
367
- if (!escalated(c) && !opened.has(c.id) && !mine && !taken) continue;
368
- if (mine && !(mine.posted && taken)) {
369
- out.push({
370
- id: c.id,
371
- head: head2,
372
- card: c,
373
- answer: {
374
- choice: mine.choice,
375
- label: choiceLabel(c, mine.choice),
376
- picks: mine.picks,
377
- note: mine.note,
378
- at: null,
379
- delivery: mine.posted ? null : "sending"
380
- }
381
- });
382
- } else if (taken) {
383
- shown.add(taken.requestId);
384
- out.push({
385
- id: c.id,
386
- head: head2,
387
- card: c,
388
- answer: {
389
- choice: taken.choice,
390
- label: choiceLabel(c, taken.choice),
391
- picks: taken.picks,
392
- note: taken.note,
393
- at: taken.at,
394
- delivery: taken.delivery
395
- }
396
- });
397
- } else {
398
- out.push({ id: c.id, head: head2, card: c, answer: null });
399
- }
400
- }
401
- const open = new Map(out.map((d) => [d.id, d]));
402
- for (const a of answered) {
403
- if (shown.has(a.requestId) || a.delivery === "failed") continue;
404
- if (open.get(a.cardId)?.head.question === a.question) continue;
405
- out.push({
406
- id: `answer:${a.requestId}`,
407
- head: {
408
- cardId: a.cardId,
409
- taskId: a.taskId,
410
- taskTitle: a.taskTitle,
411
- projectId: a.projectId,
412
- kind: a.kind,
413
- key: a.key,
414
- question: a.question,
415
- askedAt: a.askedAt
416
- },
417
- card: null,
418
- answer: {
419
- choice: a.choice,
420
- label: a.label,
421
- picks: a.picks,
422
- note: a.note,
423
- at: a.answeredAt,
424
- delivery: a.delivery
425
- }
426
- });
427
- }
428
- return out;
429
- }
430
- function decisionFor(id, decisions) {
431
- if (!id) return null;
432
- const held = decisions.filter((d) => d.head.kind === "hold");
433
- const named = (d) => d.head.taskId === id || d.head.key === id;
434
- return held.find((d) => d.card && named(d)) ?? held.findLast(named) ?? null;
435
- }
436
- const time = (s) => {
437
- const t = s ? Date.parse(s) : NaN;
438
- return Number.isNaN(t) ? null : t;
439
- };
440
- const placeAt = (d) => time(d.head.askedAt) ?? time(d.answer?.at);
441
- function placeDecisions(items, decisions) {
442
- const before = /* @__PURE__ */ new Map();
443
- const end = [];
444
- const times = items.map((it) => time(it.at));
445
- const first = times.find((t) => t !== null) ?? null;
446
- const sorted = decisions.map((d) => ({ d, at: placeAt(d) })).sort((a, b) => (a.at ?? Infinity) - (b.at ?? Infinity) || a.d.id.localeCompare(b.d.id));
447
- for (const { d, at } of sorted) {
448
- if (at === null) {
449
- end.push(d);
450
- continue;
451
- }
452
- if (d.answer && !d.card && (first === null || at < first)) continue;
453
- const i = times.findIndex((t) => t !== null && t > at);
454
- if (i < 0) end.push(d);
455
- else before.set(i, [...before.get(i) ?? [], d]);
456
- }
457
- return { before, end };
458
- }
459
- const QUOTED = /^> About the decision on ([^\s()]+) \(key ([^\s()]+)\), not an answer yet: “(.*)”\n(?:> [^\n]*\n)*\n([\s\S]+)$/;
460
- const cardIdOf = (ref) => `${ref.taskId}:${ref.key}`;
461
- function parseDiscuss(text) {
462
- const m = text.replace(/\r\n?/g, "\n").match(QUOTED);
463
- if (!m || !m[4].trim()) return null;
464
- return { cardId: cardIdOf({ taskId: m[1], key: m[2] }), question: m[3], body: m[4].trim() };
465
- }
466
- function refinedForm(thread, question) {
467
- const quoted = snippetOf(question);
468
- const msgs = thread?.messages ?? [];
469
- for (let i = msgs.length - 1; i >= 0; i--) {
470
- const m = msgs[i];
471
- const f = m.who === "firstmate" && m.question === quoted ? formIn(m.text) : null;
472
- if (f) return { id: m.id, form: f };
473
- }
474
- return null;
475
- }
476
- function byQuestion(thread, question) {
477
- const quoted = snippetOf(question);
478
- const earlier = [];
479
- const current = [];
480
- for (const m of thread?.messages ?? []) {
481
- if (m.question === quoted) {
482
- current.push(m);
483
- continue;
484
- }
485
- const last = earlier.at(-1);
486
- if (last?.question === m.question) last.messages.push(m);
487
- else earlier.push({ question: m.question, messages: [m] });
488
- }
489
- return { earlier, current };
490
- }
491
- function threads(items, cards) {
492
- const byCard = /* @__PURE__ */ new Map();
493
- const hidden = /* @__PURE__ */ new Set();
494
- for (let i = 0; i < items.length; i++) {
495
- const it = items[i];
496
- if (it.kind !== "user") continue;
497
- const d = parseDiscuss(it.text);
498
- if (!d || !cards.has(d.cardId)) continue;
499
- const thread = byCard.get(d.cardId) ?? { messages: [], answering: false };
500
- byCard.set(d.cardId, thread);
501
- thread.messages.push({
502
- id: it.id,
503
- who: "captain",
504
- text: d.body,
505
- at: it.at,
506
- question: d.question
507
- });
508
- thread.answering = false;
509
- hidden.add(it.id);
510
- const next = items[i + 1];
511
- if (next?.kind !== "turn" || next.trigger !== "captain") continue;
512
- if (next.parts.some((p) => p.kind === "question")) continue;
513
- hidden.add(next.id);
514
- for (const p of next.parts) {
515
- if (p.kind === "text")
516
- thread.messages.push({
517
- id: p.id,
518
- who: "firstmate",
519
- text: p.text,
520
- at: next.at,
521
- question: d.question
522
- });
523
- }
524
- thread.answering = !next.done && !next.interrupted;
525
- i++;
526
- }
527
- return { byCard, hidden };
528
- }
529
- function pendingThreads(pending) {
530
- const out = /* @__PURE__ */ new Map();
531
- for (const p of pending) {
532
- const d = parseDiscuss(p.text);
533
- if (!d) continue;
534
- out.set(d.cardId, [...out.get(d.cardId) ?? [], { pending: p, body: d.body }]);
535
- }
536
- return out;
537
- }
538
- const BRIEFING_MIN_CHARS = 500;
539
- function isBriefing(text) {
540
- if (!text || text.length < BRIEFING_MIN_CHARS) return false;
541
- const prose = text.replace(
542
- /^ {0,3}(`{3,}|~{3,})[^\n]*\n[\s\S]*?(?:^ {0,3}\1[`~]*[ \t]*$|(?![\s\S]))/gm,
543
- ""
544
- );
545
- return /^\s{0,3}(?:[-*+]|\d+[.)]|#{1,4})\s+\S/m.test(prose);
546
- }
547
- const BLOCK$1 = /```decision-form[^\n]*\n[\s\S]*?(?:```|$)/g;
548
- const ANSWER = /^Decided( \(other\))?: (.+?)(?: — for: “(.+)”)?$/;
549
- const DISMISSED = /^Dismissed(?: — for: “(.+)”)?$/;
550
- const tidy = (s) => s.replace(/\s+/g, " ").trim();
551
- function formAtEnd(text) {
552
- const blocks = [...text.matchAll(BLOCK$1)];
553
- const last = blocks[blocks.length - 1];
554
- if (!last || text.slice(last.index + last[0].length).trim()) return null;
555
- const form = formIn(text);
556
- return form && { form, words: text.slice(0, last.index).trim(), id: formIdIn(text) };
557
- }
558
- function answerText(form, a, note) {
559
- const words = tidy(a.decided ?? "").slice(0, DECIDED_MAX);
560
- if (!words) return "";
561
- const question = tidy(form.prompt ?? "");
562
- const line = question ? `Decided: ${words} — for: “${question}”` : `Decided${a.other ? " (other)" : ""}: ${words}`;
563
- const more = note?.trim();
564
- return more ? `${line}
565
-
566
- ${more}` : line;
567
- }
568
- function dismissText(form, reason) {
569
- const question = tidy(form.prompt ?? "");
570
- const line = question ? `Dismissed — for: “${question}”` : "Dismissed";
571
- const why = tidy(reason ?? "");
572
- return why ? `${line}
573
-
574
- Reason: ${why}` : line;
575
- }
576
- function parseAnswer(text) {
577
- const lines = text.replace(/\r\n?/g, "\n").trim().split("\n");
578
- const d = DISMISSED.exec(lines[0]);
579
- if (d) {
580
- const why = lines.slice(1).find((l) => l.startsWith("Reason: "));
581
- return {
582
- words: "",
583
- question: d[1] ? tidy(d[1]) : null,
584
- other: false,
585
- dismissed: why ? tidy(why.slice("Reason: ".length)) : ""
586
- };
587
- }
588
- const m = ANSWER.exec(lines[0]);
589
- const words = m ? tidy(m[2]) : "";
590
- return words ? { words, question: m?.[3] ? tidy(m[3]) : null, other: !!m?.[1], dismissed: null } : null;
591
- }
592
- const fits = (form, a) => a.other || a.dismissed !== null || form.kind === "text" || form.kind !== "picks" && form.options.some((o) => o.answer.decided === a.words);
593
- function chatForms(items, hidden, pending = [], inbox2 = []) {
594
- const said = [];
595
- const note = (m) => ({
596
- id: null,
597
- text: m.text,
598
- item: null,
599
- failed: m.delivery === "failed"
600
- });
601
- let n = 0;
602
- for (const it of items) {
603
- const at = Date.parse(it.at);
604
- while (n < inbox2.length && Date.parse(inbox2[n].submittedAt) < at) said.push(note(inbox2[n++]));
605
- if (hidden.has(it.id)) continue;
606
- said.push({ id: it.id, text: it.kind === "user" ? it.text : null, item: it, failed: false });
607
- }
608
- for (const m of inbox2.slice(n)) said.push(note(m));
609
- const shown = /* @__PURE__ */ new Set();
610
- const unshown = pending.filter((p) => {
611
- const from = said.findIndex((x) => x.id !== null && x.id === p.after);
612
- const echo = said.findIndex(
613
- (x, i) => i > from && !shown.has(i) && x.text !== null && tidy(x.text) === tidy(p.text)
614
- );
615
- if (echo < 0) return true;
616
- shown.add(echo);
617
- return false;
618
- });
619
- const out = /* @__PURE__ */ new Map();
620
- const asked = [];
621
- const waiting = (f) => f.decided === null && f.dismissed === null;
622
- const answer = (text) => {
623
- const a = parseAnswer(text);
624
- if (!a) return;
625
- const to = a.question ? asked.findLast((f) => waiting(f) && tidy(f.form.prompt ?? "") === a.question) : asked.at(-1);
626
- if (!to || !waiting(to) || !(a.question || fits(to.form, a))) return;
627
- if (a.dismissed !== null) to.dismissed = a.dismissed;
628
- else to.decided = a.words;
629
- };
630
- for (const { text, item, failed } of said) {
631
- if (text !== null && !failed) answer(text);
632
- if (item?.kind !== "turn") continue;
633
- for (const p of item.parts) {
634
- const reply = p.kind === "text" ? formAtEnd(p.text) : null;
635
- if (!reply) continue;
636
- const f = { ...reply, decided: null, dismissed: null, active: false };
637
- out.set(p.id, f);
638
- asked.push(f);
639
- }
640
- }
641
- for (const p of unshown) answer(p.text);
642
- const seen = /* @__PURE__ */ new Set();
643
- for (const f of asked.toReversed()) {
644
- const key = f.form.prompt ? tidy(f.form.prompt) : null;
645
- f.active = waiting(f) && (key === null ? f === asked.at(-1) : !seen.has(key));
646
- if (key !== null) seen.add(key);
647
- }
648
- return out;
649
- }
650
- const PURPOSE_MAX = 300;
651
- const PROJECTS_MAX = 20;
652
- const BLOCK = /^```vault-request[ \t]*\r?\n([\s\S]*?)\r?\n?```[ \t]*$/gm;
653
- const STORED = /^Stored secret ([A-Za-z_][A-Za-z0-9_]{0,127}) in the vault\.(?: |$)/;
654
- function parseRequest(body) {
655
- const fields = /* @__PURE__ */ new Map();
656
- for (const raw of body.split(/\r?\n/)) {
657
- const line = raw.trim();
658
- if (!line) continue;
659
- const m = /^([a-z]+)\s*:\s*(.*)$/i.exec(line);
660
- if (!m) return null;
661
- const key = m[1].toLowerCase();
662
- if (!["name", "purpose", "projects"].includes(key) || fields.has(key)) return null;
663
- fields.set(key, m[2].trim());
664
- }
665
- const name = fields.get("name") ?? "";
666
- if (!SECRET_NAME.test(name)) return null;
667
- const purpose = fields.get("purpose") ?? "";
668
- if (purpose.length > PURPOSE_MAX) return null;
669
- const projects = [
670
- ...new Set(
671
- (fields.get("projects") ?? "").split(/[\s,]+/).map((p) => p.trim()).filter(Boolean)
672
- )
673
- ];
674
- if (projects.length > PROJECTS_MAX || !projects.every((p) => PROJECT_ID.test(p))) return null;
675
- return { name, purpose, projects };
676
- }
677
- function vaultRequests(text) {
678
- if (!text.includes("```vault-request")) return { words: text, requests: [] };
679
- const requests = [];
680
- const words = text.replace(BLOCK, (block, body) => {
681
- const r = parseRequest(body);
682
- if (!r) return block;
683
- requests.push(r);
684
- return "";
685
- });
686
- return requests.length ? { words: words.replace(/\n{3,}/g, "\n\n").trim(), requests } : { words: text, requests };
687
- }
688
- function storedText(name, projects) {
689
- const who = projects.length ? `${andList(projects)} can use it.` : "No project can use it yet.";
690
- return `Stored secret ${name} in the vault. ${who}`;
691
- }
692
- function parseStored(text) {
693
- return STORED.exec(text.trim())?.[1] ?? null;
694
- }
695
- function vaultAsks(items, pending = [], inbox2 = []) {
696
- const out = /* @__PURE__ */ new Map();
697
- const asked = [];
698
- const stored = (text, at = Infinity) => {
699
- const name = parseStored(text);
700
- if (!name) return;
701
- for (const [a, when] of asked) if (a.request.name === name && when < at) a.stored = true;
702
- };
703
- for (const it of items) {
704
- if (it.kind === "user") stored(it.text);
705
- if (it.kind !== "turn") continue;
706
- const at = Date.parse(it.at);
707
- for (const p of it.parts) {
708
- if (p.kind !== "text") continue;
709
- const { requests } = vaultRequests(p.text);
710
- if (!requests.length) continue;
711
- const asks = requests.map((request) => ({ request, stored: false }));
712
- out.set(p.id, asks);
713
- asked.push(...asks.map((a) => [a, at]));
714
- }
715
- }
716
- for (const m of inbox2) {
717
- if (m.delivery !== "failed") stored(m.text, Date.parse(m.submittedAt));
718
- }
719
- for (const p of pending) stored(p.text);
720
- return out;
721
- }
722
- const KEY$1 = "wheelhouse-chat-tags";
723
- const FOLD_KEY = "wheelhouse-chat-fold";
724
- const MAX = 1e3;
725
- class ChatTags {
726
- retags = {};
727
- fold = false;
728
- loaded = false;
729
- load() {
730
- if (this.loaded) return;
731
- this.loaded = true;
732
- try {
733
- const v = JSON.parse(localStorage.getItem(KEY$1) ?? "{}");
734
- if (v && typeof v === "object" && !Array.isArray(v)) this.retags = Object.fromEntries(Object.entries(v).filter((e) => typeof e[1] === "string"));
735
- this.fold = localStorage.getItem(FOLD_KEY) === "1";
736
- } catch {
737
- this.retags = {};
738
- }
739
- }
740
- /** Moves a message or card to a thread. */
741
- move(key, topic) {
742
- this.load();
743
- const next = { ...this.retags };
744
- delete next[key];
745
- next[key] = topic;
746
- const keys = Object.keys(next);
747
- for (const k of keys.slice(0, Math.max(0, keys.length - MAX))) delete next[k];
748
- this.retags = next;
749
- try {
750
- localStorage.setItem(KEY$1, JSON.stringify(next));
751
- } catch {
752
- }
753
- }
754
- setFold(on) {
755
- this.fold = on;
756
- try {
757
- localStorage.setItem(FOLD_KEY, on ? "1" : "0");
758
- } catch {
759
- }
760
- }
761
- }
762
- const chatTags = new ChatTags();
763
- const KEY = "wheelhouse-chat-decisions";
764
- class OpenedDecisions {
765
- ids = [];
766
- loaded = false;
767
- load() {
768
- if (this.loaded) return;
769
- this.loaded = true;
770
- try {
771
- const v = JSON.parse(localStorage.getItem(KEY) ?? "[]");
772
- if (Array.isArray(v)) this.ids = v.filter((x) => typeof x === "string");
773
- } catch {
774
- this.ids = [];
775
- }
776
- }
777
- add(id) {
778
- this.load();
779
- if (this.ids.includes(id)) return;
780
- this.ids = [...this.ids, id].slice(-50);
781
- try {
782
- localStorage.setItem(KEY, JSON.stringify(this.ids));
783
- } catch {
784
- }
785
- }
786
- }
787
- const openedDecisions = new OpenedDecisions();
788
- const ENDPOINT = "/api/firstmate/reactions";
789
- const ids = (v) => Array.isArray(v) ? v.filter((x) => typeof x === "string") : null;
790
- class Reactions {
791
- liked = [];
792
- seq = 0;
793
- /** Reads the marks from the server again. */
794
- async refresh() {
795
- const n = ++this.seq;
796
- try {
797
- const res = await fetch(ENDPOINT);
798
- const v = res.ok ? ids((await res.json()).liked) : null;
799
- if (v && n === this.seq) this.liked = v;
800
- } catch {
801
- }
802
- }
803
- has(id) {
804
- return this.liked.includes(id);
805
- }
806
- /**
807
- * Marks or unmarks a message at once and has the server keep it; a refused
808
- * change is undone. True only when the server newly marked it.
809
- */
810
- async set(id, on, token) {
811
- this.mark(id, on);
812
- const n = ++this.seq;
813
- try {
814
- const res = await fetch(ENDPOINT, {
815
- method: "POST",
816
- headers: { "content-type": "application/json", [SESSION_HEADER]: token },
817
- body: JSON.stringify({ id, on })
818
- });
819
- if (res.ok) {
820
- const data = await res.json().catch(() => null);
821
- const v = ids(data?.liked);
822
- if (v && n === this.seq) this.liked = v;
823
- return on && data?.changed === true;
824
- }
825
- } catch {
826
- }
827
- if (n === this.seq) this.mark(id, !on);
828
- return false;
829
- }
830
- mark(id, on) {
831
- const rest = this.liked.filter((x) => x !== id);
832
- this.liked = on ? [...rest, id] : rest;
833
- }
834
- /** Forgets the marks shown, as a fresh page does (for tests). */
835
- reset() {
836
- this.seq++;
837
- this.liked = [];
838
- }
839
- }
840
- const reactions = new Reactions();
841
- const composerBus = { decision: null };
842
- function Avatar($$renderer, $$props) {
843
- let { class: className = "" } = $$props;
844
- const SPOKES = [0, 45, 90, 135, 180, 225, 270, 315];
845
- $$renderer.push(`<svg viewBox="0 0 32 32"${attr_class(`shrink-0 ${stringify(className)}`)} role="img" aria-label="Firstmate" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="15.25" class="fill-primary stroke-brass" stroke-width="1.5"></circle><g class="fill-none stroke-primary-foreground" stroke-linecap="round"><circle cx="16" cy="16" r="7" stroke-width="1.6"></circle><!--[-->`);
846
- const each_array = ensure_array_like(SPOKES);
847
- for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
848
- let a = each_array[$$index];
849
- $$renderer.push(`<line x1="16" y1="12.4" x2="16" y2="5.6" stroke-width="1.3"${attr("transform", `rotate(${stringify(a)} 16 16)`)}></line>`);
850
- }
851
- $$renderer.push(`<!--]--></g><circle cx="16" cy="16" r="2.4" class="fill-primary-foreground"></circle><!--[-->`);
852
- const each_array_1 = ensure_array_like(SPOKES);
853
- for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
854
- let a = each_array_1[$$index_1];
855
- $$renderer.push(`<circle cx="16" cy="5.2" r="1.3" class="fill-primary-foreground"${attr("transform", `rotate(${stringify(a)} 16 16)`)}></circle>`);
856
- }
857
- $$renderer.push(`<!--]--></svg>`);
858
- }
859
- function ChatApp($$renderer, $$props) {
860
- $$renderer.component(($$renderer2) => {
861
- let {
862
- id,
863
- app,
864
- open = true
865
- /** Whether the app is drawn: expanded unless the captain collapsed it. */
866
- } = $$props;
867
- const MAX_HEIGHT = 480;
868
- $$renderer2.push(`<div class="max-w-[80ch] rounded-xl border bg-card"${attr("data-chat-app", id)}><button class="flex w-full min-w-0 cursor-pointer items-center gap-2 rounded-xl px-4 py-2.5 text-left text-sm transition-colors hover:bg-muted/60"${attr("aria-expanded", open)}>`);
869
- App_window($$renderer2, {
870
- class: "size-4 shrink-0 text-muted-foreground",
871
- "aria-hidden": "true"
872
- });
873
- $$renderer2.push(`<!----> <span class="shrink-0 font-medium">${escape_html(app.title)}</span> <span class="min-w-0 truncate text-muted-foreground">· an app from ${escape_html(app.server.title)}</span> <span class="ml-auto shrink-0 text-xs text-muted-foreground">${escape_html(open ? "Collapse" : "Expand")}</span> `);
874
- Chevron_right($$renderer2, {
875
- class: `size-3.5 shrink-0 text-muted-foreground transition-transform ${open ? "rotate-90" : ""}`,
876
- "aria-hidden": "true"
877
- });
878
- $$renderer2.push(`<!----></button> `);
879
- if (open) {
880
- $$renderer2.push(`<!--[0--><div class="border-t px-4 pt-3 pb-3">`);
881
- AppFrame($$renderer2, {
882
- ref: {},
883
- title: app.title,
884
- plugin: app.plugin,
885
- maxHeight: MAX_HEIGHT
886
- });
887
- $$renderer2.push(`<!----></div>`);
888
- } else {
889
- $$renderer2.push("<!--[-1-->");
890
- }
891
- $$renderer2.push(`<!--]--></div>`);
892
- bind_props($$props, { open });
893
- });
894
- }
895
- function ChatDecision($$renderer, $$props) {
896
- $$renderer.component(($$renderer2) => {
897
- let {
898
- decision,
899
- project = null,
900
- now,
901
- thread = null,
902
- pending = [],
903
- asked = null
904
- } = $$props;
905
- const KIND = {
906
- review: "Review question",
907
- decision: "Decision",
908
- blocked: "Stuck",
909
- hold: "Your call",
910
- merge: "Merge call",
911
- preview: "Preview sign-off"
912
- };
913
- const head2 = derived(() => decision.head);
914
- const answer = derived(() => decision.answer);
915
- const count = derived(() => (thread?.messages.length ?? 0) + pending.length);
916
- const open = derived(() => count() > 0 && (!answer() && pending.length > 0));
917
- let expanded = false;
918
- let dismissing = false;
919
- const card = derived(() => decision.card);
920
- const token = derived(() => page.data.sessionToken ?? "");
921
- const canAnswer = derived(() => inbox.view(page.data.inbox)?.canAnswer ?? false);
922
- const refined = derived(() => refinedForm(thread, head2().question));
923
- const parts = derived(() => byQuestion(thread, head2().question));
924
- const plain = (s) => (s ?? "").replace(/[\s?.:]+$/, "").trim().toLowerCase();
925
- const form = derived(() => {
926
- const f = refined()?.form ?? asked ?? (card() ? cardForm(card()) : null);
927
- return f && f.prompt && plain(f.prompt) === plain(head2().question) ? { ...f, prompt: null } : f;
928
- });
929
- const decided = derived(() => answer() ? decidedLabel(cardForm(card() ?? { kind: head2().kind, choices: null, recommendation: null }), answer()) : "");
930
- const prLink = derived(() => card()?.evidence.pr ? pullRequests.review(card().projectId, card().evidence.pr) : null);
931
- const quiet = "inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md px-2.5 text-sm text-muted-foreground hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 max-md:min-h-11 sm:min-h-9";
932
- const time2 = (at) => at ? new Date(at).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }) : "";
933
- const delivered = derived(() => !answer() ? "" : answer().delivery === "sending" ? "Sending to Firstmate…" : answer().delivery === "delivered" ? "Firstmate has it and passes it on" : answer().delivery === "failed" ? "Firstmate did not take it" : answer().delivery === "uncertain" ? "Sent; Firstmate has not confirmed it yet" : "Sent to Firstmate");
934
- function message($$renderer3, m, current) {
935
- $$renderer3.push(`<li class="flex gap-2.5">`);
936
- if (m.who === "firstmate") {
937
- $$renderer3.push("<!--[0-->");
938
- Avatar($$renderer3, { class: "mt-0.5 size-5" });
939
- } else {
940
- $$renderer3.push(`<!--[-1--><span class="captain-avatar mt-0.5 !size-5 !text-[0.7rem]">C</span>`);
941
- }
942
- $$renderer3.push(`<!--]--> <div class="min-w-0 flex-1"><p class="text-xs text-muted-foreground"><span class="font-medium text-foreground">${escape_html(m.who === "firstmate" ? "Firstmate" : "You")}</span>`);
943
- if (m.at) {
944
- $$renderer3.push(`<!--[0-->· ${escape_html(time2(m.at))}`);
945
- } else {
946
- $$renderer3.push("<!--[-1-->");
947
- }
948
- $$renderer3.push(`<!--]--></p> `);
949
- if (m.who === "firstmate") {
950
- $$renderer3.push(`<!--[0--><div class="chat-md mt-0.5 text-sm">${html(markdown(withoutForm(m.text), { docLinks: true }))}</div> `);
951
- if (current && formIn(m.text)) {
952
- $$renderer3.push(`<!--[0--><p class="mt-0.5 text-xs text-muted-foreground">Firstmate updated the options above.</p>`);
953
- } else {
954
- $$renderer3.push("<!--[-1-->");
955
- }
956
- $$renderer3.push(`<!--]-->`);
957
- } else {
958
- $$renderer3.push(`<!--[-1--><p class="mt-0.5 text-sm leading-relaxed whitespace-pre-line">${escape_html(m.text)}</p>`);
959
- }
960
- $$renderer3.push(`<!--]--></div></li>`);
961
- }
962
- function talk($$renderer3) {
963
- if (count()) {
964
- $$renderer3.push(`<!--[0--><button${attr_class(`inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md px-2.5 text-sm text-muted-foreground hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 max-md:min-h-11 sm:min-h-9 ${open() ? "bg-accent text-foreground" : ""}`)}${attr("aria-expanded", open())} title="What you and Firstmate said about it under this card before" data-discuss="">`);
965
- Messages_square($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
966
- $$renderer3.push(`<!---->Earlier talk<span class="text-xs tabular-nums">· ${escape_html(count())}</span></button>`);
967
- } else {
968
- $$renderer3.push("<!--[-1-->");
969
- }
970
- $$renderer3.push(`<!--]-->`);
971
- }
972
- $$renderer2.push(`<div class="flex w-full max-w-[min(100%,40rem)] scroll-mt-24 flex-col"${attr("data-chat-decision", decision.id)}>`);
973
- if (card() && form() && !answer()) {
974
- $$renderer2.push("<!--[0-->");
975
- const mine = escalated(card());
976
- const following = !!card().following;
977
- $$renderer2.push(`<article${attr_class(`rounded-lg border border-l-[3px] bg-card px-4 pt-3.5 pb-3 sm:px-5 ${following ? "border-l-sea/50" : mine ? "border-l-sea" : "border-l-brass"}`)}${attr("data-open-decision", card().owner)}${attr("data-following", following || void 0)}><header class="flex flex-wrap items-center gap-x-2 gap-y-1">`);
978
- if (project) {
979
- $$renderer2.push(`<!--[0--><span class="rounded-sm border px-1.5 text-[0.95rem] leading-[1.15rem] font-semibold tracking-[0.08em] text-muted-foreground [font-variant-caps:all-small-caps]">${escape_html(project)}</span>`);
980
- } else {
981
- $$renderer2.push("<!--[-1-->");
982
- }
983
- $$renderer2.push(`<!--]--> `);
984
- if (following) {
985
- $$renderer2.push(`<!--[0--><span class="flex items-center gap-1 rounded bg-muted px-1.5 text-xs leading-[1.15rem] font-medium text-sea">`);
986
- Messages_square($$renderer2, { class: "size-3", "aria-hidden": "true" });
987
- $$renderer2.push(`<!---->Following up</span>`);
988
- } else {
989
- $$renderer2.push(`<!--[-1--><span${attr_class(`flex items-center gap-1 rounded px-1.5 text-xs leading-[1.15rem] font-medium ${mine ? "bg-sea/10 text-sea" : "bg-muted text-foreground/80"}`)}>`);
990
- Hand($$renderer2, { class: "size-3", "aria-hidden": "true" });
991
- $$renderer2.push(`<!---->${escape_html(KIND[card().kind])}</span>`);
992
- }
993
- $$renderer2.push(`<!--]--> <span class="text-xs text-muted-foreground">${escape_html(following ? "Following up with Firstmate separately" : mine ? "Waiting on you" : "Firstmate is handling it; yours to take over")}</span> `);
994
- if (card().askedAt) {
995
- $$renderer2.push(`<!--[0--><span class="ml-auto text-xs text-muted-foreground tabular-nums">${escape_html(ago(card().askedAt, now))}</span>`);
996
- } else {
997
- $$renderer2.push("<!--[-1-->");
998
- }
999
- $$renderer2.push(`<!--]--></header> <h3 class="mt-2 font-sans text-base leading-snug font-medium sm:text-[1.05rem]">`);
1000
- LinkedText($$renderer2, { text: head2().question });
1001
- $$renderer2.push(`<!----></h3> `);
1002
- if (cardContext(card())) {
1003
- $$renderer2.push(`<!--[0--><p class="mt-0.5 line-clamp-3 text-sm leading-snug text-muted-foreground" data-context="">`);
1004
- LinkedText($$renderer2, { text: cardContext(card()) ?? "" });
1005
- $$renderer2.push(`<!----></p>`);
1006
- } else {
1007
- $$renderer2.push("<!--[-1-->");
1008
- }
1009
- $$renderer2.push(`<!--]--> <p class="mt-0.5 text-xs text-muted-foreground">${escape_html(head2().taskTitle)}</p> `);
1010
- DecisionLinks($$renderer2, { card: card() });
1011
- $$renderer2.push(`<!----> `);
1012
- if (card().recommendation) {
1013
- $$renderer2.push(`<!--[0--><p class="mt-2.5 border-l-2 border-brass pl-2.5 text-sm leading-snug"><span class="font-medium">Firstmate recommends</span><span class="text-muted-foreground">· `);
1014
- LinkedText($$renderer2, { text: card().recommendation.text });
1015
- $$renderer2.push(`<!----></span></p>`);
1016
- } else {
1017
- $$renderer2.push("<!--[-1-->");
1018
- }
1019
- $$renderer2.push(`<!--]--> `);
1020
- if (refined()) {
1021
- $$renderer2.push(`<!--[0--><p class="mt-3 flex items-center gap-1.5 text-xs text-muted-foreground" data-refined="">`);
1022
- Refresh_cw($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1023
- $$renderer2.push(`<!---->Firstmate changed the options after your
1024
- question.</p>`);
1025
- } else {
1026
- $$renderer2.push("<!--[-1-->");
1027
- }
1028
- $$renderer2.push(`<!--]--> <!---->`);
1029
- {
1030
- DecisionForm($$renderer2, {
1031
- form: form(),
1032
- name: decision.id,
1033
- canAnswer: canAnswer(),
1034
- onAnswer: (a, note) => answerWith(card(), a, note, token())
1035
- });
1036
- }
1037
- $$renderer2.push(`<!----> `);
1038
- if (card().sent?.delivery === "failed" && !inbox.errors[card().id]) {
1039
- $$renderer2.push(`<!--[0--><p class="mt-2 text-sm text-danger" role="alert">Not delivered to Firstmate: ${escape_html(card().sent.picks ?? choiceLabel(card(), card().sent.choice))}. ${escape_html(card().sent.detail ?? "Try again.")}</p>`);
1040
- } else {
1041
- $$renderer2.push("<!--[-1-->");
1042
- }
1043
- $$renderer2.push(`<!--]--> `);
1044
- if (inbox.errors[card().id]) {
1045
- $$renderer2.push(`<!--[0--><p class="mt-2 text-sm text-danger" role="alert">${escape_html(inbox.errors[card().id])}</p>`);
1046
- } else {
1047
- $$renderer2.push("<!--[-1-->");
1048
- }
1049
- $$renderer2.push(`<!--]--> <div class="mt-2.5 flex flex-wrap items-center gap-1.5 border-t border-hair/70 pt-2"><a${attr("href", chatAboutHref(card()))}${attr_class(clsx(quiet))} title="Start a message to Firstmate about this; it waits as following up meanwhile" data-chat-about="">`);
1050
- Message_square($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1051
- $$renderer2.push(`<!---->Chat with Firstmate about this</a> `);
1052
- if (following) {
1053
- $$renderer2.push(`<!--[0--><button${attr_class(clsx(quiet))} title="It waits on you again, and counts as waiting" data-unfollow="">`);
1054
- Undo_2($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1055
- $$renderer2.push(`<!---->Back to waiting</button>`);
1056
- } else {
1057
- $$renderer2.push("<!--[-1-->");
1058
- }
1059
- $$renderer2.push(`<!--]--> `);
1060
- talk($$renderer2);
1061
- $$renderer2.push(`<!----> `);
1062
- if (prLink()) {
1063
- $$renderer2.push(`<!--[0--><a${attr_class(clsx(quiet))}${attr("href", prLink().href)}${attr("target", prLink().external ? "_blank" : void 0)}${attr("rel", prLink().external ? "noreferrer" : void 0)} title="Open the pull request to review it; this answers nothing" data-review-pr="">`);
1064
- Compass($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1065
- $$renderer2.push(`<!---->Review`);
1066
- if (prLink().external) {
1067
- $$renderer2.push("<!--[0-->");
1068
- External_link($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1069
- } else {
1070
- $$renderer2.push("<!--[-1-->");
1071
- }
1072
- $$renderer2.push(`<!--]--></a>`);
1073
- } else {
1074
- $$renderer2.push("<!--[-1-->");
1075
- }
1076
- $$renderer2.push(`<!--]--> <button class="inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md px-2.5 text-sm text-muted-foreground hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 max-md:min-h-11 sm:min-h-9 ml-auto"${attr("disabled", !canAnswer(), true)}${attr("aria-expanded", dismissing)} title="No answer needed: Firstmate records it closed, with your reason" data-dismiss="">`);
1077
- X($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1078
- $$renderer2.push(`<!---->Dismiss</button></div> `);
1079
- {
1080
- $$renderer2.push("<!--[-1-->");
1081
- }
1082
- $$renderer2.push(`<!--]--> `);
1083
- DecisionDetails($$renderer2, { card: card(), expanded, onToggle: () => expanded = !expanded });
1084
- $$renderer2.push(`<!----></article>`);
1085
- } else if (answer()) {
1086
- $$renderer2.push("<!--[1-->");
1087
- const closed = answer().choice === "close";
1088
- $$renderer2.push(`<article${attr_class(`rounded-lg border border-l-[3px] bg-card px-4 pt-3 pb-2 sm:px-5 ${closed ? "border-l-hair" : "border-l-success/70"}`)}${attr("data-answered", closed ? "dismissed" : "answered")}><header class="flex flex-wrap items-center gap-x-2 gap-y-1">`);
1089
- if (project) {
1090
- $$renderer2.push(`<!--[0--><span class="rounded-sm border px-1.5 text-[0.95rem] leading-[1.15rem] font-semibold tracking-[0.08em] text-muted-foreground [font-variant-caps:all-small-caps]">${escape_html(project)}</span>`);
1091
- } else {
1092
- $$renderer2.push("<!--[-1-->");
1093
- }
1094
- $$renderer2.push(`<!--]--> <span class="rounded bg-muted px-1.5 text-xs leading-[1.15rem] font-medium text-foreground/80">${escape_html(KIND[head2().kind])}</span> `);
1095
- if (closed) {
1096
- $$renderer2.push(`<!--[0--><span class="flex items-center gap-1 text-xs text-muted-foreground">`);
1097
- Circle_x($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1098
- $$renderer2.push(`<!---->Dismissed</span>`);
1099
- } else {
1100
- $$renderer2.push(`<!--[-1--><span class="flex items-center gap-1 text-xs text-success">`);
1101
- Circle_check($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1102
- $$renderer2.push(`<!---->Answered</span>`);
1103
- }
1104
- $$renderer2.push(`<!--]--> `);
1105
- if (answer().at) {
1106
- $$renderer2.push(`<!--[0--><span class="ml-auto text-xs text-muted-foreground tabular-nums">${escape_html(ago(answer().at, now))}</span>`);
1107
- } else {
1108
- $$renderer2.push("<!--[-1-->");
1109
- }
1110
- $$renderer2.push(`<!--]--></header> <p class="mt-1.5 text-sm leading-snug text-muted-foreground">${escape_html(head2().question)}</p> <a${attr("href", cardTaskHref(head2()))} class="block text-xs text-muted-foreground hover:text-foreground hover:underline">${escape_html(head2().taskTitle)}</a> <p class="mt-1.5 text-sm leading-snug" data-decided="">`);
1111
- if (closed) {
1112
- $$renderer2.push(`<!--[0-->You dismissed it without an answer`);
1113
- } else {
1114
- $$renderer2.push(`<!--[-1-->You decided <span class="font-semibold">${escape_html(decided())}</span>`);
1115
- }
1116
- $$renderer2.push(`<!--]--></p> `);
1117
- if (answer().note) {
1118
- $$renderer2.push(`<!--[0--><p class="mt-1 border-l-2 border-hair pl-2.5 text-sm whitespace-pre-line text-muted-foreground">${escape_html(closed ? `Why: ${answer().note}` : answer().note)}</p>`);
1119
- } else {
1120
- $$renderer2.push("<!--[-1-->");
1121
- }
1122
- $$renderer2.push(`<!--]--> <div class="mt-1 flex flex-wrap items-center gap-2 text-xs text-muted-foreground"><span role="status" class="inline-flex items-center gap-1">`);
1123
- if (answer().delivery === "sending") {
1124
- $$renderer2.push("<!--[0-->");
1125
- Loader_circle($$renderer2, { class: "size-3 animate-spin", "aria-hidden": "true" });
1126
- } else {
1127
- $$renderer2.push("<!--[-1-->");
1128
- }
1129
- $$renderer2.push(`<!--]-->${escape_html(delivered())}${escape_html(answer().at ? ` · ${time2(answer().at)}` : "")}</span> <span class="ml-auto">`);
1130
- talk($$renderer2);
1131
- $$renderer2.push(`<!----></span></div></article>`);
1132
- } else {
1133
- $$renderer2.push("<!--[-1-->");
1134
- }
1135
- $$renderer2.push(`<!--]--> `);
1136
- if (open()) {
1137
- $$renderer2.push(`<!--[0--><div class="mt-1 ml-4 border-l-2 border-hair pt-2 pl-4" role="region" aria-label="What was said about this question before" data-discussion="">`);
1138
- if (thread?.messages.length || pending.length) {
1139
- $$renderer2.push(`<!--[0--><ul class="flex flex-col gap-3 pb-1"><!--[-->`);
1140
- const each_array = ensure_array_like(parts().earlier);
1141
- for (let i = 0, $$length = each_array.length; i < $$length; i++) {
1142
- let e = each_array[i];
1143
- $$renderer2.push(`<li><details data-earlier=""><summary class="cursor-pointer text-xs text-muted-foreground hover:text-foreground">Earlier question: “${escape_html(e.question)}”</summary> <ul class="mt-2 flex flex-col gap-3 border-b border-hair/70 pb-3"><!--[-->`);
1144
- const each_array_1 = ensure_array_like(e.messages);
1145
- for (let $$index = 0, $$length2 = each_array_1.length; $$index < $$length2; $$index++) {
1146
- let m = each_array_1[$$index];
1147
- message($$renderer2, m, false);
1148
- }
1149
- $$renderer2.push(`<!--]--></ul></details></li>`);
1150
- }
1151
- $$renderer2.push(`<!--]--> <!--[-->`);
1152
- const each_array_2 = ensure_array_like(parts().current);
1153
- for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {
1154
- let m = each_array_2[$$index_2];
1155
- message($$renderer2, m, true);
1156
- }
1157
- $$renderer2.push(`<!--]--> <!--[-->`);
1158
- const each_array_3 = ensure_array_like(pending);
1159
- for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {
1160
- let p = each_array_3[$$index_3];
1161
- $$renderer2.push(`<li class="flex gap-2.5"${attr("data-pending", p.pending.state)}><span class="captain-avatar mt-0.5 !size-5 !text-[0.7rem]">C</span> <div class="min-w-0 flex-1"><p class="text-sm leading-relaxed whitespace-pre-line opacity-60">${escape_html(p.body)}</p> <p${attr_class(`mt-0.5 flex flex-wrap items-center gap-1.5 text-xs ${p.pending.state === "failed" ? "text-danger" : "text-muted-foreground"}`)} role="status">`);
1162
- if (p.pending.state === "failed") {
1163
- $$renderer2.push("<!--[0-->");
1164
- Circle_x($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1165
- $$renderer2.push(`<!---->${escape_html(pendingLabel(p.pending))} <button class="ml-1 inline-flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 font-medium text-foreground hover:bg-muted">`);
1166
- Rotate_cw($$renderer2, { class: "size-3", "aria-hidden": "true" });
1167
- $$renderer2.push(`<!---->Retry</button> <button class="cursor-pointer rounded px-1.5 py-0.5 text-muted-foreground hover:bg-muted">Discard</button>`);
1168
- } else {
1169
- $$renderer2.push("<!--[-1-->");
1170
- Loader_circle($$renderer2, { class: "size-3 animate-spin", "aria-hidden": "true" });
1171
- $$renderer2.push(`<!---->${escape_html(pendingLabel(p.pending))}`);
1172
- }
1173
- $$renderer2.push(`<!--]--></p></div></li>`);
1174
- }
1175
- $$renderer2.push(`<!--]--></ul>`);
1176
- } else {
1177
- $$renderer2.push(`<!--[-1--><p class="text-xs text-muted-foreground">Nothing was said about it here.</p>`);
1178
- }
1179
- $$renderer2.push(`<!--]--> `);
1180
- if (thread?.answering) {
1181
- $$renderer2.push(`<!--[0--><div class="flex gap-1 py-2 pl-7" role="status" aria-label="Firstmate is answering"><span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.3s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.15s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground"></span></div>`);
1182
- } else {
1183
- $$renderer2.push("<!--[-1-->");
1184
- }
1185
- $$renderer2.push(`<!--]--></div>`);
1186
- } else {
1187
- $$renderer2.push("<!--[-1-->");
1188
- }
1189
- $$renderer2.push(`<!--]--></div>`);
1190
- });
1191
- }
1192
- function FeedbackBatch($$renderer, $$props) {
1193
- $$renderer.component(($$renderer2) => {
1194
- let { batch, project = null } = $$props;
1195
- const time2 = (at) => new Date(at).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" });
1196
- const settled = derived(() => batch.status.startsWith("Firstmate has it"));
1197
- const waiting = derived(() => !batch.failed && !settled() && batch.status !== "Sent to Firstmate");
1198
- const from = derived(() => batch.batch.plugin);
1199
- const label = derived(() => from() ? `${from().name} feedback` : "preview feedback");
1200
- $$renderer2.push(`<article class="msg msg-captain"${attr("aria-label", `Your ${label()}, ${stringify(time2(batch.at))}`)} data-feedback-batch=""><span class="captain-avatar">C</span> <div class="min-w-0 flex-1"><header class="msg-head"><span class="msg-name">You</span><time${attr("datetime", batch.at)}>${escape_html(time2(batch.at))}</time></header> <div class="w-full max-w-[34rem] rounded-lg border border-l-[3px] border-l-sea bg-card px-4 py-3 text-left"><header class="flex flex-wrap items-center gap-x-2 gap-y-1"><span class="flex items-center gap-1 rounded bg-sea/10 px-1.5 text-xs leading-[1.15rem] font-medium text-sea">`);
1201
- if (from()) {
1202
- $$renderer2.push("<!--[0-->");
1203
- Puzzle($$renderer2, { class: "size-3", "aria-hidden": "true" });
1204
- } else {
1205
- $$renderer2.push("<!--[-1-->");
1206
- Monitor_play($$renderer2, { class: "size-3", "aria-hidden": "true" });
1207
- }
1208
- $$renderer2.push(`<!--]-->To Firstmate · ${escape_html(label())}</span> `);
1209
- if (project) {
1210
- $$renderer2.push(`<!--[0--><span class="rounded-sm border px-1.5 text-[0.95rem] leading-[1.15rem] font-semibold tracking-[0.08em] text-muted-foreground [font-variant-caps:all-small-caps]">${escape_html(project)}</span>`);
1211
- } else {
1212
- $$renderer2.push("<!--[-1-->");
1213
- }
1214
- $$renderer2.push(`<!--]--></header> <a${attr("href", `/tasks/${stringify(encodeURIComponent(batch.batch.taskId))}${from() ? "" : "?tab=preview"}`)} class="mt-1.5 block text-sm font-medium hover:underline">${escape_html(batch.batch.title)}</a> `);
1215
- if (from()?.subject) {
1216
- $$renderer2.push(`<!--[0--><p class="mt-0.5 text-xs text-muted-foreground">About ${escape_html(from().subject)}</p>`);
1217
- } else {
1218
- $$renderer2.push("<!--[-1-->");
1219
- }
1220
- $$renderer2.push(`<!--]--> <ol class="mt-2 list-decimal space-y-1.5 pl-5 text-sm leading-snug"><!--[-->`);
1221
- const each_array = ensure_array_like(batch.batch.items);
1222
- for (let i = 0, $$length = each_array.length; i < $$length; i++) {
1223
- let it = each_array[i];
1224
- $$renderer2.push(`<li>${escape_html(it.text)} `);
1225
- if (it.points) {
1226
- $$renderer2.push(`<!--[0--><span class="mt-0.5 block text-xs text-muted-foreground">Points at ${escape_html(it.points)}</span>`);
1227
- } else {
1228
- $$renderer2.push("<!--[-1-->");
1229
- }
1230
- $$renderer2.push(`<!--]--></li>`);
1231
- }
1232
- $$renderer2.push(`<!--]--></ol> <p${attr_class(`mt-2.5 flex items-center gap-1.5 text-xs ${batch.failed ? "text-danger" : "text-muted-foreground"}`)} role="status">`);
1233
- if (batch.failed) {
1234
- $$renderer2.push("<!--[0-->");
1235
- Circle_x($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1236
- } else if (waiting()) {
1237
- $$renderer2.push("<!--[1-->");
1238
- Loader_circle($$renderer2, { class: "size-3 animate-spin", "aria-hidden": "true" });
1239
- } else {
1240
- $$renderer2.push("<!--[-1-->");
1241
- Circle_check($$renderer2, { class: "size-3.5 text-success", "aria-hidden": "true" });
1242
- }
1243
- $$renderer2.push(`<!--]-->${escape_html(batch.status)}</p> `);
1244
- if (batch.reply) {
1245
- $$renderer2.push(`<!--[0--><p class="mt-2 rounded-md bg-muted px-3 py-2 text-sm leading-relaxed whitespace-pre-line"><span class="font-medium">Firstmate:</span> ${escape_html(batch.reply)}</p>`);
1246
- } else {
1247
- $$renderer2.push("<!--[-1-->");
1248
- }
1249
- $$renderer2.push(`<!--]--></div></div></article>`);
1250
- });
1251
- }
1252
- const STATUS = {
1253
- sending: "Sending to Firstmate…",
1254
- uncertain: "Confirming Firstmate has it…",
1255
- "saved-unannounced": "Saved; Firstmate reads it at its next check",
1256
- delivered: "Sent to Firstmate",
1257
- failed: "Not delivered"
1258
- };
1259
- function chatBatches(messages) {
1260
- const out = [];
1261
- for (const m of messages) {
1262
- const batch = parseBatch(m.text);
1263
- if (!batch) continue;
1264
- out.push({
1265
- id: m.requestId,
1266
- at: m.submittedAt,
1267
- batch,
1268
- status: m.delivery === "delivered" && m.acknowledged ? "Firstmate has it and passes it to the same task" : STATUS[m.delivery],
1269
- failed: m.delivery === "failed",
1270
- reply: m.reply?.body ?? null
1271
- });
1272
- }
1273
- return out;
1274
- }
1275
- function placeBatches(items, batches) {
1276
- const before = /* @__PURE__ */ new Map();
1277
- const end = [];
1278
- const times = items.map((it) => Date.parse(it.at));
1279
- const first = times.find((t) => !Number.isNaN(t));
1280
- for (const b of batches) {
1281
- const at = Date.parse(b.at);
1282
- if (first !== void 0 && at < first) continue;
1283
- const i = times.findIndex((t) => !Number.isNaN(t) && t > at);
1284
- if (i < 0) end.push(b);
1285
- else before.set(i, [...before.get(i) ?? [], b]);
1286
- }
1287
- return { before, end };
1288
- }
1289
- function ChatPreview($$renderer, $$props) {
1290
- $$renderer.component(($$renderer2) => {
1291
- let { preview, project = null, now } = $$props;
1292
- const task = derived(() => preview.task);
1293
- const url = derived(() => task() ? task().preview?.url ?? task().board?.url ?? null : preview.url);
1294
- const key = derived(() => task()?.preview ? task().id : urlKey(url() ?? ""));
1295
- const byTask = derived(() => !!task()?.preview);
1296
- const check = derived(() => previewChecks.checks[key()] ?? null);
1297
- const checked = derived(() => check()?.state ?? null);
1298
- const stopped = derived(() => checked() === "down");
1299
- const shown = derived(() => check()?.url ?? url());
1300
- const board = derived(() => task()?.preview && task().board && !reviewSurface() ? task().board.url : null);
1301
- const title = derived(() => task()?.shortTitle ?? (preview.board ? "Review board" : URL.parse(url() ?? "")?.host ?? "Preview"));
1302
- const action = derived(() => shown() && checked() === "live" ? {
1303
- url: shown(),
1304
- taskId: task()?.id ?? null,
1305
- title: task()?.shortTitle ?? null,
1306
- projectId: task()?.projectId ?? null,
1307
- board: preview.board
1308
- } : null);
1309
- const prLink = derived(() => task()?.pr ? pullRequests.review(task().projectId, task().pr) : null);
1310
- let full = false;
1311
- let from = null;
1312
- function open() {
1313
- from = null;
1314
- full = true;
1315
- }
1316
- const CHECKS = {
1317
- green: {
1318
- icon: Circle_check,
1319
- text: "Checks passed",
1320
- tone: "text-success"
1321
- },
1322
- pending: {
1323
- icon: Circle_dashed,
1324
- text: "Checks running",
1325
- tone: "text-muted-foreground"
1326
- },
1327
- red: { icon: Circle_x, text: "Checks failed", tone: "text-danger" }
1328
- };
1329
- const checks = derived(() => task()?.pipeline?.ci ? CHECKS[task().pipeline.ci] : null);
1330
- const reported = derived(() => task()?.preview?.reportedAt ?? task()?.board?.reportedAt ?? null);
1331
- const at = derived(() => preview.landed ? task()?.mergedAt ?? reported() : reported());
1332
- $$renderer2.push(`<div class="w-full max-w-[min(100%,40rem)] overflow-hidden rounded-xl border border-hair bg-card"${attr("data-chat-preview", preview.landed ? "landed" : "live")}${attr("data-chat-preview-for", task() ? "task" : "link")}><header class="flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1 px-4 pt-2.5 pb-2 text-sm"><span${attr_class(`flex shrink-0 items-center gap-1 rounded px-1.5 text-xs leading-[1.15rem] font-medium ${preview.landed ? "bg-success/10 text-success" : stopped() ? "bg-muted text-muted-foreground" : "bg-sea/10 text-sea"}`)}>`);
1333
- if (preview.landed) {
1334
- $$renderer2.push("<!--[0-->");
1335
- Git_merge($$renderer2, { class: "size-3", "aria-hidden": "true" });
1336
- $$renderer2.push(`<!---->Landed`);
1337
- } else if (stopped()) {
1338
- $$renderer2.push("<!--[1-->");
1339
- Monitor_off($$renderer2, { class: "size-3", "aria-hidden": "true" });
1340
- $$renderer2.push(`<!---->${escape_html(preview.board ? "Board stopped" : "Preview stopped")}`);
1341
- } else if (preview.board) {
1342
- $$renderer2.push("<!--[2-->");
1343
- Layout_dashboard($$renderer2, { class: "size-3", "aria-hidden": "true" });
1344
- $$renderer2.push(`<!---->Review board`);
1345
- } else {
1346
- $$renderer2.push("<!--[-1-->");
1347
- Monitor_play($$renderer2, { class: "size-3", "aria-hidden": "true" });
1348
- $$renderer2.push(`<!---->Live preview`);
1349
- }
1350
- $$renderer2.push(`<!--]--></span> `);
1351
- if (project) {
1352
- $$renderer2.push(`<!--[0--><span class="shrink-0 rounded-sm border px-1.5 text-[0.95rem] leading-[1.15rem] font-semibold tracking-[0.08em] text-muted-foreground [font-variant-caps:all-small-caps]">${escape_html(project)}</span>`);
1353
- } else {
1354
- $$renderer2.push("<!--[-1-->");
1355
- }
1356
- $$renderer2.push(`<!--]--> `);
1357
- if (task()) {
1358
- $$renderer2.push(`<!--[0--><a${attr("href", `/tasks/${stringify(encodeURIComponent(task().id))}`)} class="order-last min-w-0 basis-full truncate font-medium hover:underline sm:order-none sm:basis-auto">${escape_html(task().shortTitle)}</a>`);
1359
- } else {
1360
- $$renderer2.push(`<!--[-1--><span class="order-last min-w-0 basis-full truncate font-mono text-xs text-muted-foreground sm:order-none sm:basis-auto"${attr("title", url())}>${escape_html(url())}</span>`);
1361
- }
1362
- $$renderer2.push(`<!--]--> `);
1363
- if (at()) {
1364
- $$renderer2.push(`<!--[0--><span class="ml-auto shrink-0 text-xs text-muted-foreground tabular-nums">${escape_html(ago(at(), now))}</span>`);
1365
- } else {
1366
- $$renderer2.push("<!--[-1-->");
1367
- }
1368
- $$renderer2.push(`<!--]--></header> <div class="border-y border-hair">`);
1369
- if (byTask()) {
1370
- $$renderer2.push("<!--[0-->");
1371
- LivePreview($$renderer2, {
1372
- taskId: task()?.id,
1373
- compact: true,
1374
- toolbar: false,
1375
- onopen: open
1376
- });
1377
- } else {
1378
- $$renderer2.push("<!--[-1-->");
1379
- LivePreview($$renderer2, { url: url(), compact: true, toolbar: false, onopen: open });
1380
- }
1381
- $$renderer2.push(`<!--]--></div> <footer class="flex flex-wrap items-center gap-x-3 gap-y-1 px-4 py-2 text-xs">`);
1382
- if (task()?.pr) {
1383
- $$renderer2.push(`<!--[0--><a${attr("href", task().pr.url)} target="_blank" rel="noreferrer" class="inline-flex min-w-0 items-center gap-1 text-sea hover:underline">`);
1384
- if (preview.landed) {
1385
- $$renderer2.push("<!--[0-->");
1386
- Git_merge($$renderer2, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
1387
- } else {
1388
- $$renderer2.push("<!--[-1-->");
1389
- Git_pull_request($$renderer2, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
1390
- }
1391
- $$renderer2.push(`<!--]--><span class="truncate">${escape_html(task().pr.number ? `Pull request #${task().pr.number}` : "Pull request")}</span></a>`);
1392
- } else {
1393
- $$renderer2.push("<!--[-1-->");
1394
- }
1395
- $$renderer2.push(`<!--]--> `);
1396
- if (checks()) {
1397
- $$renderer2.push(`<!--[0--><span${attr_class(`inline-flex items-center gap-1 ${stringify(checks().tone)}`)}>`);
1398
- if (checks().icon) {
1399
- $$renderer2.push("<!--[-->");
1400
- checks().icon($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1401
- $$renderer2.push("<!--]-->");
1402
- } else {
1403
- $$renderer2.push("<!--[!-->");
1404
- $$renderer2.push("<!--]-->");
1405
- }
1406
- $$renderer2.push(`${escape_html(checks().text)}</span>`);
1407
- } else {
1408
- $$renderer2.push("<!--[-1-->");
1409
- }
1410
- $$renderer2.push(`<!--]--> `);
1411
- if (board()) {
1412
- $$renderer2.push(`<!--[0--><a${attr("href", board())} target="_blank" rel="noreferrer" class="inline-flex min-w-0 items-center gap-1 text-sea hover:underline"${attr("title", board())} data-open-board="">`);
1413
- Layout_dashboard($$renderer2, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
1414
- $$renderer2.push(`<!----><span class="truncate">Open the board</span></a>`);
1415
- } else {
1416
- $$renderer2.push("<!--[-1-->");
1417
- }
1418
- $$renderer2.push(`<!--]--> <span class="ml-auto flex flex-wrap items-center justify-end gap-1">`);
1419
- if (action()) {
1420
- $$renderer2.push("<!--[0-->");
1421
- PreviewActions($$renderer2, { preview: action() });
1422
- } else {
1423
- $$renderer2.push("<!--[-1-->");
1424
- }
1425
- $$renderer2.push(`<!--]--> `);
1426
- if (prLink() && !prLink().external) {
1427
- $$renderer2.push(`<!--[0--><a${attr("href", prLink().href)} class="inline-flex items-center gap-1 rounded px-1.5 py-0.5 font-medium hover:bg-accent" data-review-pr="">`);
1428
- Compass($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1429
- $$renderer2.push(`<!---->Review</a>`);
1430
- } else {
1431
- $$renderer2.push("<!--[-1-->");
1432
- }
1433
- $$renderer2.push(`<!--]--> `);
1434
- if (checked() === "live") {
1435
- $$renderer2.push(`<!--[0--><button type="button" class="inline-flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 font-medium hover:bg-accent">`);
1436
- Maximize_2($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1437
- $$renderer2.push(`<!---->Full size</button>`);
1438
- } else {
1439
- $$renderer2.push("<!--[-1-->");
1440
- }
1441
- $$renderer2.push(`<!--]--> `);
1442
- if (shown() && (checked() === "live" || checked() === "blocked")) {
1443
- $$renderer2.push(`<!--[0--><a${attr("href", shown())} target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-muted-foreground hover:bg-accent hover:text-foreground"${attr("title", shown())}>New tab`);
1444
- External_link($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
1445
- $$renderer2.push(`<!----></a>`);
1446
- } else {
1447
- $$renderer2.push("<!--[-1-->");
1448
- }
1449
- $$renderer2.push(`<!--]--></span></footer></div> `);
1450
- if (full && url()) {
1451
- $$renderer2.push("<!--[0-->");
1452
- PreviewStudio($$renderer2, {
1453
- taskId: byTask() ? task()?.id ?? null : null,
1454
- title: title(),
1455
- url: url(),
1456
- talk: !preview.landed,
1457
- board: preview.board,
1458
- from,
1459
- onclose: () => full = false
1460
- });
1461
- } else {
1462
- $$renderer2.push("<!--[-1-->");
1463
- }
1464
- $$renderer2.push(`<!--]-->`);
1465
- });
1466
- }
1467
- function AttachedFiles($$renderer, $$props) {
1468
- $$renderer.component(($$renderer2) => {
1469
- if (
1470
- /**
1471
- * The files waiting to go with the message, under the text in the composer:
1472
- * one hairline-ruled row each, with a thumbnail for an image, its kind and
1473
- * size (or how far it has uploaded, or why it failed) and a way to remove it.
1474
- */
1475
- attachments.drafts.length
1476
- ) {
1477
- $$renderer2.push(`<!--[0--><ul class="mx-2 mb-1 flex flex-col divide-y divide-hair border-t border-hair" aria-label="Attached files"><!--[-->`);
1478
- const each_array = ensure_array_like(attachments.drafts);
1479
- for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
1480
- let d = each_array[$$index];
1481
- $$renderer2.push(`<li class="flex items-center gap-2.5 px-1.5 py-1.5 text-sm"${attr("data-attachment", d.state)}>`);
1482
- if (d.preview) {
1483
- $$renderer2.push(`<!--[0--><img${attr("src", d.preview)} alt="" class="size-7 shrink-0 rounded border border-hair object-cover"/>`);
1484
- } else {
1485
- $$renderer2.push(`<!--[-1--><span class="flex size-7 shrink-0 items-center justify-center rounded bg-sea/10 text-sea" aria-hidden="true">`);
1486
- File_text($$renderer2, { class: "size-3.5" });
1487
- $$renderer2.push(`<!----></span>`);
1488
- }
1489
- $$renderer2.push(`<!--]--> <span class="min-w-0 truncate font-medium"${attr("title", d.name)}>${escape_html(d.name)}</span> <span${attr_class(`flex shrink-0 items-center gap-1 text-xs ${d.state === "failed" ? "text-danger" : "text-muted-foreground"}`)}${attr("role", d.state === "failed" ? "alert" : void 0)}>`);
1490
- if (d.state === "uploading") {
1491
- $$renderer2.push("<!--[0-->");
1492
- Loader_circle($$renderer2, { class: "size-3 animate-spin", "aria-hidden": "true" });
1493
- $$renderer2.push(`<!---->Uploading ${escape_html(Math.round(d.progress * 100))}%`);
1494
- } else if (d.state === "failed") {
1495
- $$renderer2.push("<!--[1-->");
1496
- Circle_alert($$renderer2, { class: "size-3", "aria-hidden": "true" });
1497
- $$renderer2.push(`<!---->${escape_html(d.error)}`);
1498
- } else {
1499
- $$renderer2.push(`<!--[-1-->${escape_html(kindLabel(d))} · ${escape_html(fileSize(d.size))}`);
1500
- }
1501
- $$renderer2.push(`<!--]--></span> <button type="button" class="ml-auto flex size-7 shrink-0 cursor-pointer items-center justify-center rounded text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"${attr("aria-label", `Remove ${stringify(d.name)}`)} title="Remove">`);
1502
- X($$renderer2, { class: "size-3.5" });
1503
- $$renderer2.push(`<!----></button></li>`);
1504
- }
1505
- $$renderer2.push(`<!--]--></ul>`);
1506
- } else {
1507
- $$renderer2.push("<!--[-1-->");
1508
- }
1509
- $$renderer2.push(`<!--]-->`);
1510
- });
1511
- }
1512
- function Composer($$renderer, $$props) {
1513
- $$renderer.component(($$renderer2) => {
1514
- let {
1515
- via,
1516
- reason,
1517
- working,
1518
- held = null,
1519
- reply = null,
1520
- thread = null,
1521
- threads: threads2 = [],
1522
- onvault
1523
- /** session: typed into Wheelhouse's session; inbox: Firstmate's inbox; null: nowhere. */
1524
- /** Why typing is off, shown in place of the placeholder. */
1525
- /** Why sending waits for now (a menu is open in the session), or null. */
1526
- /** The message being replied to, or null. */
1527
- /** The thread the chat is reading, which messages are sent in, or null. */
1528
- /** The threads a message can be sent in instead. */
1529
- /** Open the Add a secret popup; no key button without it. */
1530
- } = $$props;
1531
- let chosen = void 0;
1532
- const threadTopic = derived(() => thread?.topic ?? null);
1533
- const sendIn = derived(() => threadTopic());
1534
- const sendInName = derived(() => sendIn() ? (threads2.find((t) => t.topic === sendIn()) ?? thread)?.name ?? sendIn() : null);
1535
- const sendInHue = derived(() => sendIn() ? (threads2.find((t) => t.topic === sendIn()) ?? thread)?.hue ?? null : null);
1536
- const canSend = derived(() => via !== null);
1537
- let editor = void 0;
1538
- let empty = true;
1539
- let dictating = false;
1540
- let extrasOpen = false;
1541
- let stopping = false;
1542
- const placeholder = derived(() => via === "session" ? "Message Firstmate · / for commands · # for a task or thread" : via === "inbox" ? "Message Firstmate’s inbox · # for a task or thread" : reason ?? "Firstmate is not running here.");
1543
- const shortPlaceholder = derived(() => via === "session" ? "Message Firstmate" : via === "inbox" ? "Message Firstmate’s inbox" : reason ?? "Firstmate is not running here.");
1544
- const sendable = derived(() => attachments.ready);
1545
- let $$settled = true;
1546
- let $$inner_renderer;
1547
- function $$render_inner($$renderer3) {
1548
- $$renderer3.push(`<div class="relative">`);
1549
- {
1550
- $$renderer3.push("<!--[-1-->");
1551
- }
1552
- $$renderer3.push(`<!--]--> `);
1553
- if (sendIn() || thread && chosen === null) {
1554
- $$renderer3.push(`<!--[0--><div class="mb-1.5 flex items-center gap-1.5 text-xs text-muted-foreground" data-send-in="">`);
1555
- if (sendIn()) {
1556
- $$renderer3.push(`<!--[0--><span>Sent in</span> <span class="thread-tag pointer-events-none"${attr("data-hue", sendInHue() ?? void 0)}>${escape_html(sendInName())}</span> <button class="cursor-pointer rounded px-1 hover:bg-muted hover:text-foreground" aria-label="Send this message in no thread" title="Send this message in no thread">`);
1557
- X($$renderer3, { class: "size-3.5" });
1558
- $$renderer3.push(`<!----></button>`);
1559
- } else if (thread) {
1560
- $$renderer3.push(`<!--[1--><span>Sent in no thread ·</span> <button class="cursor-pointer font-medium text-sea hover:underline">Send in ${escape_html(thread.name)}</button>`);
1561
- } else {
1562
- $$renderer3.push("<!--[-1-->");
1563
- }
1564
- $$renderer3.push(`<!--]--></div>`);
1565
- } else {
1566
- $$renderer3.push("<!--[-1-->");
1567
- }
1568
- $$renderer3.push(`<!--]--> `);
1569
- if (reply) {
1570
- $$renderer3.push(`<!--[0--><div class="reply-draft" role="group" aria-label="Replying to a message">`);
1571
- Reply($$renderer3, { class: "size-4 shrink-0 text-sea", "aria-hidden": "true" });
1572
- $$renderer3.push(`<!----> <div class="min-w-0 flex-1"><p class="text-xs font-medium text-sea">Replying to ${escape_html(reply.who === "firstmate" ? "Firstmate" : "yourself")}</p> <p class="truncate text-sm text-muted-foreground">${escape_html(reply.snippet)}</p></div> <button class="flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Cancel the reply" title="Cancel the reply (Esc)">`);
1573
- X($$renderer3, { class: "size-4" });
1574
- $$renderer3.push(`<!----></button></div>`);
1575
- } else {
1576
- $$renderer3.push("<!--[-1-->");
1577
- }
1578
- $$renderer3.push(`<!--]--> <div${attr_class(`rounded-xl border bg-card/75 focus-within:ring-2 focus-within:ring-ring/30 ${canSend() ? "" : "opacity-70"} ${reply ? "rounded-t-none" : ""}`)}><div class="flex items-end gap-2 p-2.5 pl-2"><input type="file" multiple="" class="hidden" tabindex="-1" aria-hidden="true"/> <div class="relative shrink-0 md:hidden"><button type="button" aria-label="Attach files or add a secret"${attr("aria-expanded", extrasOpen)} aria-haspopup="menu"${attr("disabled", !canSend(), true)} class="flex size-11 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-40">`);
1579
- Plus($$renderer3, { class: "size-5" });
1580
- $$renderer3.push(`<!----></button> `);
1581
- {
1582
- $$renderer3.push("<!--[-1-->");
1583
- }
1584
- $$renderer3.push(`<!--]--></div> <button type="button" aria-label="Attach files"${attr("title", `Attach files (or drop them on the chat, or paste an image), up to ${stringify(UPLOAD_MAX_BYTES / (1024 * 1024))} MB each`)}${attr("disabled", !canSend(), true)} class="flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-40 max-md:hidden">`);
1585
- Paperclip($$renderer3, { class: "size-4" });
1586
- $$renderer3.push(`<!----></button> `);
1587
- if (onvault) {
1588
- $$renderer3.push(`<!--[0--><button type="button" aria-label="Add a secret to the vault" title="Add a secret to the vault: its value goes to the Keychain, never into the chat" class="-ml-1 flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground max-md:hidden">`);
1589
- Key_round($$renderer3, { class: "size-4" });
1590
- $$renderer3.push(`<!----></button>`);
1591
- } else {
1592
- $$renderer3.push("<!--[-1-->");
1593
- }
1594
- $$renderer3.push(`<!--]--> <div${attr("contenteditable", canSend() ? "true" : "false")} role="textbox"${attr("tabindex", canSend() ? 0 : -1)} aria-multiline="true" aria-label="Message Firstmate"${attr("aria-disabled", !canSend())}${attr("data-placeholder", placeholder())}${attr("data-placeholder-short", shortPlaceholder())}${attr_class(`editor no-scrollbar max-h-48 min-h-10 min-w-0 flex-1 overflow-y-auto py-2 text-base leading-relaxed whitespace-pre-wrap outline-none ${"is-empty"} ${canSend() ? "" : "cursor-not-allowed"}`, "svelte-w61w6e")}></div> <div${attr_class(`contents ${sendable() && !dictating ? "max-md:hidden" : ""}`)}>`);
1595
- MicButton($$renderer3, {
1596
- field: editor,
1597
- target: () => editableTarget(editor),
1598
- label: "Dictate a message",
1599
- disabled: !canSend(),
1600
- get listening() {
1601
- return dictating;
1602
- },
1603
- set listening($$value) {
1604
- dictating = $$value;
1605
- $$settled = false;
1606
- }
1607
- });
1608
- $$renderer3.push(`<!----></div> `);
1609
- if (working && empty && !attachments.drafts.length && via === "session") {
1610
- $$renderer3.push(`<!--[0--><button aria-label="Stop Firstmate" title="Stop what Firstmate is doing (Escape)"${attr("disabled", stopping, true)} class="flex size-10 shrink-0 cursor-pointer items-center justify-center rounded-full bg-sea text-on-accent transition-opacity disabled:opacity-40 max-md:size-11">`);
1611
- {
1612
- $$renderer3.push("<!--[-1-->");
1613
- Square($$renderer3, { class: "size-3.5 fill-current" });
1614
- }
1615
- $$renderer3.push(`<!--]--></button>`);
1616
- } else {
1617
- $$renderer3.push(`<!--[-1--><button aria-label="Send"${attr("disabled", !attachments.ready || !canSend() || !!held || attachments.uploading, true)}${attr_class(`flex size-10 shrink-0 max-md:size-11 ${sendable() ? "" : "max-md:hidden"} cursor-pointer items-center justify-center rounded-full bg-sea text-on-accent transition-opacity disabled:cursor-not-allowed disabled:opacity-30`)}>`);
1618
- Arrow_up($$renderer3, { class: "size-4" });
1619
- $$renderer3.push(`<!----></button>`);
1620
- }
1621
- $$renderer3.push(`<!--]--></div> `);
1622
- AttachedFiles($$renderer3);
1623
- $$renderer3.push(`<!----></div> `);
1624
- if (held) {
1625
- $$renderer3.push(`<!--[1--><p class="mt-2 text-xs text-muted-foreground" data-held="">${escape_html(held)}</p>`);
1626
- } else if (attachments.uploading) {
1627
- $$renderer3.push(`<!--[2--><p class="mt-2 text-xs text-muted-foreground">Send waits until the files finish uploading.</p>`);
1628
- } else if (via === "inbox") {
1629
- $$renderer3.push(`<!--[3--><p class="mt-2 text-xs text-muted-foreground">${escape_html("Firstmate runs in another terminal, so messages go to its inbox.")}</p>`);
1630
- } else {
1631
- $$renderer3.push("<!--[-1-->");
1632
- }
1633
- $$renderer3.push(`<!--]--></div>`);
1634
- }
1635
- do {
1636
- $$settled = true;
1637
- $$inner_renderer = $$renderer2.copy();
1638
- $$render_inner($$inner_renderer);
1639
- } while (!$$settled);
1640
- $$renderer2.subsume($$inner_renderer);
1641
- });
1642
- }
1643
- function MenuCard($$renderer, $$props) {
1644
- $$renderer.component(($$renderer2) => {
1645
- let { menu, tool = "Claude Code" } = $$props;
1646
- let busy = false;
1647
- $$renderer2.push(`<div class="max-w-[80ch] rounded-lg border border-t-2 border-t-sea bg-card p-4" role="group"${attr("aria-label", `A ${stringify(tool)} menu is open`)}><p class="mb-2 flex items-center gap-2 font-display text-[1.15rem] font-medium">`);
1648
- App_window($$renderer2, { class: "size-4 text-sea", "aria-hidden": "true" });
1649
- $$renderer2.push(`<!---->A ${escape_html(tool)} menu is open</p> <p class="mb-3 text-sm text-muted-foreground">`);
1650
- if (menu.title) {
1651
- $$renderer2.push(`<!--[0--><span class="font-medium text-foreground">${escape_html(menu.title)}</span>`);
1652
- } else {
1653
- $$renderer2.push(`<!--[-1-->A menu`);
1654
- }
1655
- $$renderer2.push(`<!--]--> is open in Firstmate’s session, and the chat can’t use it. Close it to carry on chatting, or use it
1656
- in Firstmate’s terminal.</p> <div class="flex flex-wrap items-center gap-3 text-sm">`);
1657
- if (menu.canDismiss !== false) {
1658
- $$renderer2.push(`<!--[0--><button class="flex cursor-pointer items-center gap-1.5 rounded-lg bg-foreground px-3 py-1.5 font-medium text-background disabled:opacity-40"${attr("disabled", busy, true)}>`);
1659
- {
1660
- $$renderer2.push("<!--[-1-->");
1661
- X($$renderer2, { class: "size-4", "aria-hidden": "true" });
1662
- }
1663
- $$renderer2.push(`<!--]-->Close menu</button>`);
1664
- } else {
1665
- $$renderer2.push("<!--[-1-->");
1666
- }
1667
- $$renderer2.push(`<!--]--> <button class="flex cursor-pointer items-center gap-1.5 text-muted-foreground hover:text-foreground">`);
1668
- Square_terminal($$renderer2, { class: "size-4", "aria-hidden": "true" });
1669
- $$renderer2.push(`<!---->Use it in the terminal</button> `);
1670
- {
1671
- $$renderer2.push("<!--[-1-->");
1672
- }
1673
- $$renderer2.push(`<!--]--></div></div>`);
1674
- });
1675
- }
1676
- function PickerCard($$renderer, $$props) {
1677
- $$renderer.component(($$renderer2) => {
1678
- let { picker } = $$props;
1679
- let busy = false;
1680
- $$renderer2.push(`<div class="max-w-[80ch] rounded-lg border border-t-2 border-t-sea bg-card p-4" role="group" aria-label="Firstmate is asking you"><p class="mb-2 flex items-center gap-2 font-display text-[1.15rem] font-medium">`);
1681
- Message_circle_question_mark($$renderer2, { class: "size-4 text-sea", "aria-hidden": "true" });
1682
- $$renderer2.push(`<!---->Firstmate is asking you `);
1683
- {
1684
- $$renderer2.push("<!--[-1-->");
1685
- }
1686
- $$renderer2.push(`<!--]--></p> `);
1687
- if (picker.tabs.length > 1) {
1688
- $$renderer2.push(`<!--[0--><div class="mb-3 flex flex-wrap gap-1.5 text-xs"><!--[-->`);
1689
- const each_array = ensure_array_like(picker.tabs);
1690
- for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
1691
- let tab = each_array[$$index];
1692
- $$renderer2.push(`<span${attr_class(`flex items-center gap-1 rounded border px-1.5 py-0.5 ${tab.done ? "text-muted-foreground" : "border-sea/50 text-foreground"}`)}>`);
1693
- if (tab.done) {
1694
- $$renderer2.push("<!--[0-->");
1695
- Check($$renderer2, { class: "size-3", "aria-label": "Answered" });
1696
- } else {
1697
- $$renderer2.push("<!--[-1-->");
1698
- }
1699
- $$renderer2.push(`<!--]-->${escape_html(tab.label)}</span>`);
1700
- }
1701
- $$renderer2.push(`<!--]--></div>`);
1702
- } else {
1703
- $$renderer2.push("<!--[-1-->");
1704
- }
1705
- $$renderer2.push(`<!--]--> `);
1706
- if (picker.title) {
1707
- $$renderer2.push(`<!--[0--><p class="mb-3 text-base whitespace-pre-line">${escape_html(picker.title)}</p>`);
1708
- } else {
1709
- $$renderer2.push("<!--[-1-->");
1710
- }
1711
- $$renderer2.push(`<!--]--> <div class="flex flex-col gap-1.5"><!--[-->`);
1712
- const each_array_1 = ensure_array_like(picker.options);
1713
- for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
1714
- let o = each_array_1[$$index_1];
1715
- if (o.freeText) {
1716
- $$renderer2.push(`<!--[0--><button class="flex w-full cursor-pointer items-center gap-3 rounded-lg border border-dashed bg-background px-3 py-2 text-left text-sm text-muted-foreground hover:border-sea/60">`);
1717
- Square_terminal($$renderer2, { class: "size-4 shrink-0", "aria-hidden": "true" });
1718
- $$renderer2.push(`<!----> <span>Type an answer in Firstmate’s terminal</span></button>`);
1719
- } else {
1720
- $$renderer2.push(`<!--[-1--><button${attr_class(`flex w-full cursor-pointer items-start gap-3 rounded-lg border px-3 py-2 text-left text-sm transition-colors disabled:cursor-default ${o.checked ? "border-sea bg-sea/10" : "bg-background hover:border-sea/60"}`)}${attr("disabled", busy, true)}${attr("aria-pressed", o.checked === null ? void 0 : o.checked)}><span class="tabular w-4 shrink-0 text-muted-foreground">`);
1721
- if (o.checked) {
1722
- $$renderer2.push("<!--[0-->");
1723
- Check($$renderer2, { class: "size-4 text-sea", "aria-label": "Chosen" });
1724
- } else {
1725
- $$renderer2.push(`<!--[-1-->${escape_html(o.n)}`);
1726
- }
1727
- $$renderer2.push(`<!--]--></span> <span class="min-w-0"><span class="font-medium">${escape_html(o.label)}</span> `);
1728
- if (o.description) {
1729
- $$renderer2.push(`<!--[0--><span class="block text-xs text-muted-foreground">${escape_html(o.description)}</span>`);
1730
- } else {
1731
- $$renderer2.push("<!--[-1-->");
1732
- }
1733
- $$renderer2.push(`<!--]--></span></button>`);
1734
- }
1735
- $$renderer2.push(`<!--]-->`);
1736
- }
1737
- $$renderer2.push(`<!--]--></div> <div class="mt-3 flex flex-wrap items-center gap-3 text-sm">`);
1738
- if (picker.multiSelect && picker.submitMoves !== null) {
1739
- $$renderer2.push(`<!--[0--><button class="cursor-pointer rounded-lg bg-foreground px-3 py-1.5 font-medium text-background disabled:opacity-40"${attr("disabled", !picker.options.some((o) => o.checked), true)}>Done</button>`);
1740
- } else {
1741
- $$renderer2.push("<!--[-1-->");
1742
- }
1743
- $$renderer2.push(`<!--]--> <button class="flex cursor-pointer items-center gap-1.5 text-muted-foreground hover:text-foreground">`);
1744
- Square_terminal($$renderer2, { class: "size-4", "aria-hidden": "true" });
1745
- $$renderer2.push(`<!---->Answer in the terminal instead</button> `);
1746
- {
1747
- $$renderer2.push("<!--[-1-->");
1748
- }
1749
- $$renderer2.push(`<!--]--></div></div>`);
1750
- });
1751
- }
1752
- function QuestionCard($$renderer, $$props) {
1753
- $$renderer.component(($$renderer2) => {
1754
- let { part } = $$props;
1755
- if (part.answers) {
1756
- $$renderer2.push(`<!--[0--><div class="flex max-w-[80ch] flex-col gap-1 text-sm text-muted-foreground"><!--[-->`);
1757
- const each_array = ensure_array_like(part.questions);
1758
- for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
1759
- let q = each_array[$$index];
1760
- $$renderer2.push(`<p class="flex items-start gap-2">`);
1761
- Circle_check($$renderer2, {
1762
- class: "mt-0.5 size-4 shrink-0 text-success",
1763
- "aria-hidden": "true"
1764
- });
1765
- $$renderer2.push(`<!----> <span>${escape_html(q.question)} <span class="font-medium text-foreground">${escape_html(part.answers[q.question] ?? "No answer")}</span></span></p>`);
1766
- }
1767
- $$renderer2.push(`<!--]--></div>`);
1768
- } else {
1769
- $$renderer2.push("<!--[-1-->");
1770
- }
1771
- $$renderer2.push(`<!--]-->`);
1772
- });
1773
- }
1774
- function SignInCard($$renderer, $$props) {
1775
- $$renderer.component(($$renderer2) => {
1776
- let { signIn, tool = "Claude Code" } = $$props;
1777
- let code = "";
1778
- let busy = false;
1779
- $$renderer2.push(`<div class="max-w-[80ch] rounded-lg border border-t-2 border-t-warning bg-card p-4" role="group"${attr("aria-label", `Sign in to ${stringify(tool)}`)} data-sign-in=""><p class="mb-1 flex items-center gap-2 font-display text-[1.15rem] font-medium">`);
1780
- Key_round($$renderer2, { class: "size-4 text-warning", "aria-hidden": "true" });
1781
- $$renderer2.push(`<!---->Sign in to ${escape_html(tool)}</p> <p class="mb-4 text-sm text-muted-foreground">Firstmate is waiting for you to sign ${escape_html(tool)} in before it can carry on.</p> <ol class="flex flex-col gap-4 text-sm"><li class="flex flex-col gap-2"><span><span class="tabular text-muted-foreground">1.</span> Open the sign-in page and sign in.</span> <a class="flex w-fit items-center gap-1.5 rounded-lg bg-foreground px-3 py-1.5 font-medium text-background hover:opacity-90"${attr("href", signIn.url)} target="_blank" rel="noopener noreferrer">`);
1782
- External_link($$renderer2, { class: "size-4", "aria-hidden": "true" });
1783
- $$renderer2.push(`<!---->Open the sign-in page</a></li> `);
1784
- if (signIn.code) {
1785
- $$renderer2.push(`<!--[0--><li class="flex flex-col gap-2"><span><span class="tabular text-muted-foreground">2.</span> Enter this code on that page.</span> <span class="flex items-center gap-2"><code class="rounded border bg-background px-2 py-1 font-mono text-base tracking-wider select-all">${escape_html(signIn.code)}</code> <button class="flex cursor-pointer items-center gap-1 text-muted-foreground hover:text-foreground">`);
1786
- {
1787
- $$renderer2.push("<!--[-1-->");
1788
- Copy($$renderer2, { class: "size-4", "aria-hidden": "true" });
1789
- $$renderer2.push(`<!---->Copy code`);
1790
- }
1791
- $$renderer2.push(`<!--]--></button></span></li>`);
1792
- } else {
1793
- $$renderer2.push("<!--[-1-->");
1794
- }
1795
- $$renderer2.push(`<!--]--> `);
1796
- if (signIn.paste) {
1797
- $$renderer2.push(`<!--[0--><li class="flex flex-col gap-2"><label for="wh-sign-in-code"><span class="tabular text-muted-foreground">2.</span> Paste the code the page gives you.</label> <form class="flex flex-wrap items-center gap-2"><input id="wh-sign-in-code" class="min-w-0 flex-1 rounded-lg border bg-background px-3 py-1.5 font-mono text-sm" autocomplete="off" autocapitalize="off" spellcheck="false" placeholder="Sign-in code"${attr("value", code)}${attr("disabled", busy, true)}/> <button type="submit" class="flex cursor-pointer items-center gap-1.5 rounded-lg bg-foreground px-3 py-1.5 font-medium text-background disabled:cursor-default disabled:opacity-40"${attr("disabled", !code.trim(), true)}>`);
1798
- {
1799
- $$renderer2.push("<!--[-1-->");
1800
- }
1801
- $$renderer2.push(`<!--]-->Sign in</button></form> `);
1802
- {
1803
- $$renderer2.push("<!--[-1-->");
1804
- }
1805
- $$renderer2.push(`<!--]--></li>`);
1806
- } else {
1807
- $$renderer2.push(`<!--[-1--><li class="text-muted-foreground">${escape_html(tool)} carries on by itself once you have signed in.</li>`);
1808
- }
1809
- $$renderer2.push(`<!--]--></ol> `);
1810
- if (signIn.note) {
1811
- $$renderer2.push(`<!--[0--><p class="mt-3 text-xs text-muted-foreground">${escape_html(signIn.note)}</p>`);
1812
- } else {
1813
- $$renderer2.push("<!--[-1-->");
1814
- }
1815
- $$renderer2.push(`<!--]--> <div class="mt-4 flex flex-wrap items-center gap-3 text-sm"><button class="flex cursor-pointer items-center gap-1.5 text-muted-foreground hover:text-foreground">`);
1816
- Square_terminal($$renderer2, { class: "size-4", "aria-hidden": "true" });
1817
- $$renderer2.push(`<!---->Sign in in the terminal instead</button> `);
1818
- {
1819
- $$renderer2.push("<!--[-1-->");
1820
- }
1821
- $$renderer2.push(`<!--]--></div></div>`);
1822
- });
1823
- }
1824
- function TerminalNotice($$renderer, $$props) {
1825
- let { detail, tool = "Claude Code" } = $$props;
1826
- $$renderer.push(`<div class="max-w-[80ch] rounded-lg border border-t-2 border-t-warning bg-card p-4" role="alert" aria-label="Firstmate is waiting for you in the terminal" data-terminal-notice=""><p class="mb-2 flex items-center gap-2 font-display text-[1.15rem] font-medium">`);
1827
- Square_terminal($$renderer, { class: "size-4 text-warning", "aria-hidden": "true" });
1828
- $$renderer.push(`<!---->Firstmate is waiting for you in
1829
- the terminal</p> <p class="mb-3 text-sm text-muted-foreground">${escape_html(tool)} is showing something the chat can’t answer. Open the terminal to carry on; the chat picks up
1830
- again once it’s done.</p> `);
1831
- if (detail) {
1832
- $$renderer.push(`<!--[0--><pre class="mb-3 overflow-x-auto rounded border bg-background px-3 py-2 font-mono text-xs whitespace-pre-wrap text-muted-foreground">${escape_html(detail)}</pre>`);
1833
- } else {
1834
- $$renderer.push("<!--[-1-->");
1835
- }
1836
- $$renderer.push(`<!--]--> <button class="flex cursor-pointer items-center gap-1.5 rounded-lg bg-foreground px-3 py-1.5 text-sm font-medium text-background hover:opacity-90">`);
1837
- Square_terminal($$renderer, { class: "size-4", "aria-hidden": "true" });
1838
- $$renderer.push(`<!---->Open terminal</button></div>`);
1839
- }
1840
- function ThreadTag($$renderer, $$props) {
1841
- $$renderer.component(($$renderer2) => {
1842
- let { tag, threads: threads2 } = $$props;
1843
- const SOURCE = {
1844
- marker: "Firstmate filed this here",
1845
- decision: "The decision’s project",
1846
- task: "The task’s project",
1847
- thread: "Sent in this thread",
1848
- you: "You moved this here",
1849
- guess: "A guess from what it names"
1850
- };
1851
- const me = derived(() => threads2.find((t) => t.topic === tag.topic) ?? { topic: tag.topic, name: tag.topic, hue: null });
1852
- let open = false;
1853
- let fresh = "";
1854
- function tagButton($$renderer3, props) {
1855
- $$renderer3.push(`<button${attributes({
1856
- ...props,
1857
- class: "thread-tag touch-target",
1858
- "data-hue": me().hue ?? void 0,
1859
- "data-unsorted": tag.topic === UNSORTED ? "" : void 0,
1860
- "data-source": tag.source ?? void 0,
1861
- title: `${stringify(tag.source ? SOURCE[tag.source] : "Not filed under a thread")}. Click to move it.`,
1862
- "aria-label": `Thread: ${stringify(me().name)}${tag.source === "guess" ? " (a guess)" : ""}. Move it`
1863
- })}><span class="thread-tag-name">${escape_html(me().name)}</span>`);
1864
- if (tag.source === "guess") {
1865
- $$renderer3.push(`<!--[0--><span class="thread-tag-src">· guess</span>`);
1866
- } else if (tag.source === "you") {
1867
- $$renderer3.push(`<!--[1--><span class="thread-tag-src">· moved</span>`);
1868
- } else {
1869
- $$renderer3.push("<!--[-1-->");
1870
- }
1871
- $$renderer3.push(`<!--]--></button>`);
1872
- }
1873
- function moveTo($$renderer3) {
1874
- $$renderer3.push(`<p class="px-2 pt-1 pb-1.5 text-xs text-muted-foreground max-md:hidden">Move to thread</p> <div class="no-scrollbar max-h-64 overflow-y-auto max-md:max-h-none"><!--[-->`);
1875
- const each_array = ensure_array_like(threads2);
1876
- for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
1877
- let t = each_array[$$index];
1878
- $$renderer3.push(`<button class="flex w-full cursor-pointer items-center gap-2 rounded px-2 py-1.5 text-left hover:bg-muted max-md:min-h-12 max-md:text-base pointer-coarse:min-h-11"><span class="thread-dot"${attr("data-hue", t.hue ?? void 0)} aria-hidden="true"></span> <span class="min-w-0 flex-1 truncate">${escape_html(t.name)}</span> `);
1879
- if (t.topic === tag.topic) {
1880
- $$renderer3.push("<!--[0-->");
1881
- Check($$renderer3, { class: "size-3.5 text-muted-foreground" });
1882
- } else {
1883
- $$renderer3.push("<!--[-1-->");
1884
- }
1885
- $$renderer3.push(`<!--]--></button>`);
1886
- }
1887
- $$renderer3.push(`<!--]--></div> <form class="mt-1 flex items-center gap-1.5 border-t px-1 pt-1.5">`);
1888
- Plus($$renderer3, {
1889
- class: "size-3.5 shrink-0 text-muted-foreground",
1890
- "aria-hidden": "true"
1891
- });
1892
- $$renderer3.push(`<!----> <input class="min-w-0 flex-1 bg-transparent py-1 text-sm outline-none placeholder:text-muted-foreground max-md:min-h-12 max-md:text-base" placeholder="New topic…" aria-label="New topic"${attr("value", fresh)}/></form>`);
1893
- }
1894
- let $$settled = true;
1895
- let $$inner_renderer;
1896
- function $$render_inner($$renderer3) {
1897
- if (phone.current) {
1898
- $$renderer3.push("<!--[0-->");
1899
- tagButton($$renderer3, {
1900
- type: "button",
1901
- "aria-haspopup": "dialog",
1902
- onclick: () => open = true
1903
- });
1904
- $$renderer3.push(`<!----> `);
1905
- Sheet($$renderer3, {
1906
- title: "Move to thread",
1907
- get open() {
1908
- return open;
1909
- },
1910
- set open($$value) {
1911
- open = $$value;
1912
- $$settled = false;
1913
- },
1914
- children: ($$renderer4) => {
1915
- $$renderer4.push(`<div class="px-3 pb-3">`);
1916
- moveTo($$renderer4);
1917
- $$renderer4.push(`<!----></div>`);
1918
- },
1919
- $$slots: { default: true }
1920
- });
1921
- $$renderer3.push(`<!---->`);
1922
- } else {
1923
- $$renderer3.push("<!--[-1-->");
1924
- if (Popover) {
1925
- $$renderer3.push("<!--[-->");
1926
- Popover($$renderer3, {
1927
- get open() {
1928
- return open;
1929
- },
1930
- set open($$value) {
1931
- open = $$value;
1932
- $$settled = false;
1933
- },
1934
- children: ($$renderer4) => {
1935
- {
1936
- let child = function($$renderer5, { props }) {
1937
- tagButton($$renderer5, props);
1938
- };
1939
- if (Popover_trigger) {
1940
- $$renderer4.push("<!--[-->");
1941
- Popover_trigger($$renderer4, { child, $$slots: { child: true } });
1942
- $$renderer4.push("<!--]-->");
1943
- } else {
1944
- $$renderer4.push("<!--[!-->");
1945
- $$renderer4.push("<!--]-->");
1946
- }
1947
- }
1948
- $$renderer4.push(` `);
1949
- if (Portal) {
1950
- $$renderer4.push("<!--[-->");
1951
- Portal($$renderer4, {
1952
- children: ($$renderer5) => {
1953
- if (Popover_content) {
1954
- $$renderer5.push("<!--[-->");
1955
- Popover_content($$renderer5, {
1956
- align: "start",
1957
- sideOffset: 4,
1958
- class: "z-50 w-60 max-w-[calc(100vw-2rem)] rounded-md bg-popover p-1.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10",
1959
- children: ($$renderer6) => {
1960
- moveTo($$renderer6);
1961
- },
1962
- $$slots: { default: true }
1963
- });
1964
- $$renderer5.push("<!--]-->");
1965
- } else {
1966
- $$renderer5.push("<!--[!-->");
1967
- $$renderer5.push("<!--]-->");
1968
- }
1969
- }
1970
- });
1971
- $$renderer4.push("<!--]-->");
1972
- } else {
1973
- $$renderer4.push("<!--[!-->");
1974
- $$renderer4.push("<!--]-->");
1975
- }
1976
- },
1977
- $$slots: { default: true }
1978
- });
1979
- $$renderer3.push("<!--]-->");
1980
- } else {
1981
- $$renderer3.push("<!--[!-->");
1982
- $$renderer3.push("<!--]-->");
1983
- }
1984
- }
1985
- $$renderer3.push(`<!--]-->`);
1986
- }
1987
- do {
1988
- $$settled = true;
1989
- $$inner_renderer = $$renderer2.copy();
1990
- $$render_inner($$inner_renderer);
1991
- } while (!$$settled);
1992
- $$renderer2.subsume($$inner_renderer);
1993
- });
1994
- }
1995
- function VaultAdd($$renderer, $$props) {
1996
- $$renderer.component(($$renderer2) => {
1997
- let {
1998
- open = false,
1999
- ask = null,
2000
- projects,
2001
- token,
2002
- onstored
2003
- /** What Firstmate asked for, to fill in; null for a blank popup. */
2004
- /** The projects Wheelhouse knows, offered as tick boxes. */
2005
- /** A secret was stored: its name and every project that can use it. */
2006
- } = $$props;
2007
- let name = "";
2008
- let value = "";
2009
- let grants = [];
2010
- let busy = false;
2011
- let error = null;
2012
- let exists = false;
2013
- let replace = false;
2014
- let status = null;
2015
- const purpose = derived(() => ask?.purpose ?? "");
2016
- const unknown = derived(() => ask ? ask.projects.filter((p) => !projects.includes(p)) : []);
2017
- function close() {
2018
- value = "";
2019
- exists = false;
2020
- replace = false;
2021
- open = false;
2022
- }
2023
- async function replaceIt() {
2024
- exists = false;
2025
- replace = true;
2026
- error = null;
2027
- await tick();
2028
- document.getElementById("vault-add-value")?.focus();
2029
- }
2030
- $$renderer2.push(`<dialog class="m-auto w-[min(94vw,32rem)] max-w-none rounded-xl border bg-background p-0 text-foreground shadow-xl backdrop:bg-black/50" aria-labelledby="vault-add-title" data-vault-add="">`);
2031
- if (open) {
2032
- $$renderer2.push(`<!--[0--><form class="grid gap-5 px-5 pt-4 pb-5"><div class="flex items-start gap-3">`);
2033
- Key_round($$renderer2, {
2034
- class: "mt-1 size-5 shrink-0 text-brass",
2035
- "aria-hidden": "true"
2036
- });
2037
- $$renderer2.push(`<!----> <div class="min-w-0 flex-1"><h2 id="vault-add-title" class="font-display text-lg">${escape_html(ask ? "Firstmate asks for a secret" : "Add a secret")}</h2> `);
2038
- if (purpose()) {
2039
- $$renderer2.push(`<!--[0--><p class="mt-0.5 text-sm text-muted-foreground" data-vault-purpose="">${escape_html(purpose())}</p>`);
2040
- } else {
2041
- $$renderer2.push("<!--[-1-->");
2042
- }
2043
- $$renderer2.push(`<!--]--></div> <button type="button" class="-mt-1 -mr-2 rounded p-1.5 text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Cancel"${attr("disabled", busy, true)}>`);
2044
- X($$renderer2, { class: "size-4" });
2045
- $$renderer2.push(`<!----></button></div> `);
2046
- {
2047
- $$renderer2.push("<!--[-1-->");
2048
- }
2049
- $$renderer2.push(`<!--]--> <div class="grid gap-1.5"><label for="vault-add-name" class="text-sm font-medium">Name</label> <input id="vault-add-name" autocomplete="off" autocapitalize="characters" spellcheck="false" placeholder="VERCEL_TOKEN"${attr("value", name)}${attr("disabled", busy, true)}${attr("aria-invalid", void 0)} aria-describedby="vault-add-name-help" class="h-10 w-full rounded-md border border-input bg-background px-3 font-mono text-sm outline-none placeholder:text-muted-foreground/60 focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60 aria-invalid:border-danger"/> `);
2050
- {
2051
- $$renderer2.push(`<!--[-1--><p id="vault-add-name-help" class="text-xs text-muted-foreground">The environment variable a command receives it as.</p>`);
2052
- }
2053
- $$renderer2.push(`<!--]--></div> `);
2054
- if (!exists) {
2055
- $$renderer2.push(`<!--[0--><div class="grid gap-1.5"><label for="vault-add-value" class="text-sm font-medium">Value</label> <input id="vault-add-value" type="password" autocomplete="off" autocapitalize="off" spellcheck="false" data-1p-ignore="" data-lpignore="true"${attr("value", value)}${attr("disabled", status?.canStore === false, true)} class="h-10 w-full rounded-md border border-input bg-background px-3 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60"/> <p class="flex items-start gap-1.5 text-xs text-muted-foreground">`);
2056
- Lock($$renderer2, { class: "mt-px size-3.5 shrink-0" });
2057
- $$renderer2.push(`<!----> Goes straight into ${escape_html(storeWhere(status))}. It never appears in the chat, and Wheelhouse
2058
- cannot show it again.</p></div>`);
2059
- } else {
2060
- $$renderer2.push("<!--[-1-->");
2061
- }
2062
- $$renderer2.push(`<!--]--> <div class="grid gap-2"><p class="text-sm font-medium">Projects that may use it</p> `);
2063
- if (projects.length) {
2064
- $$renderer2.push(`<!--[0--><div class="grid gap-x-6 gap-y-2 sm:grid-cols-2" role="group" aria-label="Projects"><!--[-->`);
2065
- const each_array = ensure_array_like(projects);
2066
- for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
2067
- let p = each_array[$$index];
2068
- $$renderer2.push(`<label class="flex min-w-0 items-center gap-2 text-sm"><input type="checkbox" class="size-4 shrink-0 accent-[var(--sea)]"${attr("checked", grants.includes(p), true)}${attr("disabled", busy, true)}/> <span class="truncate">${escape_html(p)}</span></label>`);
2069
- }
2070
- $$renderer2.push(`<!--]--></div>`);
2071
- } else {
2072
- $$renderer2.push(`<!--[-1--><p class="text-sm text-muted-foreground">Wheelhouse knows no projects yet.</p>`);
2073
- }
2074
- $$renderer2.push(`<!--]--> <p class="text-xs text-muted-foreground">Optional. You can change this any time on the Vault page. `);
2075
- if (unknown().length) {
2076
- $$renderer2.push(`<!--[0-->Firstmate also named ${escape_html(unknown().join(", "))}, which Wheelhouse does not
2077
- know.`);
2078
- } else {
2079
- $$renderer2.push("<!--[-1-->");
2080
- }
2081
- $$renderer2.push(`<!--]--></p></div> `);
2082
- if (exists) {
2083
- $$renderer2.push(`<!--[0--><p class="rounded-md border border-warning/40 bg-warning/5 px-3 py-2 text-sm" role="alert" data-vault-exists="">A secret named ${escape_html(name)} already exists. Replace it?</p>`);
2084
- } else if (error) {
2085
- $$renderer2.push(`<!--[1--><p class="rounded-md border border-danger/40 bg-danger/5 px-3 py-2 text-sm" role="alert">${escape_html(error)}</p>`);
2086
- } else {
2087
- $$renderer2.push("<!--[-1-->");
2088
- }
2089
- $$renderer2.push(`<!--]--> <div class="flex flex-wrap justify-end gap-2">`);
2090
- Button($$renderer2, {
2091
- type: "button",
2092
- variant: "outline",
2093
- disabled: busy,
2094
- onclick: close,
2095
- children: ($$renderer3) => {
2096
- $$renderer3.push(`<!---->Cancel`);
2097
- },
2098
- $$slots: { default: true }
2099
- });
2100
- $$renderer2.push(`<!----> `);
2101
- if (exists) {
2102
- $$renderer2.push("<!--[0-->");
2103
- Button($$renderer2, {
2104
- type: "button",
2105
- onclick: replaceIt,
2106
- children: ($$renderer3) => {
2107
- $$renderer3.push(`<!---->Replace`);
2108
- },
2109
- $$slots: { default: true }
2110
- });
2111
- } else {
2112
- $$renderer2.push("<!--[-1-->");
2113
- Button($$renderer2, {
2114
- type: "submit",
2115
- disabled: !name,
2116
- children: ($$renderer3) => {
2117
- $$renderer3.push(`<!---->${escape_html(replace ? "Replace its value" : "Store secret")}`);
2118
- },
2119
- $$slots: { default: true }
2120
- });
2121
- }
2122
- $$renderer2.push(`<!--]--></div></form>`);
2123
- } else {
2124
- $$renderer2.push("<!--[-1-->");
2125
- }
2126
- $$renderer2.push(`<!--]--></dialog>`);
2127
- bind_props($$props, { open });
2128
- });
2129
- }
2130
- function captainText($$renderer, text, linked) {
2131
- $$renderer.push(`<!--[-->`);
2132
- const each_array_1 = ensure_array_like(parseRefs(text));
2133
- for (let pi = 0, $$length = each_array_1.length; pi < $$length; pi++) {
2134
- let piece = each_array_1[pi];
2135
- if (typeof piece === "string") {
2136
- $$renderer.push(`<!--[0-->${escape_html(piece)}`);
2137
- } else if (linked) {
2138
- $$renderer.push(`<!--[1--><a${attr("href", `/tasks/${stringify(encodeURIComponent(piece.id))}`)} class="mx-px inline-block rounded-md bg-sea/15 px-1.5 text-[0.875em] font-medium whitespace-nowrap text-sea no-underline hover:bg-sea/25"${attr("title", piece.url ?? piece.title)}>${escape_html(chipLabel(piece))}</a>`);
2139
- } else {
2140
- $$renderer.push(`<!--[-1--><span class="mx-px inline-block rounded-md bg-sea/15 px-1.5 text-[0.875em] font-medium whitespace-nowrap text-sea">${escape_html(chipLabel(piece))}</span>`);
2141
- }
2142
- $$renderer.push(`<!--]-->`);
2143
- }
2144
- $$renderer.push(`<!--]-->`);
2145
- }
2146
- function Chat($$renderer, $$props) {
2147
- $$renderer.component(($$renderer2) => {
2148
- let {
2149
- token,
2150
- railOpen,
2151
- railSide = "right",
2152
- onSwapRail,
2153
- waiting = 0,
2154
- health,
2155
- now,
2156
- pluginEntries = [],
2157
- tasks = [],
2158
- projects = [],
2159
- thread = null,
2160
- onPickThread
2161
- /** Which side of the chat the On deck rail docks to. */
2162
- /** Moves the rail to the chat's other side; without it there is no button. */
2163
- /** Items waiting on the captain, for the rail button's dot. */
2164
- /** Plugin entries for the fleet, whose bridge.card cards follow replies that link them. */
2165
- /** The fleet's tasks, whose live previews follow the replies about them. */
2166
- /** The fleet's projects, for the cards' project names. */
2167
- /** The thread being read (a project id, a topic or Unsorted), or null for all. */
2168
- /** Picks the thread to read; without it the chat keeps the choice itself. */
2169
- } = $$props;
2170
- const HEALTH_ICON = {
2171
- success: Circle_check,
2172
- sea: Hand,
2173
- warning: Triangle_alert,
2174
- danger: Circle_x
2175
- };
2176
- const HEALTH_TEXT = {
2177
- success: "text-success",
2178
- sea: "text-sea",
2179
- warning: "text-warning",
2180
- danger: "text-danger"
2181
- };
2182
- const session = derived(() => firstmateChat.session);
2183
- const chat = derived(() => firstmateChat.chat);
2184
- const items = derived(() => chat().items);
2185
- const lastItem = derived(() => items()[items().length - 1]);
2186
- const working = derived(() => firstmateChat.working);
2187
- const picker = derived(() => session()?.canSend ? session().picker : null);
2188
- const menu = derived(() => session()?.canSend ? session().menu : null);
2189
- const signIn = derived(() => session()?.canSend ? session().signIn ?? null : null);
2190
- const inTerminal = derived(() => session()?.canSend ? terminalWait(session()) : null);
2191
- const tool = derived(() => HARNESS_NAMES[session()?.harness ?? "claude"]);
2192
- const waitingOnAnswer = derived(() => !!picker() || !!menu() || !!signIn() || !!inTerminal());
2193
- const held = derived(() => picker() ? "Answer the question above to send your message." : signIn() ? `Sign in to ${tool()} above to send your message.` : inTerminal() ? "Firstmate is waiting for you in its terminal. Open it and answer there to send your message." : menu() ? "Close the menu above to send your message." : null);
2194
- const lastCheck = derived(() => chat().checks[chat().checks.length - 1]);
2195
- const checking = derived(() => !!lastCheck() && !lastCheck().done);
2196
- const HIcon = derived(() => HEALTH_ICON[health.tone]);
2197
- const canSend = derived(() => session()?.canSend === true);
2198
- const via = derived(() => canSend() ? "session" : session()?.state === "external" && currentHealth()?.messaging.available ? "inbox" : null);
2199
- const inboxView = derived(() => inbox.view(page.data.inbox));
2200
- const opened = derived(() => /* @__PURE__ */ new Set([
2201
- ...openedDecisions.ids,
2202
- ...[],
2203
- ...items().flatMap((it) => {
2204
- const d = it.kind === "user" ? parseDiscuss(it.text) : null;
2205
- return d ? [d.cardId] : [];
2206
- }),
2207
- ...firstmateChat.pending.flatMap((p) => {
2208
- const d = parseDiscuss(p.text);
2209
- return d ? [d.cardId] : [];
2210
- })
2211
- ]));
2212
- const decisions = derived(() => inboxView()?.available ? chatDecisions(inboxView().cards, inboxView().answered ?? [], inbox.pending, opened()) : []);
2213
- const allPlaced = derived(() => placeDecisions(items(), decisions()));
2214
- const batches = derived(() => placeBatches(items(), chatBatches(currentMessages()?.messages ?? [])));
2215
- const shown = derived(() => [
2216
- ...[...allPlaced().before.values()].flat(),
2217
- ...allPlaced().end
2218
- ]);
2219
- const decisionIds = derived(() => new Set(shown().map((d) => d.head.cardId)));
2220
- const discussed = derived(() => threads(items(), decisionIds()));
2221
- const asking = derived(() => pendingThreads(firstmateChat.pending));
2222
- const threadOwner = derived(() => {
2223
- const owner = /* @__PURE__ */ new Map();
2224
- for (const d of shown()) {
2225
- const held2 = owner.get(d.head.cardId);
2226
- if (!held2 || !shown().find((x) => x.id === held2)?.card) owner.set(d.head.cardId, d.id);
2227
- }
2228
- return owner;
2229
- });
2230
- const chatPending = derived(() => firstmateChat.pending.filter((p) => {
2231
- const d = parseDiscuss(p.text);
2232
- return !d || !decisionIds().has(d.cardId);
2233
- }));
2234
- const ownPort = derived(() => typeof location !== "undefined" && ["127.0.0.1", "localhost"].includes(location.hostname) ? location.port || (location.protocol === "https:" ? "443" : "80") : null);
2235
- const previews = derived(() => previewCards(items(), tasks, ownPort()));
2236
- const projectName = (id) => !id || id === "unassigned" ? null : projects.find((p) => p.id === id)?.name ?? id;
2237
- const forms = derived(() => chatForms(items(), discussed().hidden, firstmateChat.pending, currentMessages()?.messages ?? []));
2238
- const formLinks = derived(() => {
2239
- const linked2 = /* @__PURE__ */ new Map();
2240
- const earlier = /* @__PURE__ */ new Map();
2241
- const taken = /* @__PURE__ */ new Map();
2242
- for (const [partId, f] of forms()) {
2243
- const d = decisionFor(f.id, decisions());
2244
- if (!d) continue;
2245
- const before = taken.get(d.id);
2246
- if (before) {
2247
- linked2.delete(before);
2248
- earlier.set(before, d);
2249
- }
2250
- linked2.set(partId, d);
2251
- taken.set(d.id, partId);
2252
- }
2253
- return { linked: linked2, earlier };
2254
- });
2255
- const linked = derived(() => formLinks().linked);
2256
- const linkedIds = derived(() => new Set([...linked().values()].map((d) => d.id)));
2257
- const placed = derived(() => ({
2258
- before: new Map([...allPlaced().before].map(([i, ds]) => [i, ds.filter((d) => !linkedIds().has(d.id))]).filter(([, ds]) => ds.length)),
2259
- end: allPlaced().end.filter((d) => !linkedIds().has(d.id))
2260
- }));
2261
- const replyWords = (part) => parseMarkers(vaultRequests(forms().get(part.id)?.words ?? part.text).words).map((s) => s.text).join("\n\n");
2262
- const md = (text) => markdown(vaultRequests(text).words, { docLinks: true });
2263
- const asks = derived(() => vaultAsks(items(), firstmateChat.pending, currentMessages()?.messages ?? []));
2264
- let vaultOpen = false;
2265
- let vaultAsk = null;
2266
- let vaultNotice = null;
2267
- function addSecret(ask) {
2268
- vaultAsk = ask;
2269
- vaultNotice = null;
2270
- vaultOpen = true;
2271
- }
2272
- function secretStored(name, granted) {
2273
- const text = storedText(name, granted);
2274
- if (via() && !held()) {
2275
- void firstmateChat.send(text, via(), token, working() && !waitingOnAnswer());
2276
- return;
2277
- }
2278
- vaultNotice = `${text} Firstmate was not told: ${held() ?? "there is no Firstmate session to send to."}`;
2279
- }
2280
- let ownThread = null;
2281
- const current = derived(() => onPickThread ? thread : ownThread);
2282
- const tagged = derived(() => tagChat(items(), tasks, projects, chatTags.retags));
2283
- const labels = derived(() => projectLabels(projects, aliases.names));
2284
- const threadName = (topic) => topic === UNSORTED ? "Unsorted" : labels().get(topic)?.label ?? topicName(topic);
2285
- const threadHue = (topic) => topic === UNSORTED ? null : labels().get(topic)?.hue ?? hue(topic);
2286
- const decisionTag = (d) => cardTag(`decision:${d.head.cardId}`, d.head.projectId, "decision", chatTags.retags);
2287
- const batchTag = (b) => cardTag(`batch:${b.id}`, tasks.find((t) => t.id === b.batch.taskId)?.projectId, "task", chatTags.retags);
2288
- const previewTag = (taskId, projectId) => cardTag(`preview:${taskId}`, projectId, "task", chatTags.retags);
2289
- function itemTopics(it) {
2290
- if (it.kind === "user") return [tagged().users.get(it.id)?.topic ?? UNSORTED];
2291
- if (it.kind !== "turn") return [UNSORTED];
2292
- const out = /* @__PURE__ */ new Set();
2293
- for (const p of it.parts) {
2294
- if (p.kind !== "text") continue;
2295
- for (const sec of tagged().parts.get(p.id) ?? []) if (!sec.intro) out.add(sec.tag.topic);
2296
- for (const pv of previews().get(p.id) ?? []) if (pv.task) out.add(previewTag(pv.task.id, pv.task.projectId).topic);
2297
- }
2298
- if (!out.size) out.add(tagged().turns.get(it.id)?.topic ?? UNSORTED);
2299
- return [...out];
2300
- }
2301
- const entries = derived(() => {
2302
- const out = [];
2303
- const decision = (d) => out.push({
2304
- key: `d:${d.id}`,
2305
- topics: [decisionTag(d).topic],
2306
- at: d.head.askedAt,
2307
- needs: !!d.card && !d.answer
2308
- });
2309
- const batch = (b) => out.push({
2310
- key: `b:${b.id}`,
2311
- topics: [batchTag(b).topic],
2312
- at: b.at,
2313
- needs: false
2314
- });
2315
- items().forEach((it, i) => {
2316
- for (const d of placed().before.get(i) ?? []) decision(d);
2317
- for (const b of batches().before.get(i) ?? []) batch(b);
2318
- if (!discussed().hidden.has(it.id) && it.kind !== "session") out.push({ key: it.id, topics: itemTopics(it), at: it.at, needs: false });
2319
- });
2320
- for (const d of placed().end) decision(d);
2321
- for (const b of batches().end) batch(b);
2322
- return out;
2323
- });
2324
- const topicsOf = derived(() => new Map(entries().map((e) => [e.key, e.topics])));
2325
- const rows = derived(() => threadRows(entries(), current()));
2326
- const inThread = derived(() => current() ? entries().filter((e) => e.topics.includes(current())).length : entries().length);
2327
- const moveTo = derived(() => {
2328
- const seen = new Set(rows().map((r) => r.topic).filter((t) => t !== UNSORTED));
2329
- const topics = [
2330
- ...seen,
2331
- ...projects.filter((p) => p.registered && !seen.has(p.id)).map((p) => p.id).sort((a, b) => threadName(a).localeCompare(threadName(b))),
2332
- UNSORTED
2333
- ];
2334
- return topics.map((topic) => ({ topic, name: threadName(topic), hue: threadHue(topic) }));
2335
- });
2336
- const runs = derived(() => current() && chatTags.fold ? foldRuns(entries(), current()) : /* @__PURE__ */ new Map());
2337
- let openRuns = {};
2338
- function view(key) {
2339
- const topics = topicsOf().get(key);
2340
- if (!current() || !topics || topics.includes(current())) return "show";
2341
- const run = runs().get(key);
2342
- if (!run) return "hide";
2343
- if (openRuns[run.first]) return "dim";
2344
- return run.first === key ? "line" : "hide";
2345
- }
2346
- function lastTopic(it) {
2347
- if (it.kind === "user") return tagged().users.get(it.id)?.topic ?? null;
2348
- if (it.kind !== "turn") return null;
2349
- for (let pi = it.parts.length - 1; pi >= 0; pi--) {
2350
- const secs = tagged().parts.get(it.parts[pi].id);
2351
- if (secs?.length) return secs[secs.length - 1].tag.topic;
2352
- }
2353
- return tagged().turns.get(it.id)?.topic ?? null;
2354
- }
2355
- function layoutTurn(it, all, grouped, prev) {
2356
- const parts = /* @__PURE__ */ new Map();
2357
- let head2 = null;
2358
- let hidden = 0;
2359
- let first = true;
2360
- for (const p of it.parts) {
2361
- if (p.kind !== "text") continue;
2362
- const every = tagged().parts.get(p.id) ?? [];
2363
- const inCurrent = (x) => !x.intro && x.tag.topic === current();
2364
- const asked = forms().get(p.id);
2365
- const words = asked && parseMarkers(asked.words);
2366
- const own = !words ? every : all ? every.map((s, i) => ({ ...s, text: words[i]?.text ?? "" })) : every.length ? [every.find(inCurrent) || every[0]] : [];
2367
- const filed = all ? own : own.filter(inCurrent);
2368
- const secs = filed.length && own[0]?.intro && !filed.includes(own[0]) ? [own[0], ...filed] : filed;
2369
- hidden += own.length - secs.length - (own[0]?.intro && !secs.length ? 1 : 0);
2370
- let above = null;
2371
- if (secs.length === 1) {
2372
- if (first && !grouped) head2 = secs[0];
2373
- else if (secs[0].tag.topic !== prev) above = secs[0];
2374
- prev = secs[0].tag.topic;
2375
- } else if (secs.length) prev = null;
2376
- if (secs.length) first = false;
2377
- parts.set(p.id, { secs, whole: secs.length === own.length, above });
2378
- }
2379
- if (first && !grouped) head2 = {
2380
- key: `turn:${it.id}`,
2381
- text: "",
2382
- tag: tagged().turns.get(it.id) ?? UNSORTED_TAG,
2383
- intro: false
2384
- };
2385
- return { parts, head: head2, hidden };
2386
- }
2387
- function decide(partId, a, note) {
2388
- const asked = forms().get(partId);
2389
- const text = asked ? answerText(asked.form, a, note) : "";
2390
- if (!text || !via() || held()) return;
2391
- void firstmateChat.send(text, via(), token, working() && !waitingOnAnswer());
2392
- }
2393
- function dismissForm(partId, reason) {
2394
- const asked = forms().get(partId);
2395
- if (!asked || !via() || held()) return;
2396
- void firstmateChat.send(dismissText(asked.form, reason), via(), token, working() && !waitingOnAnswer());
2397
- }
2398
- let showChecks = false;
2399
- let terminalOpen = false;
2400
- let apps = {};
2401
- let collapsedApps = {};
2402
- let openNotice = {};
2403
- let starting = false;
2404
- const GROUP_MS = 5 * 6e4;
2405
- function previousShown(i) {
2406
- let j = i - 1;
2407
- while (j >= 0 && (discussed().hidden.has(items()[j].id) || view(items()[j].id) === "hide")) j--;
2408
- return j;
2409
- }
2410
- function groupedWithPrevious(i) {
2411
- const j = previousShown(i);
2412
- const v = view(items()[i].id);
2413
- if (v !== "show" && runs().get(items()[i].id)?.first === items()[i].id) return false;
2414
- if (j >= 0 && view(items()[j].id) !== v) return false;
2415
- for (let k = j + 1; k <= i; k++) if ((placed().before.get(k) ?? []).some((d) => view(`d:${d.id}`) !== "hide") || (batches().before.get(k) ?? []).some((b2) => view(`b:${b2.id}`) !== "hide")) return false;
2416
- const a = items()[j];
2417
- const b = items()[i];
2418
- if (!a || !b || a.kind !== b.kind || b.kind !== "user" && b.kind !== "turn") return false;
2419
- return Date.parse(b.at) - Date.parse(a.at) <= GROUP_MS;
2420
- }
2421
- const time2 = (at) => {
2422
- const d = new Date(at);
2423
- const clock = d.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" });
2424
- return d.toDateString() === new Date(now).toDateString() ? clock : `${d.toLocaleDateString([], { weekday: "short", day: "numeric", month: "short" })}, ${clock}`;
2425
- };
2426
- const when = (at) => new Date(at).toLocaleString([], {
2427
- weekday: "short",
2428
- day: "numeric",
2429
- month: "short",
2430
- hour: "2-digit",
2431
- minute: "2-digit"
2432
- });
2433
- let searching = false;
2434
- const status = derived(() => {
2435
- if (firstmateChat.connection === "lost") return { dot: "bg-danger", label: "Reconnecting" };
2436
- if (!session()) return { dot: "bg-muted-foreground", label: "Connecting" };
2437
- if (session().state === "external") return { dot: "bg-muted-foreground", label: "Read-only" };
2438
- if (session().state === "starting") return { dot: "animate-pulse bg-sea", label: "Starting" };
2439
- if (session().state !== "ours") return { dot: "bg-muted-foreground", label: "Not running" };
2440
- if (!session().canSend) return { dot: "bg-warning", label: "Restart needed" };
2441
- if (picker()) return { dot: "bg-sea", label: "Asking you" };
2442
- if (signIn()) return { dot: "bg-warning", label: "Waiting on you to sign in" };
2443
- if (inTerminal()) return { dot: "bg-warning", label: "Waiting on you in terminal" };
2444
- if (menu()) return { dot: "bg-sea", label: "Menu open" };
2445
- return working() ? { dot: "animate-pulse bg-working", label: "Working" } : { dot: "bg-success", label: "Waiting for you" };
2446
- });
2447
- let replyTo = null;
2448
- const captainWords = (text) => parseAttachments(parseThread(parseReply(text).body).text).text;
2449
- function original(to, before = items().length) {
2450
- for (let i = Math.min(before, items().length) - 1; i >= 0; i--) {
2451
- const it = items()[i];
2452
- if (to.who === "captain" && it.kind === "user" && quotes(to, captainWords(it.text))) return it.id;
2453
- if (to.who === "firstmate" && it.kind === "turn") for (let pi = it.parts.length - 1; pi >= 0; pi--) {
2454
- const part = it.parts[pi];
2455
- if (part.kind === "text" && quotes(to, replyWords(part))) return part.id;
2456
- }
2457
- }
2458
- return null;
2459
- }
2460
- let revealed = null;
2461
- const isLive = (item, pi) => working() && item === lastItem() && item.kind === "turn" && pi === item.parts.length - 1;
2462
- function replyButton($$renderer3, key, who, text) {
2463
- $$renderer3.push(`<button${attr_class(`reply-btn ${revealed === key ? "is-revealed" : ""}`)}${attr("aria-label", who === "firstmate" ? "Reply to this message from Firstmate" : "Reply to your message")} title="Reply">`);
2464
- Reply($$renderer3, { class: "size-4", "aria-hidden": "true" });
2465
- $$renderer3.push(`<!----></button>`);
2466
- }
2467
- function thumbsButton($$renderer3, key, words) {
2468
- const on = reactions.has(key);
2469
- $$renderer3.push(`<button${attr_class(`reply-btn thumbs-btn ${revealed === key ? "is-revealed" : ""} ${on ? "is-on" : ""}`)}${attr("aria-label", on ? "Take back your thumbs-up" : "Thumbs up this message from Firstmate")}${attr("aria-pressed", on)}${attr("title", on ? "Take back 👍" : "👍")}${attr("disabled", !on && !!held(), true)}>`);
2470
- Thumbs_up($$renderer3, { class: "size-4", "aria-hidden": "true" });
2471
- $$renderer3.push(`<!----></button>`);
2472
- }
2473
- function quote($$renderer3, to, target) {
2474
- $$renderer3.push(`<button${attr_class(`reply-quote reply-quote-${stringify(to.who)}`)}${attr("disabled", !target, true)}${attr("title", target ? "Show the message this replies to" : "That message is no longer in the chat")}><span class="reply-quote-who">${escape_html(to.who === "firstmate" ? "Firstmate" : "You")}</span> <span class="reply-quote-text">${escape_html(to.snippet)}</span></button>`);
2475
- }
2476
- function decisionCard($$renderer3, d, asked) {
2477
- ChatDecision($$renderer3, {
2478
- decision: d,
2479
- project: projectName(d.head.projectId),
2480
- now,
2481
- asked,
2482
- thread: threadOwner().get(d.head.cardId) === d.id ? discussed().byCard.get(d.head.cardId) ?? null : null,
2483
- pending: threadOwner().get(d.head.cardId) === d.id ? asking().get(d.head.cardId) ?? [] : [],
2484
- focus: firstmateChat.synced && composerBus.decision === d.head.cardId && threadOwner().get(d.head.cardId) === d.id
2485
- });
2486
- }
2487
- function decisionRow($$renderer3, d) {
2488
- $$renderer3.push(`<div class="msg msg-firstmate msg-grouped"><span class="msg-gutter" aria-hidden="true"></span> <div class="min-w-0 flex-1"><div class="msg-tagline">`);
2489
- tagOf($$renderer3, decisionTag(d), `decision:${d.head.cardId}`);
2490
- $$renderer3.push(`<!----></div> `);
2491
- decisionCard($$renderer3, d, null);
2492
- $$renderer3.push(`<!----></div></div>`);
2493
- }
2494
- function decisionEntry($$renderer3, d) {
2495
- const key = `d:${d.id}`;
2496
- const v = view(key);
2497
- if (v !== "show" && runs().get(key)?.first === key) {
2498
- $$renderer3.push("<!--[0-->");
2499
- foldLine($$renderer3, runs().get(key));
2500
- } else {
2501
- $$renderer3.push("<!--[-1-->");
2502
- }
2503
- $$renderer3.push(`<!--]--> `);
2504
- if (v === "show" || v === "dim") {
2505
- $$renderer3.push(`<!--[0--><div${attr_class(clsx(v === "dim" ? "thread-dim" : "contents"))}>`);
2506
- decisionRow($$renderer3, d);
2507
- $$renderer3.push(`<!----></div>`);
2508
- } else {
2509
- $$renderer3.push("<!--[-1-->");
2510
- }
2511
- $$renderer3.push(`<!--]-->`);
2512
- }
2513
- function batchEntry($$renderer3, b) {
2514
- const key = `b:${b.id}`;
2515
- const v = view(key);
2516
- if (v !== "show" && runs().get(key)?.first === key) {
2517
- $$renderer3.push("<!--[0-->");
2518
- foldLine($$renderer3, runs().get(key));
2519
- } else {
2520
- $$renderer3.push("<!--[-1-->");
2521
- }
2522
- $$renderer3.push(`<!--]--> `);
2523
- if (v === "show" || v === "dim") {
2524
- $$renderer3.push(`<!--[0--><div${attr_class(`flex flex-col gap-1 ${v === "dim" ? "thread-dim" : ""}`)}><div class="msg-tagline">`);
2525
- tagOf($$renderer3, batchTag(b), `batch:${b.id}`);
2526
- $$renderer3.push(`<!----></div> `);
2527
- FeedbackBatch($$renderer3, {
2528
- batch: b,
2529
- project: projectName(tasks.find((t) => t.id === b.batch.taskId)?.projectId ?? null)
2530
- });
2531
- $$renderer3.push(`<!----></div>`);
2532
- } else {
2533
- $$renderer3.push("<!--[-1-->");
2534
- }
2535
- $$renderer3.push(`<!--]-->`);
2536
- }
2537
- function tagOf($$renderer3, tag, key) {
2538
- ThreadTag($$renderer3, {
2539
- tag,
2540
- threads: moveTo()
2541
- });
2542
- }
2543
- function foldLine($$renderer3, run) {
2544
- $$renderer3.push(`<button class="thread-fold"${attr("aria-expanded", !!openRuns[run.first])}${attr("data-fold", run.first)}>`);
2545
- Chevron_right($$renderer3, {
2546
- class: `size-3.5 shrink-0 transition-transform ${openRuns[run.first] ? "rotate-90" : ""}`,
2547
- "aria-hidden": "true"
2548
- });
2549
- $$renderer3.push(`<!----> <span class="shrink-0">${escape_html(run.count)} ${escape_html(run.count === 1 ? "message" : "messages")} about</span> <span class="flex min-w-0 flex-wrap items-center gap-x-2 gap-y-0.5"><!--[-->`);
2550
- const each_array = ensure_array_like(run.topics);
2551
- for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
2552
- let t = each_array[$$index];
2553
- $$renderer3.push(`<span class="inline-flex items-center gap-1"><span class="thread-dot"${attr("data-hue", threadHue(t) ?? void 0)} aria-hidden="true"></span>${escape_html(threadName(t))}</span>`);
2554
- }
2555
- $$renderer3.push(`<!--]--></span> `);
2556
- if (run.from && run.to) {
2557
- $$renderer3.push(`<!--[0--><span class="tabular ml-auto shrink-0">${escape_html(time2(run.from))}${escape_html(run.to !== run.from ? `–${time2(run.to)}` : "")}</span>`);
2558
- } else {
2559
- $$renderer3.push("<!--[-1-->");
2560
- }
2561
- $$renderer3.push(`<!--]--></button>`);
2562
- }
2563
- let $$settled = true;
2564
- let $$inner_renderer;
2565
- function $$render_inner($$renderer3) {
2566
- $$renderer3.push(`<section class="chat-grid relative flex min-h-0 min-w-0 flex-1 flex-col bg-panel" aria-label="Firstmate">`);
2567
- {
2568
- $$renderer3.push("<!--[-1-->");
2569
- }
2570
- $$renderer3.push(`<!--]--> <div class="border-b"><div class="flex h-14 items-center gap-3 px-4 text-sm sm:px-6 lg:px-10"><span class="text-[1.08rem] font-bold">Firstmate</span> `);
2571
- if (chat().title) {
2572
- $$renderer3.push(`<!--[0--><span class="hidden truncate text-[1.02rem] text-foreground/80 sm:inline">${escape_html(chat().title)}</span>`);
2573
- } else {
2574
- $$renderer3.push("<!--[-1-->");
2575
- }
2576
- $$renderer3.push(`<!--]--> <div class="relative ml-auto shrink-0"><button class="flex h-8.5 cursor-pointer items-center gap-1.5 rounded-full border bg-card/50 px-3 text-xs transition-colors hover:bg-muted max-md:h-11"${attr("aria-expanded", showChecks)} aria-haspopup="dialog">`);
2577
- if (HIcon()) {
2578
- $$renderer3.push("<!--[-->");
2579
- HIcon()($$renderer3, {
2580
- class: `size-3.5 ${stringify(HEALTH_TEXT[health.tone])}`,
2581
- "aria-hidden": "true"
2582
- });
2583
- $$renderer3.push("<!--]-->");
2584
- } else {
2585
- $$renderer3.push("<!--[!-->");
2586
- $$renderer3.push("<!--]-->");
2587
- }
2588
- $$renderer3.push(` <span class="font-medium">${escape_html(health.label)}</span> <span class="hidden text-muted-foreground md:inline">· `);
2589
- if (checking()) {
2590
- $$renderer3.push(`<!--[0--><span class="inline-flex items-center gap-1">`);
2591
- Loader_circle($$renderer3, { class: "size-3 animate-spin", "aria-hidden": "true" });
2592
- $$renderer3.push(`<!---->checking now</span>`);
2593
- } else if (lastCheck()) {
2594
- $$renderer3.push(`<!--[1-->checked ${escape_html(ago(lastCheck().at, now))}`);
2595
- } else {
2596
- $$renderer3.push(`<!--[-1-->no checks yet`);
2597
- }
2598
- $$renderer3.push(`<!--]--></span></button> `);
2599
- {
2600
- $$renderer3.push("<!--[-1-->");
2601
- }
2602
- $$renderer3.push(`<!--]--></div> <span${attr_class(`hidden h-8.5 shrink-0 items-center gap-2 rounded-full md:flex ${status().label === "Working" ? "border border-working/55 bg-working/10 px-3.5 font-medium text-foreground" : "text-muted-foreground"}`)}><span${attr_class(`size-2 rounded-full ${stringify(status().dot)}`)} aria-hidden="true"></span>${escape_html(status().label)}</span> <button${attr_class(`flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-lg border transition-colors hover:bg-muted max-md:size-11 ${"text-muted-foreground"}`)}${attr("aria-label", "Search the chat history")}${attr("aria-pressed", searching)} title="Search every conversation with Firstmate">`);
2603
- Search($$renderer3, { class: "size-4" });
2604
- $$renderer3.push(`<!----></button> `);
2605
- if (session()?.state === "ours") {
2606
- $$renderer3.push(`<!--[0--><button${attr_class(`flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-lg border transition-colors hover:bg-muted max-md:size-11 ${"text-muted-foreground"}`)}${attr("aria-label", "Show Firstmate’s terminal")}${attr("aria-pressed", terminalOpen)} title="Firstmate’s own terminal, for anything the chat cannot show">`);
2607
- Square_terminal($$renderer3, { class: "size-4" });
2608
- $$renderer3.push(`<!----></button>`);
2609
- } else {
2610
- $$renderer3.push("<!--[-1-->");
2611
- }
2612
- $$renderer3.push(`<!--]--> `);
2613
- if (onSwapRail && railOpen) {
2614
- $$renderer3.push(`<!--[0--><button class="hidden size-9 shrink-0 cursor-pointer items-center justify-center rounded-lg border text-muted-foreground transition-colors hover:bg-muted hover:text-foreground lg:flex"${attr("aria-label", railSide === "left" ? "Move On deck to the right" : "Move On deck to the left")}${attr("title", railSide === "left" ? "Move On deck to the right" : "Move On deck to the left")}>`);
2615
- Arrow_left_right($$renderer3, { class: "size-4" });
2616
- $$renderer3.push(`<!----></button>`);
2617
- } else {
2618
- $$renderer3.push("<!--[-1-->");
2619
- }
2620
- $$renderer3.push(`<!--]--> <button class="relative flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-lg border text-muted-foreground transition-colors hover:bg-muted hover:text-foreground max-md:hidden"${attr("aria-label", railOpen ? "Hide tasks and decisions" : "Show tasks and decisions")}${attr("aria-pressed", railOpen)}>`);
2621
- if (railSide === "left") {
2622
- $$renderer3.push("<!--[0-->");
2623
- Panel_left($$renderer3, { class: "size-4" });
2624
- } else {
2625
- $$renderer3.push("<!--[-1-->");
2626
- Panel_right($$renderer3, { class: "size-4" });
2627
- }
2628
- $$renderer3.push(`<!--]--> `);
2629
- if (waiting && !railOpen) {
2630
- $$renderer3.push(`<!--[0--><span class="absolute top-1.5 right-1.5 size-2 rounded-full bg-sea"${attr("aria-label", `${stringify(waiting)} waiting on you`)}></span>`);
2631
- } else {
2632
- $$renderer3.push("<!--[-1-->");
2633
- }
2634
- $$renderer3.push(`<!--]--></button></div></div> `);
2635
- {
2636
- $$renderer3.push("<!--[-1-->");
2637
- }
2638
- $$renderer3.push(`<!--]--> <div class="relative min-h-0 flex-1"><div class="no-scrollbar h-full overflow-y-auto"><div class="flex flex-col gap-6 px-4 pt-8 pb-10 sm:px-6 lg:px-10"><div${attr("data-chat-history", firstmateChat.older)}>`);
2639
- if (firstmateChat.older === "loading") {
2640
- $$renderer3.push(`<!--[0--><p class="history-edge" role="status">`);
2641
- Loader_circle($$renderer3, { class: "size-3.5 animate-spin", "aria-hidden": "true" });
2642
- $$renderer3.push(`<!---->Reading earlier
2643
- messages…</p>`);
2644
- } else if (firstmateChat.older === "failed") {
2645
- $$renderer3.push(`<!--[1--><p class="history-edge" role="alert">Earlier messages could not be read. <button class="cursor-pointer underline underline-offset-2 hover:text-foreground">Try again</button></p>`);
2646
- } else if (firstmateChat.older === "more") {
2647
- $$renderer3.push(`<!--[2--><button class="history-edge cursor-pointer hover:text-foreground">Show earlier messages</button>`);
2648
- } else if (firstmateChat.older === "none" && items().length) {
2649
- $$renderer3.push(`<!--[3--><p class="history-edge">The chat history begins here.</p>`);
2650
- } else if (firstmateChat.older === "unavailable" && firstmateChat.source?.truncated) {
2651
- $$renderer3.push(`<!--[4--><p class="history-edge">Earlier messages are not shown here; the full conversation is in Firstmate’s terminal.</p>`);
2652
- } else {
2653
- $$renderer3.push("<!--[-1-->");
2654
- }
2655
- $$renderer3.push(`<!--]--></div> `);
2656
- if (session()?.state === "ours" && !session().canSend) {
2657
- $$renderer3.push(`<!--[0--><div class="my-8 flex max-w-lg flex-col items-start gap-3 rounded-lg border border-warning/40 bg-warning/5 p-4" role="alert" data-session-recovery=""><p class="font-medium">Restart needed to connect chat</p> <p class="text-sm text-muted-foreground">${escape_html(session().reason)}</p> <button class="cursor-pointer rounded-lg bg-foreground px-4 py-2 text-sm font-medium text-background">Open Firstmate’s terminal</button> <p class="text-sm text-muted-foreground">Exit the coding tool from its prompt. Closing Wheelhouse alone leaves it running. Then
2658
- choose “Start Firstmate here” to launch it with chat connected.</p></div>`);
2659
- } else if (session() && session().state !== "ours" && session().state !== "external") {
2660
- $$renderer3.push(`<!--[1--><div class="my-8 flex max-w-md flex-col items-start gap-3"><p class="font-medium">${escape_html(session().state === "starting" ? "Starting Firstmate…" : "Firstmate is not running")}</p> `);
2661
- if (session().reason && session().state !== "starting") {
2662
- $$renderer3.push(`<!--[0--><p class="text-sm text-muted-foreground">${escape_html(session().reason)}</p>`);
2663
- } else {
2664
- $$renderer3.push("<!--[-1-->");
2665
- }
2666
- $$renderer3.push(`<!--]--> `);
2667
- if (session().state === "none") {
2668
- $$renderer3.push(`<!--[0--><button class="flex cursor-pointer items-center gap-2 rounded-lg bg-foreground px-4 py-2 text-sm font-medium text-background disabled:opacity-50"${attr("disabled", starting, true)}>`);
2669
- {
2670
- $$renderer3.push("<!--[-1-->");
2671
- }
2672
- $$renderer3.push(`<!--]-->Start Firstmate here</button> <p class="text-xs text-muted-foreground">It runs in Firstmate’s checkout${escape_html(session().skipPermissions ? " with --dangerously-skip-permissions" : "")}, inside a tmux session that keeps going when you close Wheelhouse.</p> `);
2673
- {
2674
- $$renderer3.push("<!--[-1-->");
2675
- }
2676
- $$renderer3.push(`<!--]-->`);
2677
- } else {
2678
- $$renderer3.push("<!--[-1-->");
2679
- }
2680
- $$renderer3.push(`<!--]--></div>`);
2681
- } else if (!items().length) {
2682
- $$renderer3.push(`<!--[2--><p class="py-20 text-sm text-muted-foreground">${escape_html(session() ? "No messages yet. Say hello to Firstmate." : "Reading the conversation…")}</p>`);
2683
- } else {
2684
- $$renderer3.push("<!--[-1-->");
2685
- }
2686
- $$renderer3.push(`<!--]--> `);
2687
- if (current()) {
2688
- $$renderer3.push(`<!--[0--><div class="thread-note" role="status" data-thread-note=""><p>Showing the <b>${escape_html(threadName(current()))}</b> thread: ${escape_html(inThread())} of ${escape_html(entries().length)}
2689
- ${escape_html(entries().length === 1 ? "message" : "messages")}.${escape_html(current() !== UNSORTED ? " What you send from here is sent in it." : "")}</p> <div class="flex flex-wrap items-center gap-x-4 gap-y-1"><label class="flex cursor-pointer items-center gap-1.5"><input type="checkbox" class="accent-sea"${attr("checked", chatTags.fold, true)}/>Fold other threads to a line</label> <button class="cursor-pointer font-medium text-sea hover:underline">Show all threads</button></div></div>`);
2690
- } else {
2691
- $$renderer3.push("<!--[-1-->");
2692
- }
2693
- $$renderer3.push(`<!--]--> <!--[-->`);
2694
- const each_array_3 = ensure_array_like(items());
2695
- for (let i = 0, $$length = each_array_3.length; i < $$length; i++) {
2696
- let item = each_array_3[i];
2697
- const grouped = groupedWithPrevious(i);
2698
- const v = view(item.id);
2699
- $$renderer3.push(`<!--[-->`);
2700
- const each_array_4 = ensure_array_like(placed().before.get(i) ?? []);
2701
- for (let $$index_3 = 0, $$length2 = each_array_4.length; $$index_3 < $$length2; $$index_3++) {
2702
- let d = each_array_4[$$index_3];
2703
- decisionEntry($$renderer3, d);
2704
- }
2705
- $$renderer3.push(`<!--]--> <!--[-->`);
2706
- const each_array_5 = ensure_array_like(batches().before.get(i) ?? []);
2707
- for (let $$index_4 = 0, $$length2 = each_array_5.length; $$index_4 < $$length2; $$index_4++) {
2708
- let b = each_array_5[$$index_4];
2709
- batchEntry($$renderer3, b);
2710
- }
2711
- $$renderer3.push(`<!--]--> `);
2712
- if (discussed().hidden.has(item.id)) {
2713
- $$renderer3.push("<!--[0-->");
2714
- } else if (v !== "show" && runs().get(item.id)?.first === item.id) {
2715
- $$renderer3.push("<!--[1-->");
2716
- foldLine($$renderer3, runs().get(item.id));
2717
- } else {
2718
- $$renderer3.push("<!--[-1-->");
2719
- }
2720
- $$renderer3.push(`<!--]--> `);
2721
- if (discussed().hidden.has(item.id) || v === "hide" || v === "line") {
2722
- $$renderer3.push("<!--[0-->");
2723
- } else if (item.kind === "user") {
2724
- $$renderer3.push("<!--[1-->");
2725
- const reply = parseReply(item.text);
2726
- const sent = parseAttachments(parseThread(reply.body).text);
2727
- const tag = tagged().users.get(item.id) ?? UNSORTED_TAG;
2728
- const prevAt = previousShown(i);
2729
- $$renderer3.push(`<article${attr_class(`msg msg-captain ${grouped ? "msg-grouped" : ""} ${v === "dim" ? "thread-dim" : ""}`)}${attr("aria-label", `You, ${stringify(time2(item.at))}`)}>`);
2730
- if (grouped) {
2731
- $$renderer3.push(`<!--[0--><span class="msg-gutter" aria-hidden="true"></span>`);
2732
- } else {
2733
- $$renderer3.push(`<!--[-1--><span class="captain-avatar">C</span>`);
2734
- }
2735
- $$renderer3.push(`<!--]--> <div class="min-w-0 flex-1">`);
2736
- if (!grouped) {
2737
- $$renderer3.push(`<!--[0--><header class="msg-head"><span class="msg-name">You</span><time${attr("datetime", item.at)}>${escape_html(time2(item.at))}</time> `);
2738
- if (item.queued) {
2739
- $$renderer3.push(`<!--[0--><span>· sent while Firstmate was working</span>`);
2740
- } else {
2741
- $$renderer3.push("<!--[-1-->");
2742
- }
2743
- $$renderer3.push(`<!--]--> `);
2744
- tagOf($$renderer3, tag, item.id);
2745
- $$renderer3.push(`<!----></header>`);
2746
- } else if (prevAt < 0 || lastTopic(items()[prevAt]) !== tag.topic) {
2747
- $$renderer3.push(`<!--[1--><div class="msg-tagline">`);
2748
- tagOf($$renderer3, tag, item.id);
2749
- $$renderer3.push(`<!----></div>`);
2750
- } else {
2751
- $$renderer3.push("<!--[-1-->");
2752
- }
2753
- $$renderer3.push(`<!--]--> `);
2754
- if (reply.to || sent.text) {
2755
- $$renderer3.push(`<!--[0--><div class="bubble-row"><div${attr_class(`bubble bubble-captain ${item.command ? "font-mono text-sm" : ""}`)}${attr("data-bubble", item.id)}>`);
2756
- if (reply.to) {
2757
- $$renderer3.push("<!--[0-->");
2758
- quote($$renderer3, reply.to, original(reply.to, i));
2759
- } else {
2760
- $$renderer3.push("<!--[-1-->");
2761
- }
2762
- $$renderer3.push(`<!--]-->`);
2763
- captainText($$renderer3, sent.text, true);
2764
- $$renderer3.push(`<!----></div> `);
2765
- if (via() && !item.command) {
2766
- $$renderer3.push("<!--[0-->");
2767
- replyButton($$renderer3, item.id, "captain", item.text);
2768
- } else {
2769
- $$renderer3.push("<!--[-1-->");
2770
- }
2771
- $$renderer3.push(`<!--]--></div>`);
2772
- } else {
2773
- $$renderer3.push("<!--[-1-->");
2774
- }
2775
- $$renderer3.push(`<!--]--> `);
2776
- if (sent.files.length) {
2777
- $$renderer3.push("<!--[0-->");
2778
- SentFiles($$renderer3, { files: sent.files });
2779
- } else {
2780
- $$renderer3.push("<!--[-1-->");
2781
- }
2782
- $$renderer3.push(`<!--]--></div></article>`);
2783
- } else if (item.kind === "session") {
2784
- $$renderer3.push(`<!--[2--><div class="session-divider" role="separator"${attr("aria-label", `${item.first ? "Firstmate session started" : "Firstmate restarted"}, ${stringify(when(item.at))}`)} data-session-divider=""><span>${escape_html(item.first ? "Firstmate session started" : "Firstmate restarted")} · <time${attr("datetime", item.at)}>${escape_html(when(item.at))}</time></span></div>`);
2785
- } else if (item.kind === "output") {
2786
- $$renderer3.push(`<!--[3--><pre${attr_class(`no-scrollbar max-h-80 max-w-[80ch] overflow-auto rounded-lg bg-muted/60 p-3 font-mono text-xs whitespace-pre-wrap text-muted-foreground ${v === "dim" ? "thread-dim" : ""}`)}>${escape_html(item.text)}</pre>`);
2787
- } else if (item.kind === "notice") {
2788
- $$renderer3.push(`<!--[4--><div${attr_class(`flex flex-col items-start ${v === "dim" ? "thread-dim" : ""}`)}><button class="-ml-3 flex max-w-full cursor-pointer items-center gap-2 rounded-full px-3 py-1 text-xs text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"${attr("aria-expanded", !!openNotice[item.id])}>`);
2789
- Bell($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
2790
- $$renderer3.push(`<!----> <span class="truncate">${escape_html(item.title)} · ${escape_html(time2(item.at))}</span> `);
2791
- Chevron_right($$renderer3, {
2792
- class: `size-3.5 shrink-0 transition-transform ${openNotice[item.id] ? "rotate-90" : ""}`,
2793
- "aria-hidden": "true"
2794
- });
2795
- $$renderer3.push(`<!----></button> `);
2796
- if (openNotice[item.id]) {
2797
- $$renderer3.push(`<!--[0--><div class="mt-2 w-full max-w-[80ch] rounded-lg border bg-card px-4 py-3 text-sm whitespace-pre-wrap text-muted-foreground">`);
2798
- LinkedText($$renderer3, { text: item.detail });
2799
- $$renderer3.push(`<!----></div>`);
2800
- } else {
2801
- $$renderer3.push("<!--[-1-->");
2802
- }
2803
- $$renderer3.push(`<!--]--></div>`);
2804
- } else {
2805
- $$renderer3.push("<!--[-1-->");
2806
- const prevAt = previousShown(i);
2807
- const lay = layoutTurn(item, v === "dim" || !current(), grouped, prevAt >= 0 ? lastTopic(items()[prevAt]) : null);
2808
- $$renderer3.push(`<article${attr_class(`msg msg-firstmate ${grouped ? "msg-grouped" : ""} ${v === "dim" ? "thread-dim" : ""}`)}${attr("aria-label", `Firstmate, ${stringify(time2(item.at))}`)}>`);
2809
- if (grouped) {
2810
- $$renderer3.push(`<!--[0--><span class="msg-gutter" aria-hidden="true"></span>`);
2811
- } else {
2812
- $$renderer3.push("<!--[-1-->");
2813
- Avatar($$renderer3, { class: "msg-avatar size-8" });
2814
- }
2815
- $$renderer3.push(`<!--]--> <div class="flex min-w-0 flex-1 flex-col gap-2">`);
2816
- if (!grouped) {
2817
- $$renderer3.push(`<!--[0--><header class="msg-head"><span class="msg-name">Firstmate</span><time${attr("datetime", item.at)}>${escape_html(time2(item.at))}</time> `);
2818
- if (lay.head) {
2819
- $$renderer3.push("<!--[0-->");
2820
- tagOf($$renderer3, lay.head.tag, lay.head.key);
2821
- } else {
2822
- $$renderer3.push("<!--[-1-->");
2823
- }
2824
- $$renderer3.push(`<!--]--></header>`);
2825
- } else {
2826
- $$renderer3.push("<!--[-1-->");
2827
- }
2828
- $$renderer3.push(`<!--]--> <!--[-->`);
2829
- const each_array_6 = ensure_array_like(item.parts);
2830
- for (let pi = 0, $$length2 = each_array_6.length; pi < $$length2; pi++) {
2831
- let part = each_array_6[pi];
2832
- if (part.kind === "text") {
2833
- $$renderer3.push("<!--[0-->");
2834
- const asked = forms().get(part.id);
2835
- const words = replyWords(part);
2836
- const shown2 = lay.parts.get(part.id);
2837
- const tracked = linked().get(part.id);
2838
- const again = formLinks().earlier.get(part.id);
2839
- if (shown2?.above) {
2840
- $$renderer3.push(`<!--[0--><div class="msg-tagline -mb-1">`);
2841
- tagOf($$renderer3, shown2.above.tag, shown2.above.key);
2842
- $$renderer3.push(`<!----></div>`);
2843
- } else {
2844
- $$renderer3.push("<!--[-1-->");
2845
- }
2846
- $$renderer3.push(`<!--]--> `);
2847
- if (words && shown2?.secs.length) {
2848
- $$renderer3.push("<!--[0-->");
2849
- const brief = isBriefing(words);
2850
- $$renderer3.push(`<div class="bubble-row"><div${attr_class(`chat-md bubble bubble-firstmate ${brief ? "bubble-brief" : ""}`)}${attr("data-bubble", part.id)}${attr("data-briefing", brief || void 0)}>`);
2851
- if (brief) {
2852
- $$renderer3.push(`<!--[0--><div class="brief-head"><span class="brief-tag">Briefing</span><span class="truncate">Firstmate${escape_html(chat().title ? ` · ${chat().title}` : "")}</span></div>`);
2853
- } else {
2854
- $$renderer3.push("<!--[-1-->");
2855
- }
2856
- $$renderer3.push(`<!--]--> `);
2857
- if (shown2.secs.length > 1) {
2858
- $$renderer3.push(`<!--[0--><!--[-->`);
2859
- const each_array_7 = ensure_array_like(shown2.secs);
2860
- for (let $$index_5 = 0, $$length3 = each_array_7.length; $$index_5 < $$length3; $$index_5++) {
2861
- let sec = each_array_7[$$index_5];
2862
- if (sec.intro) {
2863
- $$renderer3.push(`<!--[0--><div class="mb-3">${html(md(sec.text))}</div>`);
2864
- } else {
2865
- $$renderer3.push(`<!--[-1--><div class="thread-section"${attr("data-hue", threadHue(sec.tag.topic) ?? void 0)}><div class="mb-1">`);
2866
- tagOf($$renderer3, sec.tag, sec.key);
2867
- $$renderer3.push(`<!----></div> ${html(md(sec.text))}</div>`);
2868
- }
2869
- $$renderer3.push(`<!--]-->`);
2870
- }
2871
- $$renderer3.push(`<!--]-->`);
2872
- } else {
2873
- $$renderer3.push(`<!--[-1-->${html(md(shown2.whole ? words : shown2.secs[0].text))}`);
2874
- }
2875
- $$renderer3.push(`<!--]-->`);
2876
- if (reactions.has(part.id)) {
2877
- $$renderer3.push(`<!--[0--><span class="thumbs-mark" role="img" aria-label="You gave this a thumbs-up">👍</span>`);
2878
- } else {
2879
- $$renderer3.push("<!--[-1-->");
2880
- }
2881
- $$renderer3.push(`<!--]--></div> `);
2882
- if (via()) {
2883
- $$renderer3.push("<!--[0-->");
2884
- replyButton($$renderer3, part.id, "firstmate");
2885
- $$renderer3.push(`<!---->`);
2886
- thumbsButton($$renderer3, part.id);
2887
- $$renderer3.push(`<!---->`);
2888
- } else {
2889
- $$renderer3.push("<!--[-1-->");
2890
- }
2891
- $$renderer3.push(`<!--]--></div>`);
2892
- } else {
2893
- $$renderer3.push("<!--[-1-->");
2894
- }
2895
- $$renderer3.push(`<!--]--> `);
2896
- if (asked && tracked && shown2?.secs.length) {
2897
- $$renderer3.push("<!--[0-->");
2898
- decisionCard($$renderer3, tracked, asked.form);
2899
- } else if (asked && again && shown2?.secs.length) {
2900
- $$renderer3.push(`<!--[1--><p class="flex w-full max-w-[min(100%,40rem)] items-center gap-1.5 rounded-lg border bg-card/60 px-4 py-2 text-xs text-muted-foreground sm:px-5" data-chat-form="replaced"${attr("data-asked-again", again.id)}>`);
2901
- Message_circle_question_mark($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
2902
- $$renderer3.push(`<!----><span>Firstmate asked this decision again below: “${escape_html(again.card?.title ?? again.head.question)}”</span></p>`);
2903
- } else if (asked && shown2?.secs.length) {
2904
- $$renderer3.push(`<!--[2--><div${attr_class(`w-full max-w-[min(100%,40rem)] rounded-lg border border-dashed bg-card/60 px-4 pt-2 pb-3 sm:px-5 ${asked.active ? "border-sea/60" : ""}`)}${attr("data-chat-form", asked.active ? "open" : asked.decided !== null ? "answered" : asked.dismissed !== null ? "dismissed" : "replaced")} data-quick-question=""><p class="flex items-center gap-1.5 text-xs text-muted-foreground" title="Asked here only: it is not on the Decisions page, and answering it closes nothing there">`);
2905
- Message_circle_question_mark($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
2906
- $$renderer3.push(`<!----><span>Quick question · not a tracked decision</span></p> `);
2907
- DecisionForm($$renderer3, {
2908
- form: asked.form,
2909
- name: part.id,
2910
- canAnswer: asked.active && !!via() && !held(),
2911
- decided: asked.decided,
2912
- dismissed: asked.dismissed,
2913
- onAnswer: (a, note) => decide(part.id, a, note),
2914
- onDismiss: (reason) => dismissForm(part.id, reason)
2915
- });
2916
- $$renderer3.push(`<!----> `);
2917
- if (!asked.active && asked.decided === null && asked.dismissed === null) {
2918
- $$renderer3.push(`<!--[0--><p class="mt-2 text-xs text-muted-foreground">A later question from Firstmate replaced this one.</p>`);
2919
- } else {
2920
- $$renderer3.push("<!--[-1-->");
2921
- }
2922
- $$renderer3.push(`<!--]--></div>`);
2923
- } else {
2924
- $$renderer3.push("<!--[-1-->");
2925
- }
2926
- $$renderer3.push(`<!--]--> `);
2927
- if (shown2?.secs.length) {
2928
- $$renderer3.push(`<!--[0--><!--[-->`);
2929
- const each_array_8 = ensure_array_like(asks().get(part.id) ?? []);
2930
- for (let ai = 0, $$length3 = each_array_8.length; ai < $$length3; ai++) {
2931
- let a = each_array_8[ai];
2932
- $$renderer3.push(`<div${attr_class(`flex w-full max-w-[min(100%,40rem)] items-start gap-3 rounded-lg border border-l-[3px] bg-card px-4 py-3 ${a.stored ? "border-l-success/70" : "border-l-brass"}`)}${attr("data-vault-request", a.stored ? "stored" : "open")}>`);
2933
- Key_round($$renderer3, {
2934
- class: "mt-0.5 size-4 shrink-0 text-brass",
2935
- "aria-hidden": "true"
2936
- });
2937
- $$renderer3.push(`<!----> <div class="min-w-0 flex-1"><p class="text-sm">Firstmate asks for <span class="font-mono font-medium">${escape_html(a.request.name)}</span></p> `);
2938
- if (a.request.purpose) {
2939
- $$renderer3.push(`<!--[0--><p class="mt-0.5 text-sm text-muted-foreground">${escape_html(a.request.purpose)}</p>`);
2940
- } else {
2941
- $$renderer3.push("<!--[-1-->");
2942
- }
2943
- $$renderer3.push(`<!--]--> `);
2944
- if (a.stored) {
2945
- $$renderer3.push(`<!--[0--><p class="mt-1 flex items-center gap-1 text-xs text-muted-foreground">`);
2946
- Circle_check($$renderer3, { class: "size-3.5 text-success", "aria-hidden": "true" });
2947
- $$renderer3.push(`<!---->Stored in the vault</p>`);
2948
- } else {
2949
- $$renderer3.push("<!--[-1-->");
2950
- }
2951
- $$renderer3.push(`<!--]--></div> <button type="button" class="shrink-0 cursor-pointer rounded-md border px-3 py-1.5 text-sm transition-colors hover:bg-muted">${escape_html(a.stored ? "Store again…" : `Add ${a.request.name}…`)}</button></div>`);
2952
- }
2953
- $$renderer3.push(`<!--]--> <!--[-->`);
2954
- const each_array_9 = ensure_array_like(matchBridgeCards(part.text, pluginEntries));
2955
- for (let $$index_7 = 0, $$length3 = each_array_9.length; $$index_7 < $$length3; $$index_7++) {
2956
- let { entry, card } = each_array_9[$$index_7];
2957
- $$renderer3.push(`<div class="max-w-[80ch] rounded-xl border bg-card p-4" data-slot="bridge.card"><p class="font-medium">${escape_html(card.title)}</p> <div class="mt-2">`);
2958
- Blocks($$renderer3, { blocks: card.blocks });
2959
- $$renderer3.push(`<!----></div></div>`);
2960
- }
2961
- $$renderer3.push(`<!--]-->`);
2962
- } else {
2963
- $$renderer3.push("<!--[-1-->");
2964
- }
2965
- $$renderer3.push(`<!--]--> <!--[-->`);
2966
- const each_array_10 = ensure_array_like(previews().get(part.id) ?? []);
2967
- for (let $$index_8 = 0, $$length3 = each_array_10.length; $$index_8 < $$length3; $$index_8++) {
2968
- let pv = each_array_10[$$index_8];
2969
- if (!pv.task) {
2970
- $$renderer3.push("<!--[0-->");
2971
- ChatPreview($$renderer3, { preview: pv, now });
2972
- } else {
2973
- $$renderer3.push("<!--[-1-->");
2974
- const ptag = previewTag(pv.task.id, pv.task.projectId);
2975
- if (v === "dim" || !current() || ptag.topic === current()) {
2976
- $$renderer3.push(`<!--[0--><div class="flex flex-col gap-1"><div class="msg-tagline">`);
2977
- tagOf($$renderer3, ptag, `preview:${pv.task.id}`);
2978
- $$renderer3.push(`<!----></div> `);
2979
- ChatPreview($$renderer3, { preview: pv, project: projectName(pv.task.projectId), now });
2980
- $$renderer3.push(`<!----></div>`);
2981
- } else {
2982
- $$renderer3.push("<!--[-1-->");
2983
- }
2984
- $$renderer3.push(`<!--]-->`);
2985
- }
2986
- $$renderer3.push(`<!--]-->`);
2987
- }
2988
- $$renderer3.push(`<!--]-->`);
2989
- } else if (part.kind === "question") {
2990
- $$renderer3.push("<!--[1-->");
2991
- QuestionCard($$renderer3, { part });
2992
- } else {
2993
- $$renderer3.push("<!--[-1-->");
2994
- Activity($$renderer3, { steps: part.steps, live: isLive(item, pi) });
2995
- $$renderer3.push(`<!----> <!--[-->`);
2996
- const each_array_11 = ensure_array_like(part.steps);
2997
- for (let $$index_9 = 0, $$length3 = each_array_11.length; $$index_9 < $$length3; $$index_9++) {
2998
- let step = each_array_11[$$index_9];
2999
- if (apps[step.id]) {
3000
- $$renderer3.push("<!--[0-->");
3001
- var bind_get = () => !collapsedApps[step.id];
3002
- var bind_set = (v2) => collapsedApps[step.id] = !v2;
3003
- ChatApp($$renderer3, {
3004
- id: step.id,
3005
- app: apps[step.id],
3006
- get open() {
3007
- return bind_get();
3008
- },
3009
- set open($$value) {
3010
- bind_set($$value);
3011
- }
3012
- });
3013
- } else {
3014
- $$renderer3.push("<!--[-1-->");
3015
- }
3016
- $$renderer3.push(`<!--]-->`);
3017
- }
3018
- $$renderer3.push(`<!--]-->`);
3019
- }
3020
- $$renderer3.push(`<!--]-->`);
3021
- }
3022
- $$renderer3.push(`<!--]--> `);
3023
- if (lay.hidden) {
3024
- $$renderer3.push(`<!--[0--><span class="text-xs text-muted-foreground" data-other-threads="">+ ${escape_html(lay.hidden)}
3025
- ${escape_html(lay.hidden === 1 ? "part" : "parts")} about other threads</span>`);
3026
- } else {
3027
- $$renderer3.push("<!--[-1-->");
3028
- }
3029
- $$renderer3.push(`<!--]--> `);
3030
- if (item.interrupted) {
3031
- $$renderer3.push(`<!--[0--><span class="text-xs text-muted-foreground">Stopped</span>`);
3032
- } else if (item.done && item.durationMs) {
3033
- $$renderer3.push(`<!--[1--><span class="worked-for">Worked for ${escape_html(duration(item.durationMs))}</span>`);
3034
- } else {
3035
- $$renderer3.push("<!--[-1-->");
3036
- }
3037
- $$renderer3.push(`<!--]--></div></article>`);
3038
- }
3039
- $$renderer3.push(`<!--]-->`);
3040
- }
3041
- $$renderer3.push(`<!--]--> <!--[-->`);
3042
- const each_array_12 = ensure_array_like(placed().end);
3043
- for (let $$index_12 = 0, $$length = each_array_12.length; $$index_12 < $$length; $$index_12++) {
3044
- let d = each_array_12[$$index_12];
3045
- decisionEntry($$renderer3, d);
3046
- }
3047
- $$renderer3.push(`<!--]--> <!--[-->`);
3048
- const each_array_13 = ensure_array_like(batches().end);
3049
- for (let $$index_13 = 0, $$length = each_array_13.length; $$index_13 < $$length; $$index_13++) {
3050
- let b = each_array_13[$$index_13];
3051
- batchEntry($$renderer3, b);
3052
- }
3053
- $$renderer3.push(`<!--]--> <!--[-->`);
3054
- const each_array_14 = ensure_array_like(chatPending());
3055
- for (let pi = 0, $$length = each_array_14.length; pi < $$length; pi++) {
3056
- let p = each_array_14[pi];
3057
- const grouped = pi > 0 || lastItem()?.kind === "user";
3058
- const reply = parseReply(p.text);
3059
- const sent = parseAttachments(parseThread(reply.body).text);
3060
- $$renderer3.push(`<article${attr_class(`msg msg-captain ${grouped ? "msg-grouped" : ""}`)}${attr("data-pending", p.state)}${attr("aria-label", `You, ${stringify(pendingLabel(p))}`)}>`);
3061
- if (grouped) {
3062
- $$renderer3.push(`<!--[0--><span class="msg-gutter" aria-hidden="true"></span>`);
3063
- } else {
3064
- $$renderer3.push(`<!--[-1--><span class="captain-avatar">C</span>`);
3065
- }
3066
- $$renderer3.push(`<!--]--> <div class="min-w-0 flex-1">`);
3067
- if (!grouped) {
3068
- $$renderer3.push(`<!--[0--><header class="msg-head"><span class="msg-name">You</span></header>`);
3069
- } else {
3070
- $$renderer3.push("<!--[-1-->");
3071
- }
3072
- $$renderer3.push(`<!--]--> `);
3073
- if (reply.to || sent.text) {
3074
- $$renderer3.push(`<!--[0--><div${attr_class(`bubble bubble-captain border-dashed ${p.state === "failed" ? "border-danger/60" : "opacity-60"}`)}>`);
3075
- if (reply.to) {
3076
- $$renderer3.push("<!--[0-->");
3077
- quote($$renderer3, reply.to, original(reply.to));
3078
- } else {
3079
- $$renderer3.push("<!--[-1-->");
3080
- }
3081
- $$renderer3.push(`<!--]-->`);
3082
- captainText($$renderer3, sent.text, false);
3083
- $$renderer3.push(`<!----></div>`);
3084
- } else {
3085
- $$renderer3.push("<!--[-1-->");
3086
- }
3087
- $$renderer3.push(`<!--]--> `);
3088
- if (sent.files.length) {
3089
- $$renderer3.push("<!--[0-->");
3090
- SentFiles($$renderer3, { files: sent.files, pending: true });
3091
- } else {
3092
- $$renderer3.push("<!--[-1-->");
3093
- }
3094
- $$renderer3.push(`<!--]--> <p${attr_class(`mt-1.5 flex flex-wrap items-center gap-1.5 text-xs ${p.state === "failed" ? "text-danger" : "text-muted-foreground"}`)} role="status">`);
3095
- if (p.state === "failed") {
3096
- $$renderer3.push("<!--[0-->");
3097
- Circle_x($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
3098
- $$renderer3.push(`<!---->${escape_html(pendingLabel(p))} <button class="ml-1 inline-flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 font-medium text-foreground hover:bg-muted">`);
3099
- Rotate_cw($$renderer3, { class: "size-3", "aria-hidden": "true" });
3100
- $$renderer3.push(`<!---->Retry</button> <button class="cursor-pointer rounded px-1.5 py-0.5 text-muted-foreground hover:bg-muted">Discard</button>`);
3101
- } else {
3102
- $$renderer3.push("<!--[-1-->");
3103
- Loader_circle($$renderer3, { class: "size-3 animate-spin", "aria-hidden": "true" });
3104
- $$renderer3.push(`<!---->${escape_html(pendingLabel(p))}`);
3105
- }
3106
- $$renderer3.push(`<!--]--></p></div></article>`);
3107
- }
3108
- $$renderer3.push(`<!--]--> `);
3109
- if (picker()) {
3110
- $$renderer3.push("<!--[0-->");
3111
- PickerCard($$renderer3, { picker: picker() });
3112
- } else if (signIn()) {
3113
- $$renderer3.push("<!--[1-->");
3114
- SignInCard($$renderer3, {
3115
- signIn: signIn(),
3116
- tool: tool()
3117
- });
3118
- } else if (inTerminal()) {
3119
- $$renderer3.push("<!--[2-->");
3120
- TerminalNotice($$renderer3, {
3121
- detail: inTerminal().detail,
3122
- tool: tool()
3123
- });
3124
- } else if (menu()) {
3125
- $$renderer3.push("<!--[3-->");
3126
- MenuCard($$renderer3, { menu: menu(), tool: tool() });
3127
- } else if (working()) {
3128
- $$renderer3.push(`<!--[4--><div class="flex gap-1 py-1" aria-label="Firstmate is working" role="status"><span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.3s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.15s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground"></span></div>`);
3129
- } else {
3130
- $$renderer3.push("<!--[-1-->");
3131
- }
3132
- $$renderer3.push(`<!--]--></div></div> `);
3133
- {
3134
- $$renderer3.push("<!--[-1-->");
3135
- }
3136
- $$renderer3.push(`<!--]--> `);
3137
- {
3138
- $$renderer3.push("<!--[-1-->");
3139
- }
3140
- $$renderer3.push(`<!--]--></div> <div class="bg-panel px-4 pb-4 sm:px-6 lg:px-10">`);
3141
- if (vaultNotice) {
3142
- $$renderer3.push(`<!--[0--><p class="mb-2 flex items-start gap-2 rounded-md border border-success/40 bg-success/5 px-3 py-2 text-sm" role="status" data-vault-notice=""><span class="min-w-0 flex-1">${escape_html(vaultNotice)}</span> <button class="-my-0.5 shrink-0 cursor-pointer rounded p-0.5 text-muted-foreground hover:text-foreground" aria-label="Dismiss">`);
3143
- X($$renderer3, { class: "size-4" });
3144
- $$renderer3.push(`<!----></button></p>`);
3145
- } else {
3146
- $$renderer3.push("<!--[-1-->");
3147
- }
3148
- $$renderer3.push(`<!--]--> `);
3149
- Composer($$renderer3, {
3150
- onvault: () => addSecret(null),
3151
- via: via(),
3152
- reason: session()?.state === "ours" && !session().canSend ? "Open the terminal above to reconnect chat." : session()?.reason ?? null,
3153
- working: working() && !waitingOnAnswer(),
3154
- held: held(),
3155
- commands: firstmateChat.commands,
3156
- reply: replyTo,
3157
- thread: current() && current() !== UNSORTED ? {
3158
- topic: current(),
3159
- name: threadName(current()),
3160
- hue: threadHue(current())
3161
- } : null,
3162
- threads: moveTo().filter((t) => t.topic !== UNSORTED)
3163
- });
3164
- $$renderer3.push(`<!----></div> `);
3165
- VaultAdd($$renderer3, {
3166
- ask: vaultAsk,
3167
- projects: projects.map((p) => p.id),
3168
- token,
3169
- onstored: secretStored,
3170
- get open() {
3171
- return vaultOpen;
3172
- },
3173
- set open($$value) {
3174
- vaultOpen = $$value;
3175
- $$settled = false;
3176
- }
3177
- });
3178
- $$renderer3.push(`<!----></section>`);
3179
- }
3180
- do {
3181
- $$settled = true;
3182
- $$inner_renderer = $$renderer2.copy();
3183
- $$render_inner($$inner_renderer);
3184
- } while (!$$settled);
3185
- $$renderer2.subsume($$inner_renderer);
3186
- });
3187
- }
3188
- const RAIL_SIDE_KEY = "wheelhouse-ondeck-side";
3189
- function parseRailSide(raw) {
3190
- return raw === "right" ? "right" : "left";
3191
- }
3192
- class HomeLayout {
3193
- side = "left";
3194
- load() {
3195
- try {
3196
- this.side = parseRailSide(localStorage.getItem(RAIL_SIDE_KEY));
3197
- } catch {
3198
- }
3199
- }
3200
- swap() {
3201
- this.side = this.side === "left" ? "right" : "left";
3202
- try {
3203
- localStorage.setItem(RAIL_SIDE_KEY, this.side);
3204
- } catch {
3205
- }
3206
- }
3207
- }
3208
- const homeLayout = new HomeLayout();
3209
- function _page($$renderer, $$props) {
3210
- $$renderer.component(($$renderer2) => {
3211
- let { data } = $$props;
3212
- const fleet = derived(currentFleet);
3213
- const scope = derived(() => page.url.searchParams.get("project"));
3214
- const thread = derived(() => page.url.searchParams.get("thread") ?? scope());
3215
- function pickThread(topic) {
3216
- const project = topic && fleet()?.projects.some((p) => p.id === topic);
3217
- const q = !topic ? "" : project ? `?project=${encodeURIComponent(topic)}` : `?thread=${encodeURIComponent(topic)}`;
3218
- void goto(`/${q}`, {});
3219
- }
3220
- const tasks = derived(() => (fleet()?.tasks ?? []).filter((t) => !scope() || t.projectId === scope()));
3221
- const h = derived(() => harbour(tasks(), live.now));
3222
- const health = derived(() => shipHealth(h()));
3223
- const waiting = derived(() => h().needsYou.length + h().stepFailed.length);
3224
- const pluginEntries = derived(() => slots.entries(slotKey.fleet, data.slots, data.slotsAt));
3225
- const cards = derived(() => pluginEntries().filter((e) => e.slot === "home.card"));
3226
- const insights = derived(() => railInsights.value ?? data.insights);
3227
- let railOpen = true;
3228
- head("1uha8ag", $$renderer2, ($$renderer3) => {
3229
- $$renderer3.title(($$renderer4) => {
3230
- $$renderer4.push(`<title>Firstmate · Wheelhouse</title>`);
3231
- });
3232
- });
3233
- $$renderer2.push(`<main${attr_class(`flex min-h-0 flex-1 ${homeLayout.side === "left" ? "flex-row-reverse" : ""}`)}>`);
3234
- Chat($$renderer2, {
3235
- token: data.sessionToken,
3236
- railOpen,
3237
- waiting: waiting(),
3238
- health: health(),
3239
- now: live.now,
3240
- pluginEntries: pluginEntries(),
3241
- tasks: fleet()?.tasks ?? [],
3242
- projects: fleet()?.projects ?? [],
3243
- railSide: homeLayout.side,
3244
- thread: thread(),
3245
- onPickThread: pickThread,
3246
- onSwapRail: () => homeLayout.swap()
3247
- });
3248
- $$renderer2.push(`<!----> `);
3249
- {
3250
- $$renderer2.push("<!--[0-->");
3251
- ResizableRail($$renderer2, {
3252
- storageKey: "wheelhouse-rail-width",
3253
- label: "Resize the rail",
3254
- defaultWidth: 460,
3255
- side: homeLayout.side,
3256
- class: "bg-panel",
3257
- children: ($$renderer3) => {
3258
- Rail($$renderer3, {
3259
- tasks: tasks(),
3260
- projects: fleet()?.projects ?? [],
3261
- secondMates: fleet()?.secondMates ?? [],
3262
- now: live.now,
3263
- insights: insights(),
3264
- scope: scope(),
3265
- cards: cards()
3266
- });
3267
- }
3268
- });
3269
- }
3270
- $$renderer2.push(`<!--]--></main> `);
3271
- {
3272
- $$renderer2.push("<!--[-1-->");
3273
- }
3274
- $$renderer2.push(`<!--]-->`);
3275
- });
3276
- }
3277
-
3278
- export { _page as default };
3279
- //# sourceMappingURL=_page.svelte.js-BlopBrAk.js.map