@intent-hq/web 2.345.0 → 2.346.0

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 (364) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/assets/{0.BtTQsuHZ.css → 0.C6uvaa87.css} +1 -1
  3. package/web/app/immutable/chunks/-UJlOg-6.js +1 -0
  4. package/web/app/immutable/chunks/-Wo302Zr.js +9 -0
  5. package/web/app/immutable/chunks/0qEvU7Aj.js +8 -0
  6. package/web/app/immutable/chunks/1_fC7X8z.js +1 -0
  7. package/web/app/immutable/chunks/2V4-p70U.js +408 -0
  8. package/web/app/immutable/chunks/{D3mUsAm9.js → 3DAIKGff.js} +1 -1
  9. package/web/app/immutable/chunks/{6Zmm5CZL.js → 3as4gwP9.js} +7 -7
  10. package/web/app/immutable/chunks/{BqRoJfH0.js → 3h5ZjEwa.js} +1 -1
  11. package/web/app/immutable/chunks/{Dz4sFk1c.js → 4sUGQp1u.js} +1 -1
  12. package/web/app/immutable/chunks/{fZqvRnJh.js → 5Ixgq0WC.js} +1 -1
  13. package/web/app/immutable/chunks/{CgQ2Q_uI.js → 71L4lHBq.js} +1 -1
  14. package/web/app/immutable/chunks/7eL9Pgig.js +1 -0
  15. package/web/app/immutable/chunks/{CWE4oREl.js → 9XVQ1GVX.js} +1 -1
  16. package/web/app/immutable/chunks/{C8dU7SM3.js → A8_BT67P.js} +1 -1
  17. package/web/app/immutable/chunks/ACNn9MHT.js +2 -0
  18. package/web/app/immutable/chunks/{Cv_J2c72.js → B-7vt8Nv.js} +1 -1
  19. package/web/app/immutable/chunks/B0-4rCYZ.js +2 -0
  20. package/web/app/immutable/chunks/{Chj7QpdD.js → B0WVH3Hg.js} +1 -1
  21. package/web/app/immutable/chunks/B0mNIdOb.js +1 -0
  22. package/web/app/immutable/chunks/{CWQrbZgx.js → B1HPKTBI.js} +1 -1
  23. package/web/app/immutable/chunks/{s_GzTTEG.js → B1U_DCBw.js} +1 -1
  24. package/web/app/immutable/chunks/{VyOfhH-C.js → B3D9gAmi.js} +1 -1
  25. package/web/app/immutable/chunks/{C-M7eh_Z.js → B4XZNQ4a.js} +1 -1
  26. package/web/app/immutable/chunks/{BqqN40AD.js → B4gIvcP2.js} +1 -1
  27. package/web/app/immutable/chunks/{C4dCVzfY.js → B55-cQLT.js} +1 -1
  28. package/web/app/immutable/chunks/B5HeJKYE.js +1 -0
  29. package/web/app/immutable/chunks/{Dlag9Uxb.js → B79pUPc3.js} +9 -9
  30. package/web/app/immutable/chunks/{34C5M9lk.js → B7dTLx8u.js} +1 -1
  31. package/web/app/immutable/chunks/B83M2_sj.js +1 -0
  32. package/web/app/immutable/chunks/BAGVOK-j.js +4 -0
  33. package/web/app/immutable/chunks/{DXDMhDlS.js → BBlTlRXR.js} +1 -1
  34. package/web/app/immutable/chunks/{D3I0DcnM.js → BDDEv5gU.js} +1 -1
  35. package/web/app/immutable/chunks/BDPAYMJ1.js +4 -0
  36. package/web/app/immutable/chunks/BDPqCRJm.js +2 -0
  37. package/web/app/immutable/chunks/{B0a-wzQr.js → BDZoh7yg.js} +1 -1
  38. package/web/app/immutable/chunks/{oilydQC6.js → BDtb6AfX.js} +1 -1
  39. package/web/app/immutable/chunks/{oxLL7zSC.js → BDzYiKUH.js} +3 -3
  40. package/web/app/immutable/chunks/{PwvNS9aJ.js → BJZ04Dji.js} +1 -1
  41. package/web/app/immutable/chunks/{A34-FDia.js → BK2lpqz4.js} +1 -1
  42. package/web/app/immutable/chunks/{BC2xxkKo.js → BK64B_Ic.js} +7 -7
  43. package/web/app/immutable/chunks/{8XhHIJcn.js → BKw5KoGy.js} +1 -1
  44. package/web/app/immutable/chunks/{1MWULgfl.js → BLaIjbEF.js} +1 -1
  45. package/web/app/immutable/chunks/{BkbQGifa.js → BLl22NdQ.js} +1 -1
  46. package/web/app/immutable/chunks/{ByTOmivs.js → BM7oCSp5.js} +1 -1
  47. package/web/app/immutable/chunks/{C8BVjzNA.js → BMKkyPLo.js} +1 -1
  48. package/web/app/immutable/chunks/BO8NImWp.js +1 -0
  49. package/web/app/immutable/chunks/BOxkenyY.js +1 -0
  50. package/web/app/immutable/chunks/{CW_fORnH.js → BOyF7pe9.js} +1 -1
  51. package/web/app/immutable/chunks/BQ5F0iVp.js +1 -0
  52. package/web/app/immutable/chunks/BQbcEQz0.js +1 -0
  53. package/web/app/immutable/chunks/{DW36BCXj.js → BTNEDHav.js} +1 -1
  54. package/web/app/immutable/chunks/{zN8eBYty.js → BVURea8L.js} +1 -1
  55. package/web/app/immutable/chunks/{C6WI65lc.js → BW9EApvt.js} +10 -10
  56. package/web/app/immutable/chunks/BWAGtvpD.js +1 -0
  57. package/web/app/immutable/chunks/BWTugGQ8.js +1 -0
  58. package/web/app/immutable/chunks/{D_2_kcuU.js → BWZmCaEW.js} +1 -1
  59. package/web/app/immutable/chunks/{Bj3n1RUK.js → BY3nRRgO.js} +3 -3
  60. package/web/app/immutable/chunks/{DZxSFexp.js → BYDvuR-h.js} +1 -1
  61. package/web/app/immutable/chunks/{CaGwo1Kh.js → BZYeogxf.js} +1 -1
  62. package/web/app/immutable/chunks/{RvvsGyv8.js → Ba1C4iSG.js} +1 -1
  63. package/web/app/immutable/chunks/{DSf8k2cE.js → BaYeKXL3.js} +1 -1
  64. package/web/app/immutable/chunks/{BZLRqiW7.js → BaYzTmbw.js} +1 -1
  65. package/web/app/immutable/chunks/Bbkml6DP.js +1 -0
  66. package/web/app/immutable/chunks/{9HNwwiNt.js → BcbQZUsh.js} +1 -1
  67. package/web/app/immutable/chunks/BcgSXbtK.js +1 -0
  68. package/web/app/immutable/chunks/{DLJVFWjT.js → BeJ5WWx4.js} +22 -22
  69. package/web/app/immutable/chunks/{A0r9TbR7.js → BfbZn9QX.js} +1 -1
  70. package/web/app/immutable/chunks/BgKhYgm8.js +1 -0
  71. package/web/app/immutable/chunks/Bgi2L8Br.js +1 -0
  72. package/web/app/immutable/chunks/Bgw3O9rE.js +1 -0
  73. package/web/app/immutable/chunks/Big_dnEI.js +1 -0
  74. package/web/app/immutable/chunks/{D6yqDOhs.js → BjURBDIt.js} +5 -5
  75. package/web/app/immutable/chunks/{CJ58g2zu.js → BlEwAz4v.js} +1 -1
  76. package/web/app/immutable/chunks/{BUGXi07N.js → BmEcZoA2.js} +1 -1
  77. package/web/app/immutable/chunks/{Bb-m1QhD.js → BnkmaA34.js} +1 -1
  78. package/web/app/immutable/chunks/BpYNQf9o.js +1 -0
  79. package/web/app/immutable/chunks/{m3ndyWcI.js → BqBqZaGQ.js} +1 -1
  80. package/web/app/immutable/chunks/{D419Hgek.js → BqyYlCY3.js} +1 -1
  81. package/web/app/immutable/chunks/BrIsEZwT.js +1 -0
  82. package/web/app/immutable/chunks/Brqq8vhd.js +6 -0
  83. package/web/app/immutable/chunks/{Dx41gQiN.js → Bxnf75xq.js} +1 -1
  84. package/web/app/immutable/chunks/ByLCbaqp.js +1 -0
  85. package/web/app/immutable/chunks/{xOJeCqJf.js → C-OtpXcF.js} +1 -1
  86. package/web/app/immutable/chunks/{B7w_8Qom.js → C1CDOGnh.js} +2 -2
  87. package/web/app/immutable/chunks/C1osWUn_.js +1 -0
  88. package/web/app/immutable/chunks/{BI7MYBTt.js → C33Dw59E.js} +1 -1
  89. package/web/app/immutable/chunks/{BMm9sGZ6.js → C3NeTp2u.js} +1 -1
  90. package/web/app/immutable/chunks/{DdSX2jjJ.js → C3VPe7p1.js} +1 -1
  91. package/web/app/immutable/chunks/{BYMNRS4c.js → C3oF1SK5.js} +1 -1
  92. package/web/app/immutable/chunks/{CW13jkE8.js → C4HHXGmJ.js} +1 -1
  93. package/web/app/immutable/chunks/{ByCIOkhM.js → C59or46M.js} +1 -1
  94. package/web/app/immutable/chunks/{CL2hu5s-.js → C5SissXF.js} +1 -1
  95. package/web/app/immutable/chunks/{C-ZPZDJB.js → C8XrM-qb.js} +1 -1
  96. package/web/app/immutable/chunks/CA6TS0WC.js +1 -0
  97. package/web/app/immutable/chunks/CAUaU8Wh.js +1 -0
  98. package/web/app/immutable/chunks/CAdgzoaK.js +1 -0
  99. package/web/app/immutable/chunks/{BrRRz1w6.js → CCm1BgPl.js} +1 -1
  100. package/web/app/immutable/chunks/CDbQwqu1.js +1 -0
  101. package/web/app/immutable/chunks/CEsW1euQ.js +1 -0
  102. package/web/app/immutable/chunks/{CYEd8dKU.js → CFs6uWH2.js} +1 -1
  103. package/web/app/immutable/chunks/{D6YDmdhV.js → CGcQAX9W.js} +1 -1
  104. package/web/app/immutable/chunks/{CVYjvOCP.js → CHfmHJ17.js} +1 -1
  105. package/web/app/immutable/chunks/{DwKUz42C.js → CJ_dtcmM.js} +1 -1
  106. package/web/app/immutable/chunks/{DqvXXMrh.js → CNT1n9YR.js} +1 -1
  107. package/web/app/immutable/chunks/CP8WYBBE.js +1 -0
  108. package/web/app/immutable/chunks/{DtKh4Q6Q.js → CQB76zlc.js} +1 -1
  109. package/web/app/immutable/chunks/{DpMTpLDQ.js → CQbtnalz.js} +1 -1
  110. package/web/app/immutable/chunks/{CNIUwMPp.js → CQyjMIYw.js} +1 -1
  111. package/web/app/immutable/chunks/CSQXURhP.js +1 -0
  112. package/web/app/immutable/chunks/{DnpnDt-B.js → CSg3z6A2.js} +1 -1
  113. package/web/app/immutable/chunks/{m18NZZRr.js → CVa6MqnK.js} +1 -1
  114. package/web/app/immutable/chunks/{DInreQbI.js → CXVUfxHv.js} +2 -2
  115. package/web/app/immutable/chunks/{C0p8rhDn.js → CXpFRnSj.js} +1 -1
  116. package/web/app/immutable/chunks/C_EpV6jU.js +2 -0
  117. package/web/app/immutable/chunks/Cb0zVN4i.js +1 -0
  118. package/web/app/immutable/chunks/{BP7CI4Qx.js → CbZEAbX5.js} +1 -1
  119. package/web/app/immutable/chunks/{BqQiAH0O.js → CcaAQlGA.js} +1 -1
  120. package/web/app/immutable/chunks/CgLoJgPR.js +1 -0
  121. package/web/app/immutable/chunks/{B4ilKCwe.js → CguBowm8.js} +1 -1
  122. package/web/app/immutable/chunks/{Ds3Wirif.js → ChNPgGKQ.js} +1 -1
  123. package/web/app/immutable/chunks/{B203wRvP.js → Chpqmkx4.js} +1 -1
  124. package/web/app/immutable/chunks/{DbK3CxeL.js → CiIELmgj.js} +1 -1
  125. package/web/app/immutable/chunks/CiKocWhX.js +1 -0
  126. package/web/app/immutable/chunks/{BYtSPAAW.js → CjbCpI18.js} +1 -1
  127. package/web/app/immutable/chunks/{BvZrnx87.js → Ckp5dOHW.js} +1 -1
  128. package/web/app/immutable/chunks/{BfZCAeqU.js → ClMg3ew2.js} +1 -1
  129. package/web/app/immutable/chunks/{A8JjhnEv.js → Clhk_Z-l.js} +1 -1
  130. package/web/app/immutable/chunks/{CXNfY5OA.js → CmoBwSCp.js} +1 -1
  131. package/web/app/immutable/chunks/{B5tGFpkq.js → CpHzYkzi.js} +1 -1
  132. package/web/app/immutable/chunks/{p3fN-Vr3.js → Cq2aackv.js} +1 -1
  133. package/web/app/immutable/chunks/Cq8oeEXe.js +1 -0
  134. package/web/app/immutable/chunks/CrHk5l6X.js +1 -0
  135. package/web/app/immutable/chunks/{BUdcKH65.js → CrjpdU4V.js} +1 -1
  136. package/web/app/immutable/chunks/CswFIiBb.js +1 -0
  137. package/web/app/immutable/chunks/{BA3fud46.js → CtDj7gZD.js} +1 -1
  138. package/web/app/immutable/chunks/{CaXjFtDt.js → CvGEpOsC.js} +1 -1
  139. package/web/app/immutable/chunks/CvHwMug-.js +2 -0
  140. package/web/app/immutable/chunks/{CaxyE6o_.js → Cx31i8ng.js} +1 -1
  141. package/web/app/immutable/chunks/CzcD2H5U.js +2 -0
  142. package/web/app/immutable/chunks/CzdMU9Bu.js +2 -0
  143. package/web/app/immutable/chunks/{CKzqOQI8.js → D-TVq_rK.js} +1 -1
  144. package/web/app/immutable/chunks/{ChY17Glq.js → D-i7C44m.js} +2 -2
  145. package/web/app/immutable/chunks/{DDfvytcD.js → D0I9E6A0.js} +1 -1
  146. package/web/app/immutable/chunks/{DYk0s6f0.js → D1CYDv8t.js} +1 -1
  147. package/web/app/immutable/chunks/{BuTNFoR8.js → D31IcU1_.js} +1 -1
  148. package/web/app/immutable/chunks/{DDMEgpvU.js → D3toWTag.js} +8 -8
  149. package/web/app/immutable/chunks/{Bywuf0q4.js → D492HRYt.js} +1 -1
  150. package/web/app/immutable/chunks/{BkNc2eFX.js → D7NdkRF-.js} +4 -4
  151. package/web/app/immutable/chunks/{GETqdV-9.js → D7dPbXji.js} +1 -1
  152. package/web/app/immutable/chunks/D9jYN6_J.js +1 -0
  153. package/web/app/immutable/chunks/{n58mTCVv.js → D9jvlcNy.js} +1 -1
  154. package/web/app/immutable/chunks/{BabPi6C5.js → DByMRbHr.js} +1 -1
  155. package/web/app/immutable/chunks/{aETzmnsD.js → DDySjsub.js} +1 -1
  156. package/web/app/immutable/chunks/{B9Hetctu.js → DE8QOEZV.js} +1 -1
  157. package/web/app/immutable/chunks/{DCDhq2rq.js → DF1uIj8u.js} +1 -1
  158. package/web/app/immutable/chunks/{BYFJ74nm.js → DFs6FJS8.js} +1 -1
  159. package/web/app/immutable/chunks/{CgW9XFcu.js → DGmRhalF.js} +1 -1
  160. package/web/app/immutable/chunks/DH-29Rs_.js +11 -0
  161. package/web/app/immutable/chunks/{B3kzQQLK.js → DHGSAfCZ.js} +1 -1
  162. package/web/app/immutable/chunks/DHROL4K5.js +1 -0
  163. package/web/app/immutable/chunks/DKKFIb2l.js +1 -0
  164. package/web/app/immutable/chunks/DKTqwHrN.js +1 -0
  165. package/web/app/immutable/chunks/DMYKSC8W.js +2 -0
  166. package/web/app/immutable/chunks/{-7ARPWgR.js → DMjNjha0.js} +1 -1
  167. package/web/app/immutable/chunks/{C1nHAGLu.js → DNWBkvFP.js} +1 -1
  168. package/web/app/immutable/chunks/DNjgs7AU.js +1 -0
  169. package/web/app/immutable/chunks/{DkQ7I_3J.js → DOB2ATTF.js} +5 -5
  170. package/web/app/immutable/chunks/{BTWq1_ry.js → DOCWMdWU.js} +1 -1
  171. package/web/app/immutable/chunks/{Bc6DihnT.js → DOKxXiSI.js} +18 -18
  172. package/web/app/immutable/chunks/DOPeTAKk.js +13 -0
  173. package/web/app/immutable/chunks/{PrJr0a2j.js → DPUWJyjX.js} +1 -1
  174. package/web/app/immutable/chunks/{_xNtAuSN.js → DQlH_Wce.js} +1 -1
  175. package/web/app/immutable/chunks/{BIEvH8pu.js → DRZKWEq3.js} +1 -1
  176. package/web/app/immutable/chunks/DTSEdINd.js +2 -0
  177. package/web/app/immutable/chunks/{j5aoAM0N.js → DUQV_xq3.js} +1 -1
  178. package/web/app/immutable/chunks/{Dsmvkh8d.js → DW9MEQey.js} +1 -1
  179. package/web/app/immutable/chunks/{BL8tUtYB.js → DXnd4CJZ.js} +1 -1
  180. package/web/app/immutable/chunks/DYnCJwSs.js +1 -0
  181. package/web/app/immutable/chunks/DZ3SUe8R.js +1 -0
  182. package/web/app/immutable/chunks/{BmP1Wws6.js → DZyAzxxC.js} +1 -1
  183. package/web/app/immutable/chunks/D_SZXZdx.js +1 -0
  184. package/web/app/immutable/chunks/{BhMsVKL2.js → DcZKw8cP.js} +2 -2
  185. package/web/app/immutable/chunks/{B9x-giji.js → DccrGg38.js} +22 -22
  186. package/web/app/immutable/chunks/DcwC09tE.js +1 -0
  187. package/web/app/immutable/chunks/{Bvc8qRhk.js → DdVIXVso.js} +1 -1
  188. package/web/app/immutable/chunks/DeCAcSD9.js +19 -0
  189. package/web/app/immutable/chunks/DfjJilaB.js +2 -0
  190. package/web/app/immutable/chunks/{XzMpMF29.js → DgHZa_R5.js} +1 -1
  191. package/web/app/immutable/chunks/{ZI2UcNVx.js → DgwMMJRI.js} +1 -1
  192. package/web/app/immutable/chunks/{CVoXekIe.js → DhHSeQsG.js} +3 -3
  193. package/web/app/immutable/chunks/{CG3imlyr.js → Dj8J0eqI.js} +1 -1
  194. package/web/app/immutable/chunks/DjdPlKc4.js +2 -0
  195. package/web/app/immutable/chunks/{finAdq6c.js → DknPpgEW.js} +1 -1
  196. package/web/app/immutable/chunks/Dkr_RXdV.js +1 -0
  197. package/web/app/immutable/chunks/Dkva_evl.js +11 -0
  198. package/web/app/immutable/chunks/{7teYU7wH.js → Do80Vc58.js} +1 -1
  199. package/web/app/immutable/chunks/{X8W_BfF4.js → Dr45ln4z.js} +1 -1
  200. package/web/app/immutable/chunks/DryyHkNv.js +1 -0
  201. package/web/app/immutable/chunks/{BdkEw9JP.js → DtAyUyC0.js} +1 -1
  202. package/web/app/immutable/chunks/Dto-4yb7.js +1 -0
  203. package/web/app/immutable/chunks/{CSdIXJpO.js → DukmxKgk.js} +1 -1
  204. package/web/app/immutable/chunks/{BwSA3fCS.js → DwA_Z_f6.js} +1 -1
  205. package/web/app/immutable/chunks/{Drt5qRI8.js → Dx3sZmi8.js} +1 -1
  206. package/web/app/immutable/chunks/{CcXuSxXv.js → DxBGs1BP.js} +1 -1
  207. package/web/app/immutable/chunks/{CeswpNyE.js → DzGNgfrZ.js} +1 -1
  208. package/web/app/immutable/chunks/DzKYjnRy.js +2 -0
  209. package/web/app/immutable/chunks/{HvBMlLJP.js → DzejiLWr.js} +3 -3
  210. package/web/app/immutable/chunks/{CBqGKeYg.js → G_wYaln-.js} +1 -1
  211. package/web/app/immutable/chunks/GzTl4Sb0.js +1 -0
  212. package/web/app/immutable/chunks/IRbjhecv.js +8 -0
  213. package/web/app/immutable/chunks/OPvMR-5p.js +1 -0
  214. package/web/app/immutable/chunks/{gURPJ1oX.js → SVZRr24P.js} +1 -1
  215. package/web/app/immutable/chunks/{DYmPPjiq.js → T9tywf_e.js} +1 -1
  216. package/web/app/immutable/chunks/TL85KYB9.js +1 -0
  217. package/web/app/immutable/chunks/{BgX4ALX_.js → U6cHmbYS.js} +3 -3
  218. package/web/app/immutable/chunks/{DLqztIqC.js → V9qci_dz.js} +1 -1
  219. package/web/app/immutable/chunks/{CpLvDQcH.js → W7sv3DY6.js} +1 -1
  220. package/web/app/immutable/chunks/{CrfXhNNb.js → WbTmlouE.js} +1 -1
  221. package/web/app/immutable/chunks/{BAxqzRwc.js → Y4VeEPHl.js} +1 -1
  222. package/web/app/immutable/chunks/{BVviSubD.js → YYacqJ9a.js} +1 -1
  223. package/web/app/immutable/chunks/{BdCclrfD.js → Zl17pAXX.js} +1 -1
  224. package/web/app/immutable/chunks/{BVt_T8ao.js → aQy6qVNs.js} +1 -1
  225. package/web/app/immutable/chunks/{C3SYquhf.js → ahX1JzRb.js} +1 -1
  226. package/web/app/immutable/chunks/{B0biUQQF.js → asQ_ruFQ.js} +1 -1
  227. package/web/app/immutable/chunks/{BGX6W-wu.js → bKyElw3h.js} +1 -1
  228. package/web/app/immutable/chunks/cATI0wnI.js +1 -0
  229. package/web/app/immutable/chunks/ciTxbtqU.js +1 -0
  230. package/web/app/immutable/chunks/d-Ep-sfP.js +1 -0
  231. package/web/app/immutable/chunks/dBZS3-kp.js +3 -0
  232. package/web/app/immutable/chunks/{Bk2z5Cd0.js → eNHX5lds.js} +1 -1
  233. package/web/app/immutable/chunks/etVaBLxV.js +6 -0
  234. package/web/app/immutable/chunks/euZ22sAu.js +1 -0
  235. package/web/app/immutable/chunks/{COrK0goa.js → ftma9Ybn.js} +1 -1
  236. package/web/app/immutable/chunks/fzs92dqr.js +1 -0
  237. package/web/app/immutable/chunks/i2sZiDEq.js +1 -0
  238. package/web/app/immutable/chunks/iKgBWWl-.js +2 -0
  239. package/web/app/immutable/chunks/{BXTuZcZW.js → jlJQSpH6.js} +1 -1
  240. package/web/app/immutable/chunks/{t_3vjEsA.js → ouMKS3MA.js} +1 -1
  241. package/web/app/immutable/chunks/{DpsFFL7J.js → s0TWEExr.js} +1 -1
  242. package/web/app/immutable/chunks/{XIXbmV8F.js → txy0Txom.js} +1 -1
  243. package/web/app/immutable/chunks/{CYf2hryc.js → wTgWcOy1.js} +1 -1
  244. package/web/app/immutable/chunks/{BIlaJXMS.js → z-RLr2Z1.js} +1 -1
  245. package/web/app/immutable/chunks/zGl9gaL0.js +1 -0
  246. package/web/app/immutable/chunks/{DXCE75Ih.js → z_Tdw9N5.js} +1 -1
  247. package/web/app/immutable/entry/app.BXnRxWvG.js +4 -0
  248. package/web/app/immutable/entry/start.BX3EKd8C.js +1 -0
  249. package/web/app/immutable/nodes/0.CFk1FXLg.js +1 -0
  250. package/web/app/immutable/nodes/1.Bd67D1tA.js +1 -0
  251. package/web/app/immutable/nodes/10.CTZ0L3wZ.js +41 -0
  252. package/web/app/immutable/nodes/11.CH_h0WbH.js +1 -0
  253. package/web/app/immutable/nodes/12.DhihsAtw.js +1 -0
  254. package/web/app/immutable/nodes/{13.CscEwLVK.js → 13.B727xJXs.js} +5 -5
  255. package/web/app/immutable/nodes/14.CgITgBOZ.js +3 -0
  256. package/web/app/immutable/nodes/15.CCzIPJGf.js +1 -0
  257. package/web/app/immutable/nodes/{16.Cfgb0nOQ.js → 16.CbtJfPHZ.js} +2 -2
  258. package/web/app/immutable/nodes/17.CelzCwXF.js +1 -0
  259. package/web/app/immutable/nodes/{17.yV85i6g8.js → 18.fqvApY-g.js} +2 -2
  260. package/web/app/immutable/nodes/2.t-1b60vK.js +13 -0
  261. package/web/app/immutable/nodes/3.4L0YPvZL.js +2 -0
  262. package/web/app/immutable/nodes/4.BLQgcpcU.js +1 -0
  263. package/web/app/immutable/nodes/5.Bp_OiOTI.js +5 -0
  264. package/web/app/immutable/nodes/6.CcuwCBp4.js +1 -0
  265. package/web/app/immutable/nodes/7.B-TRUT7o.js +1 -0
  266. package/web/app/immutable/nodes/{8.omc6d3jg.js → 8.CaG5gby5.js} +9 -9
  267. package/web/app/immutable/nodes/{9._4FUjrca.js → 9.DosMxTmg.js} +17 -17
  268. package/web/app/version.json +1 -1
  269. package/web/index.html +28 -21
  270. package/web/app/immutable/chunks/-6JGlnE4.js +0 -1
  271. package/web/app/immutable/chunks/-SwunqO3.js +0 -1
  272. package/web/app/immutable/chunks/2xvAjJNs.js +0 -1
  273. package/web/app/immutable/chunks/5MLUIYhU.js +0 -1
  274. package/web/app/immutable/chunks/B3lXnLB8.js +0 -2
  275. package/web/app/immutable/chunks/BBL1FO1t.js +0 -1
  276. package/web/app/immutable/chunks/BCASO_bV.js +0 -1
  277. package/web/app/immutable/chunks/BF-IM3Qf.js +0 -1
  278. package/web/app/immutable/chunks/BKYCO_49.js +0 -4
  279. package/web/app/immutable/chunks/BMMoYJAn.js +0 -1
  280. package/web/app/immutable/chunks/BP5uyQTv.js +0 -18
  281. package/web/app/immutable/chunks/BVPvh88-.js +0 -1
  282. package/web/app/immutable/chunks/BX3QD7rd.js +0 -1
  283. package/web/app/immutable/chunks/BXeiKdwz.js +0 -1
  284. package/web/app/immutable/chunks/BYU1cTbO.js +0 -2
  285. package/web/app/immutable/chunks/BZcpShp8.js +0 -9
  286. package/web/app/immutable/chunks/BbNk8c_P.js +0 -1
  287. package/web/app/immutable/chunks/Bba6So1V.js +0 -1
  288. package/web/app/immutable/chunks/Bc5_gcpq.js +0 -1
  289. package/web/app/immutable/chunks/BdD2ADMz.js +0 -1
  290. package/web/app/immutable/chunks/BlZYlbA9.js +0 -1
  291. package/web/app/immutable/chunks/BoCZH6mk.js +0 -1
  292. package/web/app/immutable/chunks/Bs26_0Q5.js +0 -2
  293. package/web/app/immutable/chunks/ByuX26Ym.js +0 -6
  294. package/web/app/immutable/chunks/C-MmtmWQ.js +0 -1
  295. package/web/app/immutable/chunks/C52Qm4vO.js +0 -1
  296. package/web/app/immutable/chunks/C5AlgdZ0.js +0 -1
  297. package/web/app/immutable/chunks/C8AARFCw.js +0 -2
  298. package/web/app/immutable/chunks/CAOA5kev.js +0 -2
  299. package/web/app/immutable/chunks/CEQZVenN.js +0 -6
  300. package/web/app/immutable/chunks/CN-2rfdx.js +0 -1
  301. package/web/app/immutable/chunks/CRQGIXhv.js +0 -1
  302. package/web/app/immutable/chunks/CWT4x6lB.js +0 -2
  303. package/web/app/immutable/chunks/CbCgON3R.js +0 -1
  304. package/web/app/immutable/chunks/CeT1zT46.js +0 -1
  305. package/web/app/immutable/chunks/Cfj3Lc6y.js +0 -1
  306. package/web/app/immutable/chunks/Cjpu4SJA.js +0 -1
  307. package/web/app/immutable/chunks/Ck9ZyE1n.js +0 -2
  308. package/web/app/immutable/chunks/CkSjvO0_.js +0 -1
  309. package/web/app/immutable/chunks/CoLl8pQb.js +0 -1
  310. package/web/app/immutable/chunks/CpadbTI2.js +0 -408
  311. package/web/app/immutable/chunks/CsxVJm8Y.js +0 -1
  312. package/web/app/immutable/chunks/CteSc0c_.js +0 -1
  313. package/web/app/immutable/chunks/CuhrgDBI.js +0 -1
  314. package/web/app/immutable/chunks/CvWyDJGm.js +0 -1
  315. package/web/app/immutable/chunks/CzVyzyWv.js +0 -2
  316. package/web/app/immutable/chunks/D6Wx8h-l.js +0 -11
  317. package/web/app/immutable/chunks/D8Ohjkn4.js +0 -3
  318. package/web/app/immutable/chunks/DATvyyct.js +0 -1
  319. package/web/app/immutable/chunks/DAoagkbK.js +0 -2
  320. package/web/app/immutable/chunks/DEjP-x_s.js +0 -1
  321. package/web/app/immutable/chunks/DFF9daPQ.js +0 -13
  322. package/web/app/immutable/chunks/DIP3ex32.js +0 -1
  323. package/web/app/immutable/chunks/DPDCu-py.js +0 -1
  324. package/web/app/immutable/chunks/DPR3VaPZ.js +0 -2
  325. package/web/app/immutable/chunks/DTQYcznv.js +0 -1
  326. package/web/app/immutable/chunks/DU8kuP6M.js +0 -1
  327. package/web/app/immutable/chunks/DZmwTozc.js +0 -1
  328. package/web/app/immutable/chunks/Dc64E_SR.js +0 -1
  329. package/web/app/immutable/chunks/Ddw98WmY.js +0 -8
  330. package/web/app/immutable/chunks/De4z9gHo.js +0 -1
  331. package/web/app/immutable/chunks/Dk6iNNLu.js +0 -1
  332. package/web/app/immutable/chunks/DlHB0ULA.js +0 -2
  333. package/web/app/immutable/chunks/DpHl7r8K.js +0 -1
  334. package/web/app/immutable/chunks/Dq3RHtWu.js +0 -1
  335. package/web/app/immutable/chunks/Dq3leYTy.js +0 -19
  336. package/web/app/immutable/chunks/Dq6CuXZE.js +0 -1
  337. package/web/app/immutable/chunks/DqJ-M21G.js +0 -1
  338. package/web/app/immutable/chunks/Dwyq6WEC.js +0 -1
  339. package/web/app/immutable/chunks/DxNbgJ8X.js +0 -2
  340. package/web/app/immutable/chunks/DzHHkfB1.js +0 -1
  341. package/web/app/immutable/chunks/EbDWf2Y-.js +0 -1
  342. package/web/app/immutable/chunks/Ek5W6pp5.js +0 -1
  343. package/web/app/immutable/chunks/H60Tbroe.js +0 -1
  344. package/web/app/immutable/chunks/JzAjTSJP.js +0 -1
  345. package/web/app/immutable/chunks/PPmweWGv.js +0 -2
  346. package/web/app/immutable/chunks/UYKGMt9K.js +0 -1
  347. package/web/app/immutable/chunks/X_y6HQmR.js +0 -1
  348. package/web/app/immutable/chunks/YNoNxkXn.js +0 -4
  349. package/web/app/immutable/entry/app.Ci0fqF_i.js +0 -4
  350. package/web/app/immutable/entry/start.DzDtsQrC.js +0 -1
  351. package/web/app/immutable/nodes/0.BJcKF537.js +0 -1
  352. package/web/app/immutable/nodes/1.Dj_1C4wl.js +0 -1
  353. package/web/app/immutable/nodes/10.DTBkzFBQ.js +0 -41
  354. package/web/app/immutable/nodes/11.C9N9_Xb9.js +0 -1
  355. package/web/app/immutable/nodes/12.CqRfopX4.js +0 -1
  356. package/web/app/immutable/nodes/14.BDOAvRMB.js +0 -3
  357. package/web/app/immutable/nodes/15.BWtoiI44.js +0 -1
  358. package/web/app/immutable/nodes/2.B_fHdNW9.js +0 -13
  359. package/web/app/immutable/nodes/3.CzW2JK5A.js +0 -2
  360. package/web/app/immutable/nodes/4.DP65YvXF.js +0 -1
  361. package/web/app/immutable/nodes/5.ivE-5gZP.js +0 -5
  362. package/web/app/immutable/nodes/6.58wOdki0.js +0 -1
  363. package/web/app/immutable/nodes/7.9Khb1Buc.js +0 -1
  364. /package/web/app/immutable/assets/{17.Cznk2DRv.css → 18.Cznk2DRv.css} +0 -0
@@ -1,4 +1,4 @@
1
- var nt=t=>{throw TypeError(t)};var st=(t,r,e)=>r.has(t)||nt("Cannot "+e);var m=(t,r,e)=>(st(t,r,"read from private field"),e?e.call(t):r.get(t)),T=(t,r,e)=>r.has(t)?nt("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(t):r.set(t,e),C=(t,r,e,n)=>(st(t,r,"write to private field"),n?n.call(t,e):r.set(t,e),e);import{O as lt,bR as _t,l as wt,B as Tt,R as Ct,as as Ft,c5 as mt,T as Nt,b1 as kt,bt as ot,bf as R,cc as ht,K as St,M as xt,bV as it,ao as gt,bY as at,by as Mt,bH as B,aD as ct,cd as Ot,aE as ut,c2 as At}from"./DYhIMPy1.js";import{s as P}from"./Ck9ZyE1n.js";import{f as Et,k as Rt}from"./CaxyE6o_.js";const Dt=()=>performance.now(),$={tick:t=>requestAnimationFrame(t),now:()=>Dt(),tasks:new Set};function yt(){const t=$.now();$.tasks.forEach(r=>{r.c(t)||($.tasks.delete(r),r.f())}),$.tasks.size!==0&&$.tick(yt)}function K(t){let r;return $.tasks.size===0&&$.tick(yt),{promise:new Promise(e=>{$.tasks.add(r={c:t,f:e})}),abort(){$.tasks.delete(r)}}}function L(t,r){ht(()=>{t.dispatchEvent(new CustomEvent(r))})}function It(t){if(t==="float")return"cssFloat";if(t==="offset")return"cssOffset";if(t.startsWith("--"))return t;const r=t.split("-");return r.length===1?r[0]:r[0]+r.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}function ft(t){const r={},e=t.split(";");for(const n of e){const[o,s]=n.split(":");if(!o||s===void 0)break;const i=It(o.trim());r[i]=s.trim()}return r}const Pt=t=>t;let bt=null;function Xt(t){bt=t}function Zt(t,r,e){var n=bt??lt,o=n.nodes,s,i,a,c=null;o.a??={element:t,measure(){s=this.element.getBoundingClientRect()},apply(){if(a?.abort(),i=this.element.getBoundingClientRect(),s.left!==i.left||s.right!==i.right||s.top!==i.top||s.bottom!==i.bottom){const u=r()(this.element,{from:s,to:i},e?.());a=V(this.element,u,void 0,1,()=>{},()=>{a?.abort(),a=void 0})}},fix(){if(!t.getAnimations().length){var{position:u,width:f,height:l}=getComputedStyle(t);if(u!=="absolute"&&u!=="fixed"){var d=t.style;c={position:d.position,width:d.width,height:d.height,transform:d.transform},d.position="absolute",d.width=f,d.height=l;var p=t.getBoundingClientRect();if(s.left!==p.left||s.top!==p.top){var g=`translate(${s.left-p.left}px, ${s.top-p.top}px)`;d.transform=d.transform?`${d.transform} ${g}`:g}}}},unfix(){if(c){var u=t.style;u.position=c.position,u.width=c.width,u.height=c.height,u.transform=c.transform}}},o.a.element=t}function tr(t,r,e,n){var o=(t&St)!==0,s=(t&xt)!==0,i=o&&s,a=(t&Nt)!==0,c=i?"both":o?"in":"out",u,f=r.inert,l=r.style.overflow,d,p;function g(){return ht(()=>u??=e()(r,n?.()??{},{direction:c}))}var y={is_global:a,in(){if(r.inert=f,!o){p?.abort(),p?.reset?.();return}s||d?.abort(),d=V(r,g(),p,1,()=>{L(r,"introstart")},()=>{L(r,"introend"),d?.abort(),d=u=void 0,r.style.overflow=l})},out(F){if(!s){F?.(),u=void 0;return}r.inert=!0,p=V(r,g(),d,0,()=>{L(r,"outrostart")},()=>{L(r,"outroend"),F?.()})},stop:()=>{d?.abort(),p?.abort()}},b=lt;if((b.nodes.t??=[]).push(y),o&&_t){var h=a;if(!h){for(var v=b.parent;v&&(v.f&wt)!==0;)for(;(v=v.parent)&&(v.f&Tt)===0;);h=!v||(v.f&Ct)!==0}h&&Ft(()=>{mt(()=>y.in())})}}function V(t,r,e,n,o,s){var i=n===1,a=!1;if(kt(r)){var c;return ot(()=>{if(!a){var y=r({direction:i?"in":"out"});c=V(t,y,e,n,o,s)}}),{abort:()=>{a=!0,c?.abort()},deactivate:()=>c?.deactivate(),reset:()=>c?.reset(),t:()=>c?.t()??1-n}}if(e?.deactivate(),!r?.duration&&!r?.delay)return o(),s(),{abort:R,deactivate:R,reset:R,t:()=>n};const{delay:u=0,css:f,tick:l,easing:d=Pt}=r;var p,g=()=>1-n;return ot(()=>{if(!a){var y=[];if(i&&e===void 0&&(l&&l(0,1),f)){var b=ft(f(0,1));y.push(b,b)}p=t.animate(y,{duration:u,fill:"forwards"}),p.onfinish=()=>{p.cancel(),o();var h=e?.t()??1-n;e?.abort();var v=n-h,F=r.duration*Math.abs(v),X=[];if(F>0){var Z=!1;if(f)for(var tt=Math.ceil(F/16.666666666666668),z=0;z<=tt;z+=1){var rt=h+v*d(z/tt),et=ft(f(rt,1-rt));X.push(et),Z||=et.overflow==="hidden"}Z&&(t.style.overflow="hidden"),g=()=>{var j=p.currentTime;return h+v*d(j/F)},l&&K(()=>{if(p.playState!=="running")return!1;var j=g();return l(j,1-j),!0})}p=t.animate(X,{duration:F,fill:"forwards"}),p.onfinish=()=>{g=()=>n,l?.(n,1-n),s()}}}}),{abort:()=>{a=!0,p&&(p.cancel(),p.effect=null,p.onfinish=R)},deactivate:()=>{s=R},reset:()=>{n===0&&l?.(1,0)},t:()=>g()}}function J(t){return t}function M(t){const r=t-1;return r*r*r+1}function rr(t){return--t*t*t*t*t+1}function pt(t){return Object.prototype.toString.call(t)==="[object Date]"}function W(t,r){if(t===r||t!==t)return()=>t;const e=typeof t;if(e!==typeof r||Array.isArray(t)!==Array.isArray(r))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const n=r.map((o,s)=>W(t[s],o));return o=>n.map(s=>s(o))}if(e==="object"){if(!t||!r)throw new Error("Object cannot be null");if(pt(t)&&pt(r)){const s=t.getTime(),a=r.getTime()-s;return c=>new Date(s+c*a)}const n=Object.keys(r),o={};return n.forEach(s=>{o[s]=W(t[s],r[s])}),s=>{const i={};return n.forEach(a=>{i[a]=o[a](s)}),i}}if(e==="number"){const n=r-t;return o=>t+o*n}return()=>r}function jt(t,r={}){const e=Ot(t);let n,o=t;function s(i,a){if(o=i,t==null)return e.set(t=i),Promise.resolve();let c=n,u=!1,{delay:f=0,duration:l=400,easing:d=J,interpolate:p=W}={...r,...a};if(l===0)return c&&(c.abort(),c=null),e.set(t=o),Promise.resolve();const g=$.now()+f;let y;return n=K(b=>{if(b<g)return!0;u||(y=p(t,i),typeof l=="function"&&(l=l(t,i)),u=!0),c&&(c.abort(),c=null);const h=b-g;return h>l?(e.set(t=i),!1):(e.set(t=y(d(h/l))),!0)}),n.promise}return{set:s,update:(i,a)=>s(i(o,t),a),subscribe:e.subscribe}}var _,S,I,x;const Q=class Q{constructor(r,e={}){T(this,_);T(this,S);T(this,I);T(this,x,null);C(this,_,it(r)),C(this,S,it(r)),C(this,I,e),gt&&(at(m(this,_),"Tween.current"),at(m(this,S),"Tween.target"))}static of(r,e){const n=new Q(r(),e);return Mt(()=>{n.set(r())}),n}set(r,e){B(m(this,S),r);let{delay:n=0,duration:o=400,easing:s=J,interpolate:i=W}={...m(this,I),...e};if(o===0)return m(this,x)?.abort(),B(m(this,_),r),Promise.resolve();const a=$.now()+n;let c,u=!1,f=m(this,x);return C(this,x,K(l=>{if(l<a)return!0;if(!u){u=!0;const p=m(this,_).v;c=i(p,r),typeof o=="function"&&(o=o(p,r)),f?.abort(),f=null}const d=l-a;return d>o?(B(m(this,_),r),!1):(B(m(this,_),c(s(d/o))),!0)})),m(this,x).promise}get current(){return ct(m(this,_))}get target(){return ct(m(this,S))}set target(r){this.set(r)}};_=new WeakMap,S=new WeakMap,I=new WeakMap,x=new WeakMap;let G=Q;const k={fast:{settleMs:80,easing:M,exit:{duration:60,easing:M}},moderate:{settleMs:160,easing:M,exit:{duration:120,easing:M}},slow:{settleMs:240,easing:M,exit:{duration:160,easing:M}}},er={openMs:350,closeMs:280,reducedMs:200};var w,O,A;class nr{constructor(r,e="moderate"){T(this,w);T(this,O);T(this,A,Promise.resolve());C(this,O,k[e]),C(this,w,new G(r))}get current(){return m(this,w).current}get target(){return m(this,w).target}set target(r){this.set(r)}set(r,e){return mt(()=>{const n=e?.instant||P();return!n&&Object.is(r,m(this,w).target)?m(this,A):(m(this,w).set(m(this,w).current,{duration:0}),C(this,A,m(this,w).set(r,{duration:n?0:m(this,O).settleMs,easing:m(this,O).easing})),m(this,A))})}}w=new WeakMap,O=new WeakMap,A=new WeakMap;function Bt(t,r="moderate"){const e=jt(t);let n=t,o=Promise.resolve();const s=(i,a)=>{const c=a?.hard||P();return!c&&Object.is(i,n)||(n=i,e.set(ut(e),{duration:0}),o=e.set(i,{duration:c?0:k[r].settleMs,easing:k[r].easing})),o};return{subscribe:e.subscribe,set:s,update:(i,a)=>s(i(n,ut(e)),a)}}function sr(t,r="moderate"){const e=Bt(t,r);return{subscribe:e.subscribe,set:n=>e.set(n),update:n=>e.update(n)}}function or(t){return t.exit.duration+100}const Lt=t=>t;function Y(t){const r=t-1;return r*r*r+1}function vt(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}function H(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}function N(t,r,e){return Number.isNaN(r)?"":`${t}: ${e*r}px;`}function Vt(t,{delay:r=0,duration:e=400,easing:n=vt,amount:o=5,opacity:s=0}={}){const i=getComputedStyle(t),a=+i.opacity,c=i.filter==="none"?"":i.filter,u=a*(1-s),[f,l]=H(o);return{delay:r,duration:e,easing:n,css:(d,p)=>`opacity: ${a-u*p}; filter: ${c} blur(${p*f}${l});`}}function $t(t,{delay:r=0,duration:e=400,easing:n=Lt}={}){const o=+getComputedStyle(t).opacity;return{delay:r,duration:e,easing:n,css:s=>`opacity: ${s*o}`}}function Wt(t,{delay:r=0,duration:e=400,easing:n=Y,x:o=0,y:s=0,opacity:i=0}={}){const a=getComputedStyle(t),c=+a.opacity,u=a.transform==="none"?"":a.transform,f=c*(1-i),[l,d]=H(o),[p,g]=H(s);return{delay:r,duration:e,easing:n,css:(y,b)=>`
1
+ var nt=t=>{throw TypeError(t)};var st=(t,r,e)=>r.has(t)||nt("Cannot "+e);var m=(t,r,e)=>(st(t,r,"read from private field"),e?e.call(t):r.get(t)),T=(t,r,e)=>r.has(t)?nt("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(t):r.set(t,e),C=(t,r,e,n)=>(st(t,r,"write to private field"),n?n.call(t,e):r.set(t,e),e);import{O as lt,bR as _t,l as wt,B as Tt,R as Ct,as as Ft,c5 as mt,T as Nt,b1 as kt,bt as ot,bf as R,cc as ht,K as St,M as xt,bV as it,ao as gt,bY as at,by as Mt,bH as B,aD as ct,cd as Ot,aE as ut,c2 as At}from"./DYhIMPy1.js";import{p as P}from"./Bgw3O9rE.js";import{f as Et,k as Rt}from"./Cx31i8ng.js";const Dt=()=>performance.now(),$={tick:t=>requestAnimationFrame(t),now:()=>Dt(),tasks:new Set};function yt(){const t=$.now();$.tasks.forEach(r=>{r.c(t)||($.tasks.delete(r),r.f())}),$.tasks.size!==0&&$.tick(yt)}function K(t){let r;return $.tasks.size===0&&$.tick(yt),{promise:new Promise(e=>{$.tasks.add(r={c:t,f:e})}),abort(){$.tasks.delete(r)}}}function L(t,r){ht(()=>{t.dispatchEvent(new CustomEvent(r))})}function It(t){if(t==="float")return"cssFloat";if(t==="offset")return"cssOffset";if(t.startsWith("--"))return t;const r=t.split("-");return r.length===1?r[0]:r[0]+r.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}function ft(t){const r={},e=t.split(";");for(const n of e){const[o,s]=n.split(":");if(!o||s===void 0)break;const i=It(o.trim());r[i]=s.trim()}return r}const Pt=t=>t;let bt=null;function Xt(t){bt=t}function Zt(t,r,e){var n=bt??lt,o=n.nodes,s,i,a,c=null;o.a??={element:t,measure(){s=this.element.getBoundingClientRect()},apply(){if(a?.abort(),i=this.element.getBoundingClientRect(),s.left!==i.left||s.right!==i.right||s.top!==i.top||s.bottom!==i.bottom){const u=r()(this.element,{from:s,to:i},e?.());a=V(this.element,u,void 0,1,()=>{},()=>{a?.abort(),a=void 0})}},fix(){if(!t.getAnimations().length){var{position:u,width:f,height:l}=getComputedStyle(t);if(u!=="absolute"&&u!=="fixed"){var d=t.style;c={position:d.position,width:d.width,height:d.height,transform:d.transform},d.position="absolute",d.width=f,d.height=l;var p=t.getBoundingClientRect();if(s.left!==p.left||s.top!==p.top){var g=`translate(${s.left-p.left}px, ${s.top-p.top}px)`;d.transform=d.transform?`${d.transform} ${g}`:g}}}},unfix(){if(c){var u=t.style;u.position=c.position,u.width=c.width,u.height=c.height,u.transform=c.transform}}},o.a.element=t}function tr(t,r,e,n){var o=(t&St)!==0,s=(t&xt)!==0,i=o&&s,a=(t&Nt)!==0,c=i?"both":o?"in":"out",u,f=r.inert,l=r.style.overflow,d,p;function g(){return ht(()=>u??=e()(r,n?.()??{},{direction:c}))}var y={is_global:a,in(){if(r.inert=f,!o){p?.abort(),p?.reset?.();return}s||d?.abort(),d=V(r,g(),p,1,()=>{L(r,"introstart")},()=>{L(r,"introend"),d?.abort(),d=u=void 0,r.style.overflow=l})},out(F){if(!s){F?.(),u=void 0;return}r.inert=!0,p=V(r,g(),d,0,()=>{L(r,"outrostart")},()=>{L(r,"outroend"),F?.()})},stop:()=>{d?.abort(),p?.abort()}},b=lt;if((b.nodes.t??=[]).push(y),o&&_t){var h=a;if(!h){for(var v=b.parent;v&&(v.f&wt)!==0;)for(;(v=v.parent)&&(v.f&Tt)===0;);h=!v||(v.f&Ct)!==0}h&&Ft(()=>{mt(()=>y.in())})}}function V(t,r,e,n,o,s){var i=n===1,a=!1;if(kt(r)){var c;return ot(()=>{if(!a){var y=r({direction:i?"in":"out"});c=V(t,y,e,n,o,s)}}),{abort:()=>{a=!0,c?.abort()},deactivate:()=>c?.deactivate(),reset:()=>c?.reset(),t:()=>c?.t()??1-n}}if(e?.deactivate(),!r?.duration&&!r?.delay)return o(),s(),{abort:R,deactivate:R,reset:R,t:()=>n};const{delay:u=0,css:f,tick:l,easing:d=Pt}=r;var p,g=()=>1-n;return ot(()=>{if(!a){var y=[];if(i&&e===void 0&&(l&&l(0,1),f)){var b=ft(f(0,1));y.push(b,b)}p=t.animate(y,{duration:u,fill:"forwards"}),p.onfinish=()=>{p.cancel(),o();var h=e?.t()??1-n;e?.abort();var v=n-h,F=r.duration*Math.abs(v),X=[];if(F>0){var Z=!1;if(f)for(var tt=Math.ceil(F/16.666666666666668),z=0;z<=tt;z+=1){var rt=h+v*d(z/tt),et=ft(f(rt,1-rt));X.push(et),Z||=et.overflow==="hidden"}Z&&(t.style.overflow="hidden"),g=()=>{var j=p.currentTime;return h+v*d(j/F)},l&&K(()=>{if(p.playState!=="running")return!1;var j=g();return l(j,1-j),!0})}p=t.animate(X,{duration:F,fill:"forwards"}),p.onfinish=()=>{g=()=>n,l?.(n,1-n),s()}}}}),{abort:()=>{a=!0,p&&(p.cancel(),p.effect=null,p.onfinish=R)},deactivate:()=>{s=R},reset:()=>{n===0&&l?.(1,0)},t:()=>g()}}function J(t){return t}function M(t){const r=t-1;return r*r*r+1}function rr(t){return--t*t*t*t*t+1}function pt(t){return Object.prototype.toString.call(t)==="[object Date]"}function W(t,r){if(t===r||t!==t)return()=>t;const e=typeof t;if(e!==typeof r||Array.isArray(t)!==Array.isArray(r))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const n=r.map((o,s)=>W(t[s],o));return o=>n.map(s=>s(o))}if(e==="object"){if(!t||!r)throw new Error("Object cannot be null");if(pt(t)&&pt(r)){const s=t.getTime(),a=r.getTime()-s;return c=>new Date(s+c*a)}const n=Object.keys(r),o={};return n.forEach(s=>{o[s]=W(t[s],r[s])}),s=>{const i={};return n.forEach(a=>{i[a]=o[a](s)}),i}}if(e==="number"){const n=r-t;return o=>t+o*n}return()=>r}function jt(t,r={}){const e=Ot(t);let n,o=t;function s(i,a){if(o=i,t==null)return e.set(t=i),Promise.resolve();let c=n,u=!1,{delay:f=0,duration:l=400,easing:d=J,interpolate:p=W}={...r,...a};if(l===0)return c&&(c.abort(),c=null),e.set(t=o),Promise.resolve();const g=$.now()+f;let y;return n=K(b=>{if(b<g)return!0;u||(y=p(t,i),typeof l=="function"&&(l=l(t,i)),u=!0),c&&(c.abort(),c=null);const h=b-g;return h>l?(e.set(t=i),!1):(e.set(t=y(d(h/l))),!0)}),n.promise}return{set:s,update:(i,a)=>s(i(o,t),a),subscribe:e.subscribe}}var _,S,I,x;const Q=class Q{constructor(r,e={}){T(this,_);T(this,S);T(this,I);T(this,x,null);C(this,_,it(r)),C(this,S,it(r)),C(this,I,e),gt&&(at(m(this,_),"Tween.current"),at(m(this,S),"Tween.target"))}static of(r,e){const n=new Q(r(),e);return Mt(()=>{n.set(r())}),n}set(r,e){B(m(this,S),r);let{delay:n=0,duration:o=400,easing:s=J,interpolate:i=W}={...m(this,I),...e};if(o===0)return m(this,x)?.abort(),B(m(this,_),r),Promise.resolve();const a=$.now()+n;let c,u=!1,f=m(this,x);return C(this,x,K(l=>{if(l<a)return!0;if(!u){u=!0;const p=m(this,_).v;c=i(p,r),typeof o=="function"&&(o=o(p,r)),f?.abort(),f=null}const d=l-a;return d>o?(B(m(this,_),r),!1):(B(m(this,_),c(s(d/o))),!0)})),m(this,x).promise}get current(){return ct(m(this,_))}get target(){return ct(m(this,S))}set target(r){this.set(r)}};_=new WeakMap,S=new WeakMap,I=new WeakMap,x=new WeakMap;let G=Q;const k={fast:{settleMs:80,easing:M,exit:{duration:60,easing:M}},moderate:{settleMs:160,easing:M,exit:{duration:120,easing:M}},slow:{settleMs:240,easing:M,exit:{duration:160,easing:M}}},er={openMs:350,closeMs:280,reducedMs:200};var w,O,A;class nr{constructor(r,e="moderate"){T(this,w);T(this,O);T(this,A,Promise.resolve());C(this,O,k[e]),C(this,w,new G(r))}get current(){return m(this,w).current}get target(){return m(this,w).target}set target(r){this.set(r)}set(r,e){return mt(()=>{const n=e?.instant||P();return!n&&Object.is(r,m(this,w).target)?m(this,A):(m(this,w).set(m(this,w).current,{duration:0}),C(this,A,m(this,w).set(r,{duration:n?0:m(this,O).settleMs,easing:m(this,O).easing})),m(this,A))})}}w=new WeakMap,O=new WeakMap,A=new WeakMap;function Bt(t,r="moderate"){const e=jt(t);let n=t,o=Promise.resolve();const s=(i,a)=>{const c=a?.hard||P();return!c&&Object.is(i,n)||(n=i,e.set(ut(e),{duration:0}),o=e.set(i,{duration:c?0:k[r].settleMs,easing:k[r].easing})),o};return{subscribe:e.subscribe,set:s,update:(i,a)=>s(i(n,ut(e)),a)}}function sr(t,r="moderate"){const e=Bt(t,r);return{subscribe:e.subscribe,set:n=>e.set(n),update:n=>e.update(n)}}function or(t){return t.exit.duration+100}const Lt=t=>t;function Y(t){const r=t-1;return r*r*r+1}function vt(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}function H(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}function N(t,r,e){return Number.isNaN(r)?"":`${t}: ${e*r}px;`}function Vt(t,{delay:r=0,duration:e=400,easing:n=vt,amount:o=5,opacity:s=0}={}){const i=getComputedStyle(t),a=+i.opacity,c=i.filter==="none"?"":i.filter,u=a*(1-s),[f,l]=H(o);return{delay:r,duration:e,easing:n,css:(d,p)=>`opacity: ${a-u*p}; filter: ${c} blur(${p*f}${l});`}}function $t(t,{delay:r=0,duration:e=400,easing:n=Lt}={}){const o=+getComputedStyle(t).opacity;return{delay:r,duration:e,easing:n,css:s=>`opacity: ${s*o}`}}function Wt(t,{delay:r=0,duration:e=400,easing:n=Y,x:o=0,y:s=0,opacity:i=0}={}){const a=getComputedStyle(t),c=+a.opacity,u=a.transform==="none"?"":a.transform,f=c*(1-i),[l,d]=H(o),[p,g]=H(s);return{delay:r,duration:e,easing:n,css:(y,b)=>`
2
2
  transform: ${u} translate(${(1-y)*l}${d}, ${(1-y)*p}${g});
3
3
  opacity: ${c-f*b}`}}var U=!1;function qt(t,{delay:r=0,duration:e=400,easing:n=Y,axis:o="y"}={}){const s=getComputedStyle(t);gt&&!U&&/(contents|inline|table)/.test(s.display)&&(U=!0,Promise.resolve().then(()=>U=!1),At(s.display));const i=+s.opacity,a=o==="y"?"height":"width",c=parseFloat(s[a]),u=o==="y"?["top","bottom"]:["left","right"],f=u.map(h=>`${h[0].toUpperCase()}${h.slice(1)}`),l=parseFloat(s[`padding${f[0]}`]),d=parseFloat(s[`padding${f[1]}`]),p=parseFloat(s[`margin${f[0]}`]),g=parseFloat(s[`margin${f[1]}`]),y=parseFloat(s[`border${f[0]}Width`]),b=parseFloat(s[`border${f[1]}Width`]);return{delay:r,duration:e,easing:n,css:h=>`overflow: hidden;opacity: ${Math.min(h*20,1)*i};`+N(a,c,h)+N(`padding-${u[0]}`,l,h)+N(`padding-${u[1]}`,d,h)+N(`margin-${u[0]}`,p,h)+N(`margin-${u[1]}`,g,h)+N(`border-${u[0]}-width`,y,h)+N(`border-${u[1]}-width`,b,h)+`min-${a}: 0`}}function zt(t,{delay:r=0,duration:e=400,easing:n=Y,start:o=0,opacity:s=0}={}){const i=getComputedStyle(t),a=+i.opacity,c=i.transform==="none"?"":i.transform,u=1-o,f=a*(1-s);return{delay:r,duration:e,easing:n,css:(l,d)=>`
4
4
  transform: ${c} scale(${1-u*d});
@@ -1,2 +1,2 @@
1
- import{O as G,g as j,ao as Q,al as V,aw as z,p as X,a as J}from"./B0biUQQF.js";import{Iz as l,nw as h,nx as R,II as N,be as T,Y,nj as _,rb as H,rx as $,k2 as Z,rv as C,I_ as O,qS as ee,fE as q,rc as P,_ as te,bc as ne,g as se}from"./A0r9TbR7.js";import{z as x,aB as oe,v as ie}from"./C8dU7SM3.js";import{g as F}from"./DypB-Dwi.js";const re=["[WORKSPACE EVENTS]","[TASK WAKE]","[AGENT MESSAGE]"];function ae(e){const t=e.metadata;if(t&&typeof t=="object"){if(t.type==="question_answers")return!1;if(!G(t))return!0}const n=j(e);return re.some(s=>n.startsWith(s))}const K=1440*60*1e3;function ce(e){let t=null;for(const n of e){if(ae({id:n.id,timestamp:n.createdAt,metadata:n.metadata,contentBlocks:[{type:"text",text:n.preview.trimStart()}]}))continue;const s=Date.parse(n.createdAt);Number.isFinite(s)&&(t===null||s>t)&&(t=s)}return t}const de=50,le=20;function W(e,t){return e===null||t!==null&&t>e?t:e}async function Ce(e,t){let n,s=null;for(let o=0;o<le;o++){const i=await e({limit:de,nextToken:n});if(!i.ok)return null;const a=i.items;s===null&&a.length>0&&(s=a[a.length-1].id);const d=t?.newestId!=null?a.findIndex(c=>c.id===t.newestId):-1,r=ce(d>=0?a.slice(d+1):a);if(d>=0)return{latest:W(r,t?.latest??null),newestId:s};if(r!==null)return{latest:W(r,t?.latest??null),newestId:s};if(typeof i.nextToken!="string")return{latest:null,newestId:s};n=i.nextToken}return{latest:t?.latest??null,newestId:s}}function ue(e,t){return e!=null&&e<=t&&e>t-K}function ge(e,t){return e!=null&&Number.isFinite(e)&&e>0&&e<=t-K}function fe(e,t){const{workspaceId:n,agentId:s,authority:o,nativePairId:i,evidence:a}=e;if(!n||!s||!o||o!==t)return null;const d=JSON.stringify([n,s]);if(i!==d||a?.id!==d)return null;const r=a.clips.find(c=>c.status==="recording");return!r||r.discarding||!Number.isFinite(r.startedAt)||!Number.isFinite(r.pausedMs??0)||r.pausedAt!=null&&!Number.isFinite(r.pausedAt)?null:{workspaceId:n,agentId:s,clipId:r.id,startedAt:r.startedAt,pausedAt:r.pausedAt??null,pausedMs:r.pausedMs??0}}function We(e,t){return t!==void 0&&e!==t?"ignore":e?"stop":"start"}const De=l.createSelector(e=>{const t=e.dockConversation,n=t.workspaceId&&t.agentId?JSON.stringify([t.workspaceId,t.agentId]):null;return fe({workspaceId:t.workspaceId,agentId:t.agentId,authority:t.authority,nativePairId:t.nativeSpeech.pairId,evidence:n?h(t.evidence,n):null},F(e))});l.createSelector(e=>e.hud.active);l.createSelector(e=>e.hud.feed);l.createSelector(e=>e.hud.usage);l.createSelector(e=>e.hud.usageError);const Ee=l.createSelector(e=>e.hud.rateHistory),Ne=l.createSelector(e=>R(e.workspace.workspaces)),He=l.createSelector(e=>{const t=e.hud.usage?.totals;return t?N(t):0}),qe=l.createSelector(e=>e.hud.burnRatePerMin),Pe=l.createSelector(e=>e.hud.burnTrend),xe=l.createSelector(e=>{const{health:t,stats:n,lastUpdated:s,hostLocality:o}=e.daemonHealth,i=n?.hostname;return{online:t!=="down",uptimeSeconds:typeof n?.uptimeSeconds=="number"?n.uptimeSeconds:null,version:n?.version??null,fetchedAtMs:s?Date.parse(s):null,remoteHostname:o==="remote"&&i?i.split(".",1)[0]??i:null}}),Fe=l.createSelector(e=>e.hud.gridFilter);l.createSelector(e=>e.hud.attentionByWorkspaceId);const Ke=l.createSelector((e,t)=>{const n=e.hud?.questionsByAgentId?.[t];if(!n)return!1;const s=e.agentSessions?.byAgentId[t]?.metadata??{};return!x(s,n.messageId)}),Le=l.createSelector(e=>e.hud.takeoverRequestWorkspaceId);function pe(e,t){return t[String(e.id)]??e.displayStatus}const S=l.createSelector(e=>{const t=e.hud.displayStatusByWorkspaceId;return R(e.workspace.workspaces).filter(n=>n.status!==T.Archived&&n.status!==T.Retired&&n.status!==T.Deleted).map(n=>{const s=pe(n,t);return s&&s!==n.displayStatus?{...n,displayStatus:s}:n})});function I(e){const t=e.agentSummary;return!t||!Array.isArray(t.agents)?[]:t.agents.filter(n=>!!n&&typeof n=="object"&&typeof n.id=="string"&&n.status!=="deleted"&&!ie(n.id))}const Ue=l.createSelector(e=>{const t=Object.fromEntries(Y.map(n=>[n,0]));for(const n of S.select(e))for(const s of I(n))t[y(e,s).bucket]+=1;return t}),Ge=l.createSelector(e=>{const t={idle:0,unread:0,progress:0,attention:0,waiting:0,prOpen:0,prMerged:0,failed:0,completed:0,total:0};for(const n of B.select(e))switch(t.total+=1,n.isUnread&&(t.unread+=1),n.isWaiting&&(t.waiting+=1),n.stateKey){case"wait":case"blocked":t.attention+=1;break;case"failed":t.failed+=1;break;case"in_progress":t.progress+=1;break;case"complete":t.completed+=1;break;case"pr_open":case"pr_ready":case"pr_queued":t.prOpen+=1;break;case"pr_merged":t.prMerged+=1;break;default:t.idle+=1}return t}),ke=l.createSelector(e=>{const t={};for(const n of S.select(e))for(const s of I(n))typeof s.name=="string"&&s.name.length>0&&(t[s.id]=s.name);return t});function D(e){if(!e.sinceTs)return 0;const t=Date.parse(e.sinceTs);return Number.isFinite(t)?t:0}const je=l.createSelector(e=>{const t=e.hud.attentionByWorkspaceId,n=e.hud.questionsByAgentId,s=[];for(const o of S.select(e)){const i=String(o.id);let a=!1;for(const r of b(o,e)){const{bucket:c,attentionKind:u,hasQuestion:g}=r;if(c!=="needs-attention"&&c!=="failed"||!r.topLevel||r.isBackground||A(e,r.id))continue;const k=g?n[r.id]:void 0,f=u?_(e.agentSessions?.byAgentId[r.id])?.reason:void 0,p=k?"question":u??void 0;s.push({workspaceId:i,workspaceTitle:o.title,kind:c==="needs-attention"?"agent_waiting":"agent_failed",...c==="needs-attention"&&p?{signal:p}:{},agentName:r.name,message:k?.question??f??null,sinceTs:r.lastActivityTs}),a=!0}const d=t[i];d&&H(d.attention)&&(s.push({workspaceId:i,workspaceTitle:o.title,kind:"workspace_attention",attention:d.attention,message:null,sinceTs:d.raisedAtTs}),a=!0),L.has(w(o))&&!a&&s.push({workspaceId:i,workspaceTitle:o.title,kind:"workspace_attention",message:null,sinceTs:null})}return s.sort((o,i)=>D(i)-D(o))}),Qe=l.createSelector(e=>{const t=ke.select(e);return e.hud.feed.map(n=>({...n,workspaceTitle:h(e.workspace.workspaces,n.source)?.title??null,resolvedAgentName:n.agentName??(n.agentId?t[n.agentId]??null:null)}))}),Se={total:0,completed:0,inProgress:0};function w(e){const t=$(e.displayStatus)?e.displayStatus:"not_started";return Z(t)??"not_started"}const L=new Set(["wait","blocked","failed"]);function Ae(e,t,n){if(t==="failed"){const o=n.find(a=>a.bucket==="failed"&&!A(e,a.id)),i=o?e.agentSessions?.byAgentId[o.id]?.stopReason:null;return{kind:"failed",text:typeof i=="string"&&i.length>0?i:""}}if(t!=="wait"&&t!=="blocked")return null;const s=n.filter(o=>o.topLevel&&!o.isBackground&&!A(e,o.id));for(const o of s){if(!o.hasQuestion)continue;const i=e.hud.questionsByAgentId[o.id];if(i?.question)return{kind:"question",text:i.question}}for(const o of["blocker","discussion"])for(const i of s){if(i.attentionKind!==o)continue;const a=e.agentSessions?.byAgentId[i.id],d=_(a)?.reason;if(d)return{kind:o,text:d}}return{kind:"pending",text:""}}const m=new Set(["running","needs-attention","failed"]);function E(e){const t=typeof e.lastActivity=="string"?Date.parse(e.lastActivity):NaN;return Number.isFinite(t)?t:-1/0}function he(e){const t=n=>{const s=e.get(n.id)?.bucket;return s!==void 0&&m.has(s)?0:1};return(n,s)=>{const o=n.specialist==="spec-writer",i=s.specialist==="spec-writer";if(o!==i)return o?-1:1;const a=t(n)-t(s);if(a!==0)return a;const d=E(n),r=E(s);return d!==r?r-d:n.id<s.id?-1:n.id>s.id?1:0}}function me(e,t){const n=new Set(e.map(r=>r.id)),s=new Map,o=[];for(const r of e){const c=typeof r.parentAgentId=="string"&&r.parentAgentId!==r.id&&n.has(r.parentAgentId)?r.parentAgentId:null;if(c){const u=s.get(c)??[];u.push(r),s.set(c,u)}else o.push(r)}o.sort(t);for(const r of s.values())r.sort(t);const i=[],a=new Set,d=(r,c,u)=>{if(!a.has(r.id)){a.add(r.id),i.push({info:r,depth:c,parentAgentId:u});for(const g of s.get(r.id)??[])d(g,c+1,r.id)}};for(const r of o)d(r,0,null);for(const r of e)d(r,0,null);return i}function y(e,t){const n=e.agentSessions?.byAgentId[t.id],s=n?.metadata??{},o=n?_(n)?.kind??null:null,i=n?Q.select(e,t.id)||typeof n.status=="string"&&C(n.status):C(t.status),a=n?O(typeof n.status=="string"?n.status:t.status):null,d=!!n&&a!=="failed"&&a!=="done"&&(n.isWaitingForOtherAgents===!0||Array.isArray(n.waitingForAgentIds)&&n.waitingForAgentIds.length>0||Array.isArray(n.waitingOnHooks)&&n.waitingOnHooks.length>0||Array.isArray(n.waitingOnPrMonitors)&&n.waitingOnPrMonitors.length>0||Array.isArray(n.waitingOnScriptMonitors)&&n.waitingOnScriptMonitors.length>0),r=!!n&&(n.turnInFlight===!0||n.liveTurnOpen===!0);let c;n?d&&!r&&n.isStreaming!==!0&&n.isProcessing!==!0?c="idle":V.select(e,t.id)?c="running":i?c="idle":c=O(typeof n.status=="string"?n.status:t.status):c=t.isResponding===!0||t.isStreaming===!0?"running":O(t.status);const u=e.hud.questionsByAgentId[t.id],g=c!=="failed"&&!!u&&!x(s,u.messageId);return{bucket:c==="failed"?"failed":o!==null||g?"needs-attention":c,attentionKind:o,hasQuestion:g,isRunning:c==="running"}}function U(e,t){const n=o=>typeof o=="string"&&o!==e.id?o:null,s=o=>({isBackground:o?.isBackground,createdByAgentId:n(o?.createdByAgentId)});return{parentAgentId:n(e.parentAgentId)??n(t?.parentAgentId),isBackground:e.isBackground??t?.isBackground,metadata:s(t?.metadata),agentMetadata:s(t?.agentMetadata)}}function A(e,t){return e.agentSessions?.byAgentId[t]?.notificationsMuted===!0}function ye(e){if(!e)return null;switch(e.kind){case"attention":return e.attention.reason??null;case"live-tool":case"last-tool":{const t=J(e.toolUse.name,e.toolUse.input||{});return t.hidden?null:[t.verb,t.subject,t.path].filter(Boolean).join(" ").trim()||null}default:{const t=e.text||"";return t?t.includes(`
1
+ import{O as G,g as j,ao as Q,al as V,aw as z,p as X,a as J}from"./asQ_ruFQ.js";import{Iz as l,nw as h,nx as R,II as N,be as T,Y,nj as _,rb as H,rx as $,k2 as Z,rv as C,I_ as O,qS as ee,fE as q,rc as P,_ as te,bc as ne,g as se}from"./BfbZn9QX.js";import{z as x,aB as oe,v as ie}from"./A8_BT67P.js";import{g as F}from"./DypB-Dwi.js";const re=["[WORKSPACE EVENTS]","[TASK WAKE]","[AGENT MESSAGE]"];function ae(e){const t=e.metadata;if(t&&typeof t=="object"){if(t.type==="question_answers")return!1;if(!G(t))return!0}const n=j(e);return re.some(s=>n.startsWith(s))}const K=1440*60*1e3;function ce(e){let t=null;for(const n of e){if(ae({id:n.id,timestamp:n.createdAt,metadata:n.metadata,contentBlocks:[{type:"text",text:n.preview.trimStart()}]}))continue;const s=Date.parse(n.createdAt);Number.isFinite(s)&&(t===null||s>t)&&(t=s)}return t}const de=50,le=20;function W(e,t){return e===null||t!==null&&t>e?t:e}async function Ce(e,t){let n,s=null;for(let o=0;o<le;o++){const i=await e({limit:de,nextToken:n});if(!i.ok)return null;const a=i.items;s===null&&a.length>0&&(s=a[a.length-1].id);const d=t?.newestId!=null?a.findIndex(c=>c.id===t.newestId):-1,r=ce(d>=0?a.slice(d+1):a);if(d>=0)return{latest:W(r,t?.latest??null),newestId:s};if(r!==null)return{latest:W(r,t?.latest??null),newestId:s};if(typeof i.nextToken!="string")return{latest:null,newestId:s};n=i.nextToken}return{latest:t?.latest??null,newestId:s}}function ue(e,t){return e!=null&&e<=t&&e>t-K}function ge(e,t){return e!=null&&Number.isFinite(e)&&e>0&&e<=t-K}function fe(e,t){const{workspaceId:n,agentId:s,authority:o,nativePairId:i,evidence:a}=e;if(!n||!s||!o||o!==t)return null;const d=JSON.stringify([n,s]);if(i!==d||a?.id!==d)return null;const r=a.clips.find(c=>c.status==="recording");return!r||r.discarding||!Number.isFinite(r.startedAt)||!Number.isFinite(r.pausedMs??0)||r.pausedAt!=null&&!Number.isFinite(r.pausedAt)?null:{workspaceId:n,agentId:s,clipId:r.id,startedAt:r.startedAt,pausedAt:r.pausedAt??null,pausedMs:r.pausedMs??0}}function We(e,t){return t!==void 0&&e!==t?"ignore":e?"stop":"start"}const De=l.createSelector(e=>{const t=e.dockConversation,n=t.workspaceId&&t.agentId?JSON.stringify([t.workspaceId,t.agentId]):null;return fe({workspaceId:t.workspaceId,agentId:t.agentId,authority:t.authority,nativePairId:t.nativeSpeech.pairId,evidence:n?h(t.evidence,n):null},F(e))});l.createSelector(e=>e.hud.active);l.createSelector(e=>e.hud.feed);l.createSelector(e=>e.hud.usage);l.createSelector(e=>e.hud.usageError);const Ee=l.createSelector(e=>e.hud.rateHistory),Ne=l.createSelector(e=>R(e.workspace.workspaces)),He=l.createSelector(e=>{const t=e.hud.usage?.totals;return t?N(t):0}),qe=l.createSelector(e=>e.hud.burnRatePerMin),Pe=l.createSelector(e=>e.hud.burnTrend),xe=l.createSelector(e=>{const{health:t,stats:n,lastUpdated:s,hostLocality:o}=e.daemonHealth,i=n?.hostname;return{online:t!=="down",uptimeSeconds:typeof n?.uptimeSeconds=="number"?n.uptimeSeconds:null,version:n?.version??null,fetchedAtMs:s?Date.parse(s):null,remoteHostname:o==="remote"&&i?i.split(".",1)[0]??i:null}}),Fe=l.createSelector(e=>e.hud.gridFilter);l.createSelector(e=>e.hud.attentionByWorkspaceId);const Ke=l.createSelector((e,t)=>{const n=e.hud?.questionsByAgentId?.[t];if(!n)return!1;const s=e.agentSessions?.byAgentId[t]?.metadata??{};return!x(s,n.messageId)}),Le=l.createSelector(e=>e.hud.takeoverRequestWorkspaceId);function pe(e,t){return t[String(e.id)]??e.displayStatus}const S=l.createSelector(e=>{const t=e.hud.displayStatusByWorkspaceId;return R(e.workspace.workspaces).filter(n=>n.status!==T.Archived&&n.status!==T.Retired&&n.status!==T.Deleted).map(n=>{const s=pe(n,t);return s&&s!==n.displayStatus?{...n,displayStatus:s}:n})});function I(e){const t=e.agentSummary;return!t||!Array.isArray(t.agents)?[]:t.agents.filter(n=>!!n&&typeof n=="object"&&typeof n.id=="string"&&n.status!=="deleted"&&!ie(n.id))}const Ue=l.createSelector(e=>{const t=Object.fromEntries(Y.map(n=>[n,0]));for(const n of S.select(e))for(const s of I(n))t[y(e,s).bucket]+=1;return t}),Ge=l.createSelector(e=>{const t={idle:0,unread:0,progress:0,attention:0,waiting:0,prOpen:0,prMerged:0,failed:0,completed:0,total:0};for(const n of B.select(e))switch(t.total+=1,n.isUnread&&(t.unread+=1),n.isWaiting&&(t.waiting+=1),n.stateKey){case"wait":case"blocked":t.attention+=1;break;case"failed":t.failed+=1;break;case"in_progress":t.progress+=1;break;case"complete":t.completed+=1;break;case"pr_open":case"pr_ready":case"pr_queued":t.prOpen+=1;break;case"pr_merged":t.prMerged+=1;break;default:t.idle+=1}return t}),ke=l.createSelector(e=>{const t={};for(const n of S.select(e))for(const s of I(n))typeof s.name=="string"&&s.name.length>0&&(t[s.id]=s.name);return t});function D(e){if(!e.sinceTs)return 0;const t=Date.parse(e.sinceTs);return Number.isFinite(t)?t:0}const je=l.createSelector(e=>{const t=e.hud.attentionByWorkspaceId,n=e.hud.questionsByAgentId,s=[];for(const o of S.select(e)){const i=String(o.id);let a=!1;for(const r of b(o,e)){const{bucket:c,attentionKind:u,hasQuestion:g}=r;if(c!=="needs-attention"&&c!=="failed"||!r.topLevel||r.isBackground||A(e,r.id))continue;const k=g?n[r.id]:void 0,f=u?_(e.agentSessions?.byAgentId[r.id])?.reason:void 0,p=k?"question":u??void 0;s.push({workspaceId:i,workspaceTitle:o.title,kind:c==="needs-attention"?"agent_waiting":"agent_failed",...c==="needs-attention"&&p?{signal:p}:{},agentName:r.name,message:k?.question??f??null,sinceTs:r.lastActivityTs}),a=!0}const d=t[i];d&&H(d.attention)&&(s.push({workspaceId:i,workspaceTitle:o.title,kind:"workspace_attention",attention:d.attention,message:null,sinceTs:d.raisedAtTs}),a=!0),L.has(w(o))&&!a&&s.push({workspaceId:i,workspaceTitle:o.title,kind:"workspace_attention",message:null,sinceTs:null})}return s.sort((o,i)=>D(i)-D(o))}),Qe=l.createSelector(e=>{const t=ke.select(e);return e.hud.feed.map(n=>({...n,workspaceTitle:h(e.workspace.workspaces,n.source)?.title??null,resolvedAgentName:n.agentName??(n.agentId?t[n.agentId]??null:null)}))}),Se={total:0,completed:0,inProgress:0};function w(e){const t=$(e.displayStatus)?e.displayStatus:"not_started";return Z(t)??"not_started"}const L=new Set(["wait","blocked","failed"]);function Ae(e,t,n){if(t==="failed"){const o=n.find(a=>a.bucket==="failed"&&!A(e,a.id)),i=o?e.agentSessions?.byAgentId[o.id]?.stopReason:null;return{kind:"failed",text:typeof i=="string"&&i.length>0?i:""}}if(t!=="wait"&&t!=="blocked")return null;const s=n.filter(o=>o.topLevel&&!o.isBackground&&!A(e,o.id));for(const o of s){if(!o.hasQuestion)continue;const i=e.hud.questionsByAgentId[o.id];if(i?.question)return{kind:"question",text:i.question}}for(const o of["blocker","discussion"])for(const i of s){if(i.attentionKind!==o)continue;const a=e.agentSessions?.byAgentId[i.id],d=_(a)?.reason;if(d)return{kind:o,text:d}}return{kind:"pending",text:""}}const m=new Set(["running","needs-attention","failed"]);function E(e){const t=typeof e.lastActivity=="string"?Date.parse(e.lastActivity):NaN;return Number.isFinite(t)?t:-1/0}function he(e){const t=n=>{const s=e.get(n.id)?.bucket;return s!==void 0&&m.has(s)?0:1};return(n,s)=>{const o=n.specialist==="spec-writer",i=s.specialist==="spec-writer";if(o!==i)return o?-1:1;const a=t(n)-t(s);if(a!==0)return a;const d=E(n),r=E(s);return d!==r?r-d:n.id<s.id?-1:n.id>s.id?1:0}}function me(e,t){const n=new Set(e.map(r=>r.id)),s=new Map,o=[];for(const r of e){const c=typeof r.parentAgentId=="string"&&r.parentAgentId!==r.id&&n.has(r.parentAgentId)?r.parentAgentId:null;if(c){const u=s.get(c)??[];u.push(r),s.set(c,u)}else o.push(r)}o.sort(t);for(const r of s.values())r.sort(t);const i=[],a=new Set,d=(r,c,u)=>{if(!a.has(r.id)){a.add(r.id),i.push({info:r,depth:c,parentAgentId:u});for(const g of s.get(r.id)??[])d(g,c+1,r.id)}};for(const r of o)d(r,0,null);for(const r of e)d(r,0,null);return i}function y(e,t){const n=e.agentSessions?.byAgentId[t.id],s=n?.metadata??{},o=n?_(n)?.kind??null:null,i=n?Q.select(e,t.id)||typeof n.status=="string"&&C(n.status):C(t.status),a=n?O(typeof n.status=="string"?n.status:t.status):null,d=!!n&&a!=="failed"&&a!=="done"&&(n.isWaitingForOtherAgents===!0||Array.isArray(n.waitingForAgentIds)&&n.waitingForAgentIds.length>0||Array.isArray(n.waitingOnHooks)&&n.waitingOnHooks.length>0||Array.isArray(n.waitingOnPrMonitors)&&n.waitingOnPrMonitors.length>0||Array.isArray(n.waitingOnScriptMonitors)&&n.waitingOnScriptMonitors.length>0),r=!!n&&(n.turnInFlight===!0||n.liveTurnOpen===!0);let c;n?d&&!r&&n.isStreaming!==!0&&n.isProcessing!==!0?c="idle":V.select(e,t.id)?c="running":i?c="idle":c=O(typeof n.status=="string"?n.status:t.status):c=t.isResponding===!0||t.isStreaming===!0?"running":O(t.status);const u=e.hud.questionsByAgentId[t.id],g=c!=="failed"&&!!u&&!x(s,u.messageId);return{bucket:c==="failed"?"failed":o!==null||g?"needs-attention":c,attentionKind:o,hasQuestion:g,isRunning:c==="running"}}function U(e,t){const n=o=>typeof o=="string"&&o!==e.id?o:null,s=o=>({isBackground:o?.isBackground,createdByAgentId:n(o?.createdByAgentId)});return{parentAgentId:n(e.parentAgentId)??n(t?.parentAgentId),isBackground:e.isBackground??t?.isBackground,metadata:s(t?.metadata),agentMetadata:s(t?.agentMetadata)}}function A(e,t){return e.agentSessions?.byAgentId[t]?.notificationsMuted===!0}function ye(e){if(!e)return null;switch(e.kind){case"attention":return e.attention.reason??null;case"live-tool":case"last-tool":{const t=J(e.toolUse.name,e.toolUse.input||{});return t.hidden?null:[t.verb,t.subject,t.path].filter(Boolean).join(" ").trim()||null}default:{const t=e.text||"";return t?t.includes(`
2
2
  `)?X(t)||null:t:null}}}function b(e,t){const n=I(e),s=new Map(n.map(i=>[i.id,y(t,i)]));return me(n,he(s)).map(({info:i,depth:a,parentAgentId:d})=>{const r=t.agentSessions?.byAgentId[i.id],c=U(i,r),{bucket:u,attentionKind:g,hasQuestion:k}=s.get(i.id)??y(t,i),f=Array.isArray(r?.waitingForAgentIds)?r.waitingForAgentIds.filter(p=>typeof p=="string"):[];return{id:i.id,name:i.name,bucket:u,lastActivityTs:i.lastActivity??null,line:ye(z.select(t,i.id)),parentAgentId:d,depth:a,treePrefix:"",topLevel:q(c)==="topLevel",isBackground:ee(c),attentionKind:g,hasQuestion:k,isWaitingForAgents:r?.isWaitingForOtherAgents===!0||f.length>0||Array.isArray(r?.waitingOnHooks)&&r.waitingOnHooks.length>0||Array.isArray(r?.waitingOnPrMonitors)&&r.waitingOnPrMonitors.length>0||Array.isArray(r?.waitingOnScriptMonitors)&&r.waitingOnScriptMonitors.length>0,waitingForAgentIds:f}})}function Ie(e){const t=new Set;for(const o of e)for(const i of o.waitingForAgentIds)t.add(i);const n=o=>m.has(o.bucket)||o.isWaitingForAgents||t.has(o.id);return e.filter((o,i)=>{if(n(o))return!0;for(let a=i+1;a<e.length&&!(e[a].depth<=o.depth);a++)if(n(e[a]))return!0;return!1}).map((o,i,a)=>{if(o.depth===0)return{...o,treePrefix:""};let d=!0;for(let r=i+1;r<a.length&&!(a[r].depth<o.depth);r++)if(a[r].depth===o.depth){d=!1;break}return{...o,treePrefix:(o.depth>=2?"│ ":"")+(d?"└─":"├─")}})}const B=l.createSelector(e=>{const t=e.hud.attentionByWorkspaceId,n=oe.select(e);return S.select(e).map(s=>{const o=String(s.id),i=n.indexOf(o),a=t[o]?.attention??(typeof s.attention=="string"&&P(s.attention)?s.attention:null),d=b(s,e),r=w(s),c=e.tokenUsage?.byWorkspaceId[o]?.totals,u=e.workspaceTasks?.byWorkspaceId[o]?.stats,g=typeof s.statusMessage=="string"&&s.statusMessage.trim().length>0?s.statusMessage:null;return{workspaceId:o,title:s.title,repoRef:s.repositoryName?`${s.repositoryOwner?`${s.repositoryOwner}/`:""}${s.repositoryName}`:s.branch,stateKey:r,attention:a,isUnread:a===te,isWaiting:s.waiting===!0,statusMessage:g,attentionSnippet:Ae(e,r,d),prNumber:typeof s.prNumber=="number"?s.prNumber:null,keySlot:i===-1?null:i,tasks:u?{total:u.total,completed:u.completed,inProgress:u.inProgress}:Se,tokens:c?N(c):0,agents:Ie(d)}})}),M=4;function we(e,t,n){const s=e.agentSessions?.byAgentId[n.id];return!s||String(s.workspaceId)!==t||s.pendingDeleteAt||q(U(n,s))!=="topLevel"?!1:!A(e,n.id)}const be=l.createSelector(e=>{const t={},n=e.hud.attentionByWorkspaceId;for(const s of S.select(e)){const o=String(s.id),i=new Map,a=(f,p)=>{const v=i.get(f)??[];v.includes(p)||v.push(p),i.set(f,v)},r=I(s).filter(f=>we(e,o,f));for(const f of r){const p=y(e,f);p.bucket==="failed"?a("failed",f.name):p.hasQuestion?a("question",f.name):p.attentionKind==="blocker"?a("blocker",f.name):p.attentionKind==="discussion"&&a("discussion",f.name),p.isRunning&&a("running",f.name)}const c=w(s);c==="failed"&&!i.has("failed")&&i.set("failed",[]),c==="blocked"&&!i.has("blocker")&&i.set("blocker",[]),c==="wait"&&!i.has("question")&&!i.has("blocker")&&!i.has("discussion")&&i.set("needs_input",[]);const u=n[o]?.attention??(typeof s.attention=="string"&&P(s.attention)?s.attention:null);u==="review_required"&&i.set("review",[]),u==="unread"&&i.set("unread",[]),s.activity==="agent_running"&&!i.has("running")&&i.set("running",[]);const g=ne.flatMap(f=>{const p=i.get(f);return p?[{category:f,count:Math.max(1,p.length),agentNames:p}]:[]});if(g.length===0)continue;const k=g.length>M;t[o]={agentCount:r.length,categories:g,visibleCategories:k?g.slice(0,M-1):g,hiddenCategoryCount:k?g.length-(M-1):0}}return t});l.createSelector(e=>{const t=e.hud.attentionByWorkspaceId;let n=0;for(const s of S.select(e)){let o=!1;for(const d of b(s,e))d.topLevel&&!d.isBackground&&!A(e,d.id)&&(d.bucket==="failed"||d.attentionKind!==null||d.hasQuestion)&&(n+=1,o=!0);const i=t[String(s.id)],a=i!==void 0&&H(i.attention);a&&(n+=1),L.has(w(s))&&!o&&!a&&(n+=1)}return n});function ve(e,t,n,s){const o=s.slice().sort((r,c)=>c.createdAt-r.createdAt);for(const r of o){const u=e.agentSessions?.byAgentId[r.agentId]?.metadata?.completionReport;if(typeof u=="string"&&u.trim().length>0)return u}const i=e.workspaceNotes?.byWorkspaceId[t]?.notes,a=i?h(i,n):void 0,d=a?.content||a?.contentPreview;return typeof d=="string"&&d.trim().length>0?d:null}const Ve=l.createSelector((e,t)=>{const n=B.select(e).find(c=>c.workspaceId===t);if(!n)return null;const s=h(e.workspace.workspaces,t),o=s?b(s,e):[],i=new Map(o.map(c=>[c.id,c])),a=e.taskAgentAssociations?.byWorkspaceId[t]?.byNoteId??{},d=e.workspaceTasks?.byWorkspaceId[t],r=d?R(d.tasks).filter(c=>c.status!=="cancelled").map(c=>{const u=Object.values(a[c.id]??{});return{id:c.id,title:c.title,status:c.status,agents:u.map(g=>i.get(g.agentId)).filter(g=>!!g),report:c.status==="complete"?ve(e,t,c.id,u):null,...c.specLinked!==void 0?{specLinked:c.specLinked}:{},...c.dependsOn?{dependsOn:c.dependsOn}:{},...c.conflictsWith?{conflictsWith:c.conflictsWith}:{},...c.unmetDependsOn?{unmetDependsOn:c.unmetDependsOn}:{}}}):[];return{workspaceId:t,title:n.title,repoRef:n.repoRef,statusMessage:n.statusMessage,keySlot:n.keySlot,stats:n.tasks,tasks:r,activeAgents:o.filter(c=>m.has(c.bucket)),idleAgents:o.filter(c=>!m.has(c.bucket))}}),Te=new Set(["failed","blocker","question","discussion","needs_input","review"]);function Oe(e){for(const t of e?.categories??[])switch(t.category){case"failed":return"failure";case"blocker":return"blocker";case"question":return"question";case"review":return"review"}return"none"}const ze=l.createSelector((e,t="recent")=>{const n=B.select(e),s=be.select(e),o=new Map(S.select(e).map(a=>[String(a.id),a])),i={action:[],unread:[],active:[]};for(const a of n){const d=o.get(a.workspaceId);if(!d||d.id===se||!(t==="older"?ge:ue)(e.hud.dockConversationAtByWorkspaceId[a.workspaceId],e.hud.dockRecencyNow))continue;const r=s[a.workspaceId],c=r?.categories??[],u=c.some(p=>Te.has(p.category)),g=a.isUnread,k=c.some(p=>p.category==="running"),f=u?"action":g?"unread":"active";i[f].push({workspace:d,badgeKind:Oe(r),priorityGroup:f,isUnread:g,isRunning:k,isWaiting:a.isWaiting})}return[...i.action,...i.unread,...i.active].sort((a,d)=>e.hud.dockConversationAtByWorkspaceId[String(d.workspace.id)]-e.hud.dockConversationAtByWorkspaceId[String(a.workspace.id)]||String(a.workspace.id).localeCompare(String(d.workspace.id)))}),Xe=l.createSelector(e=>e.hud.dockPlacement),Je=l.createSelector(e=>e.hud.dockPlacementError),Ye=l.createSelector(e=>e.hud.dockFocusRequest),$e=l.createSelector(e=>e.hud.dockCloseRequest),Ze=l.createSelector(e=>e.hud.dockDragStartResult),et=l.createSelector(e=>e.hud.dockResizeStartResult),tt=l.createSelector(e=>({pending:e.hud.dockMachineSwitching,error:e.hud.dockMachineSwitchError})),nt=l.createSelector(e=>{const t=e.hud.dockEditorCompactRequest,n=e.dockConversation,s=n.workspaceId&&n.agentId?h(n.evidence,JSON.stringify([n.workspaceId,n.agentId])):null,o=!!n.nativeSpeech.activeId||!!s?.annotation||s?.clips.some(i=>i.status==="recording")||e.hardwareConsole.pttRecording||e.hardwareConsole.voiceTranscribing;return t&&!o&&e.hud.active&&t.conversationGeneration===n.generation&&t.authority===F(e)&&t.backendId===e.connections.windowBackendId&&t.workspaceId===e.dockConversation.workspaceId&&t.agentId===e.dockConversation.agentId?t:null});export{Ne as A,Ge as B,be as C,$e as a,Ze as b,nt as c,Ye as d,tt as e,Xe as f,Je as g,De as h,ae as i,et as j,ze as k,Ke as l,Ue as m,je as n,qe as o,Pe as p,Qe as q,We as r,Ce as s,Fe as t,Ee as u,xe as v,Le as w,Ve as x,He as y,B as z};
@@ -0,0 +1 @@
1
+ import{gS as O,gy as N,IN as P,JA as U,CD as q,tq as V,um as z,A6 as J,A7 as K,IL as Q,IM as j,A8 as M}from"./BfbZn9QX.js";import{Q as f,o as X,C as Y,e as Z,l as I,p as ee,u as te,v as ae}from"./C3NeTp2u.js";import{g as ne}from"./DByMRbHr.js";import{bo as l}from"./D9jYN6_J.js";import{z as oe,S as y}from"./Dkva_evl.js";import{B as h,S}from"./CEsW1euQ.js";import{ao as ce,am as E}from"./DMYKSC8W.js";import{g as le}from"./C3VPe7p1.js";function A(e,a){const n=f.select(e.state),o=I.select(e.state);if(!o)return null;const c=n.indexOf(o),s=c+(a==="left"?-1:1),p=n[s];return c<0||!p?null:(e.dispatch(V(o,p,a==="left"?"before":"after")),o)}function B(e){const a=I.select(e);return a&&f.select(e).includes(a)?a:null}function m(e,a,n){const o=B(e.state),c=o?`/workspace/${o}`:ne(e.state);return a!==c&&n(c),o}function se(e,a,n,o){return e.dispatch(O(a)),m(e,n,o),a}function W(e,a){const o=a.match(/^\/workspace\/([^/]+)/)?.[1];return o?o==="new"?null:o:null}function R(e,a,n,o){if(n==="/")return D(e,a==="next"?0:"last",n,o);e.dispatch(a==="next"?Q():j());const c=I.select(e.state);if(!c)return null;const s=`/workspace/${c}`;return n!==s&&o(s),c}function ie(e,a,n){const o=W(e,a);return o?se(e,o,a,n):null}function re(e,a,n){const o=W(e,a);if(!o)return null;const c=X.select(e.state,o);if(!c)return null;const s=c.tabs.find(v=>v.id===c.activeTabId),p=c.tabs.length===0&&c.activeTabId===null,g=Y.select(e.state,o)>1&&(p||c.tabs.length===1&&s!==void 0&&s.closable!==!1);if((!s||s.closable===!1)&&!g)return null;const T=n??le(o)?.availableCanvasWidth??void 0;return e.dispatch(N(o,void 0,T)),s?.id??c.id}function pe(e,a){const n=e.state.panelLayout.byWorkspaceId[a];return!n||n.restoreStatus==="pending"?!1:Z.select(e.state,a).length===0}function ue(e,a,n){B(e.state)||e.dispatch(P(0)),m(e,a,n)}function L(e,a,{navigate:n,closeWindow:o}){return o?(o(),"window"):(m(e,a,n),null)}function de(e,a,n){const o=W(e,a);return o?re(e,a,n.availableCanvasWidth)!==null?"panel":pe(e,o)?(e.dispatch(O(o)),f.select(e.state).length>0?(ue(e,a,n.navigate),"workspace"):L(e,a,n)??"workspace"):null:f.select(e.state).length>0?null:L(e,a,n)}function be(e,a,n){return e.dispatch(M()),m(e,a,n)}function fe(e,a,n){const o=a.match(/^\/workspace\/([^/]+)/),c=o&&o[1]!=="new"?o[1]:null,s=te.select(e.state),p=c?ae.select(e.state,c):null;return c&&p&&(!s||p.closedAt>=s.closedAt)?p.kind==="column"?(e.dispatch(J(c)),"column"):(e.dispatch(K(c)),p.kind):s?(be(e,a,n),"workspace"):null}function ke(e,a){const n=a.match(/^\/workspace\/([^/]+)/),o=n&&n[1]!=="new"?n[1]:null;if(!o)return null;const c=z(o);return e.dispatch(c),ee.select(e.state,o)}function D(e,a,n,o){const c=f.select(e.state),s=a==="last"?c.length-1:a;return s<0||s>=c.length?null:(e.dispatch(P(s)),m(e,n,o))}function Se({isMac:e,register:a,store:n,getCurrentPath:o,navigate:c,openNewWorkspace:s,getRailMachineIds:p,onCreateAgent:g,onCreateNote:T,onCreateTerminal:v,onCreateBrowser:F,onWorkspaceTabMoved:C,closeWindow:G,resolveBinding:_}){const r=e?{meta:!0}:{ctrl:!0},$=oe("TOGGLE_SIDEBAR",e),k=t=>()=>t(o()),H=t=>()=>{const i=o().match(/^\/workspace\/([^/]+)/);i?.[1]&&i[1]!=="new"&&t(i[1])},u=t=>_?{binding:()=>_(t)}:{},w=t=>_?.(t)??S[t];a({...u("global.new-space"),...r,key:"n",global:!0,description:l.workspace_shortcuts_newSpace_description(),action:s}),a({...u("panel.toggle-sidebar"),...$,global:!0,description:y.TOGGLE_SIDEBAR.label,action:()=>n.dispatch(U())}),a({...u("navigation.new-tab"),...r,key:"t",global:!0,description:l.workspace_shortcuts_newPanel_description(),action:k(t=>ke(n,t))});for(const[t,i,b,d]of[["workspace.new-agent","a",l.ui_shortcuts_newAgent_label(),g],["workspace.new-note","n",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_note_label()}),T],["workspace.new-terminal","t",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_terminal_label()}),v],["workspace.new-browser","b",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_browser_label()}),F]])d&&a({...u(t),...r,key:i,alt:!0,global:!0,allowInTerminal:!0,description:b,action:H(d)});a({...u("navigation.close-tab"),...r,key:"w",global:!0,description:l.workspace_shortcuts_closePanelTab_description(),action:k(t=>de(n,t,{navigate:c,closeWindow:G}))}),a({...u("navigation.close-space-tab"),...r,key:"w",shift:!0,global:!0,description:l.workspace_shortcuts_closeSpaceTab_description(),action:k(t=>ie(n,t,c))}),a({...u("navigation.reopen-tab"),...r,key:"t",shift:!0,global:!0,description:l.workspace_shortcuts_reopenClosedTabOrSpace_description(),action:k(t=>fe(n,t,c))}),a({...u("navigation.move-space-tab-left"),...r,key:"ArrowLeft",alt:!0,shift:!0,global:!0,description:y.MOVE_SPACE_TAB_LEFT.label,action:()=>{const t=A(n,"left");t&&C?.({workspaceId:t,position:f.select(n.state).indexOf(t)+1})}}),a({...u("navigation.move-space-tab-right"),...r,key:"ArrowRight",alt:!0,shift:!0,global:!0,description:y.MOVE_SPACE_TAB_RIGHT.label,action:()=>{const t=A(n,"right");t&&C?.({workspaceId:t,position:f.select(n.state).indexOf(t)+1})}});for(const[t,i]of[["next",!1],["previous",!0]]){a({...u(t==="next"?"global.next-space":"global.previous-space"),key:"Tab",ctrl:!0,shift:i,global:!0,description:t==="next"?l.workspace_shortcuts_nextSpaceTab_description():l.workspace_shortcuts_previousSpaceTab_description(),action:k(d=>R(n,t,d,c))});const b=t==="next"?"global.next-space-alt":"global.previous-space-alt";a({...u(b),...r,key:t==="next"?"}":"{",shift:!0,global:!0,allowInTerminal:!0,preferLocal:!0,enabled:d=>!_||!h(b,d,_,e),description:t==="next"?l.workspace_shortcuts_nextSpaceTab_description():l.workspace_shortcuts_previousSpaceTab_description(),action:k(d=>R(n,t,d,c))})}const x=t=>{t===1?c("/"):D(n,t===9?"last":t-2,o(),c)};for(let t=1;t<=9;t++)a({...r,key:String(t),binding:()=>w("navigation.go-to-device").replace(/([1-8])-9$/,String(t)),global:!0,allowInTerminal:!0,enabled:i=>E.select(n.state)&&!h("navigation.go-to-device",i,w,e),description:l.machineRail_nav_ariaLabel(),action:()=>{const i=p?.()??ce.select(n.state).map(d=>d.id),b=i[t===9?i.length-1:t-1];b&&n.dispatch(q(b))}});for(let t=1;t<=9;t++)a({...r,key:String(t),binding:()=>S["navigation.go-to-device"].replace(/([1-8])-9$/,String(t)),global:!0,allowInTerminal:!0,enabled:i=>!E.select(n.state)&&w("navigation.go-to-tab")===S["navigation.go-to-tab"]&&!h("navigation.go-to-device",i,w,e),description:l.ui_shortcuts_goToTab_label(),action:()=>x(t)});for(let t=1;t<=9;t++)a({binding:()=>w("navigation.go-to-tab").replace(/([1-8])-9$/,String(t)),...r,alt:!0,key:String(t),global:!0,allowInTerminal:!0,enabled:i=>!h("navigation.go-to-tab",i,w,e),description:t===1?l.home_navigation_description():t===9?l.workspace_shortcuts_selectLastSpaceTab_description():l.workspace_shortcuts_selectSpaceTab_description({digit:t}),action:()=>x(t)})}export{de as c,Se as r};