@chrisjowen/wheelhouse 0.19.4 → 0.20.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 (1243) hide show
  1. package/README.md +1 -1
  2. package/build/client/_app/immutable/assets/0.DcpZfWyi.css +1 -0
  3. package/build/client/_app/immutable/assets/0.DcpZfWyi.css.br +0 -0
  4. package/build/client/_app/immutable/assets/0.DcpZfWyi.css.gz +0 -0
  5. package/build/client/_app/immutable/assets/Discussion.DvbZU78X.css +1 -0
  6. package/build/client/_app/immutable/assets/Discussion.DvbZU78X.css.br +2 -0
  7. package/build/client/_app/immutable/assets/Discussion.DvbZU78X.css.gz +0 -0
  8. package/build/client/_app/immutable/chunks/5hmhZfFX.js +1 -0
  9. package/build/client/_app/immutable/chunks/5hmhZfFX.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/5hmhZfFX.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/B1xoHaDM.js +5 -0
  12. package/build/client/_app/immutable/chunks/B1xoHaDM.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/B1xoHaDM.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/B2mEyVjp.js +1 -0
  15. package/build/client/_app/immutable/chunks/B2mEyVjp.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/B2mEyVjp.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/BBzstCoB.js +1 -0
  18. package/build/client/_app/immutable/chunks/BBzstCoB.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/BBzstCoB.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/BElRY1Sf.js +1 -0
  21. package/build/client/_app/immutable/chunks/BElRY1Sf.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/BElRY1Sf.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/BFePDbA3.js +1 -0
  24. package/build/client/_app/immutable/chunks/BFePDbA3.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/BFePDbA3.js.gz +0 -0
  26. package/build/client/_app/immutable/chunks/BHlHrhn-.js +2 -0
  27. package/build/client/_app/immutable/chunks/BHlHrhn-.js.br +0 -0
  28. package/build/client/_app/immutable/chunks/BHlHrhn-.js.gz +0 -0
  29. package/build/client/_app/immutable/chunks/BIRluECL.js +1 -0
  30. package/build/client/_app/immutable/chunks/BIRluECL.js.br +0 -0
  31. package/build/client/_app/immutable/chunks/BIRluECL.js.gz +0 -0
  32. package/build/client/_app/immutable/chunks/BIb9G8kN.js +1 -0
  33. package/build/client/_app/immutable/chunks/BIb9G8kN.js.br +0 -0
  34. package/build/client/_app/immutable/chunks/BIb9G8kN.js.gz +0 -0
  35. package/build/client/_app/immutable/chunks/BK1l_p_h.js +1 -0
  36. package/build/client/_app/immutable/chunks/BK1l_p_h.js.br +0 -0
  37. package/build/client/_app/immutable/chunks/BK1l_p_h.js.gz +0 -0
  38. package/build/client/_app/immutable/chunks/BKi_jr6t.js +1 -0
  39. package/build/client/_app/immutable/chunks/BKi_jr6t.js.br +0 -0
  40. package/build/client/_app/immutable/chunks/BKi_jr6t.js.gz +0 -0
  41. package/build/client/_app/immutable/chunks/BO53-aYh.js +2 -0
  42. package/build/client/_app/immutable/chunks/BO53-aYh.js.br +0 -0
  43. package/build/client/_app/immutable/chunks/BO53-aYh.js.gz +0 -0
  44. package/build/client/_app/immutable/chunks/BQYTeA0Q.js +1 -0
  45. package/build/client/_app/immutable/chunks/BQYTeA0Q.js.br +0 -0
  46. package/build/client/_app/immutable/chunks/BQYTeA0Q.js.gz +0 -0
  47. package/build/client/_app/immutable/chunks/BQy4uzBF.js +1 -0
  48. package/build/client/_app/immutable/chunks/BQy4uzBF.js.br +0 -0
  49. package/build/client/_app/immutable/chunks/BQy4uzBF.js.gz +0 -0
  50. package/build/client/_app/immutable/chunks/BR2U27At.js +1 -0
  51. package/build/client/_app/immutable/chunks/BR2U27At.js.br +0 -0
  52. package/build/client/_app/immutable/chunks/BR2U27At.js.gz +0 -0
  53. package/build/client/_app/immutable/chunks/BRVNaZiz.js +1 -0
  54. package/build/client/_app/immutable/chunks/BRVNaZiz.js.br +0 -0
  55. package/build/client/_app/immutable/chunks/BRVNaZiz.js.gz +0 -0
  56. package/build/client/_app/immutable/chunks/BUYzAikv.js +1 -0
  57. package/build/client/_app/immutable/chunks/BUYzAikv.js.br +0 -0
  58. package/build/client/_app/immutable/chunks/BUYzAikv.js.gz +0 -0
  59. package/build/client/_app/immutable/chunks/BVIK2EmQ.js +1 -0
  60. package/build/client/_app/immutable/chunks/BVIK2EmQ.js.br +0 -0
  61. package/build/client/_app/immutable/chunks/BVIK2EmQ.js.gz +0 -0
  62. package/build/client/_app/immutable/chunks/BVOMiZyL.js +1 -0
  63. package/build/client/_app/immutable/chunks/BVOMiZyL.js.br +0 -0
  64. package/build/client/_app/immutable/chunks/BVOMiZyL.js.gz +0 -0
  65. package/build/client/_app/immutable/chunks/BY1rANFS.js +1 -0
  66. package/build/client/_app/immutable/chunks/BY1rANFS.js.br +0 -0
  67. package/build/client/_app/immutable/chunks/BY1rANFS.js.gz +0 -0
  68. package/build/client/_app/immutable/chunks/BYqCpFaP.js +1 -0
  69. package/build/client/_app/immutable/chunks/BYqCpFaP.js.br +0 -0
  70. package/build/client/_app/immutable/chunks/BYqCpFaP.js.gz +0 -0
  71. package/build/client/_app/immutable/chunks/BdvLpjSH.js +3 -0
  72. package/build/client/_app/immutable/chunks/BdvLpjSH.js.br +0 -0
  73. package/build/client/_app/immutable/chunks/BdvLpjSH.js.gz +0 -0
  74. package/build/client/_app/immutable/chunks/BeoDHjLY.js +1 -0
  75. package/build/client/_app/immutable/chunks/BeoDHjLY.js.br +0 -0
  76. package/build/client/_app/immutable/chunks/BeoDHjLY.js.gz +0 -0
  77. package/build/client/_app/immutable/chunks/BhOwcODj.js +1 -0
  78. package/build/client/_app/immutable/chunks/BhOwcODj.js.br +0 -0
  79. package/build/client/_app/immutable/chunks/BhOwcODj.js.gz +0 -0
  80. package/build/client/_app/immutable/chunks/BiNDkSvJ.js +1 -0
  81. package/build/client/_app/immutable/chunks/BiNDkSvJ.js.br +0 -0
  82. package/build/client/_app/immutable/chunks/BiNDkSvJ.js.gz +0 -0
  83. package/build/client/_app/immutable/chunks/Bj0Gz77p.js +1 -0
  84. package/build/client/_app/immutable/chunks/Bj0Gz77p.js.br +0 -0
  85. package/build/client/_app/immutable/chunks/Bj0Gz77p.js.gz +0 -0
  86. package/build/client/_app/immutable/chunks/Bjf1zewg.js +1 -0
  87. package/build/client/_app/immutable/chunks/Bjf1zewg.js.br +0 -0
  88. package/build/client/_app/immutable/chunks/Bjf1zewg.js.gz +0 -0
  89. package/build/client/_app/immutable/chunks/Bmo4YW_l.js +1 -0
  90. package/build/client/_app/immutable/chunks/Bmo4YW_l.js.br +0 -0
  91. package/build/client/_app/immutable/chunks/Bmo4YW_l.js.gz +0 -0
  92. package/build/client/_app/immutable/chunks/BnISbURV.js +1 -0
  93. package/build/client/_app/immutable/chunks/BnISbURV.js.br +1 -0
  94. package/build/client/_app/immutable/chunks/BnISbURV.js.gz +0 -0
  95. package/build/client/_app/immutable/chunks/Bqac5bcL.js +1 -0
  96. package/build/client/_app/immutable/chunks/Bqac5bcL.js.br +0 -0
  97. package/build/client/_app/immutable/chunks/Bqac5bcL.js.gz +0 -0
  98. package/build/client/_app/immutable/chunks/BvDv7v16.js +1 -0
  99. package/build/client/_app/immutable/chunks/BvDv7v16.js.br +0 -0
  100. package/build/client/_app/immutable/chunks/BvDv7v16.js.gz +0 -0
  101. package/build/client/_app/immutable/chunks/BxFvWrOI.js +1 -0
  102. package/build/client/_app/immutable/chunks/BxFvWrOI.js.br +0 -0
  103. package/build/client/_app/immutable/chunks/BxFvWrOI.js.gz +0 -0
  104. package/build/client/_app/immutable/chunks/C1xZt4HY.js +1 -0
  105. package/build/client/_app/immutable/chunks/C1xZt4HY.js.br +0 -0
  106. package/build/client/_app/immutable/chunks/C1xZt4HY.js.gz +0 -0
  107. package/build/client/_app/immutable/chunks/C71Z1uva.js +1 -0
  108. package/build/client/_app/immutable/chunks/C71Z1uva.js.br +0 -0
  109. package/build/client/_app/immutable/chunks/C71Z1uva.js.gz +0 -0
  110. package/build/client/_app/immutable/chunks/C7Ec6qt3.js +1 -0
  111. package/build/client/_app/immutable/chunks/C7Ec6qt3.js.br +0 -0
  112. package/build/client/_app/immutable/chunks/C7Ec6qt3.js.gz +0 -0
  113. package/build/client/_app/immutable/chunks/CDm3HpcI.js +2 -0
  114. package/build/client/_app/immutable/chunks/CDm3HpcI.js.br +0 -0
  115. package/build/client/_app/immutable/chunks/CDm3HpcI.js.gz +0 -0
  116. package/build/client/_app/immutable/chunks/CE2320gp.js +1 -0
  117. package/build/client/_app/immutable/chunks/CE2320gp.js.br +0 -0
  118. package/build/client/_app/immutable/chunks/CE2320gp.js.gz +0 -0
  119. package/build/client/_app/immutable/chunks/CH3LY0O4.js +1 -0
  120. package/build/client/_app/immutable/chunks/CH3LY0O4.js.br +0 -0
  121. package/build/client/_app/immutable/chunks/CH3LY0O4.js.gz +0 -0
  122. package/build/client/_app/immutable/chunks/CJuHocDw.js +1 -0
  123. package/build/client/_app/immutable/chunks/CJuHocDw.js.br +0 -0
  124. package/build/client/_app/immutable/chunks/CJuHocDw.js.gz +0 -0
  125. package/build/client/_app/immutable/chunks/CLTl8CXB.js +6 -0
  126. package/build/client/_app/immutable/chunks/CLTl8CXB.js.br +0 -0
  127. package/build/client/_app/immutable/chunks/CLTl8CXB.js.gz +0 -0
  128. package/build/client/_app/immutable/chunks/CNFyO4vc.js +62 -0
  129. package/build/client/_app/immutable/chunks/CNFyO4vc.js.br +0 -0
  130. package/build/client/_app/immutable/chunks/CNFyO4vc.js.gz +0 -0
  131. package/build/client/_app/immutable/chunks/CXGmeox4.js +1 -0
  132. package/build/client/_app/immutable/chunks/CXGmeox4.js.br +2 -0
  133. package/build/client/_app/immutable/chunks/CXGmeox4.js.gz +0 -0
  134. package/build/client/_app/immutable/chunks/CbgKt5BB.js +3 -0
  135. package/build/client/_app/immutable/chunks/CbgKt5BB.js.br +0 -0
  136. package/build/client/_app/immutable/chunks/CbgKt5BB.js.gz +0 -0
  137. package/build/client/_app/immutable/chunks/Cc9fR8wU.js +1 -0
  138. package/build/client/_app/immutable/chunks/Cc9fR8wU.js.br +0 -0
  139. package/build/client/_app/immutable/chunks/Cc9fR8wU.js.gz +0 -0
  140. package/build/client/_app/immutable/chunks/CcB_qi16.js +1 -0
  141. package/build/client/_app/immutable/chunks/CcB_qi16.js.br +0 -0
  142. package/build/client/_app/immutable/chunks/CcB_qi16.js.gz +0 -0
  143. package/build/client/_app/immutable/chunks/CcHpy_mG.js +1 -0
  144. package/build/client/_app/immutable/chunks/CcHpy_mG.js.br +0 -0
  145. package/build/client/_app/immutable/chunks/CcHpy_mG.js.gz +0 -0
  146. package/build/client/_app/immutable/chunks/CeOyF6aP.js +1 -0
  147. package/build/client/_app/immutable/chunks/CeOyF6aP.js.br +0 -0
  148. package/build/client/_app/immutable/chunks/CeOyF6aP.js.gz +0 -0
  149. package/build/client/_app/immutable/chunks/CeaZ17SZ.js +1 -0
  150. package/build/client/_app/immutable/chunks/CeaZ17SZ.js.br +0 -0
  151. package/build/client/_app/immutable/chunks/CeaZ17SZ.js.gz +0 -0
  152. package/build/client/_app/immutable/chunks/CiOBPJrt.js +1 -0
  153. package/build/client/_app/immutable/chunks/CiOBPJrt.js.br +0 -0
  154. package/build/client/_app/immutable/chunks/CiOBPJrt.js.gz +0 -0
  155. package/build/client/_app/immutable/chunks/CkNTxMig.js +1 -0
  156. package/build/client/_app/immutable/chunks/CkNTxMig.js.br +0 -0
  157. package/build/client/_app/immutable/chunks/CkNTxMig.js.gz +0 -0
  158. package/build/client/_app/immutable/chunks/Ckz885rm.js +1 -0
  159. package/build/client/_app/immutable/chunks/Ckz885rm.js.br +0 -0
  160. package/build/client/_app/immutable/chunks/Ckz885rm.js.gz +0 -0
  161. package/build/client/_app/immutable/chunks/Cl68Rk3P.js +1 -0
  162. package/build/client/_app/immutable/chunks/Cl68Rk3P.js.br +0 -0
  163. package/build/client/_app/immutable/chunks/Cl68Rk3P.js.gz +0 -0
  164. package/build/client/_app/immutable/chunks/ClMB1hl_.js +1 -0
  165. package/build/client/_app/immutable/chunks/ClMB1hl_.js.br +0 -0
  166. package/build/client/_app/immutable/chunks/ClMB1hl_.js.gz +0 -0
  167. package/build/client/_app/immutable/chunks/CrUt1p9N.js +1 -0
  168. package/build/client/_app/immutable/chunks/CrUt1p9N.js.br +0 -0
  169. package/build/client/_app/immutable/chunks/CrUt1p9N.js.gz +0 -0
  170. package/build/client/_app/immutable/chunks/CshFdfqM.js +2 -0
  171. package/build/client/_app/immutable/chunks/CshFdfqM.js.br +0 -0
  172. package/build/client/_app/immutable/chunks/CshFdfqM.js.gz +0 -0
  173. package/build/client/_app/immutable/chunks/Cspe2k0T.js +1 -0
  174. package/build/client/_app/immutable/chunks/Cspe2k0T.js.br +0 -0
  175. package/build/client/_app/immutable/chunks/Cspe2k0T.js.gz +0 -0
  176. package/build/client/_app/immutable/chunks/Cul43hi6.js +1 -0
  177. package/build/client/_app/immutable/chunks/Cul43hi6.js.br +2 -0
  178. package/build/client/_app/immutable/chunks/Cul43hi6.js.gz +0 -0
  179. package/build/client/_app/immutable/chunks/CzRQxst7.js +4 -0
  180. package/build/client/_app/immutable/chunks/CzRQxst7.js.br +0 -0
  181. package/build/client/_app/immutable/chunks/CzRQxst7.js.gz +0 -0
  182. package/build/client/_app/immutable/chunks/D-vRXf_F.js +1 -0
  183. package/build/client/_app/immutable/chunks/D-vRXf_F.js.br +0 -0
  184. package/build/client/_app/immutable/chunks/D-vRXf_F.js.gz +0 -0
  185. package/build/client/_app/immutable/chunks/D-zX5bG0.js +2 -0
  186. package/build/client/_app/immutable/chunks/D-zX5bG0.js.br +0 -0
  187. package/build/client/_app/immutable/chunks/D-zX5bG0.js.gz +0 -0
  188. package/build/client/_app/immutable/chunks/D0j4DzjX.js +1 -0
  189. package/build/client/_app/immutable/chunks/D0j4DzjX.js.br +0 -0
  190. package/build/client/_app/immutable/chunks/D0j4DzjX.js.gz +0 -0
  191. package/build/client/_app/immutable/chunks/D1r1cOUJ.js +1 -0
  192. package/build/client/_app/immutable/chunks/D1r1cOUJ.js.br +0 -0
  193. package/build/client/_app/immutable/chunks/D1r1cOUJ.js.gz +0 -0
  194. package/build/client/_app/immutable/chunks/D3-vGT36.js +1 -0
  195. package/build/client/_app/immutable/chunks/D3-vGT36.js.br +0 -0
  196. package/build/client/_app/immutable/chunks/D3-vGT36.js.gz +0 -0
  197. package/build/client/_app/immutable/chunks/D33OMaBC.js +1 -0
  198. package/build/client/_app/immutable/chunks/D33OMaBC.js.br +0 -0
  199. package/build/client/_app/immutable/chunks/D33OMaBC.js.gz +0 -0
  200. package/build/client/_app/immutable/chunks/D3fjuSYa.js +3 -0
  201. package/build/client/_app/immutable/chunks/D3fjuSYa.js.br +0 -0
  202. package/build/client/_app/immutable/chunks/D3fjuSYa.js.gz +0 -0
  203. package/build/client/_app/immutable/chunks/D80UE3J1.js +1 -0
  204. package/build/client/_app/immutable/chunks/D80UE3J1.js.br +0 -0
  205. package/build/client/_app/immutable/chunks/D80UE3J1.js.gz +0 -0
  206. package/build/client/_app/immutable/chunks/D8y0ZrvY.js +1 -0
  207. package/build/client/_app/immutable/chunks/D8y0ZrvY.js.br +0 -0
  208. package/build/client/_app/immutable/chunks/D8y0ZrvY.js.gz +0 -0
  209. package/build/client/_app/immutable/chunks/D8y9UQyR.js +7 -0
  210. package/build/client/_app/immutable/chunks/D8y9UQyR.js.br +0 -0
  211. package/build/client/_app/immutable/chunks/D8y9UQyR.js.gz +0 -0
  212. package/build/client/_app/immutable/chunks/DAOwEdVE.js +1 -0
  213. package/build/client/_app/immutable/chunks/DAOwEdVE.js.br +0 -0
  214. package/build/client/_app/immutable/chunks/DAOwEdVE.js.gz +0 -0
  215. package/build/client/_app/immutable/chunks/DDbpJ4wH.js +6 -0
  216. package/build/client/_app/immutable/chunks/DDbpJ4wH.js.br +0 -0
  217. package/build/client/_app/immutable/chunks/DDbpJ4wH.js.gz +0 -0
  218. package/build/client/_app/immutable/chunks/DFC9Zl3H.js +1 -0
  219. package/build/client/_app/immutable/chunks/DFC9Zl3H.js.br +0 -0
  220. package/build/client/_app/immutable/chunks/DFC9Zl3H.js.gz +0 -0
  221. package/build/client/_app/immutable/chunks/DIlYBT-z.js +1 -0
  222. package/build/client/_app/immutable/chunks/DIlYBT-z.js.br +0 -0
  223. package/build/client/_app/immutable/chunks/DIlYBT-z.js.gz +0 -0
  224. package/build/client/_app/immutable/chunks/DItjwsQL.js +1 -0
  225. package/build/client/_app/immutable/chunks/DItjwsQL.js.br +0 -0
  226. package/build/client/_app/immutable/chunks/DItjwsQL.js.gz +0 -0
  227. package/build/client/_app/immutable/chunks/DM1S1Fkj.js +2 -0
  228. package/build/client/_app/immutable/chunks/DM1S1Fkj.js.br +0 -0
  229. package/build/client/_app/immutable/chunks/DM1S1Fkj.js.gz +0 -0
  230. package/build/client/_app/immutable/chunks/DN17WGPu.js +1 -0
  231. package/build/client/_app/immutable/chunks/DN17WGPu.js.br +0 -0
  232. package/build/client/_app/immutable/chunks/DN17WGPu.js.gz +0 -0
  233. package/build/client/_app/immutable/chunks/DPa_SV73.js +1 -0
  234. package/build/client/_app/immutable/chunks/DPa_SV73.js.br +0 -0
  235. package/build/client/_app/immutable/chunks/DPa_SV73.js.gz +0 -0
  236. package/build/client/_app/immutable/chunks/DRO3-3OZ.js +1 -0
  237. package/build/client/_app/immutable/chunks/DRO3-3OZ.js.br +0 -0
  238. package/build/client/_app/immutable/chunks/DRO3-3OZ.js.gz +0 -0
  239. package/build/client/_app/immutable/chunks/DTo6sIVh.js +1 -0
  240. package/build/client/_app/immutable/chunks/DTo6sIVh.js.br +0 -0
  241. package/build/client/_app/immutable/chunks/DTo6sIVh.js.gz +0 -0
  242. package/build/client/_app/immutable/chunks/DTqdsiI6.js +1 -0
  243. package/build/client/_app/immutable/chunks/DTqdsiI6.js.br +0 -0
  244. package/build/client/_app/immutable/chunks/DTqdsiI6.js.gz +0 -0
  245. package/build/client/_app/immutable/chunks/DUuK5ujt.js +1 -0
  246. package/build/client/_app/immutable/chunks/DUuK5ujt.js.br +0 -0
  247. package/build/client/_app/immutable/chunks/DUuK5ujt.js.gz +0 -0
  248. package/build/client/_app/immutable/chunks/DWt-yDfE.js +1 -0
  249. package/build/client/_app/immutable/chunks/DWt-yDfE.js.br +0 -0
  250. package/build/client/_app/immutable/chunks/DWt-yDfE.js.gz +0 -0
  251. package/build/client/_app/immutable/chunks/DXM6KoO3.js +23 -0
  252. package/build/client/_app/immutable/chunks/DXM6KoO3.js.br +0 -0
  253. package/build/client/_app/immutable/chunks/DXM6KoO3.js.gz +0 -0
  254. package/build/client/_app/immutable/chunks/Da_i7EZM.js +1 -0
  255. package/build/client/_app/immutable/chunks/Da_i7EZM.js.br +0 -0
  256. package/build/client/_app/immutable/chunks/Da_i7EZM.js.gz +0 -0
  257. package/build/client/_app/immutable/chunks/DdE9m5sN.js +1 -0
  258. package/build/client/_app/immutable/chunks/DdE9m5sN.js.br +0 -0
  259. package/build/client/_app/immutable/chunks/DdE9m5sN.js.gz +0 -0
  260. package/build/client/_app/immutable/chunks/DfqO16f-.js +1 -0
  261. package/build/client/_app/immutable/chunks/DfqO16f-.js.br +0 -0
  262. package/build/client/_app/immutable/chunks/DfqO16f-.js.gz +0 -0
  263. package/build/client/_app/immutable/chunks/Dg00YWHX.js +1 -0
  264. package/build/client/_app/immutable/chunks/Dg00YWHX.js.br +0 -0
  265. package/build/client/_app/immutable/chunks/Dg00YWHX.js.gz +0 -0
  266. package/build/client/_app/immutable/chunks/DgJ09mDY.js +1 -0
  267. package/build/client/_app/immutable/chunks/DgJ09mDY.js.br +0 -0
  268. package/build/client/_app/immutable/chunks/DgJ09mDY.js.gz +0 -0
  269. package/build/client/_app/immutable/chunks/Dgkmn49f.js +1 -0
  270. package/build/client/_app/immutable/chunks/Dgkmn49f.js.br +0 -0
  271. package/build/client/_app/immutable/chunks/Dgkmn49f.js.gz +0 -0
  272. package/build/client/_app/immutable/chunks/Domnzv-7.js +1 -0
  273. package/build/client/_app/immutable/chunks/Domnzv-7.js.br +0 -0
  274. package/build/client/_app/immutable/chunks/Domnzv-7.js.gz +0 -0
  275. package/build/client/_app/immutable/chunks/DstHmgXX.js +1 -0
  276. package/build/client/_app/immutable/chunks/DstHmgXX.js.br +0 -0
  277. package/build/client/_app/immutable/chunks/DstHmgXX.js.gz +0 -0
  278. package/build/client/_app/immutable/chunks/Dy7zzdlr.js +1 -0
  279. package/build/client/_app/immutable/chunks/Dy7zzdlr.js.br +0 -0
  280. package/build/client/_app/immutable/chunks/Dy7zzdlr.js.gz +0 -0
  281. package/build/client/_app/immutable/chunks/EFPzsYNq.js +1 -0
  282. package/build/client/_app/immutable/chunks/EFPzsYNq.js.br +0 -0
  283. package/build/client/_app/immutable/chunks/EFPzsYNq.js.gz +0 -0
  284. package/build/client/_app/immutable/chunks/GLDoM8-9.js +1 -0
  285. package/build/client/_app/immutable/chunks/GLDoM8-9.js.br +0 -0
  286. package/build/client/_app/immutable/chunks/GLDoM8-9.js.gz +0 -0
  287. package/build/client/_app/immutable/chunks/Gfq2dV68.js +1 -0
  288. package/build/client/_app/immutable/chunks/Gfq2dV68.js.br +0 -0
  289. package/build/client/_app/immutable/chunks/Gfq2dV68.js.gz +0 -0
  290. package/build/client/_app/immutable/chunks/GlpAdLHa.js +1 -0
  291. package/build/client/_app/immutable/chunks/GlpAdLHa.js.br +0 -0
  292. package/build/client/_app/immutable/chunks/GlpAdLHa.js.gz +0 -0
  293. package/build/client/_app/immutable/chunks/HvjjkQKn.js +1 -0
  294. package/build/client/_app/immutable/chunks/HvjjkQKn.js.br +0 -0
  295. package/build/client/_app/immutable/chunks/HvjjkQKn.js.gz +0 -0
  296. package/build/client/_app/immutable/chunks/KfATOUu4.js +1 -0
  297. package/build/client/_app/immutable/chunks/KfATOUu4.js.br +0 -0
  298. package/build/client/_app/immutable/chunks/KfATOUu4.js.gz +0 -0
  299. package/build/client/_app/immutable/chunks/NpBazCtr.js +1 -0
  300. package/build/client/_app/immutable/chunks/NpBazCtr.js.br +0 -0
  301. package/build/client/_app/immutable/chunks/NpBazCtr.js.gz +0 -0
  302. package/build/client/_app/immutable/chunks/OmkrH6gy.js +1 -0
  303. package/build/client/_app/immutable/chunks/OmkrH6gy.js.br +0 -0
  304. package/build/client/_app/immutable/chunks/OmkrH6gy.js.gz +0 -0
  305. package/build/client/_app/immutable/chunks/Rw-QdBqX.js +1 -0
  306. package/build/client/_app/immutable/chunks/Rw-QdBqX.js.br +2 -0
  307. package/build/client/_app/immutable/chunks/Rw-QdBqX.js.gz +0 -0
  308. package/build/client/_app/immutable/chunks/SZjKA6E1.js +1 -0
  309. package/build/client/_app/immutable/chunks/SZjKA6E1.js.br +0 -0
  310. package/build/client/_app/immutable/chunks/SZjKA6E1.js.gz +0 -0
  311. package/build/client/_app/immutable/chunks/Ug0gsfQr.js +1 -0
  312. package/build/client/_app/immutable/chunks/Ug0gsfQr.js.br +0 -0
  313. package/build/client/_app/immutable/chunks/Ug0gsfQr.js.gz +0 -0
  314. package/build/client/_app/immutable/chunks/_zu5-cZO.js +6 -0
  315. package/build/client/_app/immutable/chunks/_zu5-cZO.js.br +0 -0
  316. package/build/client/_app/immutable/chunks/_zu5-cZO.js.gz +0 -0
  317. package/build/client/_app/immutable/chunks/aasoRTKS.js +1 -0
  318. package/build/client/_app/immutable/chunks/aasoRTKS.js.br +0 -0
  319. package/build/client/_app/immutable/chunks/aasoRTKS.js.gz +0 -0
  320. package/build/client/_app/immutable/chunks/ck3_pj9L.js +1 -0
  321. package/build/client/_app/immutable/chunks/ck3_pj9L.js.br +0 -0
  322. package/build/client/_app/immutable/chunks/ck3_pj9L.js.gz +0 -0
  323. package/build/client/_app/immutable/chunks/i-lccxyZ.js +1 -0
  324. package/build/client/_app/immutable/chunks/i-lccxyZ.js.br +0 -0
  325. package/build/client/_app/immutable/chunks/i-lccxyZ.js.gz +0 -0
  326. package/build/client/_app/immutable/chunks/iMamku9e.js +1 -0
  327. package/build/client/_app/immutable/chunks/iMamku9e.js.br +0 -0
  328. package/build/client/_app/immutable/chunks/iMamku9e.js.gz +0 -0
  329. package/build/client/_app/immutable/chunks/j9TQoNGH.js +1 -0
  330. package/build/client/_app/immutable/chunks/j9TQoNGH.js.br +0 -0
  331. package/build/client/_app/immutable/chunks/j9TQoNGH.js.gz +0 -0
  332. package/build/client/_app/immutable/chunks/o67b2DOI.js +1 -0
  333. package/build/client/_app/immutable/chunks/o67b2DOI.js.br +0 -0
  334. package/build/client/_app/immutable/chunks/o67b2DOI.js.gz +0 -0
  335. package/build/client/_app/immutable/chunks/qfpRh8ot.js +1 -0
  336. package/build/client/_app/immutable/chunks/qfpRh8ot.js.br +0 -0
  337. package/build/client/_app/immutable/chunks/qfpRh8ot.js.gz +0 -0
  338. package/build/client/_app/immutable/chunks/tbcmS-db.js +1 -0
  339. package/build/client/_app/immutable/chunks/tbcmS-db.js.br +0 -0
  340. package/build/client/_app/immutable/chunks/tbcmS-db.js.gz +0 -0
  341. package/build/client/_app/immutable/chunks/vhIPlTYz.js +1 -0
  342. package/build/client/_app/immutable/chunks/vhIPlTYz.js.br +0 -0
  343. package/build/client/_app/immutable/chunks/vhIPlTYz.js.gz +0 -0
  344. package/build/client/_app/immutable/chunks/vk_yBw2w.js +1 -0
  345. package/build/client/_app/immutable/chunks/vk_yBw2w.js.br +0 -0
  346. package/build/client/_app/immutable/chunks/vk_yBw2w.js.gz +0 -0
  347. package/build/client/_app/immutable/chunks/zARfWSEA.js +5 -0
  348. package/build/client/_app/immutable/chunks/zARfWSEA.js.br +0 -0
  349. package/build/client/_app/immutable/chunks/zARfWSEA.js.gz +0 -0
  350. package/build/client/_app/immutable/entry/app.C3lhpf7p.js +2 -0
  351. package/build/client/_app/immutable/entry/app.C3lhpf7p.js.br +0 -0
  352. package/build/client/_app/immutable/entry/app.C3lhpf7p.js.gz +0 -0
  353. package/build/client/_app/immutable/entry/start.Gjn1w_bS.js +1 -0
  354. package/build/client/_app/immutable/entry/start.Gjn1w_bS.js.br +0 -0
  355. package/build/client/_app/immutable/entry/start.Gjn1w_bS.js.gz +0 -0
  356. package/build/client/_app/immutable/nodes/0.Jr7IVgmY.js +9 -0
  357. package/build/client/_app/immutable/nodes/0.Jr7IVgmY.js.br +0 -0
  358. package/build/client/_app/immutable/nodes/0.Jr7IVgmY.js.gz +0 -0
  359. package/build/client/_app/immutable/nodes/1.70NIA9tn.js +1 -0
  360. package/build/client/_app/immutable/nodes/1.70NIA9tn.js.br +0 -0
  361. package/build/client/_app/immutable/nodes/1.70NIA9tn.js.gz +0 -0
  362. package/build/client/_app/immutable/nodes/10.Df7hKVdv.js +1 -0
  363. package/build/client/_app/immutable/nodes/10.Df7hKVdv.js.br +0 -0
  364. package/build/client/_app/immutable/nodes/10.Df7hKVdv.js.gz +0 -0
  365. package/build/client/_app/immutable/nodes/11.Bnn7lvEJ.js +10 -0
  366. package/build/client/_app/immutable/nodes/11.Bnn7lvEJ.js.br +0 -0
  367. package/build/client/_app/immutable/nodes/11.Bnn7lvEJ.js.gz +0 -0
  368. package/build/client/_app/immutable/nodes/12.gc7xxTit.js +1 -0
  369. package/build/client/_app/immutable/nodes/12.gc7xxTit.js.br +0 -0
  370. package/build/client/_app/immutable/nodes/12.gc7xxTit.js.gz +0 -0
  371. package/build/client/_app/immutable/nodes/13.CifeX-Ru.js +3 -0
  372. package/build/client/_app/immutable/nodes/13.CifeX-Ru.js.br +0 -0
  373. package/build/client/_app/immutable/nodes/13.CifeX-Ru.js.gz +0 -0
  374. package/build/client/_app/immutable/nodes/14.BaMTgl0D.js +1 -0
  375. package/build/client/_app/immutable/nodes/14.BaMTgl0D.js.br +0 -0
  376. package/build/client/_app/immutable/nodes/14.BaMTgl0D.js.gz +0 -0
  377. package/build/client/_app/immutable/nodes/15.BKHphraY.js +14 -0
  378. package/build/client/_app/immutable/nodes/15.BKHphraY.js.br +0 -0
  379. package/build/client/_app/immutable/nodes/15.BKHphraY.js.gz +0 -0
  380. package/build/client/_app/immutable/nodes/16.DhIKhfTQ.js +150 -0
  381. package/build/client/_app/immutable/nodes/16.DhIKhfTQ.js.br +0 -0
  382. package/build/client/_app/immutable/nodes/16.DhIKhfTQ.js.gz +0 -0
  383. package/build/client/_app/immutable/nodes/17.Cmg6USzf.js +3 -0
  384. package/build/client/_app/immutable/nodes/17.Cmg6USzf.js.br +0 -0
  385. package/build/client/_app/immutable/nodes/17.Cmg6USzf.js.gz +0 -0
  386. package/build/client/_app/immutable/nodes/18.CH7PvhuS.js +4 -0
  387. package/build/client/_app/immutable/nodes/18.CH7PvhuS.js.br +0 -0
  388. package/build/client/_app/immutable/nodes/18.CH7PvhuS.js.gz +0 -0
  389. package/build/client/_app/immutable/nodes/2.6PBhdwxm.js +26 -0
  390. package/build/client/_app/immutable/nodes/2.6PBhdwxm.js.br +0 -0
  391. package/build/client/_app/immutable/nodes/2.6PBhdwxm.js.gz +0 -0
  392. package/build/client/_app/immutable/nodes/20.uqdQhPTw.js +2 -0
  393. package/build/client/_app/immutable/nodes/20.uqdQhPTw.js.br +0 -0
  394. package/build/client/_app/immutable/nodes/20.uqdQhPTw.js.gz +0 -0
  395. package/build/client/_app/immutable/nodes/21.PN5DzMJc.js +11 -0
  396. package/build/client/_app/immutable/nodes/21.PN5DzMJc.js.br +0 -0
  397. package/build/client/_app/immutable/nodes/21.PN5DzMJc.js.gz +0 -0
  398. package/build/client/_app/immutable/nodes/22.B8Cpyb0H.js +7 -0
  399. package/build/client/_app/immutable/nodes/22.B8Cpyb0H.js.br +0 -0
  400. package/build/client/_app/immutable/nodes/22.B8Cpyb0H.js.gz +0 -0
  401. package/build/client/_app/immutable/nodes/23.CW1aJkQR.js +2 -0
  402. package/build/client/_app/immutable/nodes/23.CW1aJkQR.js.br +0 -0
  403. package/build/client/_app/immutable/nodes/23.CW1aJkQR.js.gz +0 -0
  404. package/build/client/_app/immutable/nodes/24.DXpTFCkP.js +4 -0
  405. package/build/client/_app/immutable/nodes/24.DXpTFCkP.js.br +0 -0
  406. package/build/client/_app/immutable/nodes/24.DXpTFCkP.js.gz +0 -0
  407. package/build/client/_app/immutable/nodes/25.Psv5y7w0.js +7 -0
  408. package/build/client/_app/immutable/nodes/25.Psv5y7w0.js.br +0 -0
  409. package/build/client/_app/immutable/nodes/25.Psv5y7w0.js.gz +0 -0
  410. package/build/client/_app/immutable/nodes/26.cTEoEQqs.js +23 -0
  411. package/build/client/_app/immutable/nodes/26.cTEoEQqs.js.br +0 -0
  412. package/build/client/_app/immutable/nodes/26.cTEoEQqs.js.gz +0 -0
  413. package/build/client/_app/immutable/nodes/27.BnDpnW0u.js +3 -0
  414. package/build/client/_app/immutable/nodes/27.BnDpnW0u.js.br +0 -0
  415. package/build/client/_app/immutable/nodes/27.BnDpnW0u.js.gz +0 -0
  416. package/build/client/_app/immutable/nodes/28.CTsk767H.js +1 -0
  417. package/build/client/_app/immutable/nodes/28.CTsk767H.js.br +0 -0
  418. package/build/client/_app/immutable/nodes/28.CTsk767H.js.gz +0 -0
  419. package/build/client/_app/immutable/nodes/29.CEkPecBk.js +6 -0
  420. package/build/client/_app/immutable/nodes/29.CEkPecBk.js.br +0 -0
  421. package/build/client/_app/immutable/nodes/29.CEkPecBk.js.gz +0 -0
  422. package/build/client/_app/immutable/nodes/3.4ty7-fxA.js +2 -0
  423. package/build/client/_app/immutable/nodes/3.4ty7-fxA.js.br +0 -0
  424. package/build/client/_app/immutable/nodes/3.4ty7-fxA.js.gz +0 -0
  425. package/build/client/_app/immutable/nodes/4.UaRAPHrC.js +5 -0
  426. package/build/client/_app/immutable/nodes/4.UaRAPHrC.js.br +0 -0
  427. package/build/client/_app/immutable/nodes/4.UaRAPHrC.js.gz +0 -0
  428. package/build/client/_app/immutable/nodes/5.DJoqJ4qv.js +1 -0
  429. package/build/client/_app/immutable/nodes/5.DJoqJ4qv.js.br +0 -0
  430. package/build/client/_app/immutable/nodes/5.DJoqJ4qv.js.gz +0 -0
  431. package/build/client/_app/immutable/nodes/6.D8Nea9_O.js +1 -0
  432. package/build/client/_app/immutable/nodes/6.D8Nea9_O.js.br +0 -0
  433. package/build/client/_app/immutable/nodes/6.D8Nea9_O.js.gz +0 -0
  434. package/build/client/_app/immutable/nodes/7.D1RDIsjG.js +2 -0
  435. package/build/client/_app/immutable/nodes/7.D1RDIsjG.js.br +0 -0
  436. package/build/client/_app/immutable/nodes/7.D1RDIsjG.js.gz +0 -0
  437. package/build/client/_app/immutable/nodes/8.C0jVq7am.js +7 -0
  438. package/build/client/_app/immutable/nodes/8.C0jVq7am.js.br +0 -0
  439. package/build/client/_app/immutable/nodes/8.C0jVq7am.js.gz +0 -0
  440. package/build/client/_app/immutable/nodes/9.otejRtBt.js +6 -0
  441. package/build/client/_app/immutable/nodes/9.otejRtBt.js.br +0 -0
  442. package/build/client/_app/immutable/nodes/9.otejRtBt.js.gz +0 -0
  443. package/build/client/_app/version.json +1 -1
  444. package/build/client/_app/version.json.br +0 -0
  445. package/build/client/_app/version.json.gz +0 -0
  446. package/build/handler.js +4 -4
  447. package/build/index.js +4 -4
  448. package/build/server/chunks/chunks/Activity.js-DIMXIp7m.js +46 -0
  449. package/build/server/chunks/chunks/ConsoleWindow.js-DEk3iKGa.js +120 -0
  450. package/build/server/chunks/chunks/DecisionCard.js-jZpqG6KZ.js +2206 -0
  451. package/build/server/chunks/chunks/Discussion.js-b3i5Gjq7.js +592 -0
  452. package/build/server/chunks/chunks/EtaLine.js-DedePd3x.js +98 -0
  453. package/build/server/chunks/chunks/InsightsNav.js-Mv42Hosk.js +18 -0
  454. package/build/server/chunks/chunks/InstallFromGitHub.js-DTgSNvPF.js +272 -0
  455. package/build/server/chunks/chunks/MicButton.svelte_svelte_type_style_lang.js-B10vMz9A.js +200 -0
  456. package/build/server/chunks/chunks/OpenDecision.js-Dqtn2ZKG.js +29 -0
  457. package/build/server/chunks/chunks/ProjectBanner.js-DbMJpMF1.js +111 -0
  458. package/build/server/chunks/chunks/ProjectStateMark.js-1orvBkNp.js +41 -0
  459. package/build/server/chunks/chunks/QuestionList.js-oQGRVAMs.js +99 -0
  460. package/build/server/chunks/chunks/RemotesPanel.js-DBs1dDfn.js +315 -0
  461. package/build/server/chunks/chunks/SlotContent.js-CgBC2kiW.js +701 -0
  462. package/build/server/chunks/chunks/WhereBadge.js-BqfT_Odx.js +88 -0
  463. package/build/server/chunks/chunks/bell.js-BStOYBuL.js +184 -0
  464. package/build/server/chunks/chunks/berths.js-Dg5Imxvq.js +270 -0
  465. package/build/server/chunks/chunks/bridge.js-D-xKM47V.js +46 -0
  466. package/build/server/chunks/chunks/buildlog.js-DHa9PZVO.js +55 -0
  467. package/build/server/chunks/chunks/chat.svelte.js-BB2Cj3_1.js +801 -0
  468. package/build/server/chunks/chunks/checks.js-Cn5S6WhT.js +258 -0
  469. package/build/server/chunks/chunks/crew.js-CBkRoNji.js +72 -0
  470. package/build/server/chunks/chunks/decisionform.js-BgBiAAsS.js +194 -0
  471. package/build/server/chunks/chunks/detail.js-B9BX3EuV.js +146 -0
  472. package/build/server/chunks/chunks/dialog-close.js-B-uEcIR7.js +42 -0
  473. package/build/server/chunks/chunks/feedback.js-DOdFsSku.js +67 -0
  474. package/build/server/chunks/chunks/format.js-D72dE2wD.js +73 -0
  475. package/build/server/chunks/chunks/gauge.js-cdrDtC-R.js +18 -0
  476. package/build/server/chunks/chunks/inbox.js-Bng-BpZZ.js +227 -0
  477. package/build/server/chunks/chunks/insights.svelte.js-BM80JJxu.js +680 -0
  478. package/build/server/chunks/chunks/internal.js-DZu6L9Mu.js +151 -0
  479. package/build/server/chunks/chunks/keychain.js-BpwpmeK4.js +52 -0
  480. package/build/server/chunks/chunks/live.svelte.js-BO5LofNx.js +250 -0
  481. package/build/server/chunks/chunks/marketplace-service.js-C0SZTz98.js +557 -0
  482. package/build/server/chunks/chunks/message-circle-question-mark.js-DhKP-ciZ.js +25 -0
  483. package/build/server/chunks/chunks/messages-square.js-K86OwN55.js +28 -0
  484. package/build/server/chunks/chunks/nav.js-rw6zVrAw.js +33 -0
  485. package/build/server/chunks/chunks/page.js-BDis9MVK.js +11 -0
  486. package/build/server/chunks/chunks/play.js-CVH5Vcs2.js +22 -0
  487. package/build/server/chunks/chunks/plugins.js-Ba2rAPwO.js +58 -0
  488. package/build/server/chunks/chunks/previewhelper2.js-DhwPL-RU.js +165 -0
  489. package/build/server/chunks/chunks/repo.js-G0oGED-q.js +33 -0
  490. package/build/server/chunks/chunks/runtime.js-C1B3-TvZ.js +22964 -0
  491. package/build/server/chunks/chunks/service.js-Uw3bPOFo.js +1339 -0
  492. package/build/server/chunks/chunks/service2.js-CYPhN9D_.js +832 -0
  493. package/build/server/chunks/chunks/starter.js-CZJkNfyQ.js +333 -0
  494. package/build/server/chunks/chunks/store.js-B9jMXKuN.js +332 -0
  495. package/build/server/chunks/chunks/uploads.js-BrtmTDb4.js +107 -0
  496. package/build/server/chunks/chunks/users-round.js-A2-sUsx0.js +20 -0
  497. package/build/server/chunks/chunks/view.js-BfVjcGfI.js +76 -0
  498. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-8z8HZdY7.js +100 -0
  499. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-ChyTjLX4.js +88 -0
  500. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-BXRWlFrp.js +47 -0
  501. package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-Dq5fiBvP.js +63 -0
  502. package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-Q5Mt6qWn.js +67 -0
  503. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-C3qZG6DT.js +115 -0
  504. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-co_kav-G.js +59 -0
  505. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-LQ4l02pF.js +93 -0
  506. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-Bc4h8IGq.js +54 -0
  507. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-DBmq8-Fk.js +55 -0
  508. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-Ci2gdF6P.js +61 -0
  509. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-CJiU6E3R.js +54 -0
  510. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-CViLaHwI.js +101 -0
  511. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-DNr1GeZx.js +64 -0
  512. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-CGobkg6F.js +75 -0
  513. package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-DrfhND9M.js +63 -0
  514. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-CxDnp7TV.js +54 -0
  515. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-y3uJDvvB.js +32 -0
  516. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-NgY968RP.js +40 -0
  517. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-A6CWesAa.js +46 -0
  518. package/build/server/chunks/entries/endpoints/api/gateway/_server.ts.js-lNjIbv07.js +110 -0
  519. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-ClQY3FmI.js +46 -0
  520. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-jXdhaANw.js +70 -0
  521. package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-Dm5SGJzf.js +68 -0
  522. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-BqvXByXM.js +61 -0
  523. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-DQy8gcVL.js +46 -0
  524. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-DXIJDd-I.js +81 -0
  525. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-X_mXVqNd.js +70 -0
  526. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-Dvjm6z1i.js +65 -0
  527. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-D7LNtuI3.js +62 -0
  528. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-CvVM_nIz.js +27 -0
  529. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-BrBEl067.js +69 -0
  530. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-BWD2e9Fe.js +39 -0
  531. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-CrfFOFIj.js +46 -0
  532. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-Pqf_PAqQ.js +39 -0
  533. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-B__zwEfe.js +42 -0
  534. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-BRMcOH6j.js +51 -0
  535. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-B6r_S3Y0.js +60 -0
  536. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-BzhuoQ9I.js +57 -0
  537. package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-LIjisJOm.js +61 -0
  538. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-BK5rv5jv.js +27 -0
  539. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-B3rhDYqQ.js +69 -0
  540. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-BGhTXAus.js +51 -0
  541. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-5cbqm8Y-.js +60 -0
  542. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-Cq2p9bCD.js +72 -0
  543. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-CXJmd-pR.js +59 -0
  544. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-DCLBKVMr.js +82 -0
  545. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-DY3319p4.js +65 -0
  546. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-CygL4aMW.js +55 -0
  547. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-DXiBJUHT.js +65 -0
  548. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-mWGQKixa.js +125 -0
  549. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-PUEyFZ35.js +54 -0
  550. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-DtEGI0pW.js +51 -0
  551. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-DLIAPiQA.js +70 -0
  552. package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-DdglGu66.js +95 -0
  553. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-uHWErzP9.js +63 -0
  554. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-BTspawC0.js +111 -0
  555. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-DR7kFxyP.js +65 -0
  556. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-BbGdc1-d.js +68 -0
  557. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-C4D89SAh.js +69 -0
  558. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-CzRlGc51.js +40 -0
  559. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-D8sHE9gP.js +27 -0
  560. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-DhkUlS3v.js +27 -0
  561. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-CRU86Cv7.js +50 -0
  562. package/build/server/chunks/entries/hooks.server.js-DVvOoduB.js +83 -0
  563. package/build/server/chunks/entries/pages/_layout.server.ts.js-CH1pyqCC.js +45 -0
  564. package/build/server/chunks/entries/pages/_layout.svelte.js-B6Kr-XQ7.js +5623 -0
  565. package/build/server/chunks/entries/pages/_page.server.ts.js-BuE0Relj.js +16 -0
  566. package/build/server/chunks/entries/pages/_page.svelte.js-CijZ3Eap.js +3245 -0
  567. package/build/server/chunks/entries/pages/crew/_page.svelte.js-Dj9b8P1z.js +134 -0
  568. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-Bz8pkYuh.js +11 -0
  569. package/build/server/chunks/entries/pages/decisions/_page.svelte.js-YyjtlO44.js +202 -0
  570. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-CtXan3mN.js +16 -0
  571. package/build/server/chunks/entries/pages/deck/_page.svelte.js-DVTrGj3Q.js +105 -0
  572. package/build/server/chunks/entries/pages/files/_page.server.ts.js-CCZA3TgM.js +17 -0
  573. package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-Buqs7WP6.js +46 -0
  574. package/build/server/chunks/entries/pages/harbour/_page.svelte.js-DENXKPC9.js +750 -0
  575. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-CGdJfmVT.js +11 -0
  576. package/build/server/chunks/entries/pages/headroom/_page.svelte.js-CelEg5jn.js +183 -0
  577. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-DLl-PiDq.js +11 -0
  578. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-BNKE-CgZ.js +215 -0
  579. package/build/server/chunks/entries/pages/more/_page.svelte.js-CcViiI8p.js +123 -0
  580. package/build/server/chunks/entries/pages/plugins/_page.svelte.js-9jAPCDsS.js +676 -0
  581. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-CjUpJ7UC.js +16 -0
  582. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-BOXOQNGv.js +57 -0
  583. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-B0Lat6hb.js +23 -0
  584. package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-D5g2l7TO.js +976 -0
  585. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-cfVa5Uch.js +21 -0
  586. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-BrbhOMCC.js +79 -0
  587. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-KGX7CTI7.js +27 -0
  588. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-DZrL8l0R.js +419 -0
  589. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-DGBN6RCy.js +15 -0
  590. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-VciZIDZl.js +1866 -0
  591. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-Dv9zdlJZ.js +11 -0
  592. package/build/server/chunks/entries/pages/remotes/_page.svelte.js-sCddteas.js +31 -0
  593. package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-CDKYhCTE.js +221 -0
  594. package/build/server/chunks/entries/pages/settings/cloud/_page.server.ts.js-Cn_8JJY-.js +11 -0
  595. package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-Dro6bd-Y.js +33 -0
  596. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-B3pc6bXY.js +11 -0
  597. package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-CQn8Bq5q.js +209 -0
  598. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-Cbjqq4SF.js +19 -0
  599. package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-9Wsg_hlN.js +565 -0
  600. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-C_4ZzqU-.js +17 -0
  601. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-D-xdzRr3.js +238 -0
  602. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-q0vcB3BI.js +11 -0
  603. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-COz6T9EL.js +11 -0
  604. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-Cr3AzPl4.js +18 -0
  605. package/build/server/chunks/entries/pages/setup/_page.svelte.js-BElRfrZq.js +1436 -0
  606. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-JrU3AaRi.js +25 -0
  607. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-DLC9MNAa.js +2985 -0
  608. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-BTYpgJzg.js +24 -0
  609. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-luOdgI2y.js +80 -0
  610. package/build/server/chunks/entries/pages/time/_page.server.ts.js-CXraK-SH.js +11 -0
  611. package/build/server/chunks/entries/pages/time/_page.svelte.js-DGlwz53s.js +108 -0
  612. package/build/server/chunks/handler-CZ4GotX1.js +1474 -0
  613. package/build/server/chunks/index.js-uDoFMv-7.js +4296 -0
  614. package/build/server/chunks/manifest.js-DKbPtXcZ.js +713 -0
  615. package/build/server/chunks/nodes/0.js-CnLDATFz.js +53 -0
  616. package/build/server/chunks/nodes/1.js-BOvj1HV-.js +9 -0
  617. package/build/server/chunks/nodes/10.js-C9hiF6bu.js +9 -0
  618. package/build/server/chunks/nodes/11.js-BKQYXR8p.js +9 -0
  619. package/build/server/chunks/nodes/12.js-BEWQLtMe.js +51 -0
  620. package/build/server/chunks/nodes/13.js-C3Pz1ZQk.js +53 -0
  621. package/build/server/chunks/nodes/14.js-TAeHzaET.js +52 -0
  622. package/build/server/chunks/nodes/15.js-CUo0LrEd.js +53 -0
  623. package/build/server/chunks/nodes/16.js-C4ehY47A.js +52 -0
  624. package/build/server/chunks/nodes/17.js-CUsfxeUw.js +25 -0
  625. package/build/server/chunks/nodes/18.js-cmn_YqN2.js +9 -0
  626. package/build/server/chunks/nodes/19.js-BsGm66JE.js +12 -0
  627. package/build/server/chunks/nodes/2.js-BO30ovN8.js +51 -0
  628. package/build/server/chunks/nodes/20.js-DaixtluU.js +25 -0
  629. package/build/server/chunks/nodes/21.js-Bd83W9x4.js +51 -0
  630. package/build/server/chunks/nodes/22.js-CmVPxGdM.js +51 -0
  631. package/build/server/chunks/nodes/23.js-WgvZAYdg.js +54 -0
  632. package/build/server/chunks/nodes/24.js-BAc7-wS4.js +53 -0
  633. package/build/server/chunks/nodes/25.js-DwvF_zG9.js +26 -0
  634. package/build/server/chunks/nodes/26.js-IOWqYBrK.js +55 -0
  635. package/build/server/chunks/nodes/27.js-DGfyrC_M.js +52 -0
  636. package/build/server/chunks/nodes/28.js-DOBmomrI.js +52 -0
  637. package/build/server/chunks/nodes/29.js-CVey-iio.js +51 -0
  638. package/build/server/chunks/nodes/3.js-CD1ZtOdp.js +9 -0
  639. package/build/server/chunks/nodes/4.js-C0f_ufxf.js +51 -0
  640. package/build/server/chunks/nodes/5.js-BZm90NRq.js +51 -0
  641. package/build/server/chunks/nodes/6.js-DbeRWacQ.js +51 -0
  642. package/build/server/chunks/nodes/7.js-GWtH5lRT.js +55 -0
  643. package/build/server/chunks/nodes/8.js-Cpcl7CMT.js +51 -0
  644. package/build/server/chunks/nodes/9.js-5L5Q7aVJ.js +51 -0
  645. package/dist/cli.js +1 -1
  646. package/dist/wh-vault.js +1 -1
  647. package/package.json +1 -1
  648. package/skills/manage-wheelhouse/SKILL.md +3 -1
  649. package/skills/manage-wheelhouse/references/operations.md +74 -71
  650. package/build/client/_app/immutable/assets/0.CtvWKlv4.css +0 -1
  651. package/build/client/_app/immutable/assets/0.CtvWKlv4.css.br +0 -0
  652. package/build/client/_app/immutable/assets/0.CtvWKlv4.css.gz +0 -0
  653. package/build/client/_app/immutable/chunks/-GpbewRL.js +0 -5
  654. package/build/client/_app/immutable/chunks/-GpbewRL.js.br +0 -0
  655. package/build/client/_app/immutable/chunks/-GpbewRL.js.gz +0 -0
  656. package/build/client/_app/immutable/chunks/0KCpyTvS.js +0 -1
  657. package/build/client/_app/immutable/chunks/0KCpyTvS.js.br +0 -0
  658. package/build/client/_app/immutable/chunks/0KCpyTvS.js.gz +0 -0
  659. package/build/client/_app/immutable/chunks/2maXBpFv.js +0 -1
  660. package/build/client/_app/immutable/chunks/2maXBpFv.js.br +0 -2
  661. package/build/client/_app/immutable/chunks/2maXBpFv.js.gz +0 -0
  662. package/build/client/_app/immutable/chunks/35PkS7MU.js +0 -2
  663. package/build/client/_app/immutable/chunks/35PkS7MU.js.br +0 -0
  664. package/build/client/_app/immutable/chunks/35PkS7MU.js.gz +0 -0
  665. package/build/client/_app/immutable/chunks/4CwXN8CQ.js +0 -1
  666. package/build/client/_app/immutable/chunks/4CwXN8CQ.js.br +0 -0
  667. package/build/client/_app/immutable/chunks/4CwXN8CQ.js.gz +0 -0
  668. package/build/client/_app/immutable/chunks/9KlwBbX-.js +0 -1
  669. package/build/client/_app/immutable/chunks/9KlwBbX-.js.br +0 -0
  670. package/build/client/_app/immutable/chunks/9KlwBbX-.js.gz +0 -0
  671. package/build/client/_app/immutable/chunks/A0cP5qMg.js +0 -1
  672. package/build/client/_app/immutable/chunks/A0cP5qMg.js.br +0 -0
  673. package/build/client/_app/immutable/chunks/A0cP5qMg.js.gz +0 -0
  674. package/build/client/_app/immutable/chunks/B03y9TXI.js +0 -1
  675. package/build/client/_app/immutable/chunks/B03y9TXI.js.br +0 -0
  676. package/build/client/_app/immutable/chunks/B03y9TXI.js.gz +0 -0
  677. package/build/client/_app/immutable/chunks/B3ArJNjj.js +0 -1
  678. package/build/client/_app/immutable/chunks/B3ArJNjj.js.br +0 -0
  679. package/build/client/_app/immutable/chunks/B3ArJNjj.js.gz +0 -0
  680. package/build/client/_app/immutable/chunks/B4D8tecP.js +0 -1
  681. package/build/client/_app/immutable/chunks/B4D8tecP.js.br +0 -1
  682. package/build/client/_app/immutable/chunks/B4D8tecP.js.gz +0 -0
  683. package/build/client/_app/immutable/chunks/B4_qSUnp.js +0 -1
  684. package/build/client/_app/immutable/chunks/B4_qSUnp.js.br +0 -0
  685. package/build/client/_app/immutable/chunks/B4_qSUnp.js.gz +0 -0
  686. package/build/client/_app/immutable/chunks/B746puSj.js +0 -1
  687. package/build/client/_app/immutable/chunks/B746puSj.js.br +0 -0
  688. package/build/client/_app/immutable/chunks/B746puSj.js.gz +0 -0
  689. package/build/client/_app/immutable/chunks/B7Fvfzj3.js +0 -23
  690. package/build/client/_app/immutable/chunks/B7Fvfzj3.js.br +0 -0
  691. package/build/client/_app/immutable/chunks/B7Fvfzj3.js.gz +0 -0
  692. package/build/client/_app/immutable/chunks/B7_iNACm.js +0 -1
  693. package/build/client/_app/immutable/chunks/B7_iNACm.js.br +0 -0
  694. package/build/client/_app/immutable/chunks/B7_iNACm.js.gz +0 -0
  695. package/build/client/_app/immutable/chunks/BAq68XYZ.js +0 -1
  696. package/build/client/_app/immutable/chunks/BAq68XYZ.js.br +0 -2
  697. package/build/client/_app/immutable/chunks/BAq68XYZ.js.gz +0 -0
  698. package/build/client/_app/immutable/chunks/BCUUi0V0.js +0 -1
  699. package/build/client/_app/immutable/chunks/BCUUi0V0.js.br +0 -0
  700. package/build/client/_app/immutable/chunks/BCUUi0V0.js.gz +0 -0
  701. package/build/client/_app/immutable/chunks/BDvmdv6w.js +0 -3
  702. package/build/client/_app/immutable/chunks/BDvmdv6w.js.br +0 -0
  703. package/build/client/_app/immutable/chunks/BDvmdv6w.js.gz +0 -0
  704. package/build/client/_app/immutable/chunks/BI5zm8mS.js +0 -1
  705. package/build/client/_app/immutable/chunks/BI5zm8mS.js.br +0 -0
  706. package/build/client/_app/immutable/chunks/BI5zm8mS.js.gz +0 -0
  707. package/build/client/_app/immutable/chunks/BMENJOsX.js +0 -1
  708. package/build/client/_app/immutable/chunks/BMENJOsX.js.br +0 -0
  709. package/build/client/_app/immutable/chunks/BMENJOsX.js.gz +0 -0
  710. package/build/client/_app/immutable/chunks/BMr_mk6E.js +0 -1
  711. package/build/client/_app/immutable/chunks/BMr_mk6E.js.br +0 -0
  712. package/build/client/_app/immutable/chunks/BMr_mk6E.js.gz +0 -0
  713. package/build/client/_app/immutable/chunks/BRycAf51.js +0 -1
  714. package/build/client/_app/immutable/chunks/BRycAf51.js.br +0 -0
  715. package/build/client/_app/immutable/chunks/BRycAf51.js.gz +0 -0
  716. package/build/client/_app/immutable/chunks/BSAbhtop.js +0 -1
  717. package/build/client/_app/immutable/chunks/BSAbhtop.js.br +0 -0
  718. package/build/client/_app/immutable/chunks/BSAbhtop.js.gz +0 -0
  719. package/build/client/_app/immutable/chunks/BSLWMjF0.js +0 -1
  720. package/build/client/_app/immutable/chunks/BSLWMjF0.js.br +0 -0
  721. package/build/client/_app/immutable/chunks/BSLWMjF0.js.gz +0 -0
  722. package/build/client/_app/immutable/chunks/BSyYGDmJ.js +0 -1
  723. package/build/client/_app/immutable/chunks/BSyYGDmJ.js.br +0 -0
  724. package/build/client/_app/immutable/chunks/BSyYGDmJ.js.gz +0 -0
  725. package/build/client/_app/immutable/chunks/BT1J4Jfm.js +0 -2
  726. package/build/client/_app/immutable/chunks/BT1J4Jfm.js.br +0 -0
  727. package/build/client/_app/immutable/chunks/BT1J4Jfm.js.gz +0 -0
  728. package/build/client/_app/immutable/chunks/BTGEdsVs.js +0 -1
  729. package/build/client/_app/immutable/chunks/BTGEdsVs.js.br +0 -0
  730. package/build/client/_app/immutable/chunks/BTGEdsVs.js.gz +0 -0
  731. package/build/client/_app/immutable/chunks/BVXUMEgB.js +0 -1
  732. package/build/client/_app/immutable/chunks/BVXUMEgB.js.br +0 -0
  733. package/build/client/_app/immutable/chunks/BVXUMEgB.js.gz +0 -0
  734. package/build/client/_app/immutable/chunks/BWLFBBxS.js +0 -1
  735. package/build/client/_app/immutable/chunks/BWLFBBxS.js.br +0 -0
  736. package/build/client/_app/immutable/chunks/BWLFBBxS.js.gz +0 -0
  737. package/build/client/_app/immutable/chunks/BWMXHwzX.js +0 -1
  738. package/build/client/_app/immutable/chunks/BWMXHwzX.js.br +0 -0
  739. package/build/client/_app/immutable/chunks/BWMXHwzX.js.gz +0 -0
  740. package/build/client/_app/immutable/chunks/BZ1lm_ML.js +0 -1
  741. package/build/client/_app/immutable/chunks/BZ1lm_ML.js.br +0 -0
  742. package/build/client/_app/immutable/chunks/BZ1lm_ML.js.gz +0 -0
  743. package/build/client/_app/immutable/chunks/BZopLYRp.js +0 -1
  744. package/build/client/_app/immutable/chunks/BZopLYRp.js.br +0 -1
  745. package/build/client/_app/immutable/chunks/BZopLYRp.js.gz +0 -0
  746. package/build/client/_app/immutable/chunks/BaPx3dni.js +0 -1
  747. package/build/client/_app/immutable/chunks/BaPx3dni.js.br +0 -0
  748. package/build/client/_app/immutable/chunks/BaPx3dni.js.gz +0 -0
  749. package/build/client/_app/immutable/chunks/BbcyVGIE.js +0 -1
  750. package/build/client/_app/immutable/chunks/BbcyVGIE.js.br +0 -1
  751. package/build/client/_app/immutable/chunks/BbcyVGIE.js.gz +0 -0
  752. package/build/client/_app/immutable/chunks/BdFwDk8n.js +0 -2
  753. package/build/client/_app/immutable/chunks/BdFwDk8n.js.br +0 -0
  754. package/build/client/_app/immutable/chunks/BdFwDk8n.js.gz +0 -0
  755. package/build/client/_app/immutable/chunks/BgdSO3zD.js +0 -1
  756. package/build/client/_app/immutable/chunks/BgdSO3zD.js.br +0 -0
  757. package/build/client/_app/immutable/chunks/BgdSO3zD.js.gz +0 -0
  758. package/build/client/_app/immutable/chunks/BjnGe_yq.js +0 -1
  759. package/build/client/_app/immutable/chunks/BjnGe_yq.js.br +0 -0
  760. package/build/client/_app/immutable/chunks/BjnGe_yq.js.gz +0 -0
  761. package/build/client/_app/immutable/chunks/Bmlgorxn.js +0 -1
  762. package/build/client/_app/immutable/chunks/Bmlgorxn.js.br +0 -0
  763. package/build/client/_app/immutable/chunks/Bmlgorxn.js.gz +0 -0
  764. package/build/client/_app/immutable/chunks/BnjvfFIz.js +0 -1
  765. package/build/client/_app/immutable/chunks/BnjvfFIz.js.br +0 -0
  766. package/build/client/_app/immutable/chunks/BnjvfFIz.js.gz +0 -0
  767. package/build/client/_app/immutable/chunks/BpMKz_wZ.js +0 -1
  768. package/build/client/_app/immutable/chunks/BpMKz_wZ.js.br +0 -0
  769. package/build/client/_app/immutable/chunks/BpMKz_wZ.js.gz +0 -0
  770. package/build/client/_app/immutable/chunks/BrLbcBkK.js +0 -1
  771. package/build/client/_app/immutable/chunks/BrLbcBkK.js.br +0 -0
  772. package/build/client/_app/immutable/chunks/BrLbcBkK.js.gz +0 -0
  773. package/build/client/_app/immutable/chunks/C-v4bXiX.js +0 -1
  774. package/build/client/_app/immutable/chunks/C-v4bXiX.js.br +0 -0
  775. package/build/client/_app/immutable/chunks/C-v4bXiX.js.gz +0 -0
  776. package/build/client/_app/immutable/chunks/C0MWzv-8.js +0 -6
  777. package/build/client/_app/immutable/chunks/C0MWzv-8.js.br +0 -0
  778. package/build/client/_app/immutable/chunks/C0MWzv-8.js.gz +0 -0
  779. package/build/client/_app/immutable/chunks/C2RRJVBQ.js +0 -1
  780. package/build/client/_app/immutable/chunks/C2RRJVBQ.js.br +0 -0
  781. package/build/client/_app/immutable/chunks/C2RRJVBQ.js.gz +0 -0
  782. package/build/client/_app/immutable/chunks/C7ciWNd6.js +0 -1
  783. package/build/client/_app/immutable/chunks/C7ciWNd6.js.br +0 -0
  784. package/build/client/_app/immutable/chunks/C7ciWNd6.js.gz +0 -0
  785. package/build/client/_app/immutable/chunks/C8zZx-xt.js +0 -2
  786. package/build/client/_app/immutable/chunks/C8zZx-xt.js.br +0 -0
  787. package/build/client/_app/immutable/chunks/C8zZx-xt.js.gz +0 -0
  788. package/build/client/_app/immutable/chunks/CAg3kJAD.js +0 -1
  789. package/build/client/_app/immutable/chunks/CAg3kJAD.js.br +0 -0
  790. package/build/client/_app/immutable/chunks/CAg3kJAD.js.gz +0 -0
  791. package/build/client/_app/immutable/chunks/CB-Yy7Oc.js +0 -1
  792. package/build/client/_app/immutable/chunks/CB-Yy7Oc.js.br +0 -0
  793. package/build/client/_app/immutable/chunks/CB-Yy7Oc.js.gz +0 -0
  794. package/build/client/_app/immutable/chunks/CFTBYUY0.js +0 -1
  795. package/build/client/_app/immutable/chunks/CFTBYUY0.js.br +0 -0
  796. package/build/client/_app/immutable/chunks/CFTBYUY0.js.gz +0 -0
  797. package/build/client/_app/immutable/chunks/CHp0QXma.js +0 -1
  798. package/build/client/_app/immutable/chunks/CHp0QXma.js.br +0 -0
  799. package/build/client/_app/immutable/chunks/CHp0QXma.js.gz +0 -0
  800. package/build/client/_app/immutable/chunks/CIYMll76.js +0 -1
  801. package/build/client/_app/immutable/chunks/CIYMll76.js.br +0 -0
  802. package/build/client/_app/immutable/chunks/CIYMll76.js.gz +0 -0
  803. package/build/client/_app/immutable/chunks/CIy-P92h.js +0 -1
  804. package/build/client/_app/immutable/chunks/CIy-P92h.js.br +0 -0
  805. package/build/client/_app/immutable/chunks/CIy-P92h.js.gz +0 -0
  806. package/build/client/_app/immutable/chunks/CMaWz4o4.js +0 -1
  807. package/build/client/_app/immutable/chunks/CMaWz4o4.js.br +0 -0
  808. package/build/client/_app/immutable/chunks/CMaWz4o4.js.gz +0 -0
  809. package/build/client/_app/immutable/chunks/CQHWwfAi.js +0 -6
  810. package/build/client/_app/immutable/chunks/CQHWwfAi.js.br +0 -0
  811. package/build/client/_app/immutable/chunks/CQHWwfAi.js.gz +0 -0
  812. package/build/client/_app/immutable/chunks/CRwJDM5V.js +0 -1
  813. package/build/client/_app/immutable/chunks/CRwJDM5V.js.br +0 -0
  814. package/build/client/_app/immutable/chunks/CRwJDM5V.js.gz +0 -0
  815. package/build/client/_app/immutable/chunks/CTrLukaf.js +0 -1
  816. package/build/client/_app/immutable/chunks/CTrLukaf.js.br +0 -0
  817. package/build/client/_app/immutable/chunks/CTrLukaf.js.gz +0 -0
  818. package/build/client/_app/immutable/chunks/CWwiXwzb.js +0 -1
  819. package/build/client/_app/immutable/chunks/CWwiXwzb.js.br +0 -0
  820. package/build/client/_app/immutable/chunks/CWwiXwzb.js.gz +0 -0
  821. package/build/client/_app/immutable/chunks/CZ9B2R88.js +0 -1
  822. package/build/client/_app/immutable/chunks/CZ9B2R88.js.br +0 -0
  823. package/build/client/_app/immutable/chunks/CZ9B2R88.js.gz +0 -0
  824. package/build/client/_app/immutable/chunks/CaWiHZG3.js +0 -2
  825. package/build/client/_app/immutable/chunks/CaWiHZG3.js.br +0 -0
  826. package/build/client/_app/immutable/chunks/CaWiHZG3.js.gz +0 -0
  827. package/build/client/_app/immutable/chunks/CdjiQqyv.js +0 -1
  828. package/build/client/_app/immutable/chunks/CdjiQqyv.js.br +0 -0
  829. package/build/client/_app/immutable/chunks/CdjiQqyv.js.gz +0 -0
  830. package/build/client/_app/immutable/chunks/CgRL1-0o.js +0 -1
  831. package/build/client/_app/immutable/chunks/CgRL1-0o.js.br +0 -1
  832. package/build/client/_app/immutable/chunks/CgRL1-0o.js.gz +0 -0
  833. package/build/client/_app/immutable/chunks/CmCKdnrX.js +0 -1
  834. package/build/client/_app/immutable/chunks/CmCKdnrX.js.br +0 -0
  835. package/build/client/_app/immutable/chunks/CmCKdnrX.js.gz +0 -0
  836. package/build/client/_app/immutable/chunks/CpfdQr0S.js +0 -62
  837. package/build/client/_app/immutable/chunks/CpfdQr0S.js.br +0 -0
  838. package/build/client/_app/immutable/chunks/CpfdQr0S.js.gz +0 -0
  839. package/build/client/_app/immutable/chunks/CxTrXIVM.js +0 -1
  840. package/build/client/_app/immutable/chunks/CxTrXIVM.js.br +0 -0
  841. package/build/client/_app/immutable/chunks/CxTrXIVM.js.gz +0 -0
  842. package/build/client/_app/immutable/chunks/CzFBjiRM.js +0 -3
  843. package/build/client/_app/immutable/chunks/CzFBjiRM.js.br +0 -0
  844. package/build/client/_app/immutable/chunks/CzFBjiRM.js.gz +0 -0
  845. package/build/client/_app/immutable/chunks/D1roL6Hv.js +0 -1
  846. package/build/client/_app/immutable/chunks/D1roL6Hv.js.br +0 -0
  847. package/build/client/_app/immutable/chunks/D1roL6Hv.js.gz +0 -0
  848. package/build/client/_app/immutable/chunks/D4Pa-CDM.js +0 -1
  849. package/build/client/_app/immutable/chunks/D4Pa-CDM.js.br +0 -0
  850. package/build/client/_app/immutable/chunks/D4Pa-CDM.js.gz +0 -0
  851. package/build/client/_app/immutable/chunks/D4UZzPqA.js +0 -1
  852. package/build/client/_app/immutable/chunks/D4UZzPqA.js.br +0 -0
  853. package/build/client/_app/immutable/chunks/D4UZzPqA.js.gz +0 -0
  854. package/build/client/_app/immutable/chunks/D5U_9MMt.js +0 -1
  855. package/build/client/_app/immutable/chunks/D5U_9MMt.js.br +0 -0
  856. package/build/client/_app/immutable/chunks/D5U_9MMt.js.gz +0 -0
  857. package/build/client/_app/immutable/chunks/D89MyAjP.js +0 -1
  858. package/build/client/_app/immutable/chunks/D89MyAjP.js.br +0 -0
  859. package/build/client/_app/immutable/chunks/D89MyAjP.js.gz +0 -0
  860. package/build/client/_app/immutable/chunks/D8LP8iV3.js +0 -1
  861. package/build/client/_app/immutable/chunks/D8LP8iV3.js.br +0 -0
  862. package/build/client/_app/immutable/chunks/D8LP8iV3.js.gz +0 -0
  863. package/build/client/_app/immutable/chunks/DAVoqfvP.js +0 -1
  864. package/build/client/_app/immutable/chunks/DAVoqfvP.js.br +0 -0
  865. package/build/client/_app/immutable/chunks/DAVoqfvP.js.gz +0 -0
  866. package/build/client/_app/immutable/chunks/DE8kltkv.js +0 -1
  867. package/build/client/_app/immutable/chunks/DE8kltkv.js.br +0 -0
  868. package/build/client/_app/immutable/chunks/DE8kltkv.js.gz +0 -0
  869. package/build/client/_app/immutable/chunks/DFTZSd_0.js +0 -1
  870. package/build/client/_app/immutable/chunks/DFTZSd_0.js.br +0 -0
  871. package/build/client/_app/immutable/chunks/DFTZSd_0.js.gz +0 -0
  872. package/build/client/_app/immutable/chunks/DJj_8ZE0.js +0 -1
  873. package/build/client/_app/immutable/chunks/DJj_8ZE0.js.br +0 -0
  874. package/build/client/_app/immutable/chunks/DJj_8ZE0.js.gz +0 -0
  875. package/build/client/_app/immutable/chunks/DKoUGRbe.js +0 -1
  876. package/build/client/_app/immutable/chunks/DKoUGRbe.js.br +0 -0
  877. package/build/client/_app/immutable/chunks/DKoUGRbe.js.gz +0 -0
  878. package/build/client/_app/immutable/chunks/DLEPHZvA.js +0 -1
  879. package/build/client/_app/immutable/chunks/DLEPHZvA.js.br +0 -4
  880. package/build/client/_app/immutable/chunks/DLEPHZvA.js.gz +0 -0
  881. package/build/client/_app/immutable/chunks/DMgLjvW3.js +0 -5
  882. package/build/client/_app/immutable/chunks/DMgLjvW3.js.br +0 -0
  883. package/build/client/_app/immutable/chunks/DMgLjvW3.js.gz +0 -0
  884. package/build/client/_app/immutable/chunks/DMl-DF2b.js +0 -1
  885. package/build/client/_app/immutable/chunks/DMl-DF2b.js.br +0 -0
  886. package/build/client/_app/immutable/chunks/DMl-DF2b.js.gz +0 -0
  887. package/build/client/_app/immutable/chunks/DSko8zmz.js +0 -2
  888. package/build/client/_app/immutable/chunks/DSko8zmz.js.br +0 -0
  889. package/build/client/_app/immutable/chunks/DSko8zmz.js.gz +0 -0
  890. package/build/client/_app/immutable/chunks/DTsBbwsD.js +0 -1
  891. package/build/client/_app/immutable/chunks/DTsBbwsD.js.br +0 -0
  892. package/build/client/_app/immutable/chunks/DTsBbwsD.js.gz +0 -0
  893. package/build/client/_app/immutable/chunks/DU3KQvXy.js +0 -1
  894. package/build/client/_app/immutable/chunks/DU3KQvXy.js.br +0 -0
  895. package/build/client/_app/immutable/chunks/DU3KQvXy.js.gz +0 -0
  896. package/build/client/_app/immutable/chunks/DW_PNFsH.js +0 -1
  897. package/build/client/_app/immutable/chunks/DW_PNFsH.js.br +0 -0
  898. package/build/client/_app/immutable/chunks/DW_PNFsH.js.gz +0 -0
  899. package/build/client/_app/immutable/chunks/DbDe1aXV.js +0 -1
  900. package/build/client/_app/immutable/chunks/DbDe1aXV.js.br +0 -0
  901. package/build/client/_app/immutable/chunks/DbDe1aXV.js.gz +0 -0
  902. package/build/client/_app/immutable/chunks/Dkfz397R.js +0 -1
  903. package/build/client/_app/immutable/chunks/Dkfz397R.js.br +0 -0
  904. package/build/client/_app/immutable/chunks/Dkfz397R.js.gz +0 -0
  905. package/build/client/_app/immutable/chunks/DoDLIp5m.js +0 -1
  906. package/build/client/_app/immutable/chunks/DoDLIp5m.js.br +0 -0
  907. package/build/client/_app/immutable/chunks/DoDLIp5m.js.gz +0 -0
  908. package/build/client/_app/immutable/chunks/Doj1ALb-.js +0 -3
  909. package/build/client/_app/immutable/chunks/Doj1ALb-.js.br +0 -0
  910. package/build/client/_app/immutable/chunks/Doj1ALb-.js.gz +0 -0
  911. package/build/client/_app/immutable/chunks/Dqa3-VtN.js +0 -1
  912. package/build/client/_app/immutable/chunks/Dqa3-VtN.js.br +0 -0
  913. package/build/client/_app/immutable/chunks/Dqa3-VtN.js.gz +0 -0
  914. package/build/client/_app/immutable/chunks/Du52uXtT.js +0 -1
  915. package/build/client/_app/immutable/chunks/Du52uXtT.js.br +0 -0
  916. package/build/client/_app/immutable/chunks/Du52uXtT.js.gz +0 -0
  917. package/build/client/_app/immutable/chunks/DuVJ-6iG.js +0 -1
  918. package/build/client/_app/immutable/chunks/DuVJ-6iG.js.br +0 -0
  919. package/build/client/_app/immutable/chunks/DuVJ-6iG.js.gz +0 -0
  920. package/build/client/_app/immutable/chunks/DvBi9tLd.js +0 -1
  921. package/build/client/_app/immutable/chunks/DvBi9tLd.js.br +0 -3
  922. package/build/client/_app/immutable/chunks/DvBi9tLd.js.gz +0 -0
  923. package/build/client/_app/immutable/chunks/LXhOiCRf.js +0 -1
  924. package/build/client/_app/immutable/chunks/LXhOiCRf.js.br +0 -0
  925. package/build/client/_app/immutable/chunks/LXhOiCRf.js.gz +0 -0
  926. package/build/client/_app/immutable/chunks/Q2Kc7mOm.js +0 -2
  927. package/build/client/_app/immutable/chunks/Q2Kc7mOm.js.br +0 -0
  928. package/build/client/_app/immutable/chunks/Q2Kc7mOm.js.gz +0 -0
  929. package/build/client/_app/immutable/chunks/Q48DR58e.js +0 -1
  930. package/build/client/_app/immutable/chunks/Q48DR58e.js.br +0 -0
  931. package/build/client/_app/immutable/chunks/Q48DR58e.js.gz +0 -0
  932. package/build/client/_app/immutable/chunks/SCekP0Nu.js +0 -1
  933. package/build/client/_app/immutable/chunks/SCekP0Nu.js.br +0 -2
  934. package/build/client/_app/immutable/chunks/SCekP0Nu.js.gz +0 -0
  935. package/build/client/_app/immutable/chunks/YlriRNIQ.js +0 -1
  936. package/build/client/_app/immutable/chunks/YlriRNIQ.js.br +0 -0
  937. package/build/client/_app/immutable/chunks/YlriRNIQ.js.gz +0 -0
  938. package/build/client/_app/immutable/chunks/ZA2uJ8Tt.js +0 -6
  939. package/build/client/_app/immutable/chunks/ZA2uJ8Tt.js.br +0 -0
  940. package/build/client/_app/immutable/chunks/ZA2uJ8Tt.js.gz +0 -0
  941. package/build/client/_app/immutable/chunks/_0enMFYc.js +0 -1
  942. package/build/client/_app/immutable/chunks/_0enMFYc.js.br +0 -0
  943. package/build/client/_app/immutable/chunks/_0enMFYc.js.gz +0 -0
  944. package/build/client/_app/immutable/chunks/a9G_41Ap.js +0 -1
  945. package/build/client/_app/immutable/chunks/a9G_41Ap.js.br +0 -0
  946. package/build/client/_app/immutable/chunks/a9G_41Ap.js.gz +0 -0
  947. package/build/client/_app/immutable/chunks/cwI46DFb.js +0 -1
  948. package/build/client/_app/immutable/chunks/cwI46DFb.js.br +0 -0
  949. package/build/client/_app/immutable/chunks/cwI46DFb.js.gz +0 -0
  950. package/build/client/_app/immutable/chunks/eqflOI5b.js +0 -1
  951. package/build/client/_app/immutable/chunks/eqflOI5b.js.br +0 -0
  952. package/build/client/_app/immutable/chunks/eqflOI5b.js.gz +0 -0
  953. package/build/client/_app/immutable/chunks/iJXyGgnZ.js +0 -1
  954. package/build/client/_app/immutable/chunks/iJXyGgnZ.js.br +0 -0
  955. package/build/client/_app/immutable/chunks/iJXyGgnZ.js.gz +0 -0
  956. package/build/client/_app/immutable/chunks/jwmQLPa0.js +0 -1
  957. package/build/client/_app/immutable/chunks/jwmQLPa0.js.br +0 -0
  958. package/build/client/_app/immutable/chunks/jwmQLPa0.js.gz +0 -0
  959. package/build/client/_app/immutable/chunks/owZwgt4n.js +0 -1
  960. package/build/client/_app/immutable/chunks/owZwgt4n.js.br +0 -0
  961. package/build/client/_app/immutable/chunks/owZwgt4n.js.gz +0 -0
  962. package/build/client/_app/immutable/chunks/prQt12i5.js +0 -1
  963. package/build/client/_app/immutable/chunks/prQt12i5.js.br +0 -0
  964. package/build/client/_app/immutable/chunks/prQt12i5.js.gz +0 -0
  965. package/build/client/_app/immutable/entry/app.0KKYPA3p.js +0 -2
  966. package/build/client/_app/immutable/entry/app.0KKYPA3p.js.br +0 -0
  967. package/build/client/_app/immutable/entry/app.0KKYPA3p.js.gz +0 -0
  968. package/build/client/_app/immutable/entry/start.BlCOV5ay.js +0 -1
  969. package/build/client/_app/immutable/entry/start.BlCOV5ay.js.br +0 -0
  970. package/build/client/_app/immutable/entry/start.BlCOV5ay.js.gz +0 -0
  971. package/build/client/_app/immutable/nodes/0.jW4d7OZN.js +0 -9
  972. package/build/client/_app/immutable/nodes/0.jW4d7OZN.js.br +0 -0
  973. package/build/client/_app/immutable/nodes/0.jW4d7OZN.js.gz +0 -0
  974. package/build/client/_app/immutable/nodes/1.DdihajJ4.js +0 -1
  975. package/build/client/_app/immutable/nodes/1.DdihajJ4.js.br +0 -0
  976. package/build/client/_app/immutable/nodes/1.DdihajJ4.js.gz +0 -0
  977. package/build/client/_app/immutable/nodes/10.DuY6hGg0.js +0 -10
  978. package/build/client/_app/immutable/nodes/10.DuY6hGg0.js.br +0 -0
  979. package/build/client/_app/immutable/nodes/10.DuY6hGg0.js.gz +0 -0
  980. package/build/client/_app/immutable/nodes/11.CNvRXMiw.js +0 -1
  981. package/build/client/_app/immutable/nodes/11.CNvRXMiw.js.br +0 -0
  982. package/build/client/_app/immutable/nodes/11.CNvRXMiw.js.gz +0 -0
  983. package/build/client/_app/immutable/nodes/12.BjBtW23J.js +0 -3
  984. package/build/client/_app/immutable/nodes/12.BjBtW23J.js.br +0 -0
  985. package/build/client/_app/immutable/nodes/12.BjBtW23J.js.gz +0 -0
  986. package/build/client/_app/immutable/nodes/13.CdSfXRGw.js +0 -1
  987. package/build/client/_app/immutable/nodes/13.CdSfXRGw.js.br +0 -0
  988. package/build/client/_app/immutable/nodes/13.CdSfXRGw.js.gz +0 -0
  989. package/build/client/_app/immutable/nodes/14.BULRdwx7.js +0 -14
  990. package/build/client/_app/immutable/nodes/14.BULRdwx7.js.br +0 -0
  991. package/build/client/_app/immutable/nodes/14.BULRdwx7.js.gz +0 -0
  992. package/build/client/_app/immutable/nodes/15.DnXz0Is_.js +0 -150
  993. package/build/client/_app/immutable/nodes/15.DnXz0Is_.js.br +0 -0
  994. package/build/client/_app/immutable/nodes/15.DnXz0Is_.js.gz +0 -0
  995. package/build/client/_app/immutable/nodes/16.B5-Mk9-n.js +0 -3
  996. package/build/client/_app/immutable/nodes/16.B5-Mk9-n.js.br +0 -0
  997. package/build/client/_app/immutable/nodes/16.B5-Mk9-n.js.gz +0 -0
  998. package/build/client/_app/immutable/nodes/17.CVRMEg9W.js +0 -4
  999. package/build/client/_app/immutable/nodes/17.CVRMEg9W.js.br +0 -0
  1000. package/build/client/_app/immutable/nodes/17.CVRMEg9W.js.gz +0 -0
  1001. package/build/client/_app/immutable/nodes/19.1HpQon__.js +0 -2
  1002. package/build/client/_app/immutable/nodes/19.1HpQon__.js.br +0 -0
  1003. package/build/client/_app/immutable/nodes/19.1HpQon__.js.gz +0 -0
  1004. package/build/client/_app/immutable/nodes/2.C8kz540e.js +0 -28
  1005. package/build/client/_app/immutable/nodes/2.C8kz540e.js.br +0 -0
  1006. package/build/client/_app/immutable/nodes/2.C8kz540e.js.gz +0 -0
  1007. package/build/client/_app/immutable/nodes/20.CKw0OP5E.js +0 -11
  1008. package/build/client/_app/immutable/nodes/20.CKw0OP5E.js.br +0 -0
  1009. package/build/client/_app/immutable/nodes/20.CKw0OP5E.js.gz +0 -0
  1010. package/build/client/_app/immutable/nodes/21.Br-t2lgR.js +0 -7
  1011. package/build/client/_app/immutable/nodes/21.Br-t2lgR.js.br +0 -0
  1012. package/build/client/_app/immutable/nodes/21.Br-t2lgR.js.gz +0 -0
  1013. package/build/client/_app/immutable/nodes/22.DBNiw07i.js +0 -2
  1014. package/build/client/_app/immutable/nodes/22.DBNiw07i.js.br +0 -0
  1015. package/build/client/_app/immutable/nodes/22.DBNiw07i.js.gz +0 -0
  1016. package/build/client/_app/immutable/nodes/23.BVgZO47r.js +0 -4
  1017. package/build/client/_app/immutable/nodes/23.BVgZO47r.js.br +0 -0
  1018. package/build/client/_app/immutable/nodes/23.BVgZO47r.js.gz +0 -0
  1019. package/build/client/_app/immutable/nodes/24.CN0qaWqI.js +0 -7
  1020. package/build/client/_app/immutable/nodes/24.CN0qaWqI.js.br +0 -0
  1021. package/build/client/_app/immutable/nodes/24.CN0qaWqI.js.gz +0 -0
  1022. package/build/client/_app/immutable/nodes/25.BkZKXWA4.js +0 -23
  1023. package/build/client/_app/immutable/nodes/25.BkZKXWA4.js.br +0 -0
  1024. package/build/client/_app/immutable/nodes/25.BkZKXWA4.js.gz +0 -0
  1025. package/build/client/_app/immutable/nodes/26.DfQ1GVuK.js +0 -4
  1026. package/build/client/_app/immutable/nodes/26.DfQ1GVuK.js.br +0 -0
  1027. package/build/client/_app/immutable/nodes/26.DfQ1GVuK.js.gz +0 -0
  1028. package/build/client/_app/immutable/nodes/27.CIpdBEuY.js +0 -1
  1029. package/build/client/_app/immutable/nodes/27.CIpdBEuY.js.br +0 -0
  1030. package/build/client/_app/immutable/nodes/27.CIpdBEuY.js.gz +0 -0
  1031. package/build/client/_app/immutable/nodes/28.VVBSC2RH.js +0 -6
  1032. package/build/client/_app/immutable/nodes/28.VVBSC2RH.js.br +0 -0
  1033. package/build/client/_app/immutable/nodes/28.VVBSC2RH.js.gz +0 -0
  1034. package/build/client/_app/immutable/nodes/3.vk2OdcnS.js +0 -5
  1035. package/build/client/_app/immutable/nodes/3.vk2OdcnS.js.br +0 -0
  1036. package/build/client/_app/immutable/nodes/3.vk2OdcnS.js.gz +0 -0
  1037. package/build/client/_app/immutable/nodes/4.c9Fz2eak.js +0 -1
  1038. package/build/client/_app/immutable/nodes/4.c9Fz2eak.js.br +0 -0
  1039. package/build/client/_app/immutable/nodes/4.c9Fz2eak.js.gz +0 -0
  1040. package/build/client/_app/immutable/nodes/5.CfTVcSwF.js +0 -1
  1041. package/build/client/_app/immutable/nodes/5.CfTVcSwF.js.br +0 -0
  1042. package/build/client/_app/immutable/nodes/5.CfTVcSwF.js.gz +0 -0
  1043. package/build/client/_app/immutable/nodes/6.CMkOqbj-.js +0 -2
  1044. package/build/client/_app/immutable/nodes/6.CMkOqbj-.js.br +0 -0
  1045. package/build/client/_app/immutable/nodes/6.CMkOqbj-.js.gz +0 -0
  1046. package/build/client/_app/immutable/nodes/7.Cts6j4K2.js +0 -7
  1047. package/build/client/_app/immutable/nodes/7.Cts6j4K2.js.br +0 -0
  1048. package/build/client/_app/immutable/nodes/7.Cts6j4K2.js.gz +0 -0
  1049. package/build/client/_app/immutable/nodes/8.g8JfQlSH.js +0 -5
  1050. package/build/client/_app/immutable/nodes/8.g8JfQlSH.js.br +0 -0
  1051. package/build/client/_app/immutable/nodes/8.g8JfQlSH.js.gz +0 -0
  1052. package/build/client/_app/immutable/nodes/9.Bfua_m4A.js +0 -1
  1053. package/build/client/_app/immutable/nodes/9.Bfua_m4A.js.br +0 -0
  1054. package/build/client/_app/immutable/nodes/9.Bfua_m4A.js.gz +0 -0
  1055. package/build/server/chunks/chunks/DecisionCard.js-CuWw0zS6.js +0 -1690
  1056. package/build/server/chunks/chunks/EtaLine.js-D5L0wIoo.js +0 -98
  1057. package/build/server/chunks/chunks/InsightsNav.js-DlkSZMIv.js +0 -18
  1058. package/build/server/chunks/chunks/InstallFromGitHub.js-THJ7MTpk.js +0 -307
  1059. package/build/server/chunks/chunks/Lightbox.js-Bx6pV-NL.js +0 -34
  1060. package/build/server/chunks/chunks/MicButton.svelte_svelte_type_style_lang.js-BPXrY8rN.js +0 -168
  1061. package/build/server/chunks/chunks/OpenDecision.js-BhDJ_jmX.js +0 -33
  1062. package/build/server/chunks/chunks/ProjectBanner.js-DGz8m8Rb.js +0 -111
  1063. package/build/server/chunks/chunks/ProjectStateMark.js-ruGL_Mma.js +0 -41
  1064. package/build/server/chunks/chunks/QuestionList.js-CODH1M5Z.js +0 -214
  1065. package/build/server/chunks/chunks/RemotesPanel.js-qXJzfoKH.js +0 -315
  1066. package/build/server/chunks/chunks/SlotContent.js-Dfh5Tmlb.js +0 -701
  1067. package/build/server/chunks/chunks/WhereBadge.js-DocJaNZe.js +0 -88
  1068. package/build/server/chunks/chunks/bell.js-kMMKqlsJ.js +0 -184
  1069. package/build/server/chunks/chunks/berths.js-B282QffH.js +0 -270
  1070. package/build/server/chunks/chunks/bridge.js-DW4bV609.js +0 -60
  1071. package/build/server/chunks/chunks/buildlog.js-BCKtSKOt.js +0 -55
  1072. package/build/server/chunks/chunks/chat.svelte.js-BtY19xS3.js +0 -756
  1073. package/build/server/chunks/chunks/checks.js-DGdGhp1G.js +0 -258
  1074. package/build/server/chunks/chunks/decisionform.js-Ds5LU9Wh.js +0 -196
  1075. package/build/server/chunks/chunks/detail.js-PpwN4y7F.js +0 -146
  1076. package/build/server/chunks/chunks/feedback.js-DswvjtHy.js +0 -67
  1077. package/build/server/chunks/chunks/format.js-D3lWEg6U.js +0 -70
  1078. package/build/server/chunks/chunks/inbox.js-CnikIOgr.js +0 -196
  1079. package/build/server/chunks/chunks/insights.svelte.js-zYElPxnA.js +0 -679
  1080. package/build/server/chunks/chunks/internal.js-yOCcd8y4.js +0 -151
  1081. package/build/server/chunks/chunks/keychain.js-ByH7xcXL.js +0 -52
  1082. package/build/server/chunks/chunks/live.svelte.js-qalupdld.js +0 -241
  1083. package/build/server/chunks/chunks/marketplace-service.js-CaS2LIy-.js +0 -557
  1084. package/build/server/chunks/chunks/messages-square.js-Du4pyX-d.js +0 -47
  1085. package/build/server/chunks/chunks/nav.js-D0-z8_wN.js +0 -32
  1086. package/build/server/chunks/chunks/page.js-BzGOWCGE.js +0 -11
  1087. package/build/server/chunks/chunks/plugins.js-DoEQ8bDp.js +0 -58
  1088. package/build/server/chunks/chunks/previewhelper2.js-CoCoYwMt.js +0 -165
  1089. package/build/server/chunks/chunks/repo.js-BsGFwXgC.js +0 -33
  1090. package/build/server/chunks/chunks/runtime.js-C_8Ppn9b.js +0 -22108
  1091. package/build/server/chunks/chunks/service.js-B4jHXY9Z.js +0 -1339
  1092. package/build/server/chunks/chunks/service2.js-Ce4ukJkC.js +0 -832
  1093. package/build/server/chunks/chunks/starter.js-DZf9SEab.js +0 -333
  1094. package/build/server/chunks/chunks/store.js-H2CHLL0k.js +0 -332
  1095. package/build/server/chunks/chunks/uploads.js-D-S5kO_3.js +0 -107
  1096. package/build/server/chunks/chunks/view.js-Dvu6EhDu.js +0 -76
  1097. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-xQo8aQZN.js +0 -99
  1098. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-ktETgJlc.js +0 -88
  1099. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-Djf1SbGQ.js +0 -46
  1100. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-D6PqxTRk.js +0 -109
  1101. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-Bgcyj-jd.js +0 -58
  1102. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-CAGNEUaQ.js +0 -92
  1103. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-DYxcfysf.js +0 -53
  1104. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-dT-YqTq3.js +0 -54
  1105. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-BSG0iW44.js +0 -60
  1106. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-Bm700VsN.js +0 -53
  1107. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-Bvj0mF1K.js +0 -100
  1108. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-De3ndNdZ.js +0 -63
  1109. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-BktQt_PG.js +0 -74
  1110. package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-DqfKrjiA.js +0 -62
  1111. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-DAQD1zVo.js +0 -53
  1112. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-Dvc7zUK2.js +0 -32
  1113. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-DE3nyNKc.js +0 -40
  1114. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-Br7sG10z.js +0 -45
  1115. package/build/server/chunks/entries/endpoints/api/gateway/_server.ts.js-CqMqtzTx.js +0 -109
  1116. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-zCyuo9kz.js +0 -45
  1117. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-dV9qhJ_C.js +0 -69
  1118. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-CN4_ZXyz.js +0 -60
  1119. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-B8fscNBV.js +0 -45
  1120. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-CRZFrtp7.js +0 -80
  1121. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-DhMrYZkN.js +0 -69
  1122. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-PQCmlQA-.js +0 -64
  1123. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-K-1XBUKN.js +0 -61
  1124. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-B13sQqF6.js +0 -27
  1125. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-BCGiHHb1.js +0 -68
  1126. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-Zgxmmhem.js +0 -39
  1127. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-BylDY-bL.js +0 -45
  1128. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-0iLSRJm1.js +0 -39
  1129. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-T4BVj99G.js +0 -42
  1130. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-80eA0xBR.js +0 -50
  1131. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-Cgd-ye-7.js +0 -59
  1132. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-BAJAilsO.js +0 -56
  1133. package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-Bs291TYh.js +0 -60
  1134. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-5G7Hgm7w.js +0 -27
  1135. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-BP4NWwPX.js +0 -68
  1136. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-KjhJtEY0.js +0 -50
  1137. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-C1wrBAGQ.js +0 -59
  1138. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-BOIBodCX.js +0 -71
  1139. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js--xk4Ijl5.js +0 -58
  1140. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-CIHqKgWc.js +0 -81
  1141. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-DHUTCsDN.js +0 -64
  1142. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-DbdEbebx.js +0 -54
  1143. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-oXxNrl-Z.js +0 -64
  1144. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-CPtVL8zo.js +0 -124
  1145. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-AQ_5yNAV.js +0 -53
  1146. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-DizHrR8T.js +0 -50
  1147. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-0lFlkkcj.js +0 -69
  1148. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-C0HDmlEp.js +0 -62
  1149. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-5CvP1DRy.js +0 -110
  1150. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-CrRoWrqW.js +0 -64
  1151. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-CMJZhy9k.js +0 -67
  1152. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-P0i-V4cw.js +0 -68
  1153. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-B8vXywrr.js +0 -40
  1154. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-Czx-8HUn.js +0 -27
  1155. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-DpYUwTBU.js +0 -27
  1156. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-CRX5xBMI.js +0 -49
  1157. package/build/server/chunks/entries/hooks.server.js-CypVe35l.js +0 -82
  1158. package/build/server/chunks/entries/pages/_layout.server.ts.js-BX5IKVWG.js +0 -43
  1159. package/build/server/chunks/entries/pages/_layout.svelte.js-BDIlEQ9G.js +0 -5614
  1160. package/build/server/chunks/entries/pages/_page.server.ts.js-Dm0-MAVh.js +0 -16
  1161. package/build/server/chunks/entries/pages/_page.svelte.js-Bvsk5Z0j.js +0 -3378
  1162. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-DxH0NavZ.js +0 -11
  1163. package/build/server/chunks/entries/pages/decisions/_page.svelte.js-DJfsQl6r.js +0 -202
  1164. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-C7mLgf8x.js +0 -16
  1165. package/build/server/chunks/entries/pages/deck/_page.svelte.js-ByFcdiMI.js +0 -101
  1166. package/build/server/chunks/entries/pages/files/_page.server.ts.js-B9iWV1NN.js +0 -17
  1167. package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-D18Rikfw.js +0 -46
  1168. package/build/server/chunks/entries/pages/harbour/_page.svelte.js-BmsnWRtI.js +0 -750
  1169. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-B_Ga5_jN.js +0 -11
  1170. package/build/server/chunks/entries/pages/headroom/_page.svelte.js-Bw6-Kcfp.js +0 -183
  1171. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-DqWqyqtl.js +0 -11
  1172. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-nrfgOOmG.js +0 -193
  1173. package/build/server/chunks/entries/pages/more/_page.svelte.js-BOEm_uBV.js +0 -123
  1174. package/build/server/chunks/entries/pages/plugins/_page.svelte.js-BNAgaaBN.js +0 -676
  1175. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-DGaR2z1C.js +0 -16
  1176. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-pQ6VEL_L.js +0 -57
  1177. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-DkJW0j4z.js +0 -23
  1178. package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-B0wg_ICE.js +0 -957
  1179. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-BApZdUX3.js +0 -21
  1180. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-2F9iPWld.js +0 -79
  1181. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-B2v6GF9c.js +0 -27
  1182. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-CRoYOdvp.js +0 -419
  1183. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-DVubH81D.js +0 -15
  1184. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-C-4CQ9Vj.js +0 -1881
  1185. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-G_pG7son.js +0 -11
  1186. package/build/server/chunks/entries/pages/remotes/_page.svelte.js-jCBA0xmJ.js +0 -31
  1187. package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-3euUM2q5.js +0 -221
  1188. package/build/server/chunks/entries/pages/settings/cloud/_page.server.ts.js-guxynueL.js +0 -11
  1189. package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-ZcLxf_7V.js +0 -33
  1190. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-DcgBEP8Y.js +0 -11
  1191. package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-DjdutjT9.js +0 -209
  1192. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-BHsdXxez.js +0 -19
  1193. package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-BRI_epKN.js +0 -564
  1194. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-C_zb9dG9.js +0 -17
  1195. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-oiguRrcN.js +0 -238
  1196. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-DLZDOxrR.js +0 -11
  1197. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-Dm56Tb6D.js +0 -11
  1198. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-BZTZNaar.js +0 -18
  1199. package/build/server/chunks/entries/pages/setup/_page.svelte.js-ufidrxf2.js +0 -1435
  1200. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-CChYFWco.js +0 -25
  1201. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-CwwBWmU5.js +0 -2957
  1202. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-BVUDLre1.js +0 -24
  1203. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-CbUrpRPl.js +0 -80
  1204. package/build/server/chunks/entries/pages/time/_page.server.ts.js-BofevqFX.js +0 -11
  1205. package/build/server/chunks/entries/pages/time/_page.svelte.js-Be6oAjkV.js +0 -108
  1206. package/build/server/chunks/handler-CN3SYJyA.js +0 -1474
  1207. package/build/server/chunks/index.js-BizuHMos.js +0 -4296
  1208. package/build/server/chunks/manifest.js-Br-Mq0re.js +0 -677
  1209. package/build/server/chunks/nodes/0.js-dCz_mHZ3.js +0 -52
  1210. package/build/server/chunks/nodes/1.js-BbYxl8nr.js +0 -9
  1211. package/build/server/chunks/nodes/10.js-DweYfYNV.js +0 -9
  1212. package/build/server/chunks/nodes/11.js-gT7eG1HB.js +0 -50
  1213. package/build/server/chunks/nodes/12.js-wtOKppsL.js +0 -52
  1214. package/build/server/chunks/nodes/13.js-tOj5xB65.js +0 -51
  1215. package/build/server/chunks/nodes/14.js-E34N1eK9.js +0 -52
  1216. package/build/server/chunks/nodes/15.js-BBRydLpl.js +0 -51
  1217. package/build/server/chunks/nodes/16.js-CA1eZWFu.js +0 -25
  1218. package/build/server/chunks/nodes/17.js-ZgUjocN_.js +0 -9
  1219. package/build/server/chunks/nodes/18.js-DbSnX-1e.js +0 -12
  1220. package/build/server/chunks/nodes/19.js-BmJGuDv3.js +0 -25
  1221. package/build/server/chunks/nodes/2.js-DCVtGe0b.js +0 -50
  1222. package/build/server/chunks/nodes/20.js-Bhdu2dQf.js +0 -50
  1223. package/build/server/chunks/nodes/21.js-DCtSZL1a.js +0 -50
  1224. package/build/server/chunks/nodes/22.js-QlESCswh.js +0 -53
  1225. package/build/server/chunks/nodes/23.js-Onyk1KWc.js +0 -52
  1226. package/build/server/chunks/nodes/24.js-L49FBhcM.js +0 -26
  1227. package/build/server/chunks/nodes/25.js-EY_VBmyK.js +0 -54
  1228. package/build/server/chunks/nodes/26.js-xbQ6bzDU.js +0 -51
  1229. package/build/server/chunks/nodes/27.js-D7yEfsTx.js +0 -51
  1230. package/build/server/chunks/nodes/28.js-Br7MxnUL.js +0 -50
  1231. package/build/server/chunks/nodes/3.js-BaZ3TRT4.js +0 -50
  1232. package/build/server/chunks/nodes/4.js-QzkDuFjR.js +0 -50
  1233. package/build/server/chunks/nodes/5.js-CRm5B0uC.js +0 -50
  1234. package/build/server/chunks/nodes/6.js-DZGTy9v3.js +0 -54
  1235. package/build/server/chunks/nodes/7.js-DFi2sinY.js +0 -50
  1236. package/build/server/chunks/nodes/8.js-CB2njIR5.js +0 -50
  1237. package/build/server/chunks/nodes/9.js-B0Xe3xJr.js +0 -9
  1238. /package/build/client/_app/immutable/assets/{6.5dJKCkOT.css → 7.5dJKCkOT.css} +0 -0
  1239. /package/build/client/_app/immutable/assets/{6.5dJKCkOT.css.br → 7.5dJKCkOT.css.br} +0 -0
  1240. /package/build/client/_app/immutable/assets/{6.5dJKCkOT.css.gz → 7.5dJKCkOT.css.gz} +0 -0
  1241. /package/build/client/_app/immutable/assets/{PreviewStudio.Dga9zAug.css → Lightbox.Dga9zAug.css} +0 -0
  1242. /package/build/client/_app/immutable/assets/{PreviewStudio.Dga9zAug.css.br → Lightbox.Dga9zAug.css.br} +0 -0
  1243. /package/build/client/_app/immutable/assets/{PreviewStudio.Dga9zAug.css.gz → Lightbox.Dga9zAug.css.gz} +0 -0
@@ -1,6 +0,0 @@
1
- import"./DsnmJJEf.js";import{s as _e,r as me,p as K}from"./Bmlgorxn.js";import{I as ze,t as Wt}from"./BSAbhtop.js";import{p as et}from"./iJXyGgnZ.js";import{a as Ft,o as Et}from"./DvBi9tLd.js";import{k as Kt,A as Ut,m as A,q as it,g as t,v as w,l as lt,p as Fe,u as We,h as d,s as v,r as l,t as P,a as f,b as Ke,i as b,aB as Bt,o as U,d as q,j as Be,f as De,c as m,y as N,n as fe,bF as Mt,z as Yt,G as gt,x as Dt,aC as Gt}from"./BT1J4Jfm.js";import{i as z}from"./CWwiXwzb.js";import{a as Pe,s as R,f as Jt,d as ut,l as Vt,e as nt,i as Xt,r as Qt,b as Zt}from"./BdFwDk8n.js";import{b as Ge}from"./BWMXHwzX.js";import{z as ea}from"./DJNADPa5.js";import{a as Pt,f as ta,s as aa,P as ra}from"./DMgLjvW3.js";import{c as na}from"./LXhOiCRf.js";import{p as st}from"./DFTZSd_0.js";import{k as sa,X as Ye}from"./DE8kltkv.js";import{R as At}from"./BSyYGDmJ.js";import{E as Lt}from"./BZopLYRp.js";import{h as ia,m as oa}from"./CpfdQr0S.js";import{a as Rt}from"./BrLbcBkK.js";import{S as la}from"./BXN538J3.js";import{c as Nt}from"./B3ArJNjj.js";import{M as pt}from"./BMENJOsX.js";import{A as da}from"./BI5zm8mS.js";import{C as ca}from"./D8LP8iV3.js";import{C as ua}from"./BbcyVGIE.js";import{P as xt}from"./BRycAf51.js";import{s as va,a as bt}from"./B4_qSUnp.js";class mt{#e=new WeakMap;#t;#r;static entries=new WeakMap;constructor(e){this.#r=e}observe(e,a){var r=this.#e.get(e)||new Set;return r.add(a),this.#e.set(e,r),this.#s().observe(e,this.#r),()=>{var s=this.#e.get(e);s.delete(a),s.size===0&&(this.#e.delete(e),this.#t.unobserve(e))}}#s(){return this.#t??(this.#t=new ResizeObserver(e=>{for(var a of e){mt.entries.set(a.target,a);for(var r of this.#e.get(a.target)||[])r(a)}}))}}var ha=new mt({box:"border-box"});function wt(n,e,a){var r=ha.observe(n,()=>a(n[e]));Kt(()=>(Ut(()=>a(n[e])),r))}var pa=new Set(["$$slots","$$events","$$legacy"]);function In(n,e){let a=me(e,pa);const r={name:"compass",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var fa=new Set(["$$slots","$$events","$$legacy"]);function vt(n,e){let a=me(e,fa);const r={name:"crosshair",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var ma=new Set(["$$slots","$$events","$$legacy"]);function _t(n,e){let a=me(e,ma);const r={name:"maximize-2",size:24,node:[["path",{d:"M15 3h6v6"}],["path",{d:"m21 3-7 7"}],["path",{d:"m3 21 7-7"}],["path",{d:"M9 21H3v-6"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var ga=new Set(["$$slots","$$events","$$legacy"]);function xa(n,e){let a=me(e,ga);const r={name:"mic",size:24,node:[["path",{d:"M12 19v3"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var ba=new Set(["$$slots","$$events","$$legacy"]);function yt(n,e){let a=me(e,ba);const r={name:"monitor-off",size:24,node:[["path",{d:"M12 17v4"}],["path",{d:"M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826"}],["path",{d:"m2 2 20 20"}],["path",{d:"M8 21h8"}],["path",{d:"M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var wa=new Set(["$$slots","$$events","$$legacy"]);function kt(n,e){let a=me(e,wa);const r={name:"monitor-play",size:24,node:[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z"}],["path",{d:"M12 17v4"}],["path",{d:"M8 21h8"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var _a=new Set(["$$slots","$$events","$$legacy"]);function ya(n,e){let a=me(e,_a);const r={name:"monitor",size:24,node:[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var ka=new Set(["$$slots","$$events","$$legacy"]);function za(n,e){let a=me(e,ka);const r={name:"mouse-pointer-click",size:24,node:[["path",{d:"M14 4.1 12 6"}],["path",{d:"m5.1 8-2.9-.8"}],["path",{d:"m6 12-1.9 2"}],["path",{d:"M7.2 2.2 8 5.1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var Sa=new Set(["$$slots","$$events","$$legacy"]);function $a(n,e){let a=me(e,Sa);const r={name:"panel-right-close",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M15 3v18"}],["path",{d:"m8 9 3 3-3 3"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var Ta=new Set(["$$slots","$$events","$$legacy"]);function Ca(n,e){let a=me(e,Ta);const r={name:"send",size:24,node:[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z"}],["path",{d:"m21.854 2.147-10.94 10.939"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var Ea=new Set(["$$slots","$$events","$$legacy"]);function Ma(n,e){let a=me(e,Ea);const r={name:"smartphone",size:24,node:[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2"}],["path",{d:"M12 18h.01"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var Da=new Set(["$$slots","$$events","$$legacy"]);function Pa(n,e){let a=me(e,Da);const r={name:"square",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}const Aa="{url}";function La(n,e,a){const r=e&&Object.hasOwn(n,e)?n[e]:null;return typeof r!="string"?{href:a.url,external:!0}:{href:r.replace(Aa,encodeURIComponent(a.url)),external:!1}}const Hn={review(n,e){const a=et.data?.pullRequestTabs??{};return La(a,n,e)}},Ra=15e3,Ot=n=>`url:${n}`,Na=n=>n.startsWith("url:")?`/api/previews/check?url=${encodeURIComponent(n.slice(4))}`:`/api/tasks/${encodeURIComponent(n)}/preview`,Oa=5e3;class Ia{#e=A(it({}));get checks(){return t(this.#e)}set checks(e){w(this.#e,e,!0)}#t=A(it({}));get failed(){return t(this.#t)}set failed(e){w(this.#t,e,!0)}watching=new Map;running=new Map;unlisten=null;stopped(e){return this.checks[e]?.state==="down"}watch(e){const a=this.watching.get(e);a?a.count++:(this.watching.set(e,{count:1,timer:null}),this.refresh(e)),this.listen();let r=!1;return()=>{if(r)return;r=!0;const s=this.watching.get(e);!s||--s.count>0||(s.timer&&clearTimeout(s.timer),this.watching.delete(e),this.watching.size||(this.unlisten?.(),this.unlisten=null))}}refresh(e){const a=this.running.get(e);if(a)return a;const r=this.load(e).finally(()=>{this.running.delete(e),this.schedule(e)});return this.running.set(e,r),r}clear(){for(const e of this.watching.values())e.timer&&clearTimeout(e.timer);this.watching.clear(),this.unlisten?.(),this.unlisten=null,this.checks={},this.failed={}}async load(e){try{const a=await fetch(Na(e));if(!a.ok)throw new Error(String(a.status));this.checks[e]=await a.json(),this.failed[e]=!1}catch{this.failed[e]=!0}}schedule(e){const a=this.watching.get(e);if(!a)return;a.timer&&clearTimeout(a.timer);const r=this.checks[e]?.state==="live"?Ra:Oa;a.timer=setTimeout(()=>{a.timer=null,document.visibilityState!=="hidden"&&this.refresh(e)},r)}listen(){if(this.unlisten)return;const e=()=>{if(document.visibilityState!=="hidden")for(const a of this.watching.keys())this.refresh(a)};window.addEventListener("focus",e),document.addEventListener("visibilitychange",e),this.unlisten=()=>{window.removeEventListener("focus",e),document.removeEventListener("visibilitychange",e)}}}const Qe=new Ia,It=()=>et.data.reviewSurface??null,zt=500,Ze=n=>n.replace(/\s+/g," ").trim(),Ha=(n,e)=>n.length>e?n.slice(0,e-1).trimEnd()+"…":n;function ht(n){const e=n.y<.3333333333333333?"top":n.y<.6666666666666666?"middle":"bottom",a=n.x<1/3?"left":n.x<2/3?"":"right";return e==="middle"&&!a?"the middle":`the ${e}${a?` ${a}`:""}`}const qa={button:"button",a:"link",input:"box",textarea:"box",select:"menu",img:"picture",h1:"heading",h2:"heading",h3:"heading",h4:"heading",label:"label",li:"item"};function ja(n,e,a){const r=n?.closest('button, a, input, textarea, select, img, h1, h2, h3, h4, label, li, [role="button"]')??n;if(r&&r.tagName!=="HTML"&&r.tagName!=="BODY"){const s=r.tagName.toLowerCase(),o=r.getAttribute("role")==="button"?"button":qa[s]??"part of the page",i=Ha(Ze(r.value||r.getAttribute("aria-label")||r.getAttribute("alt")||r.textContent||""),60);return{kind:"element",label:i?`the “${i}” ${o}`:`a ${o} near ${ht(e)}`,detail:`<${s}>${i?` “${i}”`:""}, near ${ht(e)} of the page`}}return{kind:"spot",label:`a spot near ${ht(e)} of the page`,detail:`${Math.round(e.x*100)}% across and ${Math.round(e.y*100)}% down the part of the page in view (${a.w}×${a.h})`}}const Wa=/^Preview feedback for (\S+) \((.+)\), sent together from the Preview tab \(([^)\n]*)\):$/,Fa=/^Feedback for (\S+) \((.+)\), sent together from the “([^“”\n]+)” plugin \(([a-z][a-z0-9-]*)\)(?:, about (.+))?:$/,Ka="Firstmate: pass these to this task’s worker, the same task (start no new one). You may add notes of your own, marked as yours.",Ua=n=>n.flatMap((e,a)=>[`${a+1}. ${Ze(e.text)}`,...e.points&&Ze(e.points)?[` Points at: ${Ze(e.points)}`]:[]]);function Ba(n,e,a){return[`Preview feedback for ${n.id} (${Ze(n.title)}), sent together from the Preview tab (${e}):`,...Ua(a.map(r=>({text:r.text,points:r.points?.label??null}))),"",Ka].join(`
2
- `)}function qn(n){const e=n.replace(/\r\n?/g,`
3
- `).split(`
4
- `),a=Wa.exec(e[0]??""),r=a?null:Fa.exec(e[0]??""),s=a??r;if(!s)return null;const o=[];for(const i of e.slice(1)){const c=/^\d+\. (.+)$/.exec(i);if(c){o.push({text:c[1],points:null});continue}const u=/^ {3}Points at: (.+)$/.exec(i);u&&o.length&&(o[o.length-1].points=u[1])}return o.length?{taskId:s[1],title:s[2],url:a?a[3]:null,plugin:r?{id:r[4],name:r[3],subject:r[5]??null}:null,items:o}:null}var Ya=m('<button type="button" class="rounded p-1 hover:bg-accent hover:text-foreground max-md:grid max-md:size-11 max-md:place-items-center"><!></button>'),Ga=m('<a target="_blank" rel="noreferrer" class="inline-flex shrink-0 items-center gap-1 rounded px-1 py-0.5 text-sea hover:underline max-md:min-h-11">Open in new tab<!></a>'),Ja=m('<button type="button" class="inline-flex shrink-0 items-center gap-1 rounded px-1.5 py-0.5 font-medium text-foreground hover:bg-accent max-md:min-h-11" data-preview-fullscreen=""><!>Full screen</button>'),Va=m('<div class="flex items-center gap-2 text-xs text-muted-foreground"><span class="min-w-0 flex-1 truncate font-mono"> </span> <!> <!> <!></div>'),Xa=m('<iframe referrerpolicy="no-referrer" loading="lazy"></iframe>'),Qa=m('<button type="button" class="absolute inset-0 cursor-zoom-in" aria-label="Open the preview full size" data-preview-open=""><span class="absolute right-2.5 bottom-2.5 flex items-center gap-1.5 rounded-md border border-hair bg-card/95 px-2 py-1 text-xs font-medium text-foreground opacity-0 shadow-sm transition-opacity group-focus-within:opacity-100 group-hover:opacity-100"><!>Open full size</span></button>'),Za=m("<!> <!>",1),er=m('<button type="button" class="absolute inset-0 cursor-crosshair bg-sea/5 ring-2 ring-sea ring-inset" aria-label="Point at part of the page" data-preview-pointing=""><span class="pointer-events-none absolute top-3 left-1/2 flex -translate-x-1/2 items-center gap-2 rounded-full bg-sea px-3.5 py-1.5 text-sm text-on-accent shadow-lg"><!>Click the part you mean</span></button>'),tr=m('<span class="pointer-events-none absolute size-5 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white bg-sea shadow-md ring-2 ring-sea/40" aria-hidden="true" data-preview-pin=""></span>'),ar=m('<iframe referrerpolicy="no-referrer"></iframe> <!>',1),rr=m('<span class="block text-xs"> </span>'),nr=m('<div class="flex items-start gap-2.5 px-4 py-3 text-muted-foreground" data-preview-notice=""><!> <p class="min-w-0 text-sm"><span> </span> <!></p></div>'),sr=m('<p class="text-sm"> </p>'),ir=m('<!> <p class="mt-2 text-sm font-medium"> </p> <p class="mt-1 text-xs"> </p>',1),or=m('<div class="grid size-full place-items-center p-4 text-center text-muted-foreground" data-preview-notice=""><div><!></div></div>'),lr=m("<div><!> <div><!></div></div>");function dr(n,e){Fe(e,!0);let a=K(e,"taskId",3,null),r=K(e,"url",3,null),s=K(e,"compact",3,!1),o=K(e,"fill",3,!1),i=K(e,"desktop",3,!1),c=K(e,"toolbar",3,!0),u=K(e,"pointing",3,!1),g=K(e,"pin",3,null),C=A(null);function B($){const S=$.currentTarget.getBoundingClientRect(),W=$.clientX-S.left,V=$.clientY-S.top;let F=null;const be=t(Se)?t(ve):1;try{F=t(C)?.contentDocument?.elementFromPoint(W/be,V/be)??null}catch{F=null}const X={x:S.width?W/S.width:0,y:S.height?V/S.height:0};e.onpoint?.(ja(F,X,{w:Math.round(S.width),h:Math.round(S.height)}),X)}const re={w:1280,h:800};let ge=A(0),ee=A(0),I=A(0);const ie=b(()=>a()??Ot(r()??""));We(()=>Qe.watch(t(ie)));const O=b(()=>Qe.checks[t(ie)]??null),ye=b(()=>!!Qe.failed[t(ie)]),j=b(()=>t(O)?.state==="live"),ne=b(()=>t(O)?.url??null),oe=b(()=>t(ne)&&t(O)?Pt.view(t(ne)):null),te=b(()=>t(oe)?ta(t(oe),location.origin):""),ve=b(()=>t(ee)?t(ee)/re.w:0),Se=b(()=>o()&&i()&&t(ve)>0&&t(ve)<1);function Ae(){Bt(ge),Qe.refresh(t(ie))}var Ee={reload:Ae},$e=lr(),xe=d($e);{var Le=$=>{var S=Va(),W=d(S),V=U(W,!0),F=v(W,2);{var be=T=>{var D=Ya(),G=d(D);At(G,{class:"size-3.5"}),l(D),P(()=>{R(D,"aria-label",t(j)?"Reload the preview":"Check the preview again"),R(D,"title",t(j)?"Reload":"Check again")}),N("click",D,Ae),f(T,D)};z(F,T=>{(t(j)||t(O)?.state==="blocked"||t(O)?.state==="down")&&T(be)})}var X=v(F,2);{var ke=T=>{var D=Ga(),G=v(d(D));Lt(G,{class:"size-3.5","aria-hidden":"true"}),l(D),P(()=>R(D,"href",t(oe))),f(T,D)};z(X,T=>{(t(j)||t(O)?.state==="blocked")&&T(ke)})}var Q=v(X,2);{var Y=T=>{var D=Ja(),G=d(D);_t(G,{class:"size-3.5","aria-hidden":"true"}),fe(),l(D),N("click",D,function(...J){e.onfullscreen?.apply(this,J)}),f(T,D)};z(Q,T=>{e.onfullscreen&&t(j)&&T(Y)})}l(S),P(()=>{R(W,"title",t(ne)??void 0),q(V,t(ne)??"Live preview")}),f($,S)};z(xe,$=>{c()&&$(Le)})}var he=v(xe,2),y=d(he);{var L=$=>{var S=Be(),W=De(S);sa(W,()=>`${t(oe)} ${t(ge)}`,V=>{var F=Be(),be=De(F);{var X=Q=>{var Y=Za(),T=De(Y);{var D=E=>{var k=Xa();P(()=>{R(k,"src",t(oe)),R(k,"title",`Live preview of ${t(ne)??""}`),R(k,"sandbox",t(te)),k.inert=!!e.onopen,Pe(k,1,`absolute top-0 left-0 origin-top-left border-0 bg-white ${e.onopen?"pointer-events-none":""}`),ut(k,`width:${re.w}px;height:${re.h}px;transform:scale(${t(ve)??""})`)}),f(E,k)};z(T,E=>{t(ve)&&E(D)})}var G=v(T,2);{var J=E=>{var k=Qa(),se=d(k),Z=d(se);_t(Z,{class:"size-3.5","aria-hidden":"true"}),fe(),l(se),l(k),N("click",k,function(...x){e.onopen?.apply(this,x)}),f(E,k)};z(G,E=>{e.onopen&&E(J)})}f(Q,Y)},ke=Q=>{var Y=ar(),T=De(Y);Ge(T,E=>w(C,E),()=>t(C));var D=v(T,2);{var G=E=>{var k=er(),se=d(k),Z=d(se);za(Z,{class:"size-4","aria-hidden":"true"}),fe(),l(se),l(k),N("click",k,B),f(E,k)},J=E=>{var k=tr();P(()=>ut(k,`left:${g().x*100}%;top:${g().y*100}%`)),f(E,k)};z(D,E=>{u()?E(G):g()&&E(J,1)})}P(()=>{R(T,"src",t(oe)),R(T,"title",`Live preview of ${t(ne)??""}`),R(T,"sandbox",t(te)),Pe(T,1,Jt(t(Se)?"absolute top-0 left-0 origin-top-left border-0 bg-white":"size-full border-0 bg-white")),ut(T,t(Se)?`width:${re.w}px;height:${t(I)/t(ve)}px;transform:scale(${t(ve)})`:void 0)}),f(Q,Y)};z(be,Q=>{s()?Q(X):Q(ke,-1)})}f(V,F)}),f($,S)},le=$=>{const S=b(()=>!t(O)&&!t(ye)),W=b(()=>t(S)?"Checking the preview…":t(ye)?"Could not check the preview":t(O)?.state==="down"?"Preview stopped":t(O)?.state==="blocked"?"Preview cannot be embedded":t(O)?.state==="refused"?"Preview not shown here":"No live preview reported"),V=b(()=>t(S)?"":t(ye)?"Wheelhouse did not answer; it will try again.":t(O)?.state==="blocked"?`${t(O).reason} Open it in a new tab instead.`:t(O)?.reason??"");var F=Be(),be=De(F);{var X=Q=>{var Y=nr(),T=d(Y);{var D=Z=>{yt(Z,{class:"mt-0.5 size-4 shrink-0","aria-hidden":"true"})};z(T,Z=>{t(S)||Z(D)})}var G=v(T,2),J=d(G),E=U(J,!0),k=v(J,2);{var se=Z=>{var x=rr(),_=U(x,!0);P(()=>q(_,t(V))),f(Z,x)};z(k,Z=>{t(V)&&Z(se)})}l(G),l(Y),P(()=>{Pe(J,1,`font-medium ${t(S)?"":"text-foreground"}`),q(E,t(W))}),f(Q,Y)},ke=Q=>{var Y=or(),T=d(Y),D=d(T);{var G=E=>{var k=sr(),se=U(k,!0);P(()=>q(se,t(W))),f(E,k)},J=E=>{var k=ir(),se=De(k);yt(se,{class:"mx-auto size-6","aria-hidden":"true"});var Z=v(se,2),x=U(Z,!0),_=v(Z,2),ce=U(_,!0);P(()=>{q(x,t(W)),q(ce,t(V))}),f(E,k)};z(D,E=>{t(S)?E(G):E(J,-1)})}l(T),l(Y),f(Q,Y)};z(be,Q=>{s()?Q(X):Q(ke,-1)})}f($,F)};z(y,$=>{t(j)&&t(oe)?$(L):$(le,-1)})}return l(he),l($e),P(()=>{Pe($e,1,`min-w-0 ${o()?"flex h-full flex-col":""}`),R($e,"data-live-preview",t(O)?.state??"checking"),Pe(he,1,`group relative w-full overflow-hidden bg-muted/40 ${c()?"mt-1.5 rounded-lg border":""} ${s()?t(j)?"aspect-[16/10]":"":o()?"min-h-0 flex-1":t(j)?"h-[70vh] min-h-80":"h-40"}`)}),wt(he,"clientWidth",$=>w(ee,$)),wt(he,"clientHeight",$=>w(I,$)),f(n,$e),Ke(Ee)}lt(["click"]);const St="wheelhouse-preview-helper",Ht=()=>({said:[],list:[],asking:!1,error:null,sent:null}),cr=Object.freeze(Ht()),Xe=()=>crypto.randomUUID();class ur{#e=A(it({}));get byTask(){return t(this.#e)}set byTask(e){w(this.#e,e,!0)}loaded=!1;load(){if(!this.loaded){this.loaded=!0;try{const e=JSON.parse(localStorage.getItem(St)??"{}");if(e&&typeof e=="object"){for(const a of Object.values(e))a.asking=!1;this.byTask=e}}catch{this.byTask={}}}}save(){try{localStorage.setItem(St,JSON.stringify(this.byTask))}catch{}}view(e){return this.byTask[e]??cr}of(e){return this.load(),this.byTask[e]||(this.byTask[e]=Ht()),this.byTask[e]}async ask(e,a,r,s){const o=this.of(e),i=a.trim();if(!i&&!r||o.asking)return;o.said.push({id:Xe(),who:"captain",text:i||"What about this?",points:r}),o.asking=!0,o.error=null,this.save();const c=o.said.filter(u=>!u.notice).map(u=>({who:u.who,text:u.text,points:u.points??null}));try{const u=await fetch(`/api/tasks/${encodeURIComponent(e)}/preview/helper`,{method:"POST",headers:{"content-type":"application/json",[la]:s},body:JSON.stringify({turns:c,list:o.list.map(C=>C.text)})}),g=await u.json().catch(()=>null);!u.ok||!g?.reply?o.error=g?.message??`The helper could not answer (${u.status}).`:o.said.push({id:Xe(),who:"helper",text:g.reply,suggest:g.suggest.map(C=>({text:C,added:!1}))})}catch{o.error="Wheelhouse could not be reached. Try again."}finally{o.asking=!1,this.save()}}accept(e,a,r){const s=this.of(e),o=s.said.findIndex(u=>u.id===a),i=s.said[o]?.suggest?.[r];if(!i||i.added)return;i.added=!0;const c=s.said.slice(0,o).reverse().find(u=>u.who==="captain");s.list.push({id:Xe(),text:i.text,points:c?.points??null}),s.sent=null,this.save()}addOwn(e,a,r=null){const s=a.trim().slice(0,zt);if(!s)return;const o=this.of(e);o.list.push({id:Xe(),text:s,points:r}),o.sent=null,this.save()}edit(e,a,r){const s=this.of(e).list.find(o=>o.id===a);s&&(s.text=r.slice(0,zt),this.save())}remove(e,a){const r=this.of(e),s=r.list.find(o=>o.id===a);r.list=r.list.filter(o=>o.id!==a);for(const o of r.said)for(const i of o.suggest??[])s&&i.text===s.text&&(i.added=!1);this.save()}async send(e,a,r){const s=this.of(e.id),o=s.list.filter(g=>g.text.trim());if(!o.length)return!1;s.error=null;const i=await aa(Ba(e,a,o),r,e.id);if(!i.ok)return s.error=i.error,this.save(),!1;s.sent={at:new Date().toISOString(),count:o.length};const c=e.id.lastIndexOf("@"),u=c>0?`second mate ${e.id.slice(c+1)}`:"Firstmate";return s.list=[],s.said.push({id:Xe(),who:"helper",notice:!0,text:`Sent to ${u}: ${o.length} ${o.length===1?"note":"notes"}, which it passes to this task. Keep going if you spot more; they make a new list.`}),this.save(),!0}clear(e){const a=this.of(e);a.said=[],a.error=null,this.save()}}const Oe=new ur;var vr=new Set(["$$slots","$$events","$$legacy","ref","value","class","data-slot"]),hr=m("<textarea></textarea>");function pr(n,e){Fe(e,!0);let a=K(e,"ref",15,null),r=K(e,"value",15),s=K(e,"data-slot",3,"textarea"),o=me(e,vr);var i=hr();Mt(i),Vt(i,c=>({"data-slot":s(),class:c,...o}),[()=>Nt("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-2.5 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",e.class)]),Ge(i,c=>a(c),()=>a()),Rt(i,r),f(n,i),Ke()}const fr={unsupported:"This browser cannot turn speech into text. Chrome and Edge can; you can still type.",blocked:"The microphone is blocked for Wheelhouse. Allow it from the icon in the address bar, then try again.","no-microphone":"No microphone was found. Connect one, then try again.","no-speech":"Nothing was heard. Try again a little closer to the microphone.",network:"The browser’s speech service could not be reached. Check the connection and try again.",failed:"Dictation stopped unexpectedly. Try again, or type instead."};function $t(){if(typeof window>"u")return null;const n=window;return n.SpeechRecognition??n.webkitSpeechRecognition??null}const mr={"not-allowed":"blocked","service-not-allowed":"blocked","audio-capture":"no-microphone","no-speech":"no-speech",network:"network","language-not-supported":"unsupported"},ot=n=>n.trim().split(/\s+/).filter(Boolean),gr=(n,e)=>n.toLowerCase().replace(/[^\p{L}\p{N}]/gu,"")===e.toLowerCase().replace(/[^\p{L}\p{N}]/gu,""),qt=(n,e)=>e.length<=n.length&&e.every((a,r)=>gr(a,n[r]));function Tt(n,e){const a=ot(n);return!a.length||qt(ot(e),a)?e:/\s$/.test(n)||/^\s/.test(e)?n+e:`${n} ${e}`}function xr(n,e){const a=ot(n),r=ot(e);return!a.length||!qt(r,a)?e:r.slice(a.length).join(" ")}const br={privacyNote:"Dictation uses your browser’s speech service. In Chrome that sends what you say to Google to turn it into text, only while the microphone is on.",supported:()=>$t()!==null,start(n,e){const a=$t();if(!a)return e.problem("unsupported"),e.end(),{stop(){},abort(){}};const r=new a;r.lang=n,r.continuous=!0,r.interimResults=!0,r.onresult=s=>{let o="",i="";for(let c=0;c<s.results.length;c++){const u=s.results[c];u.isFinal?o=Tt(o,u[0].transcript):i=Tt(i,u[0].transcript)}e.text(o,xr(o,i))},r.onerror=s=>{s.error!=="aborted"&&e.problem(mr[s.error]??"failed")},r.onend=()=>e.end();try{r.start()}catch{e.problem("failed"),e.end()}return{stop:()=>r.stop(),abort:()=>r.abort()}}};let wr=br;const ft=()=>wr,_r=2e3;class yr{#e=A(null);get owner(){return t(this.#e)}set owner(e){w(this.#e,e)}#t=A("idle");get phase(){return t(this.#t)}set phase(e){w(this.#t,e,!0)}#r=A(0);get startedAt(){return t(this.#r)}set startedAt(e){w(this.#r,e,!0)}#s=A(null);get problem(){return t(this.#s)}set problem(e){w(this.#s,e,!0)}#n=null;#a=null;#i=null;active(e){return this.owner===e&&this.phase!=="idle"}start(e,a,r=kr()){this.phase!=="idle"&&this.commit();const s=ft();if(this.owner=e,this.problem=null,!s.supported()){this.problem="unsupported";return}this.#a=a,a.begin(),this.phase="listening",this.startedAt=Date.now();let o=null;const i=()=>o===null||this.#n===o;o=s.start(r,{text:(c,u)=>{i()&&this.#a===a&&a.show(...zr(c,u))},problem:c=>{i()&&(this.problem=c)},end:()=>{i()&&this.#a===a&&this.#o("finish")}}),this.#a===a&&(this.#n=o)}stop(){this.phase==="listening"&&(this.phase="stopping",this.#n?.stop(),this.#i=setTimeout(()=>this.#o("finish"),_r))}commit(){this.phase!=="idle"&&this.#o("finish")}cancel(){this.phase!=="idle"&&this.#o("revert")}dismiss(){this.problem=null}#o(e){const a=this.#n,r=this.#a;this.#n=null,this.#a=null,this.#i&&clearTimeout(this.#i),this.#i=null,this.phase="idle",a?.abort(),r?.[e]()}}const ae=new yr;function kr(){return typeof navigator<"u"&&navigator.language?navigator.language:"en-US"}function zr(n,e){const a=n.replace(/\s+/g," ").trim(),r=e.replace(/\s+/g," ").trim();return[a,a&&r?` ${r}`:r]}const jt=n=>n&&!/\s$/.test(n)?" ":"",Sr=n=>/^[\p{L}\p{N}]/u.test(n)?" ":"";function $r(n){let e="",a="",r="",s=!1;const o=(i,c)=>{n.value=i;try{n.setSelectionRange(c,c)}catch{}n.dispatchEvent(new Event("input",{bubbles:!0}))};return{begin(){e=n.value;const i=n.selectionStart??e.length,c=n.selectionEnd??i;a=e.slice(0,i),r=e.slice(c),s=!1},show(i,c){const u=i+c;if(!u)return;const g=a+jt(a)+u;o(g+Sr(r)+r,g.length),s=!0},finish(){},revert(){s&&o(e,a.length),s=!1}}}function jn(n,e){let a=null,r=null,s="";const o=i=>{const c=document.createRange();c.setStartAfter(i),c.collapse(!0);const u=window.getSelection();u?.removeAllRanges(),u?.addRange(c)};return{begin(){const i=window.getSelection();let c;i?.rangeCount&&n.contains(i.getRangeAt(0).startContainer)?(c=i.getRangeAt(0),r=c.extractContents()):(c=document.createRange(),c.selectNodeContents(n),c.collapse(!1),r=null);const u=document.createRange();u.setStart(n,0),u.setEnd(c.startContainer,c.startOffset),s=jt(u.toString().replace(/\u00a0/g," ")),a=document.createElement("span"),a.dataset.dictation="",c.insertNode(a)},show(i,c){if(!a)return;const u=document.createTextNode(i||c?s+i:""),g=document.createElement("span");g.className="dictation-forming",g.textContent=c,a.replaceChildren(u,...c?[g]:[]),e()},finish(){if(!a)return;const i=a.textContent??"";if(i){const c=document.createTextNode(i);a.replaceWith(c),(n.contains(document.activeElement)||document.activeElement===n)&&o(c)}else a.replaceWith(r??"");a=null,r=null,e()},revert(){a?.replaceWith(r??""),a=null,r=null,e()}}}const Tr=n=>n.code==="Space"&&n.shiftKey&&(n.metaKey||n.ctrlKey)&&!n.altKey,Cr=450;function Er(n,e,a){let r=0;const s=i=>{if(Tr(i)){if(i.preventDefault(),i.repeat)return;ae.active(e)?(r=0,ae.stop()):(r=Date.now(),a());return}ae.active(e)&&(i.key==="Escape"?(i.preventDefault(),i.stopPropagation(),r=0,ae.cancel()):["Shift","Control","Meta","Alt","CapsLock"].includes(i.key)||(r=0,ae.commit()))},o=i=>{if(!r||!(i.code==="Space"||["Shift","Meta","Control"].includes(i.key)))return;const c=Date.now()-r;r=0,c>=Cr&&ae.active(e)&&ae.stop()};return n.addEventListener("keydown",s),n.addEventListener("keyup",o),()=>{n.removeEventListener("keydown",s),n.removeEventListener("keyup",o)}}var Mr=m('<span class="tabular text-xs text-muted-foreground svelte-1uxx7q9" data-dictation-time=""> </span>'),Dr=m('<div class="absolute right-0 bottom-full z-30 mb-2 w-72 rounded-md border bg-popover p-3 text-left text-xs leading-relaxed text-popover-foreground shadow-md svelte-1uxx7q9" role="dialog" aria-label="Before you dictate" data-dictation-note=""><p class="svelte-1uxx7q9"> </p> <p class="mt-1.5 text-muted-foreground svelte-1uxx7q9">Words appear in the box for you to check; nothing is sent until you send it.</p> <div class="mt-2.5 flex justify-end gap-2 svelte-1uxx7q9"><button type="button" class="rounded-md px-2 py-1 text-muted-foreground hover:bg-muted hover:text-foreground svelte-1uxx7q9">Not now</button> <button type="button" class="rounded-md bg-primary px-2.5 py-1 font-medium text-primary-foreground svelte-1uxx7q9">Start dictating</button></div></div>'),Pr=m('<div class="absolute right-0 bottom-full z-30 mb-2 flex w-72 items-start gap-2 rounded-md border bg-popover p-3 text-left text-xs leading-relaxed text-popover-foreground shadow-md svelte-1uxx7q9" role="alert" data-dictation-problem=""><p class="min-w-0 flex-1 svelte-1uxx7q9"> </p> <button type="button" class="-m-1 rounded-sm p-1 text-muted-foreground hover:text-foreground svelte-1uxx7q9" aria-label="Dismiss"><!></button></div>'),Ar=m('<span class="relative inline-flex shrink-0 items-center gap-1.5 svelte-1uxx7q9"><!> <button type="button"><!></button> <span class="sr-only svelte-1uxx7q9" aria-live="polite"> </span> <!></span>');function Lr(n,e){Fe(e,!0);let a=K(e,"label",3,"Dictate"),r=K(e,"size",3,"md"),s=K(e,"disabled",3,!1),o=K(e,"listening",15,!1);const i={};Yt(()=>{o(ae.active(i))});const c=b(()=>o()&&ae.phase==="stopping"),u=b(()=>ae.owner===i?ae.problem:null);let g=A(!1),C=A(it(Date.now())),B=A("Ctrl+Shift+Space");const re="wheelhouse.voice.noted";let ge=!1;function ee(){if(ge)return!0;try{return localStorage.getItem(re)==="1"}catch{return!1}}function I(){if(s())return;const y=ft();if(y.supported()&&y.privacyNote&&!ee()){w(g,!0);return}ae.start(i,e.target()),e.field?.focus()}function ie(){ge=!0;try{localStorage.setItem(re,"1")}catch{}w(g,!1),I()}function O(){o()?ae.stop():t(g)?w(g,!1):I()}const ye=b(()=>{const y=Math.max(0,Math.floor((t(C)-ae.startedAt)/1e3));return`${Math.floor(y/60)}:${String(y%60).padStart(2,"0")}`});We(()=>{/Mac|iPhone|iPad/.test(navigator.platform)&&w(B,"⌘⇧Space")}),We(()=>{if(!o())return;w(C,Date.now(),!0);const y=setInterval(()=>w(C,Date.now(),!0),250);return()=>clearInterval(y)}),We(()=>{if(e.field)return Er(e.field,i,I)}),We(()=>{if(!o()&&!t(g))return;const y=L=>{L.key!=="Escape"||L.defaultPrevented||(L.preventDefault(),o()&&ae.cancel(),w(g,!1))};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)}),Ft(()=>{ae.active(i)&&ae.commit()});var j=Ar(),ne=d(j);{var oe=y=>{var L=Mr(),le=U(L,!0);P(()=>q(le,t(c)?"Finishing…":t(ye))),f(y,L)};z(ne,y=>{o()&&y(oe)})}var te=v(ne,2),ve=d(te);{var Se=y=>{{let L=b(()=>r()==="md"?"size-3.5 fill-current":"size-3 fill-current");Pa(y,{get class(){return t(L)}})}},Ae=y=>{{let L=b(()=>r()==="md"?"size-4.5":"size-4");xa(y,{get class(){return t(L)}})}};z(ve,y=>{o()?y(Se):y(Ae,-1)})}l(te);var Ee=v(te,2),$e=U(Ee,!0),xe=v(Ee,2);{var Le=y=>{var L=Dr(),le=d(L),$=U(le,!0),S=v(le,4),W=d(S),V=v(W,2);l(S),l(L),P(F=>q($,F),[()=>ft().privacyNote]),N("click",W,()=>w(g,!1)),N("click",V,ie),f(y,L)},he=y=>{var L=Pr(),le=d(L),$=U(le,!0),S=v(le,2),W=d(S);Ye(W,{class:"size-3.5"}),l(S),l(L),P(()=>q($,fr[t(u)])),N("click",S,()=>ae.dismiss()),f(y,L)};z(xe,y=>{t(g)?y(Le):t(u)&&y(he,1)})}l(j),P(()=>{R(te,"aria-label",o()?"Stop dictating":a()),R(te,"aria-pressed",o()),R(te,"title",o()?"Stop dictating · Esc cancels":`${a()} (${t(B)}; hold for push-to-talk)`),te.disabled=s(),R(te,"data-dictating",o()?"":void 0),Pe(te,1,`mic flex shrink-0 cursor-pointer items-center justify-center rounded-full transition-colors disabled:cursor-not-allowed disabled:opacity-30 ${r()==="md"?"size-9 max-md:size-11":`size-7 ${st.current?"touch-target":""}`} ${o()?"bg-danger/10 text-danger":"text-muted-foreground hover:bg-muted hover:text-foreground"}`,"svelte-1uxx7q9"),q($e,o()?"Listening":"")}),N("mousedown",te,y=>y.preventDefault()),N("click",te,O),f(n,j),Ke()}lt(["mousedown","click"]);var Rr=new Set(["$$slots","$$events","$$legacy","value","class"]),Nr=m('<div class="relative w-full min-w-0"><!> <div class="absolute right-1.5 bottom-1.5"><!></div></div>');function Or(n,e){Fe(e,!0);let a=K(e,"value",15),r=me(e,Rr),s=A(null),o=A(!1);var i=Nr(),c=d(i);{let C=b(()=>Nt(e.class,t(o)?"pr-24":"pr-10"));pr(c,_e({get class(){return t(C)}},()=>r,{get ref(){return t(s)},set ref(B){w(s,B,!0)},get value(){return a()},set value(B){a(B)}}))}var u=v(c,2),g=d(u);{let C=b(()=>!!e.disabled);Lr(g,{get field(){return t(s)},target:()=>$r(t(s)),size:"sm",get disabled(){return t(C)},get listening(){return t(o)},set listening(B){w(o,B,!0)}})}l(u),l(i),f(n,i),Ke()}var Ir=m('<span class="inline-flex max-w-[85%] items-center gap-1 rounded-md bg-sea/10 px-2 py-0.5 text-xs text-sea"><!><span class="truncate"> </span></span>'),Hr=m('<li class="flex flex-col items-end gap-1" data-said="captain"><!> <p class="max-w-[85%] rounded-xl rounded-br-sm border border-[var(--bubble-captain-border)] bg-[var(--bubble-captain)] px-3 py-2 text-sm leading-relaxed whitespace-pre-wrap"> </p></li>'),qr=m('<a href="/" class="text-xs text-sea hover:underline">See it in the chat</a>'),jr=m('<span class="inline-flex items-center gap-1 text-xs text-success"><!>On your list</span>'),Wr=m('<button class="inline-flex cursor-pointer items-center gap-1 rounded-md bg-sea px-2.5 py-1 text-xs font-medium text-on-accent hover:bg-sea/90" data-add-to-list=""><!>Add to the list</button>'),Fr=m('<div class="mt-2 rounded-md border bg-card px-3 py-2" data-suggestion=""><p class="text-sm leading-snug"> </p> <div class="mt-1.5"><!></div></div>'),Kr=m('<li class="flex gap-2.5" data-said="helper"><span class="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full border border-brass bg-card text-sea" aria-hidden="true"><!></span> <div class="min-w-0 flex-1"><div></div> <!> <!></div></li>'),Ur=m('<li class="flex gap-1 py-1 pl-9" role="status" aria-label="The helper 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></li>'),Br=m('<li class="text-sm text-danger" role="alert"> </li>'),Yr=m('<div class="flex items-center gap-1.5 px-2.5 pt-2"><span class="inline-flex min-w-0 items-center gap-1 rounded-md bg-sea/10 px-2 py-0.5 text-xs text-sea" data-attached=""><!><span class="truncate"> </span></span> <button class="flex size-5 cursor-pointer items-center justify-center rounded text-muted-foreground hover:bg-muted" aria-label="Not about this part"><!></button></div>'),Gr=m('<span class="text-xs text-muted-foreground">· not sent yet</span>'),Jr=m('<p class="text-xs text-muted-foreground"> </p>'),Vr=m('<li class="group flex items-start gap-2 rounded-md border bg-background px-2 py-1"><span class="mt-0.5 w-4 shrink-0 text-right text-xs text-muted-foreground tabular-nums"> </span> <div class="min-w-0 flex-1"><textarea rows="1" maxlength="500" class="no-scrollbar block field-sizing-content w-full resize-none rounded bg-transparent text-sm leading-snug outline-none focus:bg-accent/40 max-md:text-base"></textarea> <!></div> <button class="flex size-6 shrink-0 cursor-pointer items-center justify-center rounded text-muted-foreground opacity-60 group-hover:opacity-100 hover:bg-muted hover:text-foreground max-md:size-11" aria-label="Remove from the list"><!></button></li>'),Xr=m('<ol class="flex flex-col gap-1.5"></ol>'),Qr=m('<p class="text-xs text-muted-foreground">Empty so far. Add what the helper suggests, or write your own below.</p>'),Zr=m('<div class="no-scrollbar max-h-48 overflow-y-auto px-4"><!> <form class="mt-1.5 flex items-center gap-1"><!> <input maxlength="500" placeholder="Add your own" aria-label="Add your own feedback" class="h-7 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground max-md:h-11 max-md:text-base"/></form></div>'),en=m(`<section class="flex min-h-0 flex-col rounded-lg border bg-panel" aria-label="Talk about this preview" data-preview-helper=""><header class="border-b px-4 py-3"><h2 class="flex items-center gap-2 text-base"><!>Talk it through</h2> <p class="mt-0.5 text-xs text-muted-foreground">A helper that sees only this preview. Nothing goes to Firstmate until you send.</p></header> <div class="no-scrollbar min-h-40 flex-1 overflow-y-auto px-4 py-4"><ol class="flex flex-col gap-4"><li class="flex gap-2.5"><span class="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full border border-brass bg-card text-sea" aria-hidden="true"><!></span> <p class="min-w-0 flex-1 text-sm leading-relaxed">I can see this preview, its screenshots, the task’s instructions and what the worker has
5
- done so far. Point at anything, or just say what you think; I will turn it into a list for
6
- the worker. <strong>Nothing goes to Firstmate until you send it.</strong></p></li> <!> <!> <!></ol></div> <div class="px-3 pb-3"><div class="rounded-lg border border-input bg-card shadow-sm focus-within:ring-2 focus-within:ring-ring/30"><!> <!> <div class="flex items-center gap-1 px-1.5 pb-1.5"><button title="Click a part of the page to say which part you mean" data-point=""><!> </button> <button aria-label="Say it" class="ml-auto flex size-8 cursor-pointer items-center justify-center rounded-full bg-foreground text-background disabled:cursor-not-allowed disabled:opacity-30 max-md:size-11"><!></button></div></div></div> <section class="border-t bg-card/60" aria-label="Your feedback" data-feedback-list=""><button class="flex w-full cursor-pointer items-center gap-2 px-4 py-2.5 text-left max-md:min-h-11"><h3 class="font-sans text-sm font-medium">Your feedback</h3> <span class="rounded-full bg-muted px-1.5 text-xs text-muted-foreground tabular-nums"> </span> <!> <!></button> <!> <div class="flex items-center gap-3 px-4 pt-2 pb-3"><button class="inline-flex h-9 shrink-0 cursor-pointer items-center gap-1.5 rounded-md bg-sea px-3.5 text-sm font-medium whitespace-nowrap text-on-accent hover:bg-sea/90 disabled:cursor-not-allowed disabled:opacity-40 max-md:h-11" data-send-batch=""><!> </button> <span class="text-xs leading-snug text-muted-foreground">One message, for this same task</span></div></section></section>`);function tn(n,e){Fe(e,!0);let a=K(e,"pointing",15,!1),r=K(e,"attached",15,null);const s=b(()=>Oe.view(e.task.id)),o=b(()=>et.data.sessionToken??"");let i=A(""),c=A(""),u=A(!0),g=A(!1),C=A(null),B=A(null);Et(()=>Oe.load()),We(()=>{t(s).said.length,t(s).asking,gt().then(()=>t(C)?.scrollTo({top:t(C).scrollHeight,behavior:"smooth"}))}),We(()=>{r()&&gt().then(()=>t(B)?.querySelector("textarea")?.focus())});function re(){const x=t(i).trim();if(!x&&!r()||t(s).asking)return;const _=r()?.pointer??null;w(i,""),r(null),Oe.ask(e.task.id,x,_,t(o))}async function ge(){!t(s).list.length||t(g)||(w(g,!0),await Oe.send({id:e.task.id,title:e.task.shortTitle},e.url,t(o)),w(g,!1))}var ee=en(),I=d(ee),ie=d(I),O=d(ie);pt(O,{class:"size-4 text-muted-foreground","aria-hidden":"true"}),fe(),l(ie),fe(2),l(I);var ye=v(I,2),j=d(ye),ne=d(j),oe=d(ne),te=d(oe);kt(te,{class:"size-3.5"}),l(oe),fe(2),l(ne);var ve=v(ne,2);nt(ve,17,()=>t(s).said,x=>x.id,(x,_)=>{var ce=Be(),Re=De(ce);{var Ie=p=>{var M=Hr(),H=d(M);{var ue=Te=>{var we=Ir(),He=d(we);vt(He,{class:"size-3 shrink-0","aria-hidden":"true"});var Me=v(He),Ce=U(Me,!0);l(we),P(()=>q(Ce,t(_).points.label)),f(Te,we)};z(H,Te=>{t(_).points&&Te(ue)})}var pe=v(H,2),de=U(pe,!0);l(M),P(()=>q(de,t(_).text)),f(p,M)},h=p=>{var M=Kr(),H=d(M),ue=d(H);kt(ue,{class:"size-3.5"}),l(H);var pe=v(H,2),de=d(pe);ia(de,()=>oa(t(_).text),!0),l(de);var Te=v(de,2);{var we=Me=>{var Ce=qr();f(Me,Ce)};z(Te,Me=>{t(_).notice&&t(s).sent&&Me(we)})}var He=v(Te,2);nt(He,17,()=>t(_).suggest??[],Xt,(Me,Ce,qe)=>{var Je=Fr(),tt=d(Je),Ve=U(tt,!0),at=v(tt,2),je=d(at);{var rt=Ue=>{var Ne=jr(),ct=d(Ne);ua(ct,{class:"size-3.5","aria-hidden":"true"}),fe(),l(Ne),f(Ue,Ne)},dt=Ue=>{var Ne=Wr(),ct=d(Ne);xt(ct,{class:"size-3.5","aria-hidden":"true"}),fe(),l(Ne),N("click",Ne,()=>Oe.accept(e.task.id,t(_).id,qe)),f(Ue,Ne)};z(je,Ue=>{t(Ce).added?Ue(rt):Ue(dt,-1)})}l(at),l(Je),P(()=>q(Ve,t(Ce).text)),f(Me,Je)}),l(pe),l(M),P(()=>Pe(de,1,`chat-md text-sm ${t(_).notice?"text-muted-foreground":""}`)),f(p,M)};z(Re,p=>{t(_).who==="captain"?p(Ie):p(h,-1)})}f(x,ce)});var Se=v(ve,2);{var Ae=x=>{var _=Ur();f(x,_)};z(Se,x=>{t(s).asking&&x(Ae)})}var Ee=v(Se,2);{var $e=x=>{var _=Br(),ce=U(_,!0);P(()=>q(ce,t(s).error)),f(x,_)};z(Ee,x=>{t(s).error&&x($e)})}l(j),l(ye),Ge(ye,x=>w(C,x),()=>t(C));var xe=v(ye,2),Le=d(xe),he=d(Le);{var y=x=>{var _=Yr(),ce=d(_),Re=d(ce);vt(Re,{class:"size-3 shrink-0","aria-hidden":"true"});var Ie=v(Re),h=U(Ie,!0);l(ce);var p=v(ce,2),M=d(p);Ye(M,{class:"size-3"}),l(p),l(_),P(()=>q(h,r().pointer.label)),N("click",p,()=>r(null)),f(x,_)};z(he,x=>{r()&&x(y)})}var L=v(he,2);{let x=b(()=>r()?"What about it?":"What do you think? Ask anything about it");Or(L,{rows:2,maxlength:4e3,get placeholder(){return t(x)},"aria-label":"Talk about this preview",class:"no-scrollbar min-h-12 border-0 bg-transparent text-sm shadow-none focus-visible:ring-0 max-md:text-base",onkeydown:_=>{_.key==="Enter"&&!_.shiftKey&&!_.isComposing&&(_.preventDefault(),re())},get value(){return t(i)},set value(_){w(i,_,!0)}})}var le=v(L,2),$=d(le),S=d($);vt(S,{class:"size-3.5","aria-hidden":"true"});var W=v(S,1,!0);l($);var V=v($,2),F=d(V);da(F,{class:"size-4"}),l(V),l(le),l(Le),l(xe),Ge(xe,x=>w(B,x),()=>t(B));var be=v(xe,2),X=d(be),ke=v(d(X),2),Q=U(ke,!0),Y=v(ke,2);{var T=x=>{var _=Gr();f(x,_)};z(Y,x=>{t(s).list.length&&x(T)})}var D=v(Y,2);{let x=b(()=>t(u)?"rotate-180":"");ca(D,{get class(){return`ml-auto size-4 text-muted-foreground transition-transform ${t(x)??""}`},"aria-hidden":"true"})}l(X);var G=v(X,2);{var J=x=>{var _=Zr(),ce=d(_);{var Re=H=>{var ue=Xr();nt(ue,23,()=>t(s).list,pe=>pe.id,(pe,de,Te)=>{var we=Vr(),He=d(we),Me=U(He),Ce=v(He,2),qe=d(Ce);Mt(qe);var Je=v(qe,2);{var tt=je=>{var rt=Jr(),dt=U(rt);P(()=>q(dt,`Points at ${t(de).points.label??""}`)),f(je,rt)};z(Je,je=>{t(de).points&&je(tt)})}l(Ce);var Ve=v(Ce,2),at=d(Ve);Ye(at,{class:"size-3.5"}),l(Ve),l(we),P(()=>{q(Me,`${t(Te)+1}.`),Zt(qe,t(de).text),R(qe,"aria-label",`Feedback ${t(Te)+1}`)}),N("input",qe,je=>Oe.edit(e.task.id,t(de).id,je.currentTarget.value)),N("click",Ve,()=>Oe.remove(e.task.id,t(de).id)),f(pe,we)}),l(ue),f(H,ue)},Ie=H=>{var ue=Qr();f(H,ue)};z(ce,H=>{t(s).list.length?H(Re):H(Ie,-1)})}var h=v(ce,2),p=d(h);xt(p,{class:"size-3.5 shrink-0 text-muted-foreground","aria-hidden":"true"});var M=v(p,2);Qt(M),l(h),l(_),Dt("submit",h,H=>{H.preventDefault(),Oe.addOwn(e.task.id,t(c)),w(c,"")}),Rt(M,()=>t(c),H=>w(c,H)),f(x,_)};z(G,x=>{t(u)&&x(J)})}var E=v(G,2),k=d(E),se=d(k);Ca(se,{class:"size-3.5","aria-hidden":"true"});var Z=v(se,1,!0);l(k),fe(2),l(E),l(be),l(ee),P(x=>{Pe($,1,`inline-flex h-8 cursor-pointer items-center gap-1.5 rounded-md px-2 text-xs font-medium transition-colors max-md:h-11 max-md:px-3 max-md:text-sm ${a()?"bg-sea text-on-accent":"text-muted-foreground hover:bg-muted hover:text-foreground"}`),R($,"aria-pressed",a()),q(W,a()?"Pointing…":"Point"),V.disabled=x,R(X,"aria-expanded",t(u)),q(Q,t(s).list.length),k.disabled=!t(s).list.length||t(g),q(Z,t(g)?"Sending…":`Send to Firstmate${t(s).list.length?` (${t(s).list.length})`:""}`)},[()=>!t(i).trim()&&!r()||t(s).asking]),N("click",$,()=>a(!a())),N("click",V,re),N("click",X,()=>w(u,!t(u))),N("click",k,ge),f(n,ee),Ke()}lt(["click","input"]);var an=m('<span class="contents" data-slot="preview.action"><!></span>');function Ct(n,e){Fe(e,!0);const a=b(()=>et.data.slots),r=b(()=>t(a)?.[bt.fleet]?et.data.slotsAt??0:0),s=b(()=>It()?.id??null),o=b(()=>va.entries(bt.fleet,t(a),t(r)).filter(u=>u.slot==="preview.action"&&u.content.available).sort((u,g)=>+(g.pluginId===t(s))-+(u.pluginId===t(s))));var i=Be(),c=De(i);nt(c,17,()=>t(o),u=>u.key,(u,g)=>{var C=Be(),B=De(C);{var re=ge=>{const ee=b(()=>t(g).pluginId===t(s));var I=an(),ie=d(I);{let O=b(()=>t(ee)?{...e.preview,primary:t(ee)}:e.preview);ra(ie,{get entry(){return t(g)},get data(){return t(g).content.value},get preview(){return t(O)},quiet:!0})}l(I),P(()=>R(I,"data-primary",t(ee)?"":void 0)),f(ge,I)};z(B,ge=>{t(g).content.available&&ge(re)})}f(u,C)}),f(n,i),Ke()}var rn=m('<button type="button" class="inline-flex items-center gap-1.5 rounded-md px-2 py-1 text-xs text-muted-foreground hover:bg-accent hover:text-foreground"><!>Hide the helper</button>'),nn=m('<span class="flex flex-wrap items-center gap-1 text-xs" data-preview-surface=""><!></span>'),sn=m('<aside data-preview-helper-panel=""><div class="flex min-h-0 w-full flex-col"><div class="flex shrink-0 items-center justify-end md:hidden"><span class="absolute top-2 left-1/2 h-1 w-10 -translate-x-1/2 rounded-full bg-muted-foreground/40" aria-hidden="true"></span> <button type="button" class="grid size-11 place-items-center rounded-full text-muted-foreground hover:bg-accent hover:text-foreground" aria-label="Hide the helper"><!></button></div> <!></div></aside>'),on=m('<button type="button" class="absolute right-5 bottom-5 inline-flex items-center gap-2 rounded-full border bg-background px-4 py-2 text-sm font-medium shadow-lg hover:bg-accent max-md:hidden"><!>Talk it through</button>'),ln=m('<a target="_blank" rel="noreferrer" class="grid size-11 shrink-0 place-items-center rounded-xl border hover:bg-accent" aria-label="Open in a new tab"><!></a>'),dn=m('<button type="button" class="inline-flex h-11 shrink-0 items-center gap-2 rounded-xl border px-3 text-sm font-medium hover:bg-accent" aria-label="Talk it through"><!>Talk</button>'),cn=m('<span class="flex min-w-0 flex-1 flex-wrap items-center justify-end gap-1"><!></span>'),un=m('<div class="fixed inset-0 z-50 flex flex-col bg-background outline-none" role="dialog" aria-modal="true" tabindex="-1" data-preview-studio=""><div class="flex h-12 shrink-0 items-center gap-3 border-b px-3 max-md:hidden sm:px-4"><p class="min-w-0 flex-1 truncate text-sm"><span class="font-medium"> </span> <span class="text-muted-foreground">· Live preview</span></p> <!> <!> <button type="button" class="inline-flex items-center gap-1.5 rounded-md px-2 py-1 text-xs hover:bg-accent" aria-label="Close full screen (Esc)" title="Close (Esc)"><!>Close</button></div> <div class="flex shrink-0 items-center gap-1 border-b px-1 pt-[env(safe-area-inset-top,0px)] md:hidden" data-preview-phone-bar=""><button type="button" class="grid size-11 shrink-0 place-items-center rounded-full hover:bg-accent" aria-label="Close full screen"><!></button> <div class="min-w-0 flex-1 py-1 text-center"><p class="truncate text-sm font-medium"> </p> <p class="truncate font-mono text-xs text-muted-foreground"> </p></div> <button type="button" class="grid size-11 shrink-0 place-items-center rounded-full hover:bg-accent disabled:opacity-40"><!></button></div> <div class="relative flex min-h-0 flex-1"><div class="min-w-0 flex-1 p-3 max-md:p-0"><!></div> <!></div> <div class="flex shrink-0 items-center gap-2 border-t bg-background px-3 pt-2 pb-[max(0.5rem,env(safe-area-inset-bottom,0px))] md:hidden" data-preview-dock=""><button type="button" class="grid size-11 shrink-0 place-items-center rounded-xl border hover:bg-accent"><!></button> <!> <!> <!></div></div>');function Wn(n,e){Fe(e,!0);let a=K(e,"talk",3,!0),r=K(e,"board",3,!1),s=K(e,"from",3,null);const o=b(It),i=b(()=>a()&&!!e.taskId&&!t(o));let c=A(!st.current),u=A(!1),g=A(null);const C=b(()=>Qe.checks[e.taskId??Ot(e.url)]??null),B=b(()=>t(C)?.state==="live"),re=b(()=>Pt.view(t(C)?.url??e.url)),ge=b(()=>URL.parse(t(re))?.host??t(re)),ee=b(()=>t(B)&&t(C)?.url?{url:t(C).url,taskId:e.taskId,title:e.title,projectId:e.taskId?na()?.tasks.find(h=>h.id===e.taskId)?.projectId??null:null,board:r()}:null);let I=A(!1),ie=A(null),O=A(null);Et(()=>{const h=document.activeElement,p=document.body.style.overflow;return document.body.style.overflow="hidden",t(O)?.focus(),()=>{document.body.style.overflow=p,h?.focus?.()}});function ye(h){if(h.key!=="Escape")return;if(t(I)){h.preventDefault(),w(I,!1);return}const p=h.target;if(p instanceof HTMLTextAreaElement&&p.value.trim()){p.blur();return}h.preventDefault(),e.onclose()}var j=un();Dt("keydown",Gt,ye);var ne=d(j),oe=d(ne),te=d(oe),ve=U(te,!0);fe(2),l(oe);var Se=v(oe,2);{var Ae=h=>{var p=rn(),M=d(p);$a(M,{class:"size-4","aria-hidden":"true"}),fe(),l(p),N("click",p,()=>w(c,!1)),f(h,p)};z(Se,h=>{t(i)&&t(c)&&h(Ae)})}var Ee=v(Se,2);{var $e=h=>{var p=nn(),M=d(p);Ct(M,{get preview(){return t(ee)}}),l(p),f(h,p)};z(Ee,h=>{t(o)&&t(ee)&&h($e)})}var xe=v(Ee,2),Le=d(xe);Ye(Le,{class:"size-4","aria-hidden":"true"}),fe(),l(xe),l(ne);var he=v(ne,2),y=d(he),L=d(y);Ye(L,{class:"size-5","aria-hidden":"true"}),l(y);var le=v(y,2),$=d(le),S=U($,!0),W=v($,2),V=U(W,!0);l(le);var F=v(le,2),be=d(F);At(be,{class:"size-5","aria-hidden":"true"}),l(F),l(he);var X=v(he,2),ke=d(X),Q=d(ke);{let h=b(()=>e.taskId?null:e.url),p=b(()=>!st.current),M=b(()=>st.current&&t(u)),H=b(()=>t(i)&&t(c)&&t(I)),ue=b(()=>t(i)&&t(c)?t(ie)?.at??null:null);Ge(dr(Q,{get taskId(){return e.taskId},get url(){return t(h)},fill:!0,get toolbar(){return t(p)},get desktop(){return t(M)},get pointing(){return t(H)},get pin(){return t(ue)},onpoint:(pe,de)=>{w(ie,{pointer:pe,at:de},!0),w(I,!1)}}),pe=>w(g,pe,!0),()=>t(g))}l(ke);var Y=v(ke,2);{var T=h=>{var p=sn(),M=d(p),H=d(M),ue=v(d(H),2),pe=d(ue);Ye(pe,{class:"size-5","aria-hidden":"true"}),l(ue),l(H);var de=v(H,2);{let Te=b(()=>({id:e.taskId,shortTitle:e.title}));tn(de,{get task(){return t(Te)},get url(){return e.url},get pointing(){return t(I)},set pointing(we){w(I,we,!0)},get attached(){return t(ie)},set attached(we){w(ie,we,!0)}})}l(M),l(p),P(()=>Pe(p,1,`flex min-h-0 w-[24rem] shrink-0 border-l bg-panel p-3 max-md:absolute max-md:inset-x-0 max-md:bottom-0 max-md:z-10 max-md:h-[88%] max-md:w-auto max-md:overflow-y-auto max-md:overscroll-contain max-md:rounded-t-2xl max-md:border-t max-md:border-l-0 max-md:px-2 max-md:pt-0 max-md:pb-2 max-md:shadow-2xl xl:w-[26rem] ${t(I)?"max-md:hidden":""}`)),N("click",ue,()=>w(c,!1)),f(h,p)},D=h=>{var p=on(),M=d(p);pt(M,{class:"size-4","aria-hidden":"true"}),fe(),l(p),N("click",p,()=>w(c,!0)),f(h,p)};z(Y,h=>{t(i)&&t(c)&&e.taskId?h(T):t(i)&&h(D,1)})}l(X);var G=v(X,2),J=d(G),E=d(J);{var k=h=>{Ma(h,{class:"size-5","aria-hidden":"true"})},se=h=>{ya(h,{class:"size-5","aria-hidden":"true"})};z(E,h=>{t(u)?h(k):h(se,-1)})}l(J);var Z=v(J,2);{var x=h=>{var p=ln(),M=d(p);Lt(M,{class:"size-5","aria-hidden":"true"}),l(p),P(()=>R(p,"href",t(re))),f(h,p)};z(Z,h=>{(t(B)||t(C)?.state==="blocked")&&h(x)})}var _=v(Z,2);{var ce=h=>{var p=dn(),M=d(p);pt(M,{class:"size-4 shrink-0","aria-hidden":"true"}),fe(),l(p),N("click",p,()=>w(c,!0)),f(h,p)};z(_,h=>{t(i)&&!t(c)&&h(ce)})}var Re=v(_,2);{var Ie=h=>{var p=cn(),M=d(p);Ct(M,{get preview(){return t(ee)}}),l(p),f(h,p)};z(Re,h=>{t(ee)&&h(Ie)})}l(G),l(j),Ge(j,h=>w(O,h),()=>t(O)),P(()=>{R(j,"aria-label",`Live preview of ${e.title??""}, full screen`),q(ve,e.title),q(S,e.title),R(W,"title",t(re)),q(V,t(ge)),F.disabled=!t(C),R(F,"aria-label",t(B)?"Reload the preview":"Check the preview again"),R(J,"aria-pressed",t(u)),R(J,"aria-label",t(u)?"Show at the phone’s width":"Show at a desktop’s width")}),N("click",xe,function(...h){e.onclose?.apply(this,h)}),N("click",y,function(...h){e.onclose?.apply(this,h)}),N("click",F,()=>t(g)?.reload()),N("click",J,()=>w(u,!t(u))),Wt(3,j,()=>ea,()=>({from:s()})),f(n,j),Ke()}lt(["click"]);export{In as C,dr as L,kt as M,Wn as P,Pa as S,_t as a,wt as b,yt as c,Hn as d,tn as e,Ct as f,qn as g,Lr as h,jn as i,ae as j,Qe as p,It as r,Ot as u};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import{s,r as n}from"./Bmlgorxn.js";import{I as p}from"./BSAbhtop.js";var a=new Set(["$$slots","$$events","$$legacy"]);function $(r,e){let o=n(e,a);const t={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6"}]]};p(r,s(()=>o,{get icon(){return t}}))}export{$ as C};
@@ -1 +0,0 @@
1
- import{M as v,L as o,N as y,O as T,P as f,Q as l,R as m,S as i,T as p,U as R}from"./BT1J4Jfm.js";import{B as A}from"./CWwiXwzb.js";function E(d,_,e){var s;o&&(s=R,y());var r=new A(d);v(()=>{var a=_()??null;if(o){var h=f(s),c=h===p,u=a!==null;if(c!==u){var t=l();m(t),r.anchor=t,i(!1),r.ensure(a,a&&(n=>e(n,a))),i(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},T)}export{E as c};
@@ -1,2 +0,0 @@
1
- import"./DsnmJJEf.js";import{l as vt,p as pt,m as j,q as mt,u as ft,f as we,h as d,o as b,s,g as e,r as i,t as y,d as g,a as l,b as _t,i as O,v as n,n as W,w as L,x as Ue,y as _e,c as p,aa as ue,j as gt}from"./BT1J4Jfm.js";import{i as P}from"./CWwiXwzb.js";import{r as Ee,s as K,e as ke,i as xt,b as ht,c as bt}from"./BdFwDk8n.js";import{a as yt}from"./BrLbcBkK.js";import{p as Ze}from"./iJXyGgnZ.js";import{S as $t}from"./BXN538J3.js";import{B as U}from"./BTGEdsVs.js";import{L as wt,K as He}from"./Q48DR58e.js";import{C as kt}from"./C2RRJVBQ.js";import{s as jt,r as St}from"./Bmlgorxn.js";import{I as zt}from"./BSAbhtop.js";import{E as At}from"./CmCKdnrX.js";const Pt=/https?:\/\/[^\s<>"'`]+/g,Et=/[.,;:!?)\]}'"*]+$/;function ha(C){return[...C.matchAll(Pt)].map(B=>B[0].replace(Et,""))}var Nt=new Set(["$$slots","$$events","$$legacy"]);function Rt(C,B){let ge=St(B,Nt);const xe={name:"eye-off",size:24,node:[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143"}],["path",{d:"m2 2 20 20"}]]};zt(C,jt(()=>ge,{get icon(){return xe}}))}const Tt=/^[A-Za-z_][A-Za-z0-9_]{0,127}$/,ba=/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;function Ne(C){return C?.where??"the vault"}function Ct(C){return C.length<=1?C.join(""):`${C.slice(0,-1).join(", ")} and ${C.at(-1)}`}var Dt=p('<div class="relative"><input autocomplete="off" autocapitalize="off" spellcheck="false" data-1p-ignore="" data-lpignore="true" class="h-10 w-full rounded-md border border-input bg-background px-3 pr-10 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60"/> <button type="button" class="absolute inset-y-0 right-0 flex w-10 items-center justify-center rounded-r-md text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"><!></button></div>'),Lt=p('<label class="flex min-w-0 items-center gap-2 text-sm"><input type="checkbox" class="size-4 shrink-0 accent-[var(--sea)]"/> <span class="truncate"> </span></label>'),It=p('<div class="grid gap-x-6 gap-y-2 sm:grid-cols-2" role="group"></div>'),Vt=p('<p class="text-sm text-muted-foreground">Wheelhouse knows no projects yet.</p>'),Mt=p('<p class="mt-5 rounded-md border border-warning/40 bg-warning/5 px-4 py-2.5 text-sm" role="alert" data-vault-unavailable=""> </p>'),Ot=p('<p class="mt-5 rounded-md border border-success/40 bg-success/5 px-4 py-2.5 text-sm" role="status"> </p>'),Wt=p('<p class="mt-5 rounded-md border border-danger/40 bg-danger/5 px-4 py-2.5 text-sm" role="alert"> </p>'),Kt=p('<p class="mt-5 text-sm text-muted-foreground"> </p>'),Ut=p('<p id="vault-name-help" class="text-sm text-danger" role="alert"> </p>'),Zt=p('<p id="vault-name-help" class="text-xs text-muted-foreground">The environment variable a command receives it as: letters, digits and underscores.</p>'),Ht=p('<section class="mt-6 rounded-lg border border-hair bg-background/60 px-5 py-5" aria-labelledby="vault-add"><h2 id="vault-add" class="font-display text-lg">Add a secret</h2> <p class="mt-0.5 mb-5 text-xs text-muted-foreground">Storing a name that already exists replaces its value.</p> <form class="grid gap-5"><div class="grid max-w-md gap-1.5"><label for="vault-name" class="text-sm font-medium">Name</label> <input id="vault-name" autocomplete="off" autocapitalize="characters" spellcheck="false" placeholder="VERCEL_TOKEN" aria-describedby="vault-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"/> <!></div> <div class="grid max-w-md gap-1.5"><label for="vault-value" class="text-sm font-medium">Value</label> <!> <p class="flex items-start gap-1.5 text-xs text-muted-foreground"><!> </p></div> <div class="grid gap-2"><p class="text-sm font-medium">Projects that may use it</p> <p class="-mt-1 mb-1 text-xs text-muted-foreground">Optional. You can change this any time.</p> <!></div> <div class="flex flex-wrap gap-2"><!> <!></div></form></section>'),Bt=p('<div class="mt-6 rounded-lg border border-dashed px-6 py-10"><!> <p class="mt-3 font-display text-lg">The vault is empty</p> <p class="mt-1 max-w-prose text-sm text-muted-foreground">Add the tokens and keys your projects need. The crew uses them by name and never sees a value.</p> <!></div>'),Ft=p('<span class="rounded border border-hair px-1.5 py-0.5 text-xs"> </span>'),Gt=p('<span class="text-xs text-muted-foreground">No project yet</span>'),Jt=p('<form class="grid gap-2"><label for="vault-replace" class="text-xs font-medium">New value</label> <!> <div class="flex flex-wrap gap-2"><!> <!></div></form>'),Yt=p('<p>Remove <span class="font-mono"> </span> </p> <div class="flex flex-wrap gap-2"><!> <!></div>',1),qt=p('<div class="flex flex-wrap gap-2"><!> <!></div>'),Qt=p('<div class="grid gap-6 px-1 pt-1 pb-5 sm:grid-cols-[minmax(0,1fr)_minmax(0,18rem)] sm:pl-9"><div><p class="mb-2 text-sm font-medium">Projects that may use it</p> <!> <p class="mt-3 text-xs text-muted-foreground"> </p></div> <div class="grid content-start gap-3 text-sm"><p class="tabular text-xs text-muted-foreground"> <br/> </p> <!></div></div>'),Xt=p('<li><button class="flex min-h-12 w-full items-center gap-4 px-1 py-3 text-left outline-none hover:bg-muted/50 focus-visible:ring-2 focus-visible:ring-ring"><!> <span class="min-w-0 flex-1 truncate font-mono text-sm font-medium"> </span> <span class="hidden min-w-0 flex-wrap justify-end gap-1.5 sm:flex"></span> <!></button> <!></li>'),ea=p('<ul class="mt-6 divide-y divide-hair border-y border-hair" aria-label="Secrets"></ul>'),ta=p('<a class="text-sea hover:underline"> </a>'),aa=p('<tr><td class="tabular py-2 pr-4 whitespace-nowrap"> </td><td class="py-2 pr-4"><!></td><td class="py-2 pr-4"> </td><td class="py-2 pr-4 font-mono text-xs"> </td><td class="py-2 pr-4"> </td><td class="py-2"> </td></tr>'),ra=p('<h2 class="section-label mt-10">Recent use</h2> <div class="mt-3 no-scrollbar overflow-x-auto"><table class="w-full text-sm"><thead class="text-left text-xs text-muted-foreground"><tr class="border-b border-hair"><th class="py-2 pr-4 font-medium">When</th><th class="py-2 pr-4 font-medium">Task</th><th class="py-2 pr-4 font-medium">Project</th><th class="py-2 pr-4 font-medium">Secrets</th><th class="py-2 pr-4 font-medium">Command</th><th class="py-2 font-medium">Result</th></tr></thead><tbody class="divide-y divide-hair"></tbody></table></div>',1),sa=p('<div class="flex flex-wrap items-start justify-between gap-4"><p class="max-w-prose text-sm text-muted-foreground"> </p> <!></div> <!> <!> <!> <!> <!> <!> <!>',1);function na(C,B){pt(B,!0);const ge=(t,a=ue,r=ue,o=ue)=>{var u=Dt(),_=d(u);Ee(_);var c=s(_,2),S=d(c);{var x=m=>{Rt(m,{class:"size-4"})},h=m=>{At(m,{class:"size-4"})};P(S,m=>{e(Z)?m(x):m(h,-1)})}i(c),i(u),y(m=>{K(_,"id",a()),K(_,"type",e(Z)?"text":"password"),ht(_,m),_.disabled=e($),K(c,"aria-label",e(Z)?"Hide what you typed":"Show what you typed"),K(c,"aria-pressed",e(Z))},[()=>r()()]),_e("input",_,m=>o()(m.currentTarget.value)),_e("click",c,()=>n(Z,!e(Z))),l(t,u)},xe=(t,a=ue,r=ue,o=ue)=>{var u=gt(),_=we(u);{var c=x=>{var h=It();ke(h,20,()=>e(Re),m=>m,(m,I)=>{var H=Lt(),f=d(H);Ee(f);var w=s(f,2),E=b(w,!0);i(H),y(z=>{bt(f,z),f.disabled=e($),g(E,I)},[()=>r().includes(I)]),_e("change",f,z=>{const F=z.currentTarget;o()(I,F.checked,F)}),l(m,H)}),i(h),y(()=>K(h,"aria-label",a())),l(x,h)},S=x=>{var h=Vt();l(x,h)};P(_,x=>{e(Re).length?x(c):x(S,-1)})}l(t,u)},ce=O(()=>B.data);let he=j(null);const ve=O(()=>{const t=B.entry.content.available?Date.parse(B.entry.content.observedAt??""):NaN;return e(he)&&!(t>e(he).at)?e(he).secrets:e(ce).secrets}),Re=O(()=>{const t=(Ze.data.fleet?.projects??[]).map(r=>r.id),a=e(ve).flatMap(r=>r.projects).filter(r=>!t.includes(r));return[...t,...[...new Set(a)].sort()]});let J=j(null),ae=j(!1),pe=j(null),me=j(null),$=j(!1),re=j(null),se=j(null),Y=j(""),q=j(""),ne=j(mt([])),Z=j(!1),oe=j(""),Q=j(""),le=j(null);const fe=O(()=>e(le)?.canStore===!1);function Te(){fetch("/api/vault").then(t=>t.ok?t.json():null).then(t=>{t&&n(le,t,!0)}).catch(()=>{})}ft(Te);function je(t){if(!t)return"Never";const a=new Date(t);if(Number.isNaN(a.getTime()))return t;const r=o=>String(o).padStart(2,"0");return`${a.getFullYear()}-${r(a.getMonth()+1)}-${r(a.getDate())} ${r(a.getHours())}:${r(a.getMinutes())}`}function be(){n(q,""),n(Q,""),n(Z,!1)}function Ce(){n(Y,""),n(ne,[],!0),n(oe,""),n(re,null),n(se,null),be(),n(ae,!0)}function Be(){n(ae,!1),be()}async function ye(t){n($,!0),n(se,null),n(re,null);try{const a=await fetch("/api/vault",{method:"POST",headers:{"content-type":"application/json",[$t]:Ze.data.sessionToken},body:JSON.stringify(t)}),r=await a.json().catch(()=>null);return a.ok?(r?.secrets&&n(he,{secrets:r.secrets,at:Date.parse(r.observedAt??"")||Date.now()},!0),n(re,r?.message??"Done.",!0),!0):(n(se,r?.message??`Wheelhouse could not do that (${a.status}).`,!0),a.status===503&&Te(),!1)}catch{return n(se,"Wheelhouse could not be reached. Try again."),!1}finally{n($,!1)}}async function Fe(t){if(t.preventDefault(),!Tt.test(e(Y))){n(oe,"Use letters, digits and underscores, not starting with a digit, like VERCEL_TOKEN.");return}if(!e(q))return;const a={action:"set",name:e(Y),value:e(q),projects:e(ne)};n(q,""),n(Z,!1),await ye(a)&&(n(ae,!1),n(J,e(Y),!0))}async function Ge(t,a){if(t.preventDefault(),!e(Q))return;const r={action:"set",name:a.name,value:e(Q),projects:[]};n(Q,""),n(Z,!1),await ye(r)&&n(pe,null)}async function Je(t,a,r,o){await ye({action:r?"grant":"revoke",name:t.name,projects:[a]})||(o.checked=!r)}async function Ye(t){await ye({action:"remove",name:t.name})&&(n(me,null),n(J,null))}function qe(t){n(J,e(J)===t?null:t,!0),n(me,null),n(pe,null),be()}var De=sa(),Se=we(De),Le=d(Se),Qe=b(Le),Xe=s(Le,2);{var et=t=>{{let a=O(()=>e($)||e(fe));U(t,{onclick:Ce,get disabled(){return e(a)},children:(r,o)=>{W();var u=L("Add a secret");l(r,u)},$$slots:{default:!0}})}};P(Xe,t=>{e(ve).length&&!e(ae)&&t(et)})}i(Se);var Ie=s(Se,2);{var tt=t=>{var a=Mt(),r=b(a,!0);y(()=>g(r,e(le)?.reason??"The vault cannot store a secret on this computer.")),l(t,a)};P(Ie,t=>{e(fe)&&t(tt)})}var Ve=s(Ie,2);{var at=t=>{var a=Ot(),r=b(a,!0);y(()=>g(r,e(re))),l(t,a)};P(Ve,t=>{e(re)&&t(at)})}var Me=s(Ve,2);{var rt=t=>{var a=Wt(),r=b(a,!0);y(()=>g(r,e(se))),l(t,a)};P(Me,t=>{e(se)&&t(rt)})}var Oe=s(Me,2);{var st=t=>{var a=Kt(),r=b(a,!0);y(()=>g(r,e(ce).problem)),l(t,a)};P(Oe,t=>{e(ce).problem&&t(st)})}var We=s(Oe,2);{var nt=t=>{var a=Ht(),r=s(d(a),4),o=d(r),u=s(d(o),2);Ee(u);var _=s(u,2);{var c=v=>{var A=Ut(),D=b(A,!0);y(()=>g(D,e(oe))),l(v,A)},S=v=>{var A=Zt();l(v,A)};P(_,v=>{e(oe)?v(c):v(S,-1)})}i(o);var x=s(o,2),h=s(d(x),2);ge(h,()=>"vault-value",()=>()=>e(q),()=>v=>n(q,v,!0));var m=s(h,2),I=d(m);wt(I,{class:"mt-px size-3.5 shrink-0"});var H=s(I);i(m),i(x);var f=s(x,2),w=s(d(f),4);xe(w,()=>"Projects that may use it",()=>e(ne),()=>(v,A)=>{n(ne,A?[...e(ne),v]:e(ne).filter(D=>D!==v),!0)}),i(f);var E=s(f,2),z=d(E);{let v=O(()=>e($)||!e(Y)||!e(q)||e(fe));U(z,{type:"submit",get disabled(){return e(v)},children:(A,D)=>{W();var ie=L("Store secret");l(A,ie)},$$slots:{default:!0}})}var F=s(z,2);U(F,{type:"button",variant:"outline",get disabled(){return e($)},onclick:Be,children:(v,A)=>{W();var D=L("Cancel");l(v,D)},$$slots:{default:!0}}),i(E),i(r),i(a),y(v=>{u.disabled=e($),K(u,"aria-invalid",e(oe)?"true":void 0),g(H,` Goes straight into ${v??""}. Wheelhouse cannot show it again.`)},[()=>Ne(e(le))]),Ue("submit",r,Fe),_e("input",u,()=>n(oe,"")),yt(u,()=>e(Y),v=>n(Y,v)),l(t,a)};P(We,t=>{e(ae)&&t(nt)})}var Ke=s(We,2);{var ot=t=>{var a=Bt(),r=d(a);He(r,{class:"size-6 text-brass","aria-hidden":"true"});var o=s(r,6);{let u=O(()=>e($)||e(fe));U(o,{class:"mt-5",onclick:Ce,get disabled(){return e(u)},children:(_,c)=>{W();var S=L("Add a secret");l(_,S)},$$slots:{default:!0}})}i(a),l(t,a)},lt=t=>{var a=ea();ke(a,21,()=>e(ve),r=>r.name,(r,o)=>{var u=Xt(),_=d(u),c=d(_);He(c,{class:"size-4 shrink-0 text-brass","aria-hidden":"true"});var S=s(c,2),x=b(S,!0),h=s(S,2);ke(h,20,()=>e(o).projects,f=>f,(f,w)=>{var E=Ft(),z=b(E,!0);y(()=>g(z,w)),l(f,E)},f=>{var w=Gt();l(f,w)}),i(h);var m=s(h,2);{let f=O(()=>e(J)===e(o).name?"rotate-90":"");kt(m,{get class(){return`size-4 shrink-0 text-muted-foreground transition-transform ${e(f)??""}`},"aria-hidden":"true"})}i(_);var I=s(_,2);{var H=f=>{var w=Qt(),E=d(w),z=s(d(E),2);xe(z,()=>`Projects that may use ${e(o).name}`,()=>e(o).projects,()=>(N,k,R)=>Je(e(o),N,k,R));var F=s(z,2),v=b(F,!0);i(E);var A=s(E,2),D=d(A),ie=d(D),V=s(ie,2);i(D);var M=s(D,2);{var ze=N=>{var k=Jt(),R=s(d(k),2);ge(R,()=>"vault-replace",()=>()=>e(Q),()=>T=>n(Q,T,!0));var X=s(R,2),G=d(X);{let T=O(()=>e($)||!e(Q));U(G,{type:"submit",size:"sm",get disabled(){return e(T)},children:(ee,$e)=>{W();var te=L("Replace");l(ee,te)},$$slots:{default:!0}})}var de=s(G,2);U(de,{type:"button",size:"sm",variant:"outline",get disabled(){return e($)},onclick:()=>{n(pe,null),be()},children:(T,ee)=>{W();var $e=L("Cancel");l(T,$e)},$$slots:{default:!0}}),i(X),i(k),Ue("submit",k,T=>Ge(T,e(o))),l(N,k)},Ae=N=>{var k=Yt(),R=we(k),X=s(d(R)),G=b(X,!0),de=s(X);i(R);var T=s(R,2),ee=d(T);U(ee,{size:"sm",variant:"destructive",get disabled(){return e($)},onclick:()=>Ye(e(o)),children:(te,ct)=>{W();var Pe=L("Remove");l(te,Pe)},$$slots:{default:!0}});var $e=s(ee,2);U($e,{size:"sm",variant:"outline",get disabled(){return e($)},onclick:()=>n(me,null),children:(te,ct)=>{W();var Pe=L("Keep it");l(te,Pe)},$$slots:{default:!0}}),i(T),y(te=>{g(G,e(o).name),g(de,`? Its value is deleted from ${te??""} and every project loses it. This cannot be undone.`)},[()=>Ne(e(le))]),l(N,k)},ut=N=>{var k=qt(),R=d(k);{let G=O(()=>e($)||e(fe));U(R,{size:"sm",variant:"outline",get disabled(){return e(G)},onclick:()=>{n(pe,e(o).name,!0),n(re,null)},children:(de,T)=>{W();var ee=L("Replace value");l(de,ee)},$$slots:{default:!0}})}var X=s(R,2);U(X,{size:"sm",variant:"ghost",class:"text-danger hover:text-danger",get disabled(){return e($)},onclick:()=>n(me,e(o).name,!0),children:(G,de)=>{W();var T=L("Remove…");l(G,T)},$$slots:{default:!0}}),i(k),l(N,k)};P(M,N=>{e(pe)===e(o).name?N(ze):e(me)===e(o).name?N(Ae,1):N(ut,-1)})}i(A),i(w),y((N,k,R)=>{K(w,"id",`vault-${e(o).name??""}`),g(v,N),g(ie,`Value set ${k??""}`),g(V,`Last used ${R??""}`)},[()=>e(o).projects.length?`A command ${Ct(e(o).projects)} ${e(o).projects.length===1?"runs":"run"} through the vault gets it in its environment, that command only.`:"No project can use it until you tick one.",()=>je(e(o).updatedAt),()=>je(e(o).lastUsedAt)]),l(f,w)};P(I,f=>{e(J)===e(o).name&&f(H)})}i(u),y(()=>{K(_,"aria-expanded",e(J)===e(o).name),K(_,"aria-controls",`vault-${e(o).name??""}`),g(x,e(o).name)}),_e("click",_,()=>qe(e(o).name)),l(r,u)}),i(a),l(t,a)};P(Ke,t=>{!e(ve).length&&!e(ae)?t(ot):e(ve).length&&t(lt,1)})}var it=s(Ke,2);{var dt=t=>{var a=ra(),r=s(we(a),2),o=d(r),u=s(d(o));ke(u,21,()=>e(ce).used,xt,(_,c)=>{var S=aa(),x=d(S),h=b(x,!0),m=s(x),I=d(m);{var H=V=>{var M=ta(),ze=b(M,!0);y(Ae=>{K(M,"href",`/tasks/${Ae??""}`),g(ze,e(c).task)},[()=>encodeURIComponent(e(c).task)]),l(V,M)},f=V=>{var M=L();y(()=>g(M,e(c).task??"—")),l(V,M)};P(I,V=>{e(c).task&&e(c).taskKnown?V(H):V(f,-1)})}i(m);var w=s(m),E=b(w,!0),z=s(w),F=b(z,!0),v=s(z),A=b(v,!0),D=s(v),ie=b(D,!0);i(S),y((V,M)=>{g(h,V),g(E,e(c).project??"—"),g(F,M),g(A,e(c).program??"—"),g(ie,e(c).result)},[()=>je(e(c).at),()=>e(c).names.join(", ")||"—"]),l(_,S)}),i(u),i(o),i(r),l(t,a)};P(it,t=>{e(ce).used.length&&t(dt)})}y(t=>g(Qe,`Secrets your projects can use by name. Values stay in ${t??""}; Wheelhouse never
2
- shows one.`),[()=>Ne(e(le))]),l(C,De),_t()}vt(["input","click","change"]);const ya={"vault/overview":na};export{ya as P,Tt as S,Ct as a,ba as b,ha as e,Ne as s};
@@ -1 +0,0 @@
1
- import{_ as J}from"./BapAUJpM.js";import"./DsnmJJEf.js";import{o as ve}from"./DvBi9tLd.js";import{l as ye,p as ue,h as F,o as ee,t as M,g as f,d as te,y as k,a as L,s as z,r as H,b as fe,c as O,u as _e,v as A,m as P,i as ge,f as Q,n as we}from"./BT1J4Jfm.js";import{i as Y}from"./CWwiXwzb.js";import{e as re,a as U,f as $,s as j,d as xe}from"./BdFwDk8n.js";import{b as oe}from"./BWMXHwzX.js";import{p as W}from"./Bmlgorxn.js";import{t as se}from"./DFTZSd_0.js";import{B as ke}from"./BTGEdsVs.js";import{c as Ae}from"./C7ciWNd6.js";import{A as Ce}from"./DU3KQvXy.js";import{A as Ee}from"./BI5zm8mS.js";import{A as Te}from"./BnjvfFIz.js";import{A as Re}from"./DoDLIp5m.js";import{L as Le}from"./YlriRNIQ.js";import{R as Oe}from"./BSyYGDmJ.js";const yt={claude:"Claude Code",codex:"Codex",opencode:"OpenCode",pi:"Pi",grok:"Grok"},Se="wheelhouse.terminal.v1",Be="wheelhouse.token.",Pe="/api/firstmate/terminal",ae={detached:4e3,shutdown:4002},ze={up:"A",down:"B",right:"C",left:"D"};function Ke(t,{ctrl:e=!1,applicationCursor:n=!1}={}){switch(t){case"esc":return"\x1B";case"tab":return" ";case"ctrl-c":return"";default:{const b=ze[t];return e?`\x1B[1;5${b}`:`${n?"\x1BO":"\x1B["}${b}`}}}function Ie(t){if(t.length!==1)return t;const e=t.charCodeAt(0);return t===" "?"\0":t==="?"?"":e>=64&&e<=95||e>=97&&e<=122?String.fromCharCode(e&31):t}function We(t,e){if(!e||!t||t.startsWith("\x1B")&&t.length>1)return{data:t,ctrl:e};const[n,...b]=[...t];return{data:Ie(n)+b.join(""),ctrl:!1}}function Me(t,e={}){return{data:Ke(t,e),ctrl:!1}}function Ne(t,e){const n=e.offsetTop+e.height;return Math.max(0,Math.round(t-n))}const ie=40,Fe=/^[A-Za-z0-9\-._~:/?#[\]@!$&'()*+,;=%]$/,He=/https?:\/\/[A-Za-z0-9\-._~:/?#[\]@!$&'()*+,;=%]+/g,le=t=>t!==void 0&&Fe.test(t),De=t=>{for(let e=t.cells.length-1;e>=0;e--)if(t.cells[e]!=="")return t.cells[e]};function ce(t,e,n){return e.wrapped?!0:t.cells.length>=n&&le(De(t))&&le(e.cells[0])}function Ue(t){let e=t;for(;;){const n=e.at(-1);if(n&&`.,;:!?'"`.includes(n))e=e.slice(0,-1);else if(n===")"&&V(e,"(")<V(e,")"))e=e.slice(0,-1);else if(n==="]"&&V(e,"[")<V(e,"]"))e=e.slice(0,-1);else return e}}const V=(t,e)=>t.split(e).length-1;function Ve(t,e,n){const b=t-1;if(!n(b))return[];let h=b;for(let r=b;r>b-ie;r--){const l=n(r-1),c=n(r);if(!l||!c||!ce(l,c,e))break;h=r-1}let N=b;for(let r=b;r<b+ie;r++){const l=n(r),c=n(r+1);if(!l||!c||!ce(l,c,e))break;N=r+1}let y="";const C=[];for(let r=h;r<=N;r++){const l=n(r).cells;for(let c=0;c<l.length;c++){y+=l[c];for(let m=0;m<l[c].length;m++)C.push({x:c+1,y:r+1})}}const _=[];for(const r of y.matchAll(He)){const l=Ue(r[0]);if(l.length<=8)continue;const c=C[r.index],m=C[r.index+l.length-1];c.y<=t&&m.y>=t&&_.push({url:l,start:c,end:m})}return _}function de(t,e=(n,b,K)=>window.open(n,b,K)){let n;try{n=new URL(t)}catch{return}n.protocol!=="http:"&&n.protocol!=="https:"||e(n.href,"_blank","noopener,noreferrer")}function je(t=e=>navigator.clipboard.writeText(e)){return{readText:()=>"",writeText:async(e,n)=>{e==="c"&&await t(n).catch(()=>{})}}}var Ze=O('<button type="button" tabindex="-1"> </button>'),qe=O('<button type="button" tabindex="-1"><!></button>'),Xe=O('<div class="flex shrink-0 gap-1 border-t border-white/10 px-1.5 py-1.5" role="toolbar" aria-label="Terminal keys" data-terminal-keys=""><!> <button type="button" tabindex="-1" aria-label="Control: applies to the next key">Ctrl</button> <button type="button" tabindex="-1" aria-label="Control C">^C</button> <!></div>');function Ge(t,e){ue(e,!0);let n=W(e,"disabled",3,!1);const b=[{key:"esc",label:"Esc",name:"Escape"},{key:"tab",label:"Tab",name:"Tab"}],K=[{key:"left",icon:Ce,name:"Left arrow"},{key:"up",icon:Ee,name:"Up arrow"},{key:"down",icon:Te,name:"Down arrow"},{key:"right",icon:Re,name:"Right arrow"}],h=m=>m.preventDefault(),y="flex h-10 min-w-0 flex-1 cursor-pointer touch-manipulation items-center justify-center rounded-md font-mono text-xs select-none disabled:cursor-default disabled:opacity-40 bg-white/5 text-slate-300 active:bg-white/20";var C=Xe(),_=F(C);re(_,17,()=>b,m=>m.key,(m,g)=>{var d=Ze();U(d,1,$(y));var I=ee(d,!0);M(()=>{j(d,"aria-label",f(g).name),d.disabled=n(),te(I,f(g).label)}),k("pointerdown",d,h),k("mousedown",d,h),k("click",d,()=>e.onkey(f(g).key)),L(m,d)});var r=z(_,2),l=z(r,2);U(l,1,$(y));var c=z(l,2);re(c,17,()=>K,m=>m.key,(m,g)=>{var d=qe();U(d,1,$(y));var I=F(d);Ae(I,()=>f(g).icon,(Z,S)=>{S(Z,{class:"size-4","aria-hidden":"true"})}),H(d),M(()=>{j(d,"aria-label",f(g).name),d.disabled=n()}),k("pointerdown",d,h),k("mousedown",d,h),k("click",d,()=>e.onkey(f(g).key)),L(m,d)}),H(C),M(()=>{U(r,1,`flex h-10 min-w-0 flex-1 cursor-pointer touch-manipulation items-center justify-center rounded-md font-mono text-xs select-none disabled:cursor-default disabled:opacity-40 ${e.ctrl?"bg-slate-300 text-console":"bg-white/5 text-slate-300 active:bg-white/20"}`),j(r,"aria-pressed",e.ctrl),r.disabled=n(),l.disabled=n()}),k("pointerdown",r,h),k("mousedown",r,h),k("click",r,function(...m){e.onctrl?.apply(this,m)}),k("pointerdown",l,h),k("mousedown",l,h),k("click",l,()=>e.onkey("ctrl-c")),L(t,C),fe()}ye(["pointerdown","mousedown","click"]);var Je=O("<!> <span> </span>",1),Qe=O("<!>Reconnect",1),Ye=O('<span class="min-w-0 flex-1"> </span> <!>',1),$e=O('<div class="absolute inset-x-0 bottom-0 flex flex-wrap items-center gap-3 border-t border-white/10 bg-console/95 px-4 py-3 text-sm text-slate-300" role="status"><!></div>'),et=O('<div class="flex min-h-0 flex-1 flex-col overflow-hidden rounded-xl bg-console"><div class="relative flex min-h-0 flex-1 flex-col"><div class="session-terminal min-h-0 flex-1 font-mono svelte-v7bqws"></div> <!></div> <!></div>');function _t(t,e){ue(e,!0);let n=W(e,"path",3,Pe),b=W(e,"label",3,"Firstmate’s terminal"),K=W(e,"connecting",3,"Connecting to the session…"),h=W(e,"detached",3,"The session ended or was detached."),N=W(e,"claudeKeys",3,!0),y,C=P(null),_=P("connecting"),r=P(null),l=P(()=>{}),c=P(!1),m=P(()=>{}),g=P(0);_e(()=>{const o=f(C),u=window.visualViewport;if(!se.current||!o||!u){A(g,0);return}const s=()=>A(g,Ne(o.getBoundingClientRect().bottom,u),!0);u.addEventListener("resize",s),u.addEventListener("scroll",s);const E=new ResizeObserver(s);return E.observe(o),s(),()=>{u.removeEventListener("resize",s),u.removeEventListener("scroll",s),E.disconnect()}});const d=13,I=()=>{const o=getComputedStyle(document.documentElement).getPropertyValue("--console").trim()||"#0b1120";return{background:o,foreground:"#cbd5e1",cursor:"#cbd5e1",cursorAccent:o,selectionBackground:"#334155",scrollbarSliderBackground:"transparent",scrollbarSliderHoverBackground:"transparent",scrollbarSliderActiveBackground:"transparent"}},Z=o=>({provideLinks(u,s){const E=o.buffer.active,B=p=>{const w=E.getLine(p);if(!w)return;const T=[];for(let a=0;a<o.cols;a++){const R=w.getCell(a);T.push(R?R.getWidth()===0?"":R.getChars()||" ":" ")}return{cells:T,wrapped:w.isWrapped}},v=Ve(u,o.cols,B).map(p=>({range:{start:p.start,end:p.end},text:p.url,activate:()=>de(p.url),hover:()=>o.element?.setAttribute("title",p.url),leave:()=>o.element?.removeAttribute("title")}));s(v.length?v:void 0)}});ve(()=>{let o=!1,u=null,s=null,E=null,B=null,v=null;const p=a=>{u?.readyState===WebSocket.OPEN&&u.send(JSON.stringify(a))},w=a=>{A(c,a.ctrl,!0),a.data&&p({type:"input",data:a.data})};A(m,a=>w(Me(a,{ctrl:f(c),applicationCursor:s?.modes.applicationCursorKeysMode??!1})));const T=()=>{if(!s||o)return;const a=s;u?.close(),a.reset(),A(_,"connecting"),A(r,null);const D=`${location.protocol==="https:"?"wss:":"ws:"}//${location.host}${n()}?cols=${a.cols}&rows=${a.rows}`,x=new WebSocket(D,[Se,Be+e.token]);x.binaryType="arraybuffer",u=x,x.onopen=()=>{A(_,"open"),p({type:"resize",cols:a.cols,rows:a.rows}),a.focus()},x.onmessage=i=>{i.data instanceof ArrayBuffer&&a.write(new Uint8Array(i.data))},x.onclose=i=>{u!==x||o||(A(_,"closed"),A(r,i.code===ae.detached?h():i.code===ae.shutdown?i.reason||"Wheelhouse closed.":i.reason||"Wheelhouse refused or lost the connection. If the session is still running, reconnect; if Wheelhouse restarted, reload the page.",!0),e.onclosed?.(i.code))}};return A(l,T),(async()=>{const[{Terminal:a},{FitAddon:R},{ClipboardAddon:D}]=await Promise.all([J(()=>import("./B-qIQCd3.js"),[],import.meta.url),J(()=>import("./DX4qG4td.js"),[],import.meta.url),J(()=>import("./wHJhZAA4.js"),[],import.meta.url)]);if(o)return;const x=getComputedStyle(y).fontFamily;await document.fonts?.load(`${d}px ${x}`).catch(()=>{}),!o&&(s=new a({fontFamily:x,fontSize:d,lineHeight:1.15,cursorBlink:!0,scrollback:0,macOptionClickForcesSelection:!0,allowProposedApi:!1,theme:I(),linkHandler:{activate:(i,G)=>de(G)}}),E=new R,s.loadAddon(E),s.loadAddon(new D(void 0,je())),s.registerLinkProvider(Z(s)),s.open(y),E.fit(),s.onData(i=>w(We(i,f(c)))),s.onBinary(i=>p({type:"input",data:i})),s.onResize(({cols:i,rows:G})=>p({type:"resize",cols:i,rows:G})),s.attachCustomKeyEventHandler(i=>N()&&i.key==="Enter"&&i.shiftKey&&!i.altKey&&!i.ctrlKey&&!i.metaKey?(i.type==="keydown"&&p({type:"input",data:"\x1B\r"}),!1):!0),B=new ResizeObserver(()=>E?.fit()),B.observe(y),v=new MutationObserver(()=>{s&&(s.options.theme=I())}),v.observe(document.documentElement,{attributeFilter:["class"]}),T())})(),()=>{o=!0,B?.disconnect(),v?.disconnect(),u?.close(),s?.dispose()}});var S=et();let ne;var q=F(S),X=F(q);oe(X,o=>y=o,()=>y);var me=z(X,2);{var pe=o=>{var u=$e(),s=F(u);{var E=v=>{var p=Je(),w=Q(p);Le(w,{class:"size-4 animate-spin","aria-hidden":"true"});var T=z(w,2),a=ee(T,!0);M(()=>te(a,K())),L(v,p)},B=v=>{var p=Ye(),w=Q(p),T=ee(w,!0),a=z(w,2);ke(a,{size:"sm",variant:"secondary",onclick:()=>f(l)(),children:(R,D)=>{var x=Qe(),i=Q(x);Oe(i,{}),we(),L(R,x)},$$slots:{default:!0}}),M(()=>te(T,f(r))),L(v,p)};Y(s,v=>{f(_)==="connecting"?v(E):v(B,-1)})}H(u),L(o,u)};Y(me,o=>{f(_)!=="open"&&o(pe)})}H(q);var be=z(q,2);{var he=o=>{{let u=ge(()=>f(_)!=="open");Ge(o,{get ctrl(){return f(c)},get disabled(){return f(u)},onkey:s=>f(m)(s),onctrl:()=>A(c,!f(c))})}};Y(be,o=>{se.current&&o(he)})}H(S),oe(S,o=>A(C,o),()=>f(C)),M(()=>{ne=xe(S,"",ne,{"padding-bottom":f(g)?`${f(g)}px`:null}),j(X,"aria-label",b())}),L(t,S),fe()}export{yt as H,_t as T,ae as a};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import{s as a,r as t}from"./Bmlgorxn.js";import{I as c}from"./BSAbhtop.js";var p=new Set(["$$slots","$$events","$$legacy"]);function m(r,e){let o=t(e,p);const s={name:"circle-arrow-up",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"m16 12-4-4-4 4"}],["path",{d:"M12 16V8"}]],aliases:["arrow-up-circle"]};c(r,a(()=>o,{get icon(){return s}}))}export{m as C};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import{p as g,v as u,g as r,b as m,m as f,i as a}from"./BT1J4Jfm.js";import{p}from"./Bmlgorxn.js";import{p as s}from"./iJXyGgnZ.js";import{i as n}from"./D89MyAjP.js";import{D as w,a as x}from"./35PkS7MU.js";function k(i,e){g(e,!0);let c=p(e,"project",3,null),t=f(!1);const o=a(()=>s.data.sessionToken??"");{let d=a(()=>n.view(s.data.inbox)?.canAnswer??!1),l=a(()=>n.errors[e.card.id]??null);w(i,{get card(){return e.card},get project(){return c()},get expanded(){return r(t)},get canAnswer(){return r(d)},get error(){return r(l)},get now(){return e.now},onAgree:()=>x(e.card,r(o)),get onLater(){return e.onLater},onClose:()=>n.answer(e.card,"close",null,r(o)),onToggle:()=>u(t,!r(t))})}m()}export{k as O};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import{p as X,m as E,q as Y,u as Z,g as a,v as D,h as i,r as s,s as p,aa as $,a as f,b as ee,i as te,o as L,t as N,d as S,j as ae,f as re,c as _}from"./BT1J4Jfm.js";import{s as B}from"./BMr_mk6E.js";import{i as F}from"./CWwiXwzb.js";import{e as H,a as K,f as oe,s as z}from"./BdFwDk8n.js";import{h as se}from"./CpfdQr0S.js";import{b as le}from"./BWMXHwzX.js";import{C as ie}from"./C2RRJVBQ.js";const M=3;function ne(g){return g.toLowerCase().normalize("NFKD").replace(/[̀-ͯ]/g,"").replace(/[^\p{L}\p{N}]+/gu,"-").replace(/^-+|-+$/g,"")||"section"}function ce(g,c=[]){const h=new Set(c);return g.map(({text:v,level:x})=>{const y=`doc-${ne(v)}`;let m=y;for(let b=2;h.has(m);b++)m=`${y}-${b}`;return h.add(m),{id:m,text:v.trim(),level:x}})}var de=_('<li><a class="text-ink/80 hover:text-ink hover:underline"> </a></li>'),ve=_('<details class="doc-contents group svelte-1cmhy41"><summary class="flex items-center gap-2 py-3 text-muted-foreground hover:text-foreground svelte-1cmhy41"><!>Contents <span class="text-xs"> </span></summary> <ol class="space-y-1.5 pb-4 pl-6"></ol></details>'),me=_('<div class="whitespace-pre-wrap"> </div>'),ue=_("<li><a> </a></li>"),he=_('<nav class="doc-outline svelte-1cmhy41" aria-label="Contents"><div class="sticky top-36 max-h-[calc(100dvh-11rem)] overflow-y-auto overscroll-contain"><p class="mono-label">Contents</p> <ol class="mt-4 space-y-1 border-l border-ink/15"></ol></div></nav>'),pe=_('<div class="doc-desk svelte-1cmhy41"><div class="doc-layout svelte-1cmhy41"><article class="doc-sheet doc-column svelte-1cmhy41" aria-labelledby="doc-title"><header class="doc-head svelte-1cmhy41"><!></header> <!> <div class="doc-md svelte-1cmhy41"><!></div> <div class="doc-foot svelte-1cmhy41"><!></div></article> <!></div></div>');function we(g,c){X(c,!0);let h=E(null),v=E(Y([])),x=E(null);Z(()=>{if(c.html,!a(h))return;const e=[...a(h).querySelectorAll("h2, h3")],r=[...document.querySelectorAll("[id]")].filter(t=>!e.includes(t)).map(t=>t.id),o=ce(e.map(t=>({text:t.textContent??"",level:t.tagName==="H2"?2:3})),r);if(e.forEach((t,l)=>t.id=o[l].id),D(v,o,!0),o.length<M)return;let d=0;const u=()=>{d=0;const t=e.filter(l=>l.getBoundingClientRect().top<140);D(x,t.length?t[t.length-1].id:o[0].id,!0)},n=()=>d||=requestAnimationFrame(u);return u(),addEventListener("scroll",n,{passive:!0}),()=>{removeEventListener("scroll",n),cancelAnimationFrame(d)}});const y=te(()=>a(v).length>=M);var m=pe(),b=i(m),q=i(b),A=i(q),R=i(A);B(R,()=>c.header),s(A);var I=p(A,2);{var T=e=>{var r=ve(),o=i(r),d=i(o);ie(d,{class:"size-4 transition-transform group-open:rotate-90","aria-hidden":"true"});var u=p(d,2),n=L(u);s(o);var t=p(o,2);H(t,21,()=>a(v),l=>l.id,(l,k)=>{var w=de(),j=i(w),W=L(j,!0);s(w),N(()=>{K(w,1,oe(a(k).level===3?"pl-4":"")),z(j,"href",`#${a(k).id??""}`),S(W,a(k).text)}),f(l,w)}),s(t),s(r),N(()=>S(n,`· ${a(v).length??""} sections`)),f(e,r)};F(I,e=>{a(y)&&e(T)})}var C=p(I,2),U=i(C);{var G=e=>{var r=ae(),o=re(r);se(o,()=>c.html),f(e,r)},J=e=>{var r=me(),o=L(r,!0);N(()=>S(o,c.text)),f(e,r)};F(U,e=>{c.html!==null?e(G):e(J,-1)})}s(C),le(C,e=>D(h,e),()=>a(h));var O=p(C,2),P=i(O);B(P,()=>c.footer??$),s(O),s(q);var Q=p(q,2);{var V=e=>{var r=he(),o=i(r),d=p(i(o),2);H(d,21,()=>a(v),u=>u.id,(u,n)=>{var t=ue(),l=i(t),k=L(l,!0);s(t),N(()=>{z(l,"href",`#${a(n).id??""}`),z(l,"aria-current",a(x)===a(n).id?"location":void 0),K(l,1,`-ml-px block border-l py-1 leading-snug transition-colors ${a(n).level===3?"pl-7":"pl-4"} ${a(x)===a(n).id?"border-ink text-ink":"border-transparent text-muted-foreground hover:text-ink"}`),S(k,a(n).text)}),f(u,t)}),s(d),s(o),s(r),f(e,r)};F(Q,e=>{a(y)&&e(V)})}s(b),s(m),f(g,m),ee()}export{we as D};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import{l as D,p as T,j as B,f as C,a as m,b as E,g as o,m as P,h as $,s as g,r as H,t as O,y as v,v as w,c as _,i as c,o as I,d as N}from"./BT1J4Jfm.js";import{i as k}from"./CWwiXwzb.js";import{s as U}from"./BdFwDk8n.js";import{p as Y}from"./Bmlgorxn.js";import{S as q}from"./BgdSO3zD.js";const z={"project.tab":"a tab on each project","harbour.card":"a card in the Harbour","task.section":"a section on each task","step.evidence":"notes on a task’s steps","bridge.card":"a card in the Firstmate chat","home.card":"a tab beside the Firstmate chat","header.indicator":"a sign in the header","nav.page":"a page of its own in the menu","preview.action":"a button on live previews"};function ne(t){const e=[...new Set(t.map(a=>z[a]))];if(!e.length)return"Nothing on the pages";const r=e.length===1?e[0]:`${e.slice(0,-1).join(", ")} and ${e[e.length-1]}`;return r.charAt(0).toUpperCase()+r.slice(1)}function ae(t,e){return[...t.map(r=>`Answers ${r} on Wheelhouse’s port`),...e.map(r=>`Opens addresses on this computer at ${r}`)]}const G={feedback:"Sends Firstmate feedback lists about a task, each when you click to send it"},se=t=>t.map(e=>G[e]),J={"review.surface":{title:"Review surface",builtin:"Built in: Lavish boards and the preview helper",becomes:"Becomes your review surface: replaces Lavish and the preview helper while on, once you choose it in Settings → Plugins"}},ie=t=>t.map(e=>J[e].becomes);function K(t){return t.enabledWhenHomeFile?"On while Firstmate uses it":t.enabledWhenFile?`On for projects that have a ${t.enabledWhenFile} file`:t.enabledByDefault?"On for every project":"Off until you turn it on"}function W(t){return t.projects.every(e=>e.on===t.on)?t.on?"on":"off":t.projects.some(e=>e.on)?"mixed":"off"}function ce(t){const e=t.projects.length,r=t.projects.filter(s=>s.on).length,a=W(t);return a==="off"?"Off":a==="on"?e>1?"On for every project":"On":r===e?`On for ${r===1?"1 project":`${r} projects`}`:`On for ${r} of ${e} projects`}function le(t){const e=t.projects.some(r=>r.enabled!==null)?" except those you set yourself":"";return`${t.plugin.name} is back to its default: ${M(K(t.plugin))}${e}.`}const M=t=>t.charAt(0).toLowerCase()+t.slice(1);var Q=_('<span class="text-muted-foreground" data-replaces=""> </span>'),V=_('<div class="flex shrink-0 flex-wrap items-center gap-x-3 gap-y-1 text-xs" role="group"><!> <button type="button" class="cursor-pointer text-sea hover:underline disabled:cursor-not-allowed">On for every project</button> <button type="button" class="cursor-pointer text-sea hover:underline disabled:cursor-not-allowed">Off for every project</button> <button type="button" class="cursor-pointer text-muted-foreground hover:text-foreground hover:underline">Cancel</button></div>');function ue(t,e){T(e,!0);let r=Y(e,"disabled",3,!1);const a=c(()=>W(e.view)),s=c(()=>e.view.projects.filter(n=>n.enabled!==null)),d=c(()=>o(s).length===0?null:o(s).length<=3?`This replaces ${o(s).length===1?"the choice":"the choices"} for ${o(s).map(n=>n.name).join(", ")}.`:`This replaces ${o(s).length} projects’ own choices.`);let l=P(!1);const j=n=>{w(l,!1),e.onchange(n)};var y=B(),S=C(y);{var F=n=>{var i=V(),u=$(i);{var f=b=>{var x=Q(),A=I(x,!0);O(()=>N(A,o(d))),m(b,x)};k(u,b=>{o(d)&&b(f)})}var h=g(u,2),p=g(h,2),R=g(p,2);H(i),O(()=>{U(i,"aria-label",`${e.view.plugin.name??""} for every project`),h.disabled=r(),p.disabled=r()}),v("click",h,()=>j(!0)),v("click",p,()=>j(!1)),v("click",R,()=>w(l,!1)),m(n,i)},L=n=>{{let i=c(()=>o(a)==="on"),u=c(()=>o(a)==="mixed");q(n,{get checked(){return o(i)},get mixed(){return o(u)},get label(){return`${e.view.plugin.name??""} on for every project`},get disabled(){return r()},onchange:f=>o(a)==="mixed"||o(d)?w(l,!0):e.onchange(f)})}};k(S,n=>{o(l)?n(F):n(L,-1)})}m(t,y),E()}D(["click"]);export{ue as E,J as R,ne as a,ae as b,se as c,K as d,le as e,M as m,ie as r,ce as w};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import{s as c,r as o}from"./Bmlgorxn.js";import{I as a}from"./BSAbhtop.js";var i=new Set(["$$slots","$$events","$$legacy"]);function x(e,r){let s=o(r,i);const t={name:"circle-alert",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16"}]],aliases:["alert-circle"]};a(e,c(()=>s,{get icon(){return t}}))}export{x as C};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import{s as u,r as c}from"./Bmlgorxn.js";import{I as p}from"./BSAbhtop.js";import{n as d}from"./DuVJ-6iG.js";var f=new Set(["$$slots","$$events","$$legacy"]);function $(t,e){let a=c(e,f);const s={name:"gauge",size:24,node:[["path",{d:"m12 14 4-4"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0"}]]};p(t,u(()=>a,{get icon(){return s}}))}function b(t){return t?.replace(/[\\/]+$/,"").split(/[\\/]/).pop()?.trim()||null}function w(t){const e=t.split(/[^\p{L}\p{N}]+/u).filter(Boolean);return e.length?e.length===1?e[0].slice(0,2).toUpperCase():(e[0][0]+e[1][0]).toUpperCase():"?"}function C(t){let e=0;for(const a of t)e=e*31+a.codePointAt(0)>>>0;return e%6}const l=t=>t.status!=="queued"&&t.status!=="landed"&&t.status!=="closed",g=t=>t.status==="failed"||t.status==="blocked"||t.status==="lost"||t.pipeline?.outcome==="failed"||t.passage.steps.some(e=>e.failed);function I(t){const e=t.filter(l),a=e.filter(g).length;return{percent:e.length?Math.round((e.length-a)/e.length*100):100,failing:a,inPlay:e.length}}function M(t,e,a=4){return t.map(s=>{const n=e.filter(o=>o.projectId===s.id),r=n.some(d),i=n.some(o=>o.busy||l(o)&&o.status==="working");return{id:s.id,name:s.name,landed:n.length?Math.round(n.filter(o=>o.status==="landed").length/n.length*100):0,word:r?"Needs you":i?"Working":"Quiet",tone:r?"needs":i?"busy":"quiet",tasks:n.length}}).filter(s=>s.tasks>0).sort((s,n)=>n.tasks-s.tasks||s.name.localeCompare(n.name)).slice(0,a)}export{$ as G,C as a,l as b,I as c,M as g,b as h,w as i};
@@ -1,6 +0,0 @@
1
- import"./DsnmJJEf.js";import{o as Je}from"./DvBi9tLd.js";import{m as G,g as e,v as O,p as Re,u as qe,A as rt,f as K,s as D,h as L,r as _,x as nt,a as o,b as Le,i as se,t as b,o as R,d as M,n as Te,w as Ne,c as u,j as he,aa as Ie,aq as at,bC as ot,bD as st}from"./BT1J4Jfm.js";import{i as W}from"./CWwiXwzb.js";import{X as it,k as lt}from"./DE8kltkv.js";import{c as ct}from"./C7ciWNd6.js";import{a as oe,f as dt,s as ue,d as ut,e as xe,i as _e}from"./BdFwDk8n.js";import{s as Ke,r as Ze,p as Me}from"./Bmlgorxn.js";import{a as ft}from"./BCUUi0V0.js";import{e as vt,P as mt}from"./C8zZx-xt.js";import{b as Oe}from"./BWMXHwzX.js";import{p as We}from"./iJXyGgnZ.js";import{a as Ce,s as pt,P as ht}from"./DMgLjvW3.js";import{S as Ve}from"./BXN538J3.js";import{B as ze}from"./BTGEdsVs.js";import{L as Xe}from"./YlriRNIQ.js";import{P as gt}from"./B03y9TXI.js";import{I as Ge}from"./BSAbhtop.js";import{C as xt}from"./_0enMFYc.js";import{C as _t}from"./BbcyVGIE.js";import{C as yt}from"./CIy-P92h.js";import{E as wt}from"./BZopLYRp.js";var kt=new Set(["$$slots","$$events","$$legacy"]);function bt(r,t){let a=Ze(t,kt);const l={name:"circle-question-mark",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}],["path",{d:"M12 17h.01"}]],aliases:["help-circle","circle-help"]};Ge(r,Ke(()=>a,{get icon(){return l}}))}var Mt=new Set(["$$slots","$$events","$$legacy"]);function St(r,t){let a=Ze(t,Mt);const l={name:"minimize-2",size:24,node:[["path",{d:"m14 10 7-7"}],["path",{d:"M20 10h-6V4"}],["path",{d:"m3 21 7-7"}],["path",{d:"M4 14h6v6"}]]};Ge(r,Ke(()=>a,{get icon(){return l}}))}const Et="2026-01-26";class Y extends Error{constructor(t,a){super(a),this.code=t}code}const Tt=-32601,be=-32602,ye=-32e3,zt=r=>typeof r=="string"&&r.length<=128||typeof r=="number"&&Number.isFinite(r);function At(r){if(typeof r!="object"||r===null||Array.isArray(r))return null;const t=r;return t.jsonrpc!=="2.0"||t.method!==void 0&&(typeof t.method!="string"||t.method.length>128)||t.id!==void 0&&!zt(t.id)||t.method===void 0&&t.id===void 0?null:t}class Pt{constructor(t){this.o=t}o;next=1;pending=new Map;closed=!1;receive(t){if(this.closed)return;const a=At(t);if(a){if(a.method!==void 0&&a.id!==void 0)this.answer(a.id,a.method,a.params);else if(a.method!==void 0)try{this.o.onNotification(a.method,a.params)}catch{}else if(a.id!==void 0){const l=this.pending.get(a.id);if(!l)return;this.pending.delete(a.id),clearTimeout(l.timer),a.error?l.reject(new Y(a.error.code,String(a.error.message))):l.resolve(a.result)}}}async answer(t,a,l){let h;try{const d=await this.o.onRequest(a,l);h={jsonrpc:"2.0",id:t,result:d??{}}}catch(d){const x=d instanceof Y?d:new Y(ye,d instanceof Error?d.message:String(d));h={jsonrpc:"2.0",id:t,error:{code:x.code,message:x.message}}}this.closed||this.o.send(h)}request(t,a,l=1e4){if(this.closed)return Promise.reject(new Error("The app is closed."));const h=this.next++;return new Promise((d,x)=>{const n=setTimeout(()=>{this.pending.delete(h),x(new Error(`The app did not answer ${t}.`))},l);this.pending.set(h,{resolve:d,reject:x,timer:n}),this.o.send({jsonrpc:"2.0",id:h,method:t,params:a})})}notify(t,a){this.closed||this.o.send({jsonrpc:"2.0",method:t,params:a})}close(){this.closed=!0;for(const t of this.pending.values())clearTimeout(t.timer),t.reject(new Error("The app is closed."));this.pending.clear()}}const Pe=r=>typeof r=="object"&&r!==null&&!Array.isArray(r)?r:{},Nt=16*1024;function jt(r,t,a){return async(l,h)=>{const d=Pe(h);switch(l){case"ui/initialize":return{protocolVersion:Et,hostInfo:t,hostCapabilities:a,hostContext:r.context()};case"ping":return{};case"tools/call":{if(typeof d.name!="string"||!d.name)throw new Y(be,"Name the tool to call.");return r.callTool(d.name,Pe(d.arguments))}case"resources/read":{if(typeof d.uri!="string"||!d.uri)throw new Y(be,"Name the resource to read.");return r.readResource(d.uri)}case"ui/open-link":{let x;try{x=new URL(String(d.url))}catch{throw new Y(be,"Invalid URL")}if(x.protocol!=="http:"&&x.protocol!=="https:")throw new Y(ye,"Policy violation: only http(s) links open.");return r.openLink(x.href),{}}case"ui/message":{const n=(Array.isArray(d.content)?d.content:[d.content]).map(z=>Pe(z)).filter(z=>z.type==="text"&&typeof z.text=="string").map(z=>z.text).join(`
2
-
3
- `).trim();if(!n)throw new Y(be,"Invalid message format: no text.");if(n.length>Nt)throw new Y(be,"The message is too long.");if(!await r.sendMessage(n))throw new Y(ye,"Message sending denied");return{}}case"ui/request-display-mode":{const x=d.mode;if(x!=="inline"&&x!=="fullscreen"&&x!=="pip")throw new Y(be,"Unknown display mode.");return{mode:await r.displayMode(x)}}default:throw new Y(Tt,`Wheelhouse does not offer ${l}.`)}}}function Ot(r){return(t,a)=>{const l=Pe(a),h=d=>typeof d=="number"&&Number.isFinite(d)&&d>=0?Math.min(d,1e5):void 0;t==="ui/notifications/initialized"?r.initialized():t==="ui/notifications/size-changed"?r.resize({width:h(l.width),height:h(l.height)}):t==="notifications/message"&&r.log(typeof l.level=="string"?l.level:"info",l.data)}}const Ct={"--color-background-primary":"--background","--color-background-secondary":"--card","--color-background-tertiary":"--muted","--color-background-inverse":"--foreground","--color-text-primary":"--foreground","--color-text-secondary":"--muted-foreground","--color-text-inverse":"--background","--color-text-info":"--sea","--color-text-danger":"--danger","--color-text-success":"--success","--color-text-warning":"--warning","--color-border-primary":"--border","--color-border-secondary":"--hair","--color-ring-primary":"--ring","--font-sans":"--font-sans","--font-mono":"--font-mono","--border-radius-md":"--radius"};function It(r){const t={};for(const[a,l]of Object.entries(Ct)){const h=r(l).trim();h&&(t[a]=h)}return t}function Dt(r,t,a){const l=Math.round(r.width);return t?{width:l,height:Math.round(r.height)}:{width:l,maxHeight:a}}function Rt(r){return{toolInfo:{tool:r.tool},theme:r.theme,styles:{variables:r.styles},displayMode:r.displayMode,availableDisplayModes:["inline","fullscreen"],containerDimensions:r.dimensions,...r.locale?{locale:r.locale}:{},...r.timeZone?{timeZone:r.timeZone}:{},userAgent:`wheelhouse/${r.version}`,platform:"web",deviceCapabilities:{hover:r.hover??!0,touch:r.touch??!1}}}function Lt(r){return{openLinks:{},serverTools:{},serverResources:{},logging:{},message:{text:{}},sandbox:{csp:r}}}const Ft=["connectDomains","resourceDomains","frameDomains","baseUriDomains"];function qt(r){return[...new Set(Ft.flatMap(t=>r[t]??[]))]}async function Se(r,t,a){let l;try{l=await fetch(`/api/apps/${r}`,{method:"POST",headers:{"content-type":"application/json",[Ve]:a},body:JSON.stringify(t)})}catch{throw new Error("Could not reach the Wheelhouse server.")}const h=await l.json().catch(()=>null);if(h&&(l.ok||"ok"in h||"state"in h))return h;throw new Error(h?.message??`Wheelhouse answered ${l.status}.`)}const Wt=(r,t)=>Se("open",r,t),Ht=(r,t)=>Se("run",r,t),He=(r,t,a)=>Se("call",{...r,...t},a),Ut=(r,t,a)=>Se("read",{...r,uri:t},a),sn=(r,t)=>Se("chat",{calls:r},t);async function Bt(r,t){try{return await(await fetch("/api/services",{method:"POST",headers:{"content-type":"application/json",[Ve]:t},body:JSON.stringify(r)})).json().catch(()=>null)}catch{return null}}const De=()=>navigator.keyboard;async function Jt(r,{keepEscape:t=!1}={}){if(document.fullscreenElement!==r){if(typeof r.requestFullscreen!="function")return{full:!1,escapeKept:!1};try{await r.requestFullscreen({navigationUI:"hide"})}catch{return{full:!1,escapeKept:!1}}}let a=!1;return t&&De()?.lock&&(a=await De().lock(["Escape"]).then(()=>!0).catch(()=>!1)),{full:!0,escapeKept:a}}function Ue(r){!r||document.fullscreenElement!==r||(De()?.unlock?.(),document.exitFullscreen().catch(()=>{}))}class Kt{#e=G(0);get open(){return e(this.#e)}set open(t){O(this.#e,t,!0)}}const ln=new Kt;var Zt=u('<p aria-busy="true">Opening the app…</p>'),Vt=u("<!>Starting…",1),Xt=u("<!> ",1),Gt=u('<p class="mt-2 text-muted-foreground">Start it by hand: <code class="font-mono text-xs select-all"> </code></p>'),Yt=u('<div data-app-service=""><p> </p> <!></div>'),Qt=u("<p> </p>"),$t=u("<!>Exit full screen",1),er=u('<div class="flex shrink-0 items-center gap-3 border-b px-4 py-1.5 text-sm"><span class="min-w-0 flex-1 truncate"> </span> <!></div>'),tr=u('<div><!> <iframe sandbox="allow-scripts allow-same-origin allow-forms" referrerpolicy="no-referrer"></iframe></div> <p data-app-note=""> </p>',1),rr=u('<h2 id="app-ask-title" class="text-lg"> </h2> <p class="mt-1 text-sm text-muted-foreground"> </p> <pre class="mt-3 max-h-60 overflow-auto rounded-md border bg-card px-3 py-2 font-mono text-xs" aria-label="Its arguments"> </pre>',1),nr=u('<h2 id="app-ask-title" class="text-lg">Send this to Firstmate?</h2> <p class="mt-1 text-sm text-muted-foreground"> </p> <p class="mt-3 max-h-60 overflow-auto rounded-md border bg-card px-3 py-2 text-sm whitespace-pre-wrap"> </p>',1),ar=u('<div class="px-5 py-4"><!> <div class="mt-4 flex flex-wrap justify-end gap-2"><!> <!></div></div>'),or=u('<!> <dialog class="m-auto w-[min(94vw,560px)] max-w-none rounded-xl border bg-background p-0 text-foreground shadow-xl backdrop:bg-black/60" aria-labelledby="app-ask-title"><!></dialog>',1);function sr(r,t){Re(t,!0);const a=720;let l=Me(t,"fill",3,!1),h=Me(t,"maxHeight",3,a);const d=()=>We.data.sessionToken??"",x=()=>We.data.health?.version??"0.0.0";let n=G("opening"),z=G(null),H=G(null),ie=G(""),Q=G(null),fe=G(null),ve=G(!1),ge=G(160),j=G("inline"),T=G(null),C=G(null),g=G(()=>{}),s=G(null),m=G(null),S=Promise.resolve();function y(c){const N=S.then(()=>new Promise(J=>{O(s,{...c,answer:te=>{O(s,null),J(te)}},!0)}));return S=N.catch(()=>{}),N}qe(()=>{e(m)&&(e(s)&&!e(m).open?e(m).showModal():!e(s)&&e(m).open&&e(m).close())});async function p(){O(n,"opening"),O(Q,null);try{const c=await Wt(t.ref,d());c.state==="ready"?(O(z,c),O(ie,c.server.title,!0),O(n,"ready")):c.state==="service"?(O(H,c.service),O(ie,c.server.title,!0),O(n,"service")):(O(Q,c.reason,!0),O(n,"failed"))}catch(c){O(Q,c.message,!0),O(n,"failed")}}async function w(){if(!e(H))return;O(ve,!0);const c=await Bt({plugin:e(H).plugin,service:e(H).service,project:e(H).project},d());O(ve,!1),c?.state==="running"?await p():O(H,c??e(H))}Je(()=>{p()});const i=se(()=>{if(!e(z))return null;const c=new URL(Ce.sandbox(e(z).sandbox));return c.searchParams.set("host",location.origin),c.href}),v=se(()=>e(z)?qt(e(z).csp):[]),A=()=>document.documentElement.classList.contains("dark")?"dark":"light",P=()=>{const c=getComputedStyle(document.documentElement);return It(N=>c.getPropertyValue(N))},E=()=>{const c=e(T)?.getBoundingClientRect()??{width:0,height:0};return e(j)==="fullscreen"?{width:Math.round(window.innerWidth),height:Math.round(window.innerHeight)}:Dt(c,l(),h())};qe(()=>{if(!e(z)||!e(C))return;const c=e(z),N=e(C);return rt(()=>I(c,N))});function I(c,N){const J=new URL(Ce.sandbox(c.sandbox)).origin,te=t.ref;let me=!1,$=null,le="";const re=Ht(te,d()).catch(f=>({ok:!1,reason:f.message})),U=f=>N.contentWindow?.postMessage(f,J),F={context:()=>Rt({tool:c.tool,theme:A(),styles:P(),displayMode:e(j),dimensions:E(),locale:navigator.language,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,hover:matchMedia("(hover: hover)").matches,touch:matchMedia("(pointer: coarse)").matches,version:x()}),async callTool(f,q){let ee=await He(te,{name:f,arguments:q,confirmed:!1},d());if(!ee.ok&&ee.confirm){if(!await y({kind:"tool",title:ee.confirm.title,description:ee.confirm.description,args:JSON.stringify(q,null,2)}))throw new Y(ye,"The captain declined the call.");ee=await He(te,{name:f,arguments:q,confirmed:!0},d())}if(!ee.ok)throw new Y(ye,ee.reason);return ee.result},async readResource(f){const q=await Ut(te,f,d());if(!q.ok)throw new Y(ye,q.reason);return q.result},async sendMessage(f){if(!await y({kind:"message",text:f}))return!1;const q=await pt(`From the “${t.title}” app (${t.plugin} plugin):
4
-
5
- ${f}`,d());if(!q.ok)throw new Y(ye,q.error);return!0},openLink(f){window.open(Ce.view(f),"_blank","noopener,noreferrer")},async displayMode(f){return!(f==="inline"||f==="fullscreen")||$&&!$.includes(f)?e(j):(f!==e(j)&&await ae(f),e(j))},resize({height:f}){f!==void 0&&!l()&&e(j)==="inline"&&O(ge,Math.max(40,Math.min(f,h())),!0)},log(f,q){console.info(`[${t.plugin} app] ${f}:`,q)},initialized(){me||(me=!0,le=JSON.stringify(E()),X.notify("ui/notifications/tool-input",{arguments:c.input}),re.then(f=>{f.ok?X.notify("ui/notifications/tool-result",f.result):(O(fe,`The app’s tool did not run: ${f.reason}`),X.notify("ui/notifications/tool-cancelled",{reason:f.reason}))}))}},B=jt(F,{name:"wheelhouse",version:x()},Lt({...c.csp})),X=new Pt({send:U,onRequest:(f,q)=>{if(f==="ui/initialize"){const ee=q?.appCapabilities;Array.isArray(ee?.availableDisplayModes)&&($=ee.availableDisplayModes)}return B(f,q)},onNotification:Ot(F)});async function ae(f){O(j,f,!0),f==="fullscreen"&&e(T)?await Jt(e(T)):Ue(e(T)),ce({displayMode:e(j)})}O(g,()=>{ae("inline")});function ce(f={}){if(!me)return;const q=E(),ee=JSON.stringify(q),je={...f,...ee!==le?{containerDimensions:q}:{}};le=ee,Object.keys(je).length&&X.notify("ui/notifications/host-context-changed",je)}let ne=!1;const de=f=>{if(f.source!==N.contentWindow||f.origin!==J)return;const q=f.data;if(q&&q.method==="ui/notifications/sandbox-proxy-ready"){if(ne)return;ne=!0,U({jsonrpc:"2.0",method:"ui/notifications/sandbox-resource-ready",params:{html:c.html,csp:c.csp}});return}X.receive(f.data)};window.addEventListener("message",de);const pe=new MutationObserver(()=>ce({theme:A(),styles:{variables:P()}}));pe.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]});const ke=new ResizeObserver(()=>ce());e(T)&&ke.observe(e(T));const Fe=()=>{!document.fullscreenElement&&e(j)==="fullscreen"&&ae("inline")};return document.addEventListener("fullscreenchange",Fe),()=>{me&&X.request("ui/resource-teardown",{},1e3).catch(()=>{}),X.close(),window.removeEventListener("message",de),pe.disconnect(),ke.disconnect(),document.removeEventListener("fullscreenchange",Fe),Ue(e(T)),O(g,()=>{})}}const Z=se(()=>e(z)?.prefersBorder!==!1);var k=or(),V=K(k);{var we=c=>{var N=Zt();b(()=>oe(N,1,`text-sm text-muted-foreground ${l()?"px-4 py-10 sm:px-6":""}`)),o(c,N)},Ye=c=>{var N=Yt(),J=L(N),te=R(J),me=D(J,2);{var $=re=>{ze(re,{class:"mt-3",size:"sm",get disabled(){return e(ve)},onclick:w,children:(U,F)=>{var B=he(),X=K(B);{var ae=ne=>{var de=Vt(),pe=K(de);Xe(pe,{class:"size-4 animate-spin","aria-hidden":"true"}),Te(),o(ne,de)},ce=ne=>{var de=Xt(),pe=K(de);gt(pe,{class:"size-4","aria-hidden":"true"});var ke=D(pe);b(()=>M(ke,`Start ${e(H).title??""}`)),o(ne,de)};W(X,ne=>{e(ve)?ne(ae):ne(ce,-1)})}o(U,B)},$$slots:{default:!0}})},le=re=>{var U=Gt(),F=D(L(U)),B=R(F,!0);_(U),b(()=>M(B,e(H).hint)),o(re,U)};W(me,re=>{e(H).launchable?re($):e(H).hint&&re(le,1)})}_(N),b(()=>{oe(N,1,`text-sm ${l()?"px-4 py-10 sm:px-6":""}`),M(te,`The app runs on ${e(H).title??""}, which is not running.${e(H).reason?` ${e(H).reason}`:""}`)}),o(c,N)},Qe=c=>{var N=Qt(),J=R(N);b(()=>{oe(N,1,`text-sm text-muted-foreground ${l()?"px-4 py-10 sm:px-6":""}`),M(J,`Not available. ${e(Q)??""}`)}),o(c,N)},$e=c=>{var N=tr(),J=K(N),te=L(J);{var me=F=>{var B=er(),X=L(B),ae=R(X,!0),ce=D(X,2);ze(ce,{variant:"outline",size:"sm",onclick:()=>e(g)(),children:(ne,de)=>{var pe=$t(),ke=K(pe);St(ke,{class:"size-4","aria-hidden":"true"}),Te(),o(ne,pe)},$$slots:{default:!0}}),_(B),b(()=>M(ae,t.title)),o(F,B)};W(te,F=>{e(j)==="fullscreen"&&F(me)})}var $=D(te,2);let le;Oe($,F=>O(C,F),()=>e(C)),_(J),Oe(J,F=>O(T,F),()=>e(T));var re=D(J,2),U=R(re);b(F=>{oe(J,1,dt(e(j)==="fullscreen"?"fixed inset-0 z-50 flex flex-col bg-background":l()?"flex min-h-0 flex-1 flex-col":"")),ue(J,"data-app","chat"in t.ref?`chat/${t.ref.chat}`:`${t.ref.plugin}/${t.ref.contribution}`),ue($,"src",e(i)),ue($,"title",`${t.title}: an app from ${e(z).server.title}`),oe($,1,`block w-full ${e(j)==="fullscreen"||l()?"min-h-0 flex-1":""} ${e(Z)&&e(j)==="inline"?"rounded-md border bg-card":""}`),le=ut($,"",le,{height:e(j)==="inline"&&!l()?`${e(ge)}px`:null}),oe(re,1,`text-xs text-muted-foreground ${l()?"px-4 pt-1.5 sm:px-6":"mt-1.5"}`),M(U,`An MCP app from ${e(z).server.title??""}, in a sandbox${F??""}.${e(fe)?` ${e(fe)}`:""}`)},[()=>e(v).length?`; it may reach ${e(v).join(", ")}`:", with no network access"]),o(c,N)};W(V,c=>{e(n)==="opening"?c(we):e(n)==="service"&&e(H)?c(Ye,1):e(n)==="failed"?c(Qe,2):e(z)&&e(i)&&c($e,3)})}var Ee=D(V,2),et=L(Ee);{var tt=c=>{var N=ar(),J=L(N);{var te=U=>{var F=rr(),B=K(F),X=R(B),ae=D(B,2),ce=R(ae),ne=D(ae,2),de=R(ne,!0);b(()=>{M(X,`Let the app run “${e(s).title??""}”?`),M(ce,`The ${t.title??""} app asks ${e(ie)??""} to run a tool that does not say it only reads, so it may
6
- change something.${e(s).description?` ${e(s).description}`:""}`),M(de,e(s).args)}),o(U,F)},me=U=>{var F=nr(),B=D(K(F),2),X=R(B),ae=D(B,2),ce=R(ae,!0);b(()=>{M(X,`The ${t.title??""} app wrote it. It goes as a message from you, marked as from the app.`),M(ce,e(s).text)}),o(U,F)};W(J,U=>{e(s).kind==="tool"?U(te):U(me,-1)})}var $=D(J,2),le=L($);ze(le,{variant:"outline",onclick:()=>e(s)?.answer(!1),children:(U,F)=>{Te();var B=Ne("No");o(U,B)},$$slots:{default:!0}});var re=D(le,2);ze(re,{onclick:()=>e(s)?.answer(!0),children:(U,F)=>{Te();var B=Ne();b(()=>M(B,e(s).kind==="tool"?"Run it once":"Send it")),o(U,B)},$$slots:{default:!0}}),_($),_(N),o(c,N)};W(et,c=>{e(s)&&c(tt)})}_(Ee),Oe(Ee,c=>O(m,c),()=>e(m)),nt("close",Ee,()=>{e(m)?.open||e(s)?.answer(!1)}),o(r,k),Le()}function Ae(r){if(typeof r!="string"||r.length>2048)return null;if(r.startsWith("/")&&!r.startsWith("//")&&!r.startsWith("/\\"))return r;try{const t=new URL(r);return t.protocol==="http:"||t.protocol==="https:"?r:null}catch{return null}}function cn(r,t){const a=new Set(vt(r));if(!a.size)return[];const l=[];for(const h of t)if(!(h.slot!=="bridge.card"||!h.content.available))for(const d of h.content.value)d.mentions.some(x=>a.has(x))&&l.push({entry:h,card:d});return l}var ir=u("<a> <!></a>"),lr=u('<p data-block="text.v1"> </p>'),cr=u('<dt class="truncate text-muted-foreground"> </dt> <dd class="min-w-0 break-words"><!></dd>',1),dr=u('<dl class="grid grid-cols-[minmax(0,8rem)_minmax(0,1fr)] gap-x-4 gap-y-1.5 text-sm" data-block="kv.v1"></dl>'),ur=u('<span class="ml-1.5 text-muted-foreground"> </span>'),fr=u('<li class="min-w-0"><!><!></li>'),vr=u('<ul class="flex flex-wrap gap-x-5 gap-y-1.5 text-sm" data-block="links.v1"></ul>'),mr=u('<th class="px-3 py-2 font-medium"> </th>'),pr=u('<thead class="border-b text-left text-xs text-muted-foreground"><tr></tr></thead>'),hr=u('<td class="px-3 py-2"><!></td>'),gr=u("<tr></tr>"),xr=u('<div class="overflow-x-auto rounded-lg border" data-block="table.v1"><table class="w-full text-sm"><!><tbody class="divide-y"></tbody></table></div>'),_r=u('<a target="_blank" rel="noreferrer"><img loading="lazy" class="max-h-96 rounded-lg border"/></a>'),yr=u('<img loading="lazy" class="max-h-96 rounded-lg border"/>'),wr=u('<figure data-block="image.v1"><!></figure>'),kr=u('<span class="block text-muted-foreground"> </span>'),br=u('<p class="flex items-start gap-2 text-sm" data-block="status.v1"><span aria-hidden="true"><!></span> <span class="min-w-0"><span> </span> <!></span></p>'),Mr=u('<span class="ml-1 text-muted-foreground"> </span>'),Sr=u('<li class="rounded-md bg-muted px-2 py-0.5 text-xs"> <!></li>'),Er=u("<li> </li>"),Tr=u('<ul class="mt-2 space-y-0.5 font-mono text-xs text-muted-foreground"></ul>'),zr=u('<div class="rounded-lg border border-dashed p-3 text-sm" data-block="graph.v1"><p class="text-xs text-muted-foreground"> </p> <ul class="mt-2 flex flex-wrap gap-1.5"></ul> <!></div>'),Ar=u('<pre class="mt-2 font-mono break-all whitespace-pre-wrap text-muted-foreground"> </pre>'),Pr=u('<div class="rounded-lg border border-dashed p-3 text-xs" data-block="unknown"><p class="flex items-center gap-1.5 text-muted-foreground"><!> </p> <!></div>'),Nr=u('<div class="space-y-3"></div>');function jr(r,t){Re(t,!0);const a=(x,n=Ie,z=Ie,H)=>{let ie=at(()=>ot(H?.(),"text-sea hover:underline"));const Q=se(()=>Ae(z()));var fe=he(),ve=K(fe);{var ge=T=>{var C=ir(),g=L(C,!0),s=D(g);{var m=y=>{wt(y,{class:"size-3.5 shrink-0","aria-hidden":"true"})},S=se(()=>h(e(Q)));W(s,y=>{e(S)&&y(m)})}_(C),b((y,p)=>{ue(C,"href",e(Q)),oe(C,1,`inline-flex items-center gap-1 ${e(ie)??""}`),ue(C,"target",y),ue(C,"rel",p),M(g,n())},[()=>h(e(Q))?"_blank":void 0,()=>h(e(Q))?"noreferrer":void 0]),o(T,C)},j=T=>{var C=Ne();b(()=>M(C,n())),o(T,C)};W(ve,T=>{e(Q)?T(ge):T(j,-1)})}o(x,fe)},l={ok:"text-success",warn:"text-warning",fail:"text-danger",pending:"text-muted-foreground",unknown:"text-muted-foreground"},h=x=>!x.startsWith("/");var d=Nr();xe(d,21,()=>t.blocks,_e,(x,n)=>{var z=he(),H=K(z);{var ie=g=>{var s=lr(),m=R(s,!0);b(()=>{oe(s,1,`text-sm leading-relaxed whitespace-pre-line ${e(n).muted?"text-muted-foreground":""}`),M(m,e(n).text)}),o(g,s)},Q=g=>{var s=dr();xe(s,21,()=>e(n).items,_e,(m,S)=>{var y=cr(),p=K(y),w=R(p,!0),i=D(p,2),v=L(i);a(v,()=>e(S).value,()=>e(S).href),_(i),b(()=>M(w,e(S).key)),o(m,y)}),_(s),o(g,s)},fe=g=>{var s=vr();xe(s,21,()=>e(n).links,_e,(m,S)=>{var y=fr(),p=L(y);a(p,()=>e(S).label,()=>e(S).href);var w=D(p);{var i=v=>{var A=ur(),P=R(A,!0);b(()=>M(P,e(S).note)),o(v,A)};W(w,v=>{e(S).note&&v(i)})}_(y),o(m,y)}),_(s),o(g,s)},ve=g=>{var s=xr(),m=L(s),S=L(m);{var y=w=>{var i=pr(),v=L(i);xe(v,21,()=>e(n).columns,_e,(A,P)=>{var E=mr(),I=R(E,!0);b(()=>M(I,e(P))),o(A,E)}),_(v),_(i),o(w,i)};W(S,w=>{e(n).columns.length&&w(y)})}var p=D(S);xe(p,21,()=>e(n).rows,_e,(w,i)=>{var v=gr();xe(v,21,()=>e(i),_e,(A,P)=>{var E=hr(),I=L(E);{var Z=V=>{var we=Ne();b(()=>M(we,e(P))),o(V,we)},k=V=>{a(V,()=>e(P).text,()=>e(P).href)};W(I,V=>{typeof e(P)=="string"?V(Z):V(k,-1)})}_(E),o(A,E)}),_(v),o(w,v)}),_(p),_(m),_(s),o(g,s)},ge=g=>{const s=se(()=>Ae(e(n).src));var m=he(),S=K(m);{var y=p=>{var w=wr(),i=L(w);{var v=E=>{var I=_r(),Z=R(I);b(k=>{ue(I,"href",k),ue(Z,"src",e(s)),ue(Z,"alt",e(n).alt)},[()=>Ae(e(n).href)]),o(E,I)},A=se(()=>Ae(e(n).href)),P=E=>{var I=yr();b(()=>{ue(I,"src",e(s)),ue(I,"alt",e(n).alt)}),o(E,I)};W(i,E=>{e(A)?E(v):E(P,-1)})}_(w),o(p,w)};W(S,p=>{e(s)&&p(y)})}o(g,m)},j=g=>{var s=br(),m=L(s),S=L(m);{var y=k=>{_t(k,{class:"size-4"})},p=k=>{it(k,{class:"size-4"})},w=k=>{yt(k,{class:"size-4"})},i=k=>{Xe(k,{class:"size-4"})},v=k=>{bt(k,{class:"size-4"})};W(S,k=>{e(n).tone==="ok"?k(y):e(n).tone==="fail"?k(p,1):e(n).tone==="warn"?k(w,2):e(n).tone==="pending"?k(i,3):k(v,-1)})}_(m);var A=D(m,2),P=L(A),E=R(P,!0),I=D(P,2);{var Z=k=>{var V=kr(),we=R(V,!0);b(()=>M(we,e(n).detail)),o(k,V)};W(I,k=>{e(n).detail&&k(Z)})}_(A),_(s),b(()=>{oe(m,1,`mt-0.5 ${l[e(n).tone]??""}`),oe(P,1,`font-medium ${(e(n).tone==="fail"||e(n).tone==="warn"?l[e(n).tone]:"")??""}`),M(E,e(n).label)}),o(g,s)},T=g=>{var s=zr(),m=L(s),S=R(m,!0),y=D(m,2);xe(y,21,()=>e(n).nodes,i=>i.id,(i,v)=>{var A=Sr(),P=L(A,!0),E=D(P);{var I=Z=>{var k=Mr(),V=R(k,!0);b(()=>M(V,e(v).kind)),o(Z,k)};W(E,Z=>{e(v).kind&&Z(I)})}_(A),b(()=>M(P,e(v).label)),o(i,A)}),_(y);var p=D(y,2);{var w=i=>{var v=Tr();xe(v,21,()=>e(n).edges,_e,(A,P)=>{var E=Er(),I=R(E);b(()=>M(I,`${e(P).from??""} → ${e(P).to??""}${e(P).label?` (${e(P).label})`:""}`)),o(A,E)}),_(v),o(i,v)};W(p,i=>{e(n).edges.length&&i(w)})}_(s),b(()=>M(S,`${e(n).nodes.length} ${e(n).nodes.length===1?"node":"nodes"}, ${e(n).edges.length} ${e(n).edges.length===1?"link":"links"}`)),o(g,s)},C=g=>{var s=Pr(),m=L(s),S=L(m);xt(S,{class:"size-3.5","aria-hidden":"true"});var y=D(S);_(m);var p=D(m,2);{var w=i=>{var v=Ar(),A=R(v,!0);b(()=>M(A,e(n).preview)),o(i,v)};W(p,i=>{e(n).block==="unknown"&&i(w)})}_(s),b(()=>M(y,`This Wheelhouse cannot show a “${(e(n).block==="unknown"?e(n).type:"unknown")??""}” block.`)),o(g,s)};W(H,g=>{e(n).block==="text.v1"?g(ie):e(n).block==="kv.v1"?g(Q,1):e(n).block==="links.v1"?g(fe,2):e(n).block==="table.v1"?g(ve,3):e(n).block==="image.v1"?g(ge,4):e(n).block==="status.v1"?g(j,5):e(n).block==="graph.v1"?g(T,6):g(C,-1)})}o(x,z)}),_(d),o(r,d),Le()}var Or=u('<p class="text-sm text-muted-foreground" aria-busy="true">Loading…</p>'),Be=u('<p class="text-sm text-muted-foreground"> </p>'),Cr=u("<p> </p>"),Ir=u('<div class="flex min-h-0 flex-1 flex-col"><!></div>'),Dr=u('<div class="min-h-0 flex-1 overflow-y-auto px-4 py-6 sm:px-6"><!></div>'),Rr=u("<!> <p> </p>",1);function dn(r,t){Re(t,!0);const a=(j,T=Ie)=>{var C=he(),g=K(C);{var s=i=>{jr(i,{get blocks(){return T()}})},m=i=>{var v=Or();o(i,v)},S=i=>{var v=he(),A=K(v);st(A,{failed:E=>{var I=Be(),Z=R(I);b(()=>M(Z,`Not available. The ${t.entry.pluginId??""} plugin’s panel could not be shown.`)),o(E,I)}},E=>{var I=he(),Z=K(I);ct(Z,()=>e(x),(k,V)=>{V(k,{get data(){return T()},get entry(){return t.entry}})}),o(E,I)}),o(i,v)},y=i=>{ht(i,{get entry(){return t.entry},get data(){return T()}})},p=i=>{var v=he(),A=K(v);lt(A,()=>e(H),P=>{{let E=se(()=>({plugin:t.entry.pluginId,contribution:t.entry.contributionId,project:t.entry.projectId,task:t.entry.taskId??null}));sr(P,{get ref(){return e(E)},get title(){return t.entry.title},get plugin(){return t.entry.pluginId},get fill(){return d()}})}}),o(i,v)},w=i=>{var v=Be(),A=R(v);b(()=>M(A,`Not available. This Wheelhouse does not include the “${t.entry.render.component??""}” panel.`)),o(i,v)};W(g,i=>{"blocks"in t.entry.render?i(s):(e(x)||e(n)||e(z))&&!e(ie)?i(m,1):e(x)?i(S,2):e(n)?i(y,3):e(z)?i(p,4):"component"in t.entry.render&&i(w,5)})}o(j,C)};let l=Me(t,"now",19,()=>Date.now()),h=Me(t,"panels",3,mt),d=Me(t,"fill",3,!1);const x=se(()=>"component"in t.entry.render?h()[t.entry.render.component]:void 0),n=se(()=>"element"in t.entry.render),z=se(()=>"app"in t.entry.render),H=se(()=>e(z)&&t.entry.content.available?`${t.entry.key} ${JSON.stringify(t.entry.content.value)}`:"");let ie=G(!1);Je(()=>{O(ie,!0)});var Q=he(),fe=K(Q);{var ve=j=>{var T=Cr(),C=R(T);b(()=>{oe(T,1,`text-sm text-muted-foreground ${d()?"px-4 py-10 sm:px-6":""}`),M(C,`Not available. ${t.entry.content.reason??""}`)}),o(j,T)},ge=j=>{var T=Rr(),C=K(T);{var g=p=>{a(p,()=>t.entry.content.value)},s=p=>{var w=Ir(),i=L(w);a(i,()=>t.entry.content.value),_(w),o(p,w)},m=p=>{var w=Dr(),i=L(w);a(i,()=>t.entry.content.value),_(w),o(p,w)};W(C,p=>{d()?(e(x)||e(n)||e(z))&&e(ie)?p(s,1):p(m,-1):p(g)})}var S=D(C,2),y=R(S);b(p=>{oe(S,1,`text-xs text-muted-foreground ${d()?"shrink-0 border-t px-4 py-1.5 sm:px-6":"mt-1.5"}`),M(y,`From ${t.entry.content.source??""}${p??""}.`)},[()=>t.entry.content.observedAt?`, ${ft(t.entry.content.observedAt,l())}`:""]),o(j,T)};W(fe,j=>{t.entry.content.available?j(ge,-1):j(ve)})}o(r,Q),Le()}export{sr as A,jr as B,St as M,dn as S,sn as a,ln as c,Jt as e,Ue as l,cn as m};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import{s as o,r as c}from"./Bmlgorxn.js";import{I as p}from"./BSAbhtop.js";var a=new Set(["$$slots","$$events","$$legacy"]);function u(e,r){let t=c(r,a);const s={name:"git-pull-request",size:24,node:[["circle",{cx:"18",cy:"18",r:"3"}],["circle",{cx:"6",cy:"6",r:"3"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21"}]]};p(e,o(()=>t,{get icon(){return s}}))}export{u as G};
@@ -1 +0,0 @@
1
- import{m as t,g as s,v as i}from"./BT1J4Jfm.js";import{S as n}from"./BXN538J3.js";const d=1e3,o=30*6e4;class l{#e=t(null);get view(){return s(this.#e)}set view(e){i(this.#e,e,!0)}#t=t(null);get error(){return s(this.#t)}set error(e){i(this.#t,e,!0)}#s=t(!1);get upgrading(){return s(this.#s)}set upgrading(e){i(this.#s,e,!0)}#i=t(!1);get upgraded(){return s(this.#i)}set upgraded(e){i(this.#i,e,!0)}#r=t(!1);get sending(){return s(this.#r)}set sending(e){i(this.#r,e,!0)}timer=null;stopped=!0;get active(){const e=this.view;return this.upgrading||!!e?.checking||e?.job?.state==="running"||e?.job?.state==="restarting"}start(){return this.stopped=!1,this.load(),()=>{this.stopped=!0,this.timer&&clearTimeout(this.timer)}}schedule(){this.timer&&clearTimeout(this.timer),!this.stopped&&(this.timer=setTimeout(()=>{this.load()},this.active?d:o))}async load(){try{const e=await fetch("/api/wheelhouse/update");e.ok&&this.take(await e.json())}catch{}this.schedule()}take(e){this.upgrading&&!e.job?(this.upgrading=!1,this.upgraded=!0):e.job?.state==="failed"&&(this.upgrading=!1),this.view=e}async send(e,h,u=!1){this.sending=!0,this.error=null,this.upgraded=!1;try{const r=await fetch(e,{method:"POST",headers:{[n]:h}}),a=await r.json().catch(()=>null);r.ok&&a?(u&&(this.upgrading=!0),this.take(a)):this.error=a?.message??`Wheelhouse answered ${r.status}.`}catch{this.error="Wheelhouse did not answer."}finally{this.sending=!1,this.schedule()}}check(e){return this.send("/api/wheelhouse/update",e)}follow(e){this.error=null,this.upgraded=!1,this.upgrading=!0,this.take(e),this.schedule()}upgrade(e){return this.send("/api/wheelhouse/upgrade",e,!0)}}const f=new l;export{f as w};
@@ -1 +0,0 @@
1
- import{au as l,av as c,aw as b,ax as _,ay as p,F as g,L as o,U as m,az as k,aA as y,M as w,N as A,O as F,P as M,Q as x,R as E,S as v}from"./BT1J4Jfm.js";class N{anchor;#t=new Map;#s=new Map;#e=new Map;#a=new Set;#i=!0;constructor(t,s=!0){this.anchor=t,this.#i=s}#r=t=>{if(this.#t.has(t)){var s=this.#t.get(t),e=this.#s.get(s);if(e)l(e),this.#a.delete(s);else{var i=this.#e.get(s);i&&(l(i.effect),this.#s.set(s,i.effect),this.#e.delete(s),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),e=i.effect)}for(const[r,f]of this.#t){if(this.#t.delete(r),r===t)break;const a=this.#e.get(f);a&&(c(a.effect),this.#e.delete(f))}for(const[r,f]of this.#s){if(r===s||this.#a.has(r))continue;const a=()=>{if(Array.from(this.#t.values()).includes(r)){var h=document.createDocumentFragment();k(f,h),h.append(_()),this.#e.set(r,{effect:f,fragment:h})}else c(f);this.#a.delete(r),this.#s.delete(r)};this.#i||!e?(this.#a.add(r),b(f,a,!1)):a()}}};#f=t=>{this.#t.delete(t);const s=Array.from(this.#t.values());for(const[e,i]of this.#e)s.includes(e)||(c(i.effect),this.#e.delete(e))};ensure(t,s){var e=g,i=y();if(s&&!this.#s.has(t)&&!this.#e.has(t))if(i){var r=document.createDocumentFragment(),f=_();r.append(f),this.#e.set(t,{effect:p(()=>s(f)),fragment:r})}else this.#s.set(t,p(()=>s(this.anchor)));if(this.#t.set(e,t),i){for(const[a,n]of this.#s)a===t?e.unskip_effect(n):e.skip_effect(n);for(const[a,n]of this.#e)a===t?e.unskip_effect(n.effect):e.skip_effect(n.effect);e.oncommit(this.#r),e.ondiscard(this.#f)}else o&&(this.anchor=m),this.#r(e)}}function S(d,t,s=!1){var e;o&&(e=m,A());var i=new N(d),r=s?F:0;function f(a,n){if(o){var h=M(e);if(a!==parseInt(h.substring(1))){var u=x();E(u),i.anchor=u,v(!1),i.ensure(a,n),v(!0);return}}i.ensure(a,n)}w(()=>{var a=!1;t((n,h=0)=>{a=!0,f(h,n)}),a||f(-1,null)},r)}export{N as B,S as i};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import{s as r,r as o}from"./Bmlgorxn.js";import{I as n}from"./BSAbhtop.js";var c=new Set(["$$slots","$$events","$$legacy"]);function m(e,s){let a=o(s,c);const t={name:"message-circle-question-mark",size:24,node:[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}],["path",{d:"M12 17h.01"}]],aliases:["message-circle-question"]};n(e,r(()=>a,{get icon(){return t}}))}var i=new Set(["$$slots","$$events","$$legacy"]);function u(e,s){let a=o(s,i);const t={name:"messages-square",size:24,node:[["path",{d:"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"}],["path",{d:"M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1"}]]};n(e,r(()=>a,{get icon(){return t}}))}export{u as M,m as a};
@@ -1,2 +0,0 @@
1
- import{s as yt}from"./DvBi9tLd.js";import{H as B,N as Y,r as me,n as N,i as je,b as T,s as $,a as Se,f as tt,g as Ie,c as oe,d as be,S as Oe,P as rt,p as I,o as Ne,e as wt,h as vt,u as De,j as bt,w as Et,k as Xe,l as X,m as At,q as nt,t as kt,v as St,x as at}from"./C-v4bXiX.js";import{G as se,a8 as It,A as Rt}from"./BT1J4Jfm.js";class te{constructor(t,r){this.status=t,typeof r=="string"?this.body={message:r}:r?this.body=r:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class xe{constructor(t,r){try{new Headers({location:r})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(r)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=r}}class Ce extends Error{constructor(t,r,n){super(n),this.status=t,this.text=r}}const Pt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,Lt=/^\/\((?:[^)]+)\)$/;function Tt(e){const t=[];return{pattern:e==="/"||Lt.test(e)?/^\/$/:new RegExp(`^${jt(e).map(n=>{const i=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(n);if(i)return t.push({name:i[1],matcher:i[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const a=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(n);if(a)return t.push({name:a[1],matcher:a[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!n)return;const o=n.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return Ee(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ee(String.fromCharCode(...c.slice(2).split("-").map(w=>parseInt(w,16))));const l=Pt.exec(c),[,d,p,u,h]=l;return t.push({name:u,matcher:h,optional:!!d,rest:!!p,chained:p?f===1&&o[0]==="":!1}),p?"([^]*?)":d?"([^/]*)?":"([^/]+?)"}return Ee(c)}).join("")}).join("")}/?$`),params:t}}function Ut(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function jt(e){return e.slice(1).split("/").filter(Ut)}function Ot(e,t,r){const n={},i=e.slice(1),a=i.filter(s=>s!==void 0);let o=0;for(let s=0;s<t.length;s+=1){const c=t[s];let f=i[s-o];if(c.chained&&c.rest&&o&&(f=i.slice(s-o,s+1).filter(l=>l).join("/"),o=0),f===void 0)if(c.rest)f="";else continue;if(!c.matcher||r[c.matcher](f)){n[c.name]=f;const l=t[s+1],d=i[s+1];l&&!l.rest&&l.optional&&d&&c.chained&&(o=0),!l&&!d&&Object.keys(n).length===a.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return n}function Ee(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Nt({nodes:e,server_loads:t,dictionary:r,matchers:n}){const i=new Set(t);return Object.entries(r).map(([s,[c,f,l]])=>{const{pattern:d,params:p}=Tt(s),u={id:s,exec:h=>{const w=d.exec(h);if(w)return Ot(w,p,n)},errors:[1,...l||[]].map(h=>e[h]),layouts:[0,...f||[]].map(o),leaf:a(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function o(s){return s===void 0?s:[i.has(s),e[s]]}}function ot(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ze(e,t,r=JSON.stringify){const n=r(t);try{sessionStorage[e]=n}catch{}}const Dt=-1,xt=-2,Ct=-3,Bt=-4,Mt=-5,$t=-6,Ft=-7,st=2**32-1,Re=st-1;function Vt(e){return!(!Number.isInteger(e)||e<0||e>Re)}function qt(e){return!(!Number.isInteger(e)||e<0||e>st)}function Ht(e){return Uint8Array.fromBase64(e).buffer}function Yt(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Kt(e){const t=atob(e),r=t.length,n=new Uint8Array(r);for(let i=0;i<r;i++)n[i]=t.charCodeAt(i);return n.buffer}const Gt=typeof Uint8Array.fromBase64=="function",Xt=typeof process=="object"&&process.versions?.node!==void 0,zt=Gt?Ht:Xt?Yt:Kt;function Wt(e,t){return e}const Jt=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,We=typeof SharedArrayBuffer>"u"?void 0:Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get,Zt={fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e==="URL"?new URL(t):e==="URLSearchParams"?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,r,n)=>{try{Jt.call(t)}catch(a){if(!We)throw a;We.call(t)}const i=globalThis[e];return r!==void 0?new i(t,r,n):new i(t)},box:e=>Object(e),createArray:e=>new Array(e),createSparseArray:e=>{const t=[];return t[Re]=void 0,delete t[Re],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,r)=>{e[t]=r},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,r)=>{e.set(t,r)}},Qt=Object.freeze(Zt);function er(e,t,r){const n=Wt(Qt);if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const i=e,a=Array(i.length);let o=null;function s(c,f=!1){if(c===Dt)return n.fromPrimitive(void 0);if(c===Ct)return n.fromPrimitive(NaN);if(c===Bt)return n.fromPrimitive(1/0);if(c===Mt)return n.fromPrimitive(-1/0);if(c===$t)return n.fromPrimitive(-0);if(f||typeof c!="number")throw new Error("Invalid input");if(c in a)return a[c];if(c>=i.length)throw new Error("Invalid input");const l=i[c];if(!l||typeof l!="object")a[c]=n.fromPrimitive(l);else if(Array.isArray(l))if(typeof l[0]=="string"){const d=l[0],p=t&&Object.hasOwn(t,d)?t[d]:void 0;if(p){let u=l[1];if(typeof u!="number"&&(u=i.push(l[1])-1),Object.hasOwn(a,u))return a[c]=p(a[u]);if(o??=new Set,o.has(u))throw new Error("Invalid circular reference");return o.add(u),a[c]=p(s(u)),o.delete(u),a[c]}switch(d){case"Date":a[c]=n.fromISOString(l[1]);break;case"Set":const u=n.createSet();a[c]=u;for(let _=1;_<l.length;_+=1)n.addValue(u,s(l[_]));break;case"Map":const h=n.createMap();a[c]=h;for(let _=1;_<l.length;_+=2)n.addEntry(h,s(l[_]),s(l[_+1]));break;case"RegExp":a[c]=n.fromRegExpInfo(l[1],l[2]);break;case"Object":{const _=l[1];if(typeof i[_]=="object"&&i[_][0]!=="BigInt")throw new Error("Invalid input");a[c]=n.box(s(_));break}case"BigInt":a[c]=n.fromPrimitive(BigInt(l[1]));break;case"null":const w=n.createNullPrototypeObject();a[c]=w;for(let _=1;_<l.length;_+=2){const m=l[_];if(typeof m!="string")throw new Error("Cannot parse an object with a non-string key");if(m==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(w,m,s(l[_+1]))}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(i[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const _=s(l[1]);a[c]=n.fromViewInfo(d,_,l[2],l[3]);break}case"ArrayBuffer":{const _=l[1];if(typeof _!="string")throw new Error("Invalid ArrayBuffer encoding");a[c]=n.fromArrayBuffer(zt(_));break}case"URL":case"URLSearchParams":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{a[c]=n.fromStringValue(d,l[1]);break}default:throw new Error(`Unknown type ${d}`)}}else if(l[0]===Ft){const d=l[1];if(!qt(d))throw new Error("Invalid input");const p=n.createSparseArray(d);a[c]=p;for(let u=2;u<l.length;u+=2){const h=l[u];if(!Vt(h)||h>=d)throw new Error("Invalid input");n.set(p,h,s(l[u+1]))}}else{const d=n.createArray(l.length);a[c]=d;for(let p=0;p<l.length;p+=1){const u=l[p];u!==xt&&n.set(d,p,s(u))}}else{const d=n.createObject();a[c]=d;for(const p of Object.keys(l)){if(p==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(d,p,s(l[p]))}}return a[c]}return s(0)}function tr(e){return e.filter(t=>t!=null)}const rr="x-sveltekit-invalidated",nr="x-sveltekit-trailing-slash";function F(e,t){return e+"/"+t}function ie(e){return e instanceof te||e instanceof Ce?e.status:500}function ar(e){return e instanceof Ce?e.text:"Internal Error"}const or="/__data.json",sr=".html__data.json";function ir(e){return e.endsWith(".html")?e.replace(/\.html$/,sr):e.replace(/\/$/,"")+or}async function*cr(e,t){let r=!1,n="";const i=new TextDecoder;for(;;){let a=n.indexOf(t);for(;a!==-1;)yield n.slice(0,a),n=n.slice(a+t.length),a=n.indexOf(t);if(r){n&&(yield n);return}const o=await e.read();r=o.done,o.value&&(n+=i.decode(o.value,{stream:!0})),r&&(n+=i.decode())}}async function*lr(e){for await(const t of cr(e,`
2
- `)){const r=t.trim();r&&(yield JSON.parse(r))}}const{onMount:fr}=yt,ur=Rt??(e=>e()),dr=new Set(["icon","shortcut icon","apple-touch-icon"]);let z=null;const x=ot(at)??{},Z=ot(nt)??{},D={url:Xe({}),page:Xe({}),navigating:Et(null),updated:bt()};function Be(e){x[e]=$()}function hr(e,t){let r=e+1;for(;x[r];)delete x[r],r+=1;for(r=t+1;Z[r];)delete Z[r],r+=1}function K(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(N)}async function it(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(T||"/");e&&await e.update()}}let Me,Pe,ce,O,Le,E;const le=[],fe=[];let L=null;function Q(){L?.fork?.then(e=>e?.discard()),L=null,V={element:void 0,href:void 0}}const ae=new Map,$e=new Set,ct=new Set,q=new Set;let g={branch:[],error:null,url:null,nav:null},Fe=!1,ue=!1,Je=!0,ee=!1,W=!1,lt=!1,re=!1,ge,k,R,U;const J=new Set;let Ae;const de=new Map,he=new Map;async function Ur(e,t,r){if(globalThis.__sveltekit_181rm4c.data){const{q:a={},p:o={},l:s={},f:c={}}=globalThis.__sveltekit_181rm4c.data;for(const f in a)a[f];for(const f in s)s[f];for(const f in c)c[f];for(const f in o)o[f]}document.URL!==location.href&&(location.href=location.href),E=e,await e.hooks.init?.(),Me=Nt(e),O=document.documentElement,Le=t,Pe=e.nodes[0],ce=e.nodes[1],Pe(),ce(),k=history.state?.[B],R=history.state?.[Y],k||(k=R=Date.now(),history.replaceState({...history.state,[B]:k,[Y]:R},""));const n=x[k];function i(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}r?(i(),await kr(Le,r)):(await H({type:"enter",url:me(E.hash?Rr(new URL(location.href)):location.href),replace_state:!0}),i()),Ar()}async function pr(e=!0,t=!0){if(await(Ae||=Promise.resolve()),!Ae)return;Ae=null;const r=U={},n=await ne(g.url,!0);Q();const i=new Map;if(re){for(const o of de.values())for(const{resource:s}of o.values())s.refresh();for(const[o,s]of he)for(const[c,{resource:f}]of s){const l=F(o,c),d=f.reconnect();d.catch(N),i.set(l,d)}}if(e){const o=I.state,s=n&&await Ye(n);if(!s||r!==U)return;if(s.type==="redirect")return Ve(new URL(s.location,g.url).href,{replaceState:!0},1,r);t||(s.props.page.state=o),De(s.props.page),g={...s.state,nav:g.nav},Te(),ge.$set(s.props)}else Te();const a=[];for(const o of de.values())for(const{resource:s}of o.values())a.push(s);for(const[o,s]of he)for(const c of s.keys()){const f=F(o,c),l=i.get(f);l&&a.push(l)}await Promise.all(a).catch(N)}function Te(){le.length=0,re=!1}function ft(e){fe.some(t=>t?.snapshot)&&(Z[e]=fe.map(t=>t?.snapshot?.capture()))}function ut(e){Z[e]?.forEach((t,r)=>{fe[r]?.snapshot?.restore(t)})}function Ze(){Be(k),ze(at,x),ft(R),ze(nt,Z)}async function Ve(e,t,r,n){let i,a;t.invalidateAll&&Q(),await H({type:"goto",url:me(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:r,nav_token:n,accept:()=>{if(t.invalidateAll){re=!0,i=new Set;for(const[o,s]of de)for(const[c,f]of s)f.resource?.reset(),i.add(F(o,c));a=new Set;for(const[o,s]of he)for(const c of s.keys())a.add(F(o,c))}t.invalidate&&t.invalidate.forEach(Er)}}),t.invalidateAll&&se().then(se).then(()=>{for(const[o,s]of de)for(const[c,{resource:f}]of s)i?.has(F(o,c))&&f.start();for(const[o,s]of he)for(const[c,{resource:f}]of s)a?.has(F(o,c))&&f.reconnect()})}async function _r(e){if(e.id!==L?.id){Q();const t={};J.add(t),L={id:e.id,token:t,promise:Ye({...e,preload:t}).then(r=>(J.delete(t),r.type==="loaded"&&r.state.error&&Q(),r)),fork:null}}return L.promise}async function ke(e){const t=(await ne(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(r=>r[1]()))}async function dt(e,t,r){const n={params:g.params,route:{id:g.route?.id??null},url:new URL(location.href)};if(g={...e.state,nav:n},De(e.props.page),ge=new E.root({target:t,props:{...e.props,stores:D,components:fe},hydrate:r,sync:!1,transformError:void 0}),await Promise.resolve(),r){const i={from:null,to:{...n,scroll:x[k]??$()},willUnload:!1,type:"enter",complete:Promise.resolve()};q.forEach(a=>a(i))}ut(R),ue=!0}async function pe({url:e,params:t,branch:r,errors:n,status:i,error:a,route:o,form:s}){let c="never";if(T&&(e.pathname===T||e.pathname===T+"/"))c="always";else for(const h of r)h?.slash!==void 0&&(c=h.slash);e.pathname=vt(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:r,error:a,route:o},props:{constructors:tr(r).map(h=>h.node.component),page:we(I)}};s!==void 0&&(f.props.form=s);let l={},d=!I,p=0;for(let h=0;h<Math.max(r.length,g.branch.length);h+=1){const w=r[h],_=g.branch[h];w?.data!==_?.data&&(d=!0),w&&(l={...l,...w.data},d&&(f.props[`data_${p}`]=l),p+=1)}return(!g.url||e.href!==g.url.href||g.error!==a||s!==void 0&&s!==I.form||d)&&(f.props.page={error:a,params:t,route:{id:o?.id??null},state:{},status:i,url:new URL(e),form:s??null,data:d?l:I.data}),f}async function qe({loader:e,parent:t,url:r,params:n,route:i,server_data_node:a}){let o=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:a,universal:c.universal?.load?{type:"data",data:o,uses:s}:null,data:o??a?.data??null,slash:c.universal?.trailingSlash??a?.slash}}function mr(e,t,r){let n=e instanceof Request?e.url:e;const i=new URL(n,r);i.origin===r.origin&&(n=i.href.slice(r.origin.length));const a=ue?kt(n,i.href,t):St(n,t);return{resolved:i,promise:a}}function Qe(e,t,r,n,i,a){if(re)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&r)return!0;for(const o of i.search_params)if(n.has(o))return!0;for(const o of i.params)if(a[o]!==g.params[o])return!0;for(const o of i.dependencies)if(le.some(s=>s(new URL(o))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function gr(e,t){if(!e)return new Set(t.searchParams.keys());const r=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const n of r){const i=e.searchParams.getAll(n),a=t.searchParams.getAll(n);i.every(o=>a.includes(o))&&a.every(o=>i.includes(o))&&r.delete(n)}return r}function et({error:e,url:t,route:r,params:n}){return{type:"loaded",state:{error:e,url:t,route:r,params:n,branch:[]},props:{page:we(I),constructors:[]}}}async function Ye({id:e,invalidating:t,url:r,params:n,route:i,preload:a}){if(L?.id===e)return J.delete(L.token),L.promise;const{errors:o,layouts:s,leaf:c}=i,f=[...s,c];o.forEach(y=>y?.().catch(N)),f.forEach(y=>y?.[1]().catch(N));let l=null;const d=g.url?e!==_e(g.url):!1,p=g.route?i.id!==g.route.id:!1,u=gr(g.url,r);let h=!1;{const y=f.map((v,A)=>{const S=g.branch[A],b=!!v?.[0]&&(S?.loader!==v[1]||Qe(h,p,d,u,S.server?.uses,n));return b&&(h=!0),b});if(y.some(Boolean)){try{l=await _t(r,y)}catch(v){const A=await M(v,{url:r,params:n,route:{id:e}});return a&&J.has(a)?et({error:A,url:r,params:n,route:i}):ye({status:ie(v),error:A,url:r,route:i})}if(l.type==="redirect")return l}}const w=l?.nodes;let _=!1;const m=f.map(async(y,v)=>{if(!y)return;const A=g.branch[v],S=w?.[v];if((!S||S.type==="skip")&&y[1]===A?.loader&&!Qe(_,p,d,u,A.universal?.uses,n))return A;if(_=!0,S?.type==="error")throw S;return qe({loader:y[1],url:r,params:n,route:i,parent:async()=>{const j={};for(let C=0;C<v;C+=1)Object.assign(j,(await m[C])?.data);return j},server_data_node:He(S===void 0&&y[0]?{type:"skip"}:S??null,y[0]?A?.server:void 0)})});for(const y of m)y.catch(N);const P=[];for(let y=0;y<f.length;y+=1)if(f[y])try{P.push(await m[y])}catch(v){if(v instanceof xe)return{type:"redirect",location:v.location};if(a&&J.has(a))return et({error:await M(v,{params:n,url:r,route:{id:i.id}}),url:r,params:n,route:i});let A=ie(v),S;if(w?.includes(v))A=v.status??A,S=v.error;else if(v instanceof te)S=v.body;else{if(await D.updated.check())return await it(),await K(r);S=await M(v,{params:n,url:r,route:{id:i.id}})}const b=await yr(y,P,o);return b?pe({url:r,params:n,branch:P.slice(0,b.idx).concat(b.node),errors:o,status:A,error:S,route:i}):await pt(r,{id:i.id},S,A)}else P.push(void 0);return pe({url:r,params:n,branch:P,errors:o,status:200,error:null,route:i,form:t?void 0:null})}async function yr(e,t,r){for(;e--;)if(r[e]){let n=e;for(;!t[n];)n-=1;try{return{idx:n+1,node:{node:await r[e](),loader:r[e],data:{},server:null,universal:null}}}catch{continue}}}async function ye({status:e,error:t,url:r,route:n}){const i={};let a=null;if(E.server_loads[0]===0)try{const s=await _t(r,[!0]);if(s.type!=="data"||s.nodes[0]&&s.nodes[0].type!=="data")throw 0;a=s.nodes[0]??null}catch(s){if(!(s instanceof te&&s.status===404)&&(r.origin!==Ne||r.pathname!==location.pathname||Fe))return await K(r)}try{const o=await qe({loader:Pe,url:r,params:i,route:n,parent:()=>Promise.resolve({}),server_data_node:He(a)}),s={node:await ce(),loader:ce,universal:null,server:null,data:null};return pe({url:r,params:i,branch:[o,s],status:e,error:t,errors:[],route:null})}catch(o){if(o instanceof xe){await Ve(new URL(o.location,location.href),{},0);return}const s=await E.get_error_template(),c=await M(o,{url:r,params:i,route:n}),f=String(c?.message??"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),l=s({status:e,message:f}),d=new DOMParser().parseFromString(l,"text/html");throw document.documentElement.replaceChild(document.adoptNode(d.head),document.head),document.documentElement.replaceChild(document.adoptNode(d.body),document.body),o}}async function wr(e){const t=e.href;if(ae.has(t))return ae.get(t);let r;try{const n=(async()=>{let i=await E.hooks.reroute({url:new URL(e),fetch:async(a,o)=>mr(a,o,e).promise})??e;if(typeof i=="string"){const a=new URL(e);E.hash?a.hash=i:a.pathname=i,i=a}return i})();ae.set(t,n),r=await n}catch{ae.delete(t);return}return r}async function ne(e,t){if(e&&!je(e,T,E.hash)){const r=await wr(e);if(!r)return;const n=vr(r);for(const i of Me){const a=i.exec(n);if(a)return{id:_e(e),invalidating:t,route:i,params:wt(a),url:e}}}}function vr(e){return At(E.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(T.length))||"/"}function _e(e){return(E.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ht({url:e,type:t,intent:r,delta:n,event:i,scroll:a}){let o=!1;const s=Ge(g,r,e,t,a??null);n!==void 0&&(s.navigation.delta=n),i!==void 0&&(s.navigation.event=i);const c={...s.navigation,cancel:()=>{o=!0,s.reject(new Error("navigation cancelled"))}};return ee||$e.forEach(f=>f(c)),o?null:s}async function H({type:e,url:t,popped:r,keepfocus:n,noscroll:i,replace_state:a,state:o={},redirect_count:s=0,nav_token:c={},accept:f=N,block:l=N,event:d}){const p=U;U=c;const u=await ne(t,!1),h=e==="enter"?Ge(g,u,t,e):ht({url:t,type:e,delta:r?.delta,intent:u,scroll:r?.scroll,event:d});if(!h){l(),U===c&&(U=p);return}const w=k,_=R;f(),ee=!0,ue&&h.navigation.type!=="enter"&&D.navigating.set(Se.current=h.navigation);let m=u&&await Ye(u);if(!m){if(je(t,T,E.hash))return await K(t,a);m=await pt(t,{id:null},await M(new Ce(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,a)}if(t=u?.url||t,U!==c){h.reject(new Error("navigation aborted"));return}if(!m)return;if(m.type==="redirect"){if(s<20){await H({type:e,url:new URL(m.location,t),popped:r,keepfocus:n,noscroll:i,replace_state:a,state:o,redirect_count:s+1,nav_token:c}),h.fulfil(void 0);return}if(m=await ye({status:500,error:await M(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!m)return}else if(m.props.page.status>=400&&await D.updated.check())return await it(),await K(t,a);if(Te(),Be(w),ft(_),m.props.page.url.pathname!==t.pathname&&(t.pathname=m.props.page.url.pathname),o=r?r.state:o,!r){const b=a?0:1,j={[B]:k+=b,[Y]:R+=b,[Oe]:o};(a?history.replaceState:history.pushState).call(history,j,"",t),a||hr(k,R)}const P=u&&L?.id===u.id?L.fork:null;L?.fork&&!P?Q():(L=null,V={element:void 0,href:void 0}),m.props.page.state=o;let y;if(ue){const b=(await Promise.all(Array.from(ct,G=>G(h.navigation)))).filter(G=>typeof G=="function");if(b.length>0){let G=function(){b.forEach(ve=>{q.delete(ve)})};b.push(G),b.forEach(ve=>{q.add(ve)})}const j=h.navigation.to;g={...m.state,nav:{params:j.params,route:j.route,url:j.url}},m.props.page&&(m.props.page.url=t),!n&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const C=P&&await P;C?y=C.commit():(z=null,ge.$set(m.props),z&&Object.assign(m.props.page,z),De(m.props.page),y=It?.()),lt=!0}else await dt(m,Le,!1);const{activeElement:v}=document;if(await y,await se(),await se(),U!==c){h.reject(new Error("navigation aborted"));return}m.props.page&&z&&Object.assign(m.props.page,z);let A=null;if(Je){const b=r?r.scroll:i?$():null;b?scrollTo(b.x,b.y):(A=t.hash&&document.getElementById(gt(t)))?A.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==v&&document.activeElement!==document.body;!n&&!S&&Ir(t,!A),Je=!0,ee=!1,h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=$()),q.forEach(b=>b(h.navigation)),e==="popstate"&&ut(R),D.navigating.set(Se.current=null)}async function pt(e,t,r,n,i){return e.origin===Ne&&e.pathname===location.pathname&&!Fe?await ye({status:n,error:r,url:e,route:t}):await K(e,i)}let V={element:void 0,href:void 0};function br(){let e,t;O.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{i(s,X.hover)},20)});function r(o){o.defaultPrevented||i(o.composedPath()[0],X.tap)}O.addEventListener("mousedown",r),O.addEventListener("touchstart",r,{passive:!0});const n=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(ke(new URL(s.target.href)),n.unobserve(s.target))},{threshold:0});async function i(o,s){const c=tt(o,O),f=c===V.element&&c?.href===V.href&&s>=t;if(!c||f)return;const{url:l,external:d,download:p}=Ie(c,T,E.hash);if(d||p)return;const u=oe(c),h=l&&_e(g.url)===_e(l);if(!(u.reload||h))if(s<=u.preload_data){V={element:c,href:c.href},t=X.tap;const w=await ne(l,!1);if(!w)return;_r(w)}else s<=u.preload_code&&(V={element:c,href:c.href},t=s,ke(l))}function a(){n.disconnect();for(const o of O.querySelectorAll("a")){const{url:s,external:c,download:f}=Ie(o,T,E.hash);if(c||f)continue;const l=oe(o);l.reload||(l.preload_code===X.viewport&&n.observe(o),l.preload_code===X.eager&&ke(s))}}q.add(a),a()}function M(e,t){if(e instanceof te)return e.body;const r=ie(e),n=ar(e);return E.hooks.handleError({error:e,event:t,status:r,message:n})??{message:n}}function Ke(e,t){fr(()=>(e.add(t),()=>{e.delete(t)}))}function jr(e){Ke(q,e)}function Or(e){Ke($e,e)}function Nr(e){Ke(ct,e)}function Dr(e,t={}){return e=new URL(me(e)),e.origin!==Ne?Promise.reject(new Error("goto: invalid URL")):Ve(e,t,0)}function Er(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(r=>r.href===t)}}function xr(){return re=!0,pr()}function Cr(e,t){const r={[B]:k,[Y]:R,[rt]:I.url.href,[Oe]:t};history.replaceState(r,"",me(e)),I.state=t,ge.$set({page:ur(()=>we(I))})}function Ar(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Ze(),!ee){const n=Ge(g,void 0,null,"leave"),i={...n.navigation,cancel:()=>{r=!0,n.reject(new Error("navigation cancelled"))}};$e.forEach(a=>a(i))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ze()}),navigator.connection?.saveData||br(),O.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=tt(t.composedPath()[0],O);if(!r)return;const{url:n,external:i,target:a,download:o}=Ie(r,T,E.hash);if(!n)return;if(a==="_parent"||a==="_top"){if(window.parent!==window)return}else if(a&&a!=="_self")return;const s=oe(r);if(!(r instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||o)return;const[f,l]=(E.hash?n.hash.replace(/^#/,""):n.href).split("#"),d=f===be(location);if(i||s.reload&&(!d||!l)){ht({url:n,type:"link",event:t})?ee=!0:t.preventDefault();return}if(l!==void 0&&d){const[,p]=g.url.href.split("#");if(p===l){if(t.preventDefault(),l===""||l==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=r.ownerDocument.getElementById(decodeURIComponent(l));u&&(u.scrollIntoView(),u.focus())}return}if(W=!0,Be(k),e(n),!s.replace_state)return;W=!1}t.preventDefault(),await new Promise(p=>{requestAnimationFrame(()=>{setTimeout(p,0)}),setTimeout(p,100)}),await H({type:"link",url:n,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??n.href===location.href,event:t})}),O.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),n=t.submitter;if((n?.formTarget||r.target)==="_blank"||(n?.formMethod||r.method)!=="get")return;const o=new URL(n?.hasAttribute("formaction")&&n?.formAction||r.action);if(je(o,T,!1))return;const s=t.target,c=oe(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(s,n);o.search=new URLSearchParams(f).toString(),H({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ue){if(t.state?.[B]){const r=t.state[B];if(U={},r===k)return;const n=x[r],i=t.state[Oe]??{},a=new URL(t.state[rt]??location.href),o=t.state[Y],s=g.url?be(location)===be(g.url):!1;if(o===R&&(lt||s)){i!==I.state&&(I.state=i),e(a),x[k]=$(),n&&scrollTo(n.x,n.y),k=r;return}const f=r-k;await H({type:"popstate",url:a,popped:{state:i,scroll:n,delta:f},accept:()=>{k=r,R=o},block:()=>{history.go(-f)},nav_token:U,event:t})}else if(!W){const r=new URL(location.href);e(r),E.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[B]:++k,[Y]:R},"",location.href))});for(const t of document.querySelectorAll("link"))dr.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&D.navigating.set(Se.current=null)});function e(t){g.url=I.url=t,D.page.set(we(I)),D.page.notify()}}async function kr(e,{status:t=200,error:r,node_ids:n,params:i,route:a,server_route:o,data:s,form:c}){Fe=!0;const f=new URL(location.href);let l;({params:i={},route:a={id:null}}=await ne(f,!1)||{}),l=Me.find(({id:u})=>u===a.id);let d,p=!0;try{const u=n.map(async(w,_)=>{const m=s[_];return m?.uses&&(m.uses=mt(m.uses)),qe({loader:E.nodes[w],url:f,params:i,route:a,parent:async()=>{const P={};for(let y=0;y<_;y+=1)Object.assign(P,(await u[y]).data);return P},server_data_node:He(m)})}),h=await Promise.all(u);if(l){const w=l.layouts;for(let _=0;_<w.length;_++)w[_]||h.splice(_,0,void 0)}d=await pe({url:f,params:i,branch:h,status:t,error:r,errors:l?.errors,form:c,route:l??null})}catch(u){if(u instanceof xe)return await K(new URL(u.location,location.href));d=await ye({status:ie(u),error:await M(u,{url:f,params:i,route:a}),url:f,route:a}),e.textContent="",p=!1}d&&(d.props.page&&(d.props.page.state={}),await dt(d,e,p))}async function _t(e,t){const r=new URL(e);r.pathname=ir(e.pathname),e.pathname.endsWith("/")&&r.searchParams.append(nr,"1"),r.searchParams.append(rr,t.map(a=>a?"1":"0").join(""));const n=window.fetch,i=await n(r.href,{});if(!i.ok){let a;throw i.headers.get("content-type")?.includes("application/json")?a=await i.json():i.status===404?a="Not Found":i.status===500&&(a="Internal Error"),new te(i.status,a)}return new Promise((a,o)=>{Sr(a,i).catch(o)})}async function Sr(e,t){const r=t.body.getReader(),n=new Map;function i(a){return er(a,{...E.decoders,Promise:o=>new Promise((s,c)=>{n.set(o,{fulfil:s,reject:c})})})}for await(const a of lr(r)){if(a.type==="redirect")return e(a);if(a.type==="data")a.nodes?.forEach(o=>{o?.type==="data"&&(o.uses=mt(o.uses),o.data=i(o.data))}),e(a);else if(a.type==="chunk"){const{id:o,data:s,error:c}=a,f=n.get(o);n.delete(o),c?f.reject(i(c)):f.fulfil(i(s))}}}function mt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ue=!1;function Ir(e,t=!0){const r=document.querySelector("[autofocus]");if(r)r.focus();else{const n=gt(e);if(n&&document.getElementById(n)){const{x:a,y:o}=$();setTimeout(()=>{const s=history.state;Ue=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(a,o),Ue=!1})}else{const a=document.body,o=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),o!==null?a.setAttribute("tabindex",o):a.removeAttribute("tabindex")}const i=getSelection();if(i&&i.type!=="None"){const a=[];for(let o=0;o<i.rangeCount;o+=1)a.push(i.getRangeAt(o));setTimeout(()=>{if(i.rangeCount===a.length){for(let o=0;o<i.rangeCount;o+=1){const s=a[o],c=i.getRangeAt(o);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}i.removeAllRanges()}})}}}function Ge(e,t,r,n,i=null){let a,o;const s=new Promise((f,l)=>{a=f,o=l});return s.catch(N),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:$()},to:r&&{params:t?.params??null,route:{id:t?.route?.id??null},url:r,scroll:i},willUnload:!t,type:n,complete:s},fulfil:a,reject:o}}function we(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Rr(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function gt(e){let t;if(E.hash){const[,,r]=e.hash.split("#",3);t=r??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{jr as a,Or as b,Dr as g,xr as i,Nr as o,Cr as r,Ur as s};