@intent-hq/web 2.368.0 → 2.369.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 (318) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{LWpzAIb1.js → -QpfKAxD.js} +1 -1
  3. package/web/app/immutable/chunks/{CuGp4iiZ.js → -cLO88ax.js} +1 -1
  4. package/web/app/immutable/chunks/{Dv8qmtiG.js → 0NGflniG.js} +1 -1
  5. package/web/app/immutable/chunks/{D3-X6DuB.js → 0jRiL-di.js} +2 -2
  6. package/web/app/immutable/chunks/{DuH3Z8Tj.js → 3IxT-Mrl.js} +1 -1
  7. package/web/app/immutable/chunks/{WpDLfp8g.js → 3_UV1UgL.js} +1 -1
  8. package/web/app/immutable/chunks/{DV8MrQzP.js → 4pFiTcXi.js} +1 -1
  9. package/web/app/immutable/chunks/51_h0jm2.js +1 -0
  10. package/web/app/immutable/chunks/{D_4E2Vkl.js → 5E3JQYey.js} +1 -1
  11. package/web/app/immutable/chunks/{BqnLfjrK.js → 5NOp7PNZ.js} +1 -1
  12. package/web/app/immutable/chunks/{BM7pSBH1.js → 6GNWsakm.js} +1 -1
  13. package/web/app/immutable/chunks/{C-WGoO9q.js → 6i_wfV3v.js} +1 -1
  14. package/web/app/immutable/chunks/{DZs8iANO.js → 7Uk2VvOl.js} +1 -1
  15. package/web/app/immutable/chunks/{CX6lA3D1.js → 8TQkfju3.js} +1 -1
  16. package/web/app/immutable/chunks/{DSxt_T6i.js → 93RUSyHg.js} +1 -1
  17. package/web/app/immutable/chunks/{Dag-yjBl.js → 9wk-Hes5.js} +1 -1
  18. package/web/app/immutable/chunks/{H5EFGbef.js → AIQuxhpV.js} +1 -1
  19. package/web/app/immutable/chunks/{Ct-FgWRq.js → B0v5Qiob.js} +1 -1
  20. package/web/app/immutable/chunks/{qHf9sK0w.js → B2CG0f08.js} +1 -1
  21. package/web/app/immutable/chunks/{Cx_kU_DV.js → B3Zt92Gh.js} +1 -1
  22. package/web/app/immutable/chunks/{yKB3We_R.js → B3rtR-T9.js} +1 -1
  23. package/web/app/immutable/chunks/{CWlx9AQE.js → B5L5kFMu.js} +1 -1
  24. package/web/app/immutable/chunks/{ByCbrCKe.js → B5ht1e3g.js} +1 -1
  25. package/web/app/immutable/chunks/{DVE3gCYm.js → B6P0nIFd.js} +1 -1
  26. package/web/app/immutable/chunks/{BCr3FDPI.js → B9XvejAu.js} +1 -1
  27. package/web/app/immutable/chunks/{BRMZvcr_.js → BBRNc6Tk.js} +1 -1
  28. package/web/app/immutable/chunks/{BrzSX242.js → BCBNqT5t.js} +1 -1
  29. package/web/app/immutable/chunks/{BA1W84cz.js → BDbtK9be.js} +1 -1
  30. package/web/app/immutable/chunks/{B4XVQGzR.js → BE2y8JEQ.js} +1 -1
  31. package/web/app/immutable/chunks/{Dn9uXxwQ.js → BEjEPSxp.js} +1 -1
  32. package/web/app/immutable/chunks/{_Lq6xDqz.js → BEklUrxK.js} +1 -1
  33. package/web/app/immutable/chunks/{DdXuLwef.js → BGP1lrgu.js} +1 -1
  34. package/web/app/immutable/chunks/{DbTuLky4.js → BJPhI2lA.js} +1 -1
  35. package/web/app/immutable/chunks/{CVkfqdxF.js → BJTl-SyI.js} +1 -1
  36. package/web/app/immutable/chunks/{Bjdl3Bcn.js → BLzqYDED.js} +1 -1
  37. package/web/app/immutable/chunks/{3uTmxU9o.js → BQDGTBxC.js} +1 -1
  38. package/web/app/immutable/chunks/{C-Avcz-L.js → BQGSaBlM.js} +1 -1
  39. package/web/app/immutable/chunks/{BvM1EUuh.js → BR5vKj6f.js} +1 -1
  40. package/web/app/immutable/chunks/{ChB1u5oS.js → BR9s3igW.js} +1 -1
  41. package/web/app/immutable/chunks/{CL7J7j2D.js → BTIkMWVv.js} +1 -1
  42. package/web/app/immutable/chunks/{DwPVMoTd.js → BTYfh5fW.js} +1 -1
  43. package/web/app/immutable/chunks/{La7uvQeM.js → BUHAwVs7.js} +1 -1
  44. package/web/app/immutable/chunks/{OnFCkRZq.js → BUNNt_Jr.js} +1 -1
  45. package/web/app/immutable/chunks/{CYYIfm0c.js → BUtBz-tz.js} +1 -1
  46. package/web/app/immutable/chunks/BVUXyHGH.js +4 -0
  47. package/web/app/immutable/chunks/{DzoN41_6.js → BVVyDeyd.js} +1 -1
  48. package/web/app/immutable/chunks/{Dqg0f2LJ.js → BW6PhteS.js} +1 -1
  49. package/web/app/immutable/chunks/{C5lXC3sE.js → BW94gUhQ.js} +1 -1
  50. package/web/app/immutable/chunks/{-S-Y5qpw.js → BX9VoS92.js} +1 -1
  51. package/web/app/immutable/chunks/{DWo9ssuo.js → BXHaIh_f.js} +1 -1
  52. package/web/app/immutable/chunks/{BFg7EHUJ.js → BZpSGd8O.js} +1 -1
  53. package/web/app/immutable/chunks/{CdT83fDm.js → B_QtiZYt.js} +1 -1
  54. package/web/app/immutable/chunks/{C_xbtvYu.js → BbugAQ9t.js} +1 -1
  55. package/web/app/immutable/chunks/{DX7k4FhP.js → Bf02lG8Y.js} +1 -1
  56. package/web/app/immutable/chunks/{uz9wJ9h7.js → BgDYQZ_0.js} +1 -1
  57. package/web/app/immutable/chunks/{CgszRxao.js → BgJ-6yg0.js} +1 -1
  58. package/web/app/immutable/chunks/{BAZnizpv.js → BgLPrJ77.js} +1 -1
  59. package/web/app/immutable/chunks/{CJZrFy0z.js → BgVn7-pK.js} +1 -1
  60. package/web/app/immutable/chunks/{DdgRFvxI.js → Bi5_2qbB.js} +2 -2
  61. package/web/app/immutable/chunks/{BYQyF1EV.js → BipEZFvA.js} +1 -1
  62. package/web/app/immutable/chunks/{DEaLADF0.js → Bjy4ygfJ.js} +1 -1
  63. package/web/app/immutable/chunks/{C6baGIHW.js → BkrPhcBU.js} +1 -1
  64. package/web/app/immutable/chunks/{Bhf5PYkX.js → Bn5goMn4.js} +2 -2
  65. package/web/app/immutable/chunks/{CN68o0Xe.js → BnRltR11.js} +1 -1
  66. package/web/app/immutable/chunks/{4ZHcc7E6.js → BoAG71Ap.js} +1 -1
  67. package/web/app/immutable/chunks/{9uaxSDjR.js → BpKFGHfS.js} +1 -1
  68. package/web/app/immutable/chunks/{CVuIJUI6.js → Bq_CYpxm.js} +1 -1
  69. package/web/app/immutable/chunks/{BmBBmxeN.js → BqkCNgyL.js} +1 -1
  70. package/web/app/immutable/chunks/{qkupoeeB.js → Bs9TCQJX.js} +1 -1
  71. package/web/app/immutable/chunks/{Cg_iMZyA.js → BsE4jMhr.js} +1 -1
  72. package/web/app/immutable/chunks/{tKPL2CZA.js → BsKhFZ0Q.js} +1 -1
  73. package/web/app/immutable/chunks/{C7p6fkNW.js → BsjFeGOg.js} +1 -1
  74. package/web/app/immutable/chunks/{UdBW3xHf.js → BswUVSRu.js} +1 -1
  75. package/web/app/immutable/chunks/{sRuST45k.js → BuLzqNKd.js} +1 -1
  76. package/web/app/immutable/chunks/{DjtlNmSp.js → BuveYyQe.js} +1 -1
  77. package/web/app/immutable/chunks/{BIuwYO0J.js → BxOfEPjL.js} +1 -1
  78. package/web/app/immutable/chunks/BxTyo7yU.js +1 -0
  79. package/web/app/immutable/chunks/{Bpab3i1i.js → BxvIWx6J.js} +1 -1
  80. package/web/app/immutable/chunks/{CoC9Ux29.js → BxwkoIbZ.js} +1 -1
  81. package/web/app/immutable/chunks/{DehqEruM.js → ByCxDC-R.js} +1 -1
  82. package/web/app/immutable/chunks/{D3f6Bdno.js → ByfLGh4b.js} +1 -1
  83. package/web/app/immutable/chunks/{DVqASrmW.js → Bz9mgUtY.js} +1 -1
  84. package/web/app/immutable/chunks/{D3NQrju5.js → BzlXwMsq.js} +1 -1
  85. package/web/app/immutable/chunks/{CwpJKby0.js → C-dUgTvj.js} +1 -1
  86. package/web/app/immutable/chunks/{9L9c83oG.js → C0gEyGJV.js} +1 -1
  87. package/web/app/immutable/chunks/{CT1kjHng.js → C1FbWx7h.js} +1 -1
  88. package/web/app/immutable/chunks/{C-3HGS81.js → C1McR-sz.js} +1 -1
  89. package/web/app/immutable/chunks/{DH9Hqtuz.js → C2jA6pM8.js} +1 -1
  90. package/web/app/immutable/chunks/{DqvOMJZD.js → C3-0e__R.js} +1 -1
  91. package/web/app/immutable/chunks/{wlvXh-zp.js → C3CJZFT3.js} +1 -1
  92. package/web/app/immutable/chunks/{BFNcUqqi.js → C3SM2b7L.js} +2 -2
  93. package/web/app/immutable/chunks/{CrfRec8x.js → C3YB0zcV.js} +1 -1
  94. package/web/app/immutable/chunks/{BeSpo5mj.js → C5Tw8y-2.js} +1 -1
  95. package/web/app/immutable/chunks/{BS7XLnm3.js → C5rcw_c7.js} +1 -1
  96. package/web/app/immutable/chunks/{fu-5SwkC.js → C6vnD-WG.js} +1 -1
  97. package/web/app/immutable/chunks/{DzuDuJfn.js → C6yPb5D8.js} +1 -1
  98. package/web/app/immutable/chunks/{DtKQhjG0.js → C7H74phM.js} +1 -1
  99. package/web/app/immutable/chunks/{BpCl78z6.js → C7RXZVwZ.js} +3 -3
  100. package/web/app/immutable/chunks/{ag06q4LL.js → C9UsZ4re.js} +1 -1
  101. package/web/app/immutable/chunks/{C4IUEZO8.js → C9r0mVfa.js} +1 -1
  102. package/web/app/immutable/chunks/{BNXfTFgg.js → CASKMy_V.js} +1 -1
  103. package/web/app/immutable/chunks/{CddeEUaW.js → CC08YY4X.js} +2 -2
  104. package/web/app/immutable/chunks/{DMXV603W.js → CCYJSy4Y.js} +1 -1
  105. package/web/app/immutable/chunks/{ChcqjzlK.js → CDqnAH9U.js} +2 -2
  106. package/web/app/immutable/chunks/{BguHhtk8.js → CF1Tu_8c.js} +2 -2
  107. package/web/app/immutable/chunks/{DyTX_flC.js → CF2xUnmW.js} +1 -1
  108. package/web/app/immutable/chunks/{DTmuScj1.js → CFvGekuw.js} +1 -1
  109. package/web/app/immutable/chunks/{CgoEfH57.js → CFybzafc.js} +1 -1
  110. package/web/app/immutable/chunks/{CIg56hlz.js → CJCoBdox.js} +1 -1
  111. package/web/app/immutable/chunks/{B5xVgX0B.js → CJb9CQqu.js} +1 -1
  112. package/web/app/immutable/chunks/{DCaHyJVf.js → CJj_lU-4.js} +1 -1
  113. package/web/app/immutable/chunks/{mA-tbLJW.js → CLZkKjaI.js} +1 -1
  114. package/web/app/immutable/chunks/{Cl19iNDm.js → CLalkdxk.js} +1 -1
  115. package/web/app/immutable/chunks/{z7hpXipJ.js → CLg2G62j.js} +3 -3
  116. package/web/app/immutable/chunks/{Dbb9v9Pu.js → CMMep18j.js} +1 -1
  117. package/web/app/immutable/chunks/{ydU_XNBS.js → CMRXUPn9.js} +1 -1
  118. package/web/app/immutable/chunks/{Dkb27FfT.js → CMZHakZZ.js} +1 -1
  119. package/web/app/immutable/chunks/{BXFt_M3j.js → CMh2xRIF.js} +1 -1
  120. package/web/app/immutable/chunks/{a78XW9b7.js → CMqhKAKf.js} +1 -1
  121. package/web/app/immutable/chunks/{CB3yJRaj.js → CN-6Tr26.js} +1 -1
  122. package/web/app/immutable/chunks/{CIxVnrKO.js → CNAilJvj.js} +1 -1
  123. package/web/app/immutable/chunks/{XOY5jtOQ.js → COmDhl6S.js} +1 -1
  124. package/web/app/immutable/chunks/{BjNVk8U6.js → CQkTODWA.js} +1 -1
  125. package/web/app/immutable/chunks/{Q6h5kaDA.js → CQt5NIo9.js} +1 -1
  126. package/web/app/immutable/chunks/{DOgidnWF.js → CQw_RyF_.js} +1 -1
  127. package/web/app/immutable/chunks/{AnCzW8pd.js → CRJc1pCT.js} +1 -1
  128. package/web/app/immutable/chunks/{CJbKgJCP.js → CS3R6Yuh.js} +1 -1
  129. package/web/app/immutable/chunks/{C8EYdSF9.js → CSFyiYHp.js} +1 -1
  130. package/web/app/immutable/chunks/{CuaxAbnk.js → CV10cSI4.js} +1 -1
  131. package/web/app/immutable/chunks/{IOCQV0lc.js → CWc2lAUi.js} +1 -1
  132. package/web/app/immutable/chunks/{CD0f9RqX.js → CXXbDkir.js} +1 -1
  133. package/web/app/immutable/chunks/{DxC9rNFj.js → CYgFnKoL.js} +1 -1
  134. package/web/app/immutable/chunks/{BvvwHzHR.js → CZTVb5IB.js} +1 -1
  135. package/web/app/immutable/chunks/{DQKQnxx2.js → CZ_Dk1nz.js} +1 -1
  136. package/web/app/immutable/chunks/{Cdgpg8n7.js → C_qOm4aX.js} +49 -49
  137. package/web/app/immutable/chunks/{CLSuLceq.js → CatLGfTW.js} +1 -1
  138. package/web/app/immutable/chunks/{BSaMlrt7.js → Cc2FSrQK.js} +1 -1
  139. package/web/app/immutable/chunks/CcNIw4Px.js +1 -0
  140. package/web/app/immutable/chunks/{ClSKdYXV.js → Cdhrdfve.js} +1 -1
  141. package/web/app/immutable/chunks/{CszTaYPw.js → Cdw_CIdg.js} +1 -1
  142. package/web/app/immutable/chunks/{BfV-m33h.js → CeBDdapO.js} +1 -1
  143. package/web/app/immutable/chunks/{qN9kzcwL.js → CgXGPBF5.js} +1 -1
  144. package/web/app/immutable/chunks/{8xzOjoUV.js → CgeBiXYG.js} +1 -1
  145. package/web/app/immutable/chunks/{KJbU5Jwf.js → Ch30XVIS.js} +1 -1
  146. package/web/app/immutable/chunks/{DZtsu62T.js → CiyIhnuP.js} +3 -3
  147. package/web/app/immutable/chunks/{DDgv92vT.js → CjswKKTa.js} +1 -1
  148. package/web/app/immutable/chunks/{6gX3p-t6.js → Ck5xuk0H.js} +1 -1
  149. package/web/app/immutable/chunks/{CdO0EKIb.js → Ckp5O1pb.js} +1 -1
  150. package/web/app/immutable/chunks/{BG9eCPIt.js → Cl7NoY6M.js} +1 -1
  151. package/web/app/immutable/chunks/{DB4BdY3-.js → ClSUFCtq.js} +1 -1
  152. package/web/app/immutable/chunks/{DdswlFJs.js → Cmm2Uwq6.js} +1 -1
  153. package/web/app/immutable/chunks/{Bx5mj_-o.js → CnM1-KSC.js} +1 -1
  154. package/web/app/immutable/chunks/{LjCq2zYR.js → Cp81xhuN.js} +1 -1
  155. package/web/app/immutable/chunks/{C6Mf7wiS.js → CpL3Nqus.js} +1 -1
  156. package/web/app/immutable/chunks/{ysr2ZeEL.js → CpPNoOk-.js} +1 -1
  157. package/web/app/immutable/chunks/{CeVUwFpS.js → CqesqBNM.js} +1 -1
  158. package/web/app/immutable/chunks/{Bnfzeolk.js → Cs_DX3BC.js} +1 -1
  159. package/web/app/immutable/chunks/{DiyE6ez1.js → Cstrfm23.js} +4 -4
  160. package/web/app/immutable/chunks/{BG_ZjTnQ.js → Csxq8_TN.js} +1 -1
  161. package/web/app/immutable/chunks/{Bzw5kiqv.js → CtFSFfLz.js} +1 -1
  162. package/web/app/immutable/chunks/{cNJtArdZ.js → Ct_Zx4ru.js} +1 -1
  163. package/web/app/immutable/chunks/{BpmaKyHV.js → Cu0mADIg.js} +1 -1
  164. package/web/app/immutable/chunks/{fhbq8NBN.js → Cu91VTQn.js} +1 -1
  165. package/web/app/immutable/chunks/{BGhL-M7S.js → CuHlAB4d.js} +2 -2
  166. package/web/app/immutable/chunks/{DcyITQk4.js → CvC_PTf7.js} +1 -1
  167. package/web/app/immutable/chunks/{CHo30JVh.js → CxF8L5mw.js} +1 -1
  168. package/web/app/immutable/chunks/{XokPPDRt.js → CxVedbHg.js} +2 -2
  169. package/web/app/immutable/chunks/{aFmAoxnK.js → CxmJEenA.js} +1 -1
  170. package/web/app/immutable/chunks/{Da6oWcTC.js → D0Z6csIX.js} +1 -1
  171. package/web/app/immutable/chunks/{BBrZXpSP.js → D1FzC71c.js} +1 -1
  172. package/web/app/immutable/chunks/{CTrJXNY9.js → D1cY0pVs.js} +1 -1
  173. package/web/app/immutable/chunks/{C3o6TrCe.js → D1rvT9Od.js} +1 -1
  174. package/web/app/immutable/chunks/{BWCENrjZ.js → D3SYIfTl.js} +4 -4
  175. package/web/app/immutable/chunks/{BAua3HYa.js → D4q8ggLU.js} +2 -2
  176. package/web/app/immutable/chunks/{CPjshegW.js → D5sw7nR1.js} +1 -1
  177. package/web/app/immutable/chunks/{CAA5Pjlt.js → D8BdISor.js} +1 -1
  178. package/web/app/immutable/chunks/{UfQa_CM-.js → D9d8HfDB.js} +1 -1
  179. package/web/app/immutable/chunks/{BmZ-YX2h.js → DA4getmI.js} +1 -1
  180. package/web/app/immutable/chunks/{fh3WedHa.js → DCrqv4Go.js} +1 -1
  181. package/web/app/immutable/chunks/{CEODt5qB.js → DCv0ZqUq.js} +1 -1
  182. package/web/app/immutable/chunks/{my3EnaTa.js → DF0Pm5yp.js} +2 -2
  183. package/web/app/immutable/chunks/{B5t5yFV1.js → DGmOjLYi.js} +1 -1
  184. package/web/app/immutable/chunks/{BtNhR2qx.js → DKn1sQ32.js} +1 -1
  185. package/web/app/immutable/chunks/{CFUCukqN.js → DLEm9Cyg.js} +1 -1
  186. package/web/app/immutable/chunks/{uCE5nFj2.js → DMjF7NYG.js} +2 -2
  187. package/web/app/immutable/chunks/{BE8dgLGn.js → DNieQhK8.js} +3 -3
  188. package/web/app/immutable/chunks/{DPMWmOe5.js → DOi8NPXE.js} +1 -1
  189. package/web/app/immutable/chunks/{BU4XngZf.js → DPLuga0X.js} +3 -3
  190. package/web/app/immutable/chunks/{DwOsWxyQ.js → DPPtpHwn.js} +1 -1
  191. package/web/app/immutable/chunks/{DGt036ot.js → DQUvqa9o.js} +1 -1
  192. package/web/app/immutable/chunks/{Bo79geKp.js → DRLOB6Gw.js} +2 -2
  193. package/web/app/immutable/chunks/{prHJOEnU.js → DSQT151l.js} +1 -1
  194. package/web/app/immutable/chunks/{B3nJy--T.js → DUItrdZb.js} +1 -1
  195. package/web/app/immutable/chunks/{Bg5Fp4BA.js → DUctnn_k.js} +1 -1
  196. package/web/app/immutable/chunks/DVy6H5Ng.js +1 -0
  197. package/web/app/immutable/chunks/DW3gkA_F.js +1 -0
  198. package/web/app/immutable/chunks/{CDKjl22x.js → DWLnWMNZ.js} +1 -1
  199. package/web/app/immutable/chunks/{BWWmYtvo.js → DWjKA8Pm.js} +1 -1
  200. package/web/app/immutable/chunks/{nIerXkD8.js → DWsHBNeU.js} +1 -1
  201. package/web/app/immutable/chunks/{CW0tWbke.js → DYmzWBEk.js} +1 -1
  202. package/web/app/immutable/chunks/{Nbro-b-6.js → DZCGZjzG.js} +1 -1
  203. package/web/app/immutable/chunks/{DSBtJS15.js → DZTT1V6G.js} +1 -1
  204. package/web/app/immutable/chunks/{Cu63TBX_.js → D_MzuSit.js} +1 -1
  205. package/web/app/immutable/chunks/{CoxEQ1x9.js → DaXgwzm7.js} +1 -1
  206. package/web/app/immutable/chunks/{D-W7KYqw.js → Dbpb1w7S.js} +4 -4
  207. package/web/app/immutable/chunks/{Ce7ti2I7.js → DcmaumPg.js} +1 -1
  208. package/web/app/immutable/chunks/{CIasIl91.js → DcvxsgOZ.js} +1 -1
  209. package/web/app/immutable/chunks/{D5sOpT26.js → DdkBNH3W.js} +1 -1
  210. package/web/app/immutable/chunks/{v9gH-HNO.js → DdkDv5Sd.js} +1 -1
  211. package/web/app/immutable/chunks/{CXaxJbgG.js → DeVwq4Xj.js} +1 -1
  212. package/web/app/immutable/chunks/{DEJSVazL.js → Deg_SlHr.js} +2 -2
  213. package/web/app/immutable/chunks/{VvgtSbK2.js → DfSzfqox.js} +1 -1
  214. package/web/app/immutable/chunks/{DYOMUc5B.js → DlqetqWw.js} +1 -1
  215. package/web/app/immutable/chunks/{DOdlo-4T.js → DmhHEMPi.js} +1 -1
  216. package/web/app/immutable/chunks/{PRAJ9M9Y.js → DodshHwq.js} +1 -1
  217. package/web/app/immutable/chunks/{y_07dpNl.js → DpSi4PLY.js} +1 -1
  218. package/web/app/immutable/chunks/{Cg6uFDit.js → DqFWZ_g1.js} +1 -1
  219. package/web/app/immutable/chunks/{CB1L2aum.js → DqgCp5ae.js} +1 -1
  220. package/web/app/immutable/chunks/{Bu3w6q3q.js → DrBi0w5G.js} +4 -4
  221. package/web/app/immutable/chunks/{CSd0whCN.js → Druyrynh.js} +1 -1
  222. package/web/app/immutable/chunks/{Dyrz4mgu.js → DtnAdLQg.js} +1 -1
  223. package/web/app/immutable/chunks/{D2dQD04-.js → Dukt1CUc.js} +1 -1
  224. package/web/app/immutable/chunks/{9RBVjd2X.js → DumeSIrz.js} +1 -1
  225. package/web/app/immutable/chunks/{DfmIEc34.js → DupNtpYi.js} +1 -1
  226. package/web/app/immutable/chunks/{D9DtZ5bO.js → DxvSggY5.js} +1 -1
  227. package/web/app/immutable/chunks/{9XOJk36Z.js → DyBkeTEM.js} +1 -1
  228. package/web/app/immutable/chunks/{CIHmUaya.js → DyHCBf0T.js} +3 -3
  229. package/web/app/immutable/chunks/{D_84YASo.js → Dy_4BU07.js} +3 -3
  230. package/web/app/immutable/chunks/{DmLYqjCG.js → Dz5-AChV.js} +1 -1
  231. package/web/app/immutable/chunks/{CZmtskyb.js → DzFkUqsC.js} +1 -1
  232. package/web/app/immutable/chunks/{WbKTM-AY.js → DzMdBKPh.js} +1 -1
  233. package/web/app/immutable/chunks/{nR9NDXxc.js → E_jRuW-b.js} +2 -2
  234. package/web/app/immutable/chunks/{lnjs8g9M.js → FLNU8xuu.js} +1 -1
  235. package/web/app/immutable/chunks/{D635gi5P.js → FmBB5PWm.js} +1 -1
  236. package/web/app/immutable/chunks/{CbcqSAiT.js → Gr7b8MIr.js} +1 -1
  237. package/web/app/immutable/chunks/{DUk9Psab.js → JKboQXkL.js} +1 -1
  238. package/web/app/immutable/chunks/{BBuuu82x.js → KAO5AtPr.js} +1 -1
  239. package/web/app/immutable/chunks/{DFAg4YQw.js → KykWEhyB.js} +1 -1
  240. package/web/app/immutable/chunks/{Ch__d3EK.js → L3AlUw84.js} +1 -1
  241. package/web/app/immutable/chunks/{CFWjNNDI.js → LKW_Bid7.js} +1 -1
  242. package/web/app/immutable/chunks/{bMVl-_uo.js → M18r7swD.js} +1 -1
  243. package/web/app/immutable/chunks/{BJbXiNfd.js → P4OctF9m.js} +1 -1
  244. package/web/app/immutable/chunks/{Dr-hGtz9.js → PXCFrn2V.js} +1 -1
  245. package/web/app/immutable/chunks/{yyKL9m5q.js → Q8rtHwbz.js} +1 -1
  246. package/web/app/immutable/chunks/{DmaI9gJG.js → Qnx8Hmfg.js} +1 -1
  247. package/web/app/immutable/chunks/{OC9upl2Z.js → RsJMsDHX.js} +1 -1
  248. package/web/app/immutable/chunks/{2LHboW99.js → S5vPfW1A.js} +1 -1
  249. package/web/app/immutable/chunks/{PJHVK1jp.js → SX1khnGy.js} +1 -1
  250. package/web/app/immutable/chunks/{Bl1aiNRC.js → TrRXD94r.js} +1 -1
  251. package/web/app/immutable/chunks/{D6WnG3O5.js → U3137Ii1.js} +1 -1
  252. package/web/app/immutable/chunks/{DaX_ruGd.js → V6SVTu37.js} +1 -1
  253. package/web/app/immutable/chunks/{Dr2MCeHs.js → WABToc6b.js} +1 -1
  254. package/web/app/immutable/chunks/{DLpH_zOx.js → WHfdsTrE.js} +1 -1
  255. package/web/app/immutable/chunks/{DVXtNvCM.js → XJqoy2ap.js} +1 -1
  256. package/web/app/immutable/chunks/{CoKTpqDU.js → XPs8BW44.js} +1 -1
  257. package/web/app/immutable/chunks/{DIz708WA.js → Zldsekdv.js} +4 -4
  258. package/web/app/immutable/chunks/{DmPmT0eG.js → _UNYBFXm.js} +1 -1
  259. package/web/app/immutable/chunks/{BUc9vg7U.js → a34jwGLW.js} +1 -1
  260. package/web/app/immutable/chunks/{DCkjGG3P.js → aHO4L7kg.js} +1 -1
  261. package/web/app/immutable/chunks/{DjoTibfo.js → b-bXytVF.js} +1 -1
  262. package/web/app/immutable/chunks/{Bf_VKlmw.js → dP7u_sPF.js} +1 -1
  263. package/web/app/immutable/chunks/{BagTxwLt.js → dSvJdwG_.js} +3 -3
  264. package/web/app/immutable/chunks/{DTNUR8M2.js → dx9b_0TP.js} +2 -2
  265. package/web/app/immutable/chunks/{CPjCX26i.js → eln8hjjQ.js} +1 -1
  266. package/web/app/immutable/chunks/{CufGMblq.js → gcij4Gee.js} +1 -1
  267. package/web/app/immutable/chunks/{CFWrNsuZ.js → ge7HDe-3.js} +1 -1
  268. package/web/app/immutable/chunks/{ByhyupnT.js → hHeBjODU.js} +1 -1
  269. package/web/app/immutable/chunks/{M4mXlBrP.js → iI6LFAGI.js} +1 -1
  270. package/web/app/immutable/chunks/{PMgbVYrU.js → k3tEZZCe.js} +1 -1
  271. package/web/app/immutable/chunks/{BWlKpZE8.js → lVHjTAAb.js} +1 -1
  272. package/web/app/immutable/chunks/{Bm7IJJUE.js → nRmTo2Eh.js} +1 -1
  273. package/web/app/immutable/chunks/{rJd0G3JA.js → oOuL5l8A.js} +1 -1
  274. package/web/app/immutable/chunks/{BQEAmAsx.js → oSmiRYki.js} +1 -1
  275. package/web/app/immutable/chunks/{BWk-f4jj.js → oZkhvgMl.js} +1 -1
  276. package/web/app/immutable/chunks/{rvFYnBJj.js → p8jwzOYN.js} +1 -1
  277. package/web/app/immutable/chunks/{BGccgsYG.js → plFW1-kq.js} +1 -1
  278. package/web/app/immutable/chunks/{DrUo0N9I.js → s1m3ujOc.js} +1 -1
  279. package/web/app/immutable/chunks/{Dji1u83Z.js → sG8VksRm.js} +1 -1
  280. package/web/app/immutable/chunks/{3VXSKzWd.js → tVHyNPqL.js} +1 -1
  281. package/web/app/immutable/chunks/{BdvDDr3c.js → uWDJKH9B.js} +1 -1
  282. package/web/app/immutable/chunks/{DDhwf79f.js → v2EYTTpI.js} +3 -3
  283. package/web/app/immutable/chunks/{DSibel_X.js → ykNMRL6H.js} +1 -1
  284. package/web/app/immutable/chunks/{Ca9VfQ3Z.js → zhSFUcJz.js} +1 -1
  285. package/web/app/immutable/entry/{app.g9i4Hhee.js → app.AtsW0EhM.js} +3 -3
  286. package/web/app/immutable/entry/start.DHsRk6-P.js +1 -0
  287. package/web/app/immutable/nodes/{0.CDHHvjqw.js → 0.CegL6Bfc.js} +1 -1
  288. package/web/app/immutable/nodes/{1.D5xy2MCO.js → 1.B6-BTMS1.js} +1 -1
  289. package/web/app/immutable/nodes/{10.1IhdAEgn.js → 10.qlZM4NPl.js} +5 -5
  290. package/web/app/immutable/nodes/{11.BW_yfjel.js → 11.BR5ZtLjn.js} +1 -1
  291. package/web/app/immutable/nodes/{12.QDjrsyFI.js → 12.31R3OdO3.js} +1 -1
  292. package/web/app/immutable/nodes/{13.6cP3XOKB.js → 13.DYH2a5Wx.js} +1 -1
  293. package/web/app/immutable/nodes/{14.Bb8pZCFr.js → 14.B6MrEg8x.js} +3 -3
  294. package/web/app/immutable/nodes/{15.DTRK9Vyb.js → 15.Bitx8r2v.js} +1 -1
  295. package/web/app/immutable/nodes/{16.pYdajVyy.js → 16.CKbY5VRM.js} +1 -1
  296. package/web/app/immutable/nodes/{17.C6_qDHdP.js → 17.DPSU7Eqq.js} +1 -1
  297. package/web/app/immutable/nodes/{18.p2wClcpG.js → 18.BlD6ustd.js} +1 -1
  298. package/web/app/immutable/nodes/{19.DQGgWYsX.js → 19.BRj21xes.js} +2 -2
  299. package/web/app/immutable/nodes/{2.DLEjVhJq.js → 2.BBHXaN8p.js} +4 -4
  300. package/web/app/immutable/nodes/{20.Dzdd3lna.js → 20.Cj4TGw20.js} +1 -1
  301. package/web/app/immutable/nodes/{3.Do589hpw.js → 3.JJmMGjhS.js} +1 -1
  302. package/web/app/immutable/nodes/{4.BW-YS0Mv.js → 4.C3VD-4KP.js} +1 -1
  303. package/web/app/immutable/nodes/{5.0hjt7wvZ.js → 5.DIJ6nzqY.js} +1 -1
  304. package/web/app/immutable/nodes/{6.C6f4TtQ8.js → 6.DIzZZwt4.js} +1 -1
  305. package/web/app/immutable/nodes/{7.C1c9oJF2.js → 7.Xo0EbJUd.js} +1 -1
  306. package/web/app/immutable/nodes/{8.B6Vwx2Ni.js → 8.xZANL-qg.js} +1 -1
  307. package/web/app/immutable/nodes/9.BVBQgdJj.js +12 -0
  308. package/web/app/version.json +1 -1
  309. package/web/generated/paraglide.js +49 -49
  310. package/web/index.html +18 -18
  311. package/web/app/immutable/chunks/3TUSwkgT.js +0 -1
  312. package/web/app/immutable/chunks/7f-RK74P.js +0 -4
  313. package/web/app/immutable/chunks/BN8kP7XZ.js +0 -1
  314. package/web/app/immutable/chunks/BZhnh0KQ.js +0 -1
  315. package/web/app/immutable/chunks/CPDeRaia.js +0 -1
  316. package/web/app/immutable/chunks/a1kG0lDg.js +0 -1
  317. package/web/app/immutable/entry/start.DJAvowHl.js +0 -1
  318. package/web/app/immutable/nodes/9.BhguuCYy.js +0 -12
@@ -1 +1 @@
1
- import{aR as t,aP as i,b4 as c,a0 as f}from"./CJxGDkBm.js";import{B as y}from"./a1kG0lDg.js";const b=Symbol("NaN");function h(r,e,n){t&&i();var o=new y(r),s=!c();f(()=>{var a=e();a!==a&&(a=b),s&&a!==null&&typeof a=="object"&&(a={}),o.ensure(a,n)})}export{h as k};
1
+ import{aR as t,aP as i,b4 as c,a0 as f}from"./CJxGDkBm.js";import{B as y}from"./51_h0jm2.js";const b=Symbol("NaN");function h(r,e,n){t&&i();var o=new y(r),s=!c();f(()=>{var a=e();a!==a&&(a=b),s&&a!==null&&typeof a=="object"&&(a={}),o.ensure(a,n)})}export{h as k};
@@ -1 +1 @@
1
- import{h as d}from"./Cg6uFDit.js";import{bm as t}from"./a1kG0lDg.js";import{J4 as n,nL as m,p1 as _}from"./DIz708WA.js";import{c2 as h,aZ as g}from"./DVXtNvCM.js";import{P as H}from"./C-Avcz-L.js";import{w as f,m as w,e as b}from"./Bl1aiNRC.js";function u(e){return e.lastBackupAt?d(e.lastBackupAt):""}function k(e){if(e.starting)return t.workspaceHome_starting_label();if(e.state==="moving")return t.workspaceHome_banner_moving();if(e.unknownState)return t.workspaceHome_banner_detachedNoBackup({name:e.name});const o=u(e);return o?t.workspaceHome_banner_detached({name:e.name,time:o}):t.workspaceHome_banner_detachedNoBackup({name:e.name})}function A(e){return e?.unavailable?k(e):null}function y(e){if(e.banner==="detached"||e.banner==="moving")return k(e);if(e.banner!=="backupWarning")return"";const o=u(e);return o?t.workspaceHome_banner_backupWarning({name:e.name,time:o}):t.workspaceHome_banner_backupWarningNoBackup({name:e.name})}function N(e){switch(e.setup?.phase){case"preparing":case"runningSetup":return t.workspaceHome_opening_title({name:e.name});case"openFailed":return t.workspaceHome_openFailed_title({name:e.name});case"setupFailed":return t.remoteAgent_notice_setupFailed_title({machine:e.name});default:return""}}function R(e){const o=e.setup;switch(o?.phase){case"preparing":return t.remoteAgent_status_preparingCheckout();case"runningSetup":return t.remoteAgent_status_runningSetup();case"openFailed":return t.workspaceHome_openFailed_hint({name:e.name});case"setupFailed":return o.exitCode!==null?t.workspaceHome_setupFailed_exitCode({code:String(o.exitCode)}):o.timedOut?t.workspaceHome_setupFailed_timeout():t.workspaceHome_setupFailed_generic();default:return null}}function D(e){const o=e.setup,r=o?.phase==="openFailed"||o?.phase==="setupFailed"?o.error:null;return r&&r.replace(/^[a-z][a-z0-9-]*:\s*/,"").trim()||null}function E(e){return e==="detached"?t.workspaceHome_marker_detached():t.workspaceHome_marker_moving()}function C(e){const o=u(e);return o?t.workspaceHome_header_lastBackup({time:o}):null}function V(e){if(!e.moveWarning)return null;const o=u(e);return o?t.workspaceHome_moveDialog_warning({name:e.name,time:o}):t.workspaceHome_moveDialog_warningNoBackup({name:e.name})}function L(e){switch(e.code){case"forbidden":return t.workspaceHome_moveError_forbidden();case"homes-unsupported":return t.workspaceHome_moveError_homesUnsupported();case"home-moving":return t.workspaceHome_moveError_homeMoving();case"home-target-unavailable":return t.workspaceHome_moveError_targetUnavailable();case"machine-update-required":return t.workspaceHome_moveError_updateRequired();default:return t.workspaceHome_moveError_failed({message:e.message})}}const i=new WeakMap,S=n.createSelector((e,o)=>{const r=m(e.workspace.workspaces,o),a=r?.home;if(!a)return null;const s=i.get(a);if(s)return s;const c=f(r);return c&&i.set(a,c),c}),q=n.createSelector((e,o)=>w(m(e.workspace.workspaces,o),!h.select(e,o))),F=n.createSelector((e,o)=>{const r=m(e.workspace.workspaces,o)?.home;return r?.setup?.state==="failed"?_(r.homeId,r.setup.finishedAt):""}),U=n.createSelector((e,o)=>{const r=S.select(e,o);if(r?.banner!=="setupFailed")return r;const a=F.select(e,o);if(!a||!e.workspaceHome.dismissedSetupFailures[a])return r;const s=p.get(r);if(s)return s;const c={...r,banner:null};return p.set(r,c),c}),p=new WeakMap,z=n.createSelector((e,o)=>{const r=e.workspaceHome.setupOutputs[o],a=m(e.workspace.workspaces,o)?.home?.homeId;return r&&r.homeId===a?r:null}),I=n.createSelector((e,o)=>e.workspaceHome.waiting[o]===!0),J=n.createSelector(e=>e.workspaceHome.dialogWorkspaceId),K=n.createSelector(e=>e.workspaceHome.moveStatus==="submitting"),P=n.createSelector(e=>e.workspaceHome.moveFailure),W=[],l=new Map,j=n.createSelector((e,o)=>{if(!o)return W;const r=b({agents:g.select(e,o),machineRows:H.select(e)}),a=JSON.stringify(r),s=l.get(o);return s?.key===a?s.options:(l.set(o,{key:a,options:r}),r)}),Z=n.createSelector((e,o)=>m(e.workspace.workspaces,o)!==void 0);export{C as a,E as b,V as c,D as d,A as e,R as f,N as g,y as h,k as i,F as j,z as k,I as l,L as m,J as n,P as o,j as p,K as q,U as r,q as s,S as t,Z as u};
1
+ import{h as d}from"./DqFWZ_g1.js";import{bm as t}from"./51_h0jm2.js";import{J4 as n,nL as m,p1 as _}from"./Zldsekdv.js";import{c2 as h,aZ as g}from"./XJqoy2ap.js";import{P as H}from"./BQGSaBlM.js";import{w as f,m as w,e as b}from"./TrRXD94r.js";function u(e){return e.lastBackupAt?d(e.lastBackupAt):""}function k(e){if(e.starting)return t.workspaceHome_starting_label();if(e.state==="moving")return t.workspaceHome_banner_moving();if(e.unknownState)return t.workspaceHome_banner_detachedNoBackup({name:e.name});const o=u(e);return o?t.workspaceHome_banner_detached({name:e.name,time:o}):t.workspaceHome_banner_detachedNoBackup({name:e.name})}function A(e){return e?.unavailable?k(e):null}function y(e){if(e.banner==="detached"||e.banner==="moving")return k(e);if(e.banner!=="backupWarning")return"";const o=u(e);return o?t.workspaceHome_banner_backupWarning({name:e.name,time:o}):t.workspaceHome_banner_backupWarningNoBackup({name:e.name})}function N(e){switch(e.setup?.phase){case"preparing":case"runningSetup":return t.workspaceHome_opening_title({name:e.name});case"openFailed":return t.workspaceHome_openFailed_title({name:e.name});case"setupFailed":return t.remoteAgent_notice_setupFailed_title({machine:e.name});default:return""}}function R(e){const o=e.setup;switch(o?.phase){case"preparing":return t.remoteAgent_status_preparingCheckout();case"runningSetup":return t.remoteAgent_status_runningSetup();case"openFailed":return t.workspaceHome_openFailed_hint({name:e.name});case"setupFailed":return o.exitCode!==null?t.workspaceHome_setupFailed_exitCode({code:String(o.exitCode)}):o.timedOut?t.workspaceHome_setupFailed_timeout():t.workspaceHome_setupFailed_generic();default:return null}}function D(e){const o=e.setup,r=o?.phase==="openFailed"||o?.phase==="setupFailed"?o.error:null;return r&&r.replace(/^[a-z][a-z0-9-]*:\s*/,"").trim()||null}function E(e){return e==="detached"?t.workspaceHome_marker_detached():t.workspaceHome_marker_moving()}function C(e){const o=u(e);return o?t.workspaceHome_header_lastBackup({time:o}):null}function V(e){if(!e.moveWarning)return null;const o=u(e);return o?t.workspaceHome_moveDialog_warning({name:e.name,time:o}):t.workspaceHome_moveDialog_warningNoBackup({name:e.name})}function L(e){switch(e.code){case"forbidden":return t.workspaceHome_moveError_forbidden();case"homes-unsupported":return t.workspaceHome_moveError_homesUnsupported();case"home-moving":return t.workspaceHome_moveError_homeMoving();case"home-target-unavailable":return t.workspaceHome_moveError_targetUnavailable();case"machine-update-required":return t.workspaceHome_moveError_updateRequired();default:return t.workspaceHome_moveError_failed({message:e.message})}}const i=new WeakMap,S=n.createSelector((e,o)=>{const r=m(e.workspace.workspaces,o),a=r?.home;if(!a)return null;const s=i.get(a);if(s)return s;const c=f(r);return c&&i.set(a,c),c}),q=n.createSelector((e,o)=>w(m(e.workspace.workspaces,o),!h.select(e,o))),F=n.createSelector((e,o)=>{const r=m(e.workspace.workspaces,o)?.home;return r?.setup?.state==="failed"?_(r.homeId,r.setup.finishedAt):""}),U=n.createSelector((e,o)=>{const r=S.select(e,o);if(r?.banner!=="setupFailed")return r;const a=F.select(e,o);if(!a||!e.workspaceHome.dismissedSetupFailures[a])return r;const s=p.get(r);if(s)return s;const c={...r,banner:null};return p.set(r,c),c}),p=new WeakMap,z=n.createSelector((e,o)=>{const r=e.workspaceHome.setupOutputs[o],a=m(e.workspace.workspaces,o)?.home?.homeId;return r&&r.homeId===a?r:null}),I=n.createSelector((e,o)=>e.workspaceHome.waiting[o]===!0),J=n.createSelector(e=>e.workspaceHome.dialogWorkspaceId),K=n.createSelector(e=>e.workspaceHome.moveStatus==="submitting"),P=n.createSelector(e=>e.workspaceHome.moveFailure),W=[],l=new Map,j=n.createSelector((e,o)=>{if(!o)return W;const r=b({agents:g.select(e,o),machineRows:H.select(e)}),a=JSON.stringify(r),s=l.get(o);return s?.key===a?s.options:(l.set(o,{key:a,options:r}),r)}),Z=n.createSelector((e,o)=>m(e.workspace.workspaces,o)!==void 0);export{C as a,E as b,V as c,D as d,A as e,R as f,N as g,y as h,k as i,F as j,z as k,I as l,L as m,J as n,P as o,j as p,K as q,U as r,q as s,S as t,Z as u};
@@ -1 +1 @@
1
- import{J4 as t,it as o}from"./DIz708WA.js";const r=t.createSelector((a,e)=>a.workspaceNavigation.byWorkspaceId[e]??o(e)),s=t.createSelector((a,e)=>r.select(a,e).mainPanel),i=t.createSelector((a,e)=>r.select(a,e).navigation);export{s as a,r as b,i as s};
1
+ import{J4 as t,it as o}from"./Zldsekdv.js";const r=t.createSelector((a,e)=>a.workspaceNavigation.byWorkspaceId[e]??o(e)),s=t.createSelector((a,e)=>r.select(a,e).mainPanel),i=t.createSelector((a,e)=>r.select(a,e).navigation);export{s as a,r as b,i as s};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DEJSVazL.js","/app/immutable/chunks/a1kG0lDg.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/DIz708WA.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/_Lq6xDqz.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/D9DtZ5bO.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CqJQ3ikU.js","/app/immutable/chunks/Bnfzeolk.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BguHhtk8.js","/app/immutable/chunks/3uTmxU9o.js","/app/immutable/chunks/ysr2ZeEL.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/DMl4Z5o_.js","/app/immutable/chunks/D-2bQKif.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/rJd0G3JA.js","/app/immutable/chunks/ChcqjzlK.js","/app/immutable/chunks/PJHVK1jp.js","/app/immutable/chunks/Dr-hGtz9.js","/app/immutable/chunks/CszTaYPw.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/DEaLADF0.js","/app/immutable/chunks/B5t5yFV1.js","/app/immutable/chunks/ag06q4LL.js","/app/immutable/chunks/Cg6uFDit.js","/app/immutable/chunks/DUk9Psab.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/prHJOEnU.js","/app/immutable/chunks/CoC9Ux29.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/DVXtNvCM.js","/app/immutable/chunks/CFWjNNDI.js","/app/immutable/chunks/DjtlNmSp.js","/app/immutable/chunks/B3nJy--T.js","/app/immutable/chunks/BSaMlrt7.js","/app/immutable/chunks/aFmAoxnK.js","/app/immutable/chunks/DdgRFvxI.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/B3bYRRle.js","/app/immutable/chunks/B5xVgX0B.js","/app/immutable/chunks/BA1W84cz.js","/app/immutable/chunks/qN9kzcwL.js"])))=>i.map(i=>d[i]);
2
- import{bm as v,_ as h}from"./a1kG0lDg.js";import{a as S}from"./BdWqymET.js";import{bl as A,J4 as k,i as T,HA as C,GA as D,vd as j,vb as B,vs as V,ns as z}from"./DIz708WA.js";import{bL as $}from"./CDKjl22x.js";import{m as R}from"./PJHVK1jp.js";import"./CJxGDkBm.js";import"./ysr2ZeEL.js";import"./D9DtZ5bO.js";import{R as N,F as g,E as G,Q as O}from"./BguHhtk8.js";import"./ChTqQfQN.js";import"./DUk9Psab.js";import{o as q}from"./CFWjNNDI.js";import{i as F}from"./DMl4Z5o_.js";const y=new WeakMap;function ye(e,t){const a=n=>{n&&n!=="new"?y.set(e,n):y.delete(e)};return a(t),{update:a,destroy(){y.delete(e)}}}function K(e){for(let t=e;t;t=t.parentElement){const a=y.get(t);if(a)return a}}function J(e,t){const a=e?.closest("[data-workspace-link-target]")?.dataset.workspaceLinkTarget;return{openInWorkspace:!!t&&a===t,panelId:e?.closest("[data-panel-id]")?.dataset.panelId,assistantLayoutId:e?.closest("[data-assistant-layout-id]")?.dataset.assistantLayoutId,surfaceWorkspaceId:K(e)}}const s=new S("LinkHandler");async function Q(e,t){try{const a=t.event?.target,n=J(a instanceof Element?a:null,t.workspaceId),o=t.openInWorkspace??n.openInWorkspace,r=o?void 0:t.sourcePanelId||n.panelId,{assistantLayoutId:l}=n,u=t.workspaceId??(n.surfaceWorkspaceId?A(n.surfaceWorkspaceId):void 0);if(t={...t,workspaceId:u,openInWorkspace:o,sourcePanelId:r},t.customHandler&&await t.customHandler(e))return s.debug("Link handled by custom handler",{url:e}),!0;if(/^workspace-asset:/i.test(e.trim()))return R.error(v.ui_linkHandler_assetUnavailable_error()),!1;const i=N(e),{event:d}=t,f=i&&d&&!g(t)?t.githubLinkDefaultAction??q.select(k.state):void 0,c=!f||f==="open-in-app";if(t.workspaceId===T&&!t.forceExternal&&c){const{showAssistantContent:m}=await h(async()=>{const{showAssistantContent:_}=await import("./DEJSVazL.js");return{showAssistantContent:_}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url),I=t.rawHref?.startsWith("/workspace/")?t.rawHref:e;if(await m(I,{layoutId:l}))return!0}if(e.startsWith("intent://"))return await X(e,{...t,sourcePanelId:r});if(e.startsWith("devspace://"))return await Y(e,{...t,sourcePanelId:r});const p=ne(e,t.rawHref);if(p)return await re(p.path,{...t,sourcePanelId:r},p.fromResolvedUrl);if(e.startsWith("http://")||e.startsWith("https://")){if(G(e))return s.debug("Auth URL detected, opening in external browser",{url:e}),await w(e);if(t.forceExternal)return await w(e);if(o&&c||g(t))return t.workspaceId?await E(e,t.workspaceId,{...t,assistantLayoutId:l}):(s.debug("No workspaceId available, opening in external browser",{url:e}),await w(e));if(i&&d&&f)switch(f){case"open-in-browser":return await w(e);case"open-in-app":return t.workspaceId?await E(e,t.workspaceId,{...t,assistantLayoutId:l}):await w(e);case"copy-link":return await $(e),!0;case"start-workspace":return k.dispatch(C({...i,url:e})),k.dispatch(D(!0)),!0;case"show-choices":return await oe(e,i,d,t,l)}return await w(e)}return e.startsWith("file://")?t.canOpenFile?.()===!1?!1:await H(e):(s.warn("Unknown link type, falling back to external browser",{url:e}),await w(e))}catch(a){return s.error("Failed to handle link",{url:e,error:a}),!1}}async function X(e,t){try{const{parseIntentLink:a,handleIntentLink:n}=await h(async()=>{const{parseIntentLink:l,handleIntentLink:u}=await import("./ChcqjzlK.js");return{parseIntentLink:l,handleIntentLink:u}},__vite__mapDeps([24,1,2,25,11,7,26,16,8,17,27,28,29,14,15,10,18,30,31,32,33,3,4,5,6,9,34,35,36,37,38,39,40,22,41,42,23]),import.meta.url),o=a(e);if(t.canOpenFile&&o.type==="file"&&!t.canOpenFile())return!1;const r=o.workspaceId?A(o.workspaceId):t.workspaceId;return o.valid&&o.type!=="workspace"&&await L(r,t),b(t),await n(e,{workspaceId:t.openInWorkspace?r:t.workspaceId,sourcePanelId:t.sourcePanelId,openInAdjacentPanel:t.openInAdjacentPanel??g(t),openInNewAdjacentPanel:t.openInNewAdjacentPanel??!1})}catch(a){return s.error("Failed to handle intent link",{url:e,error:a}),!1}}async function Y(e,t){try{const a=e.match(/^devspace:\/\/terminal\/(.+)$/);if(a){if(!t.workspaceId)return s.warn("Cannot open terminal without workspaceId",{url:e}),!1;const n=decodeURIComponent(a[1]);s.debug("Opening terminal from devspace link",{terminalId:n,workspaceId:t.workspaceId}),await L(t.workspaceId,t),b(t);const o={type:"terminal",title:v.layout_tabTypes_terminal_title(),terminalId:n,closable:!0};return g(t)?k.dispatch(j(t.workspaceId,o,t.sourcePanelId)):k.dispatch(B(t.workspaceId,o)),!0}return s.warn("Unhandled devspace:// link type",{url:e}),!1}catch(a){return s.error("Failed to handle devspace link",{url:e,error:a}),!1}}const Z=/^[a-z][a-z0-9+.-]*:/i,x=/^[a-z]:\/(?!\/)/i;function W(e){return e.replace(/\\/g,"/")}function ee(e){try{return W(decodeURIComponent(e))}catch{return null}}function te(e){return e.split("/").some(t=>t==="..")}function ae(e){const t=e.split("/").filter(a=>a&&a!==".");return t.length===0||t.some(a=>a==="..")?null:t.join("/")}async function L(e,t){if(!t.openInWorkspace||!e)return;const{openAndShowWorkspace:a}=await h(async()=>{const{openAndShowWorkspace:n}=await import("./aFmAoxnK.js").then(o=>o.s);return{openAndShowWorkspace:n}},__vite__mapDeps([45,4,2,3,5,6,7,8,1,9,10,11,46,47]),import.meta.url);try{await a(e)}catch(n){throw R.error(v.ui_linkHandler_navigationFailed_title(),{description:n instanceof Error?n.message:v.ui_linkHandler_unknownError_label()}),n}}function b(e){!e.workspaceId||!e.sourcePanelId||k.dispatch(z(e.workspaceId,e.sourcePanelId))}function ne(e,t){const a=t??e;if(a){if(a.startsWith("#"))return null;const n=O(a).path;if(!a.startsWith("//")&&(x.test(W(n))||!Z.test(n)))return{path:a,fromResolvedUrl:!1}}if((e.startsWith("http://")||e.startsWith("https://"))&&typeof window<"u")try{const n=new URL(e);if(n.origin===window.location.origin)return{path:n.pathname+n.hash,fromResolvedUrl:!0}}catch{}return null}async function re(e,t,a){try{if(t.canOpenFile?.()===!1)return!1;const n=O(e),o=ee(n.path);if(!o||o.includes("\0"))return!1;let r=o;const{line:l,column:u}=n,{workspaceId:i}=t;if(!i)return s.warn("Cannot open file link without workspaceId",{path:r}),!1;if(te(r))return s.warn("Rejected file link with path traversal",{path:r}),!1;if(r.startsWith("/")||x.test(r)){const{selectWorkspaceById:c}=await h(async()=>{const{selectWorkspaceById:P}=await import("./DVXtNvCM.js").then(M=>M.ea);return{selectWorkspaceById:P}},__vite__mapDeps([40,10,7,1,2,3,4,5,6,8,9,11,35,30,26,16,17,29,22,14,15,18,41,32]),import.meta.url),p=c.select(k.state,i),m=p?.worktreePath??p?.path,I=m?W(m):void 0,_=I?.endsWith("/")?I.slice(0,-1):I;if(_&&r.startsWith(`${_}/`))r=r.slice(_.length+1);else if(a)r=r.replace(/^\/+/,"");else{s.debug("Absolute path outside workspace root, opening in external editor",{path:r});const P=l===void 0?"":`:${l}${u===void 0?"":`:${u}`}`;return await H(`file://${r}${P}`)}}const d=ae(r);if(!d)return s.warn("Rejected invalid workspace file link",{path:r}),!1;r=d;const f=g(t);return await L(i,t),b(t),k.dispatch(V(i,r,{filePathIsLiteral:!0,line:l,openInAdjacentPanel:f,...t.sourcePanelId?{sourcePanelId:t.sourcePanelId}:{}})),s.debug("Opened file link in workspace file viewer",{path:r,workspaceId:i,line:l}),!0}catch(n){return s.error("Failed to open file link",{target:e,error:n}),!1}}async function oe(e,t,a,{workspaceId:n,openInWorkspace:o,sourcePanelId:r},l){try{const{showLinkActionMenu:u}=await h(async()=>{const{showLinkActionMenu:p}=await import("./B3bYRRle.js");return{showLinkActionMenu:p}},__vite__mapDeps([48,2]),import.meta.url),i=a.target instanceof HTMLElement?a.target:null;let d=a instanceof MouseEvent?a.clientX:0,f=a instanceof MouseEvent?a.clientY:0;if(d===0&&f===0&&i){const p=i.getBoundingClientRect();d=p.left,f=p.bottom}const c=u({url:e,gitHubRef:t,x:d,y:f,workspaceId:n,anchorElement:i,openInWorkspace:o??!1,sourcePanelId:r,assistantLayoutId:l});return t.kind==="pr"&&se(c,e),s.debug("Opened link action menu",{url:e,workspaceId:n}),!0}catch(u){return s.warn("Failed to open link action menu, falling back to external browser",{url:e,error:u}),await w(e)}}function se(e,t){h(async()=>{const{loadLinkActionMenuLinkedWorkspaces:a}=await import("./B5xVgX0B.js");return{loadLinkActionMenuLinkedWorkspaces:a}},__vite__mapDeps([49,12,13,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,40,35,30,26,29,41,32,48]),import.meta.url).then(({loadLinkActionMenuLinkedWorkspaces:a})=>a(e,t)).catch(a=>{s.debug("PR workspace lookup unavailable",{url:t,error:a})})}async function ie(e){try{return await L(e,{openInWorkspace:!0}),!0}catch(t){return s.warn("Failed to open linked workspace",{workspaceId:e,error:t}),!1}}async function E(e,t,a={}){if(t===T){try{const{showAssistantContent:o}=await h(async()=>{const{showAssistantContent:r}=await import("./DEJSVazL.js");return{showAssistantContent:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url);if(await o(e,{layoutId:a.assistantLayoutId}))return!0}catch(o){s.warn("Assistant panel unavailable, opening in external browser",{url:e,error:o})}return await w(e)}try{await L(t,a)}catch(o){return s.warn("Failed to enter workspace for in-app link",{url:e,workspaceId:t,error:o}),!1}const n=a.openInWorkspace?void 0:a.sourcePanelId;return await U(e,t,n)}async function U(e,t,a){let n=e,o;try{const{resolveBrowserLinkForOpen:r}=await h(async()=>{const{resolveBrowserLinkForOpen:u}=await import("./BA1W84cz.js").then(i=>i.b);return{resolveBrowserLinkForOpen:u}},__vite__mapDeps([50,25,11,7,1,2,26,16,8,17,27,28,29,14,15,10,18,30,31,32,33,3,4,5,6,9,34,35,36,37,38,39]),import.meta.url),l=await r(e);n=l.url,o=l.requestedUrl}catch(r){s.warn("URL resolution failed, opening the URL unresolved",{url:e,error:r})}try{b({workspaceId:t,sourcePanelId:a});const{getPanelLayoutManager:r}=await h(async()=>{const{getPanelLayoutManager:u}=await import("./qN9kzcwL.js").then(i=>i.p);return{getPanelLayoutManager:u}},__vite__mapDeps([51,3,4,2,5,6,7,8,1,9,10,11,43]),import.meta.url);return r(t).openBrowserPanel(n,void 0,a,o),s.debug("Opened URL in browser panel",{url:e,targetUrl:n,workspaceId:t}),!0}catch(r){return s.warn("Failed to open URL in browser panel, falling back to external browser",{url:e,error:r}),await w(n)}}async function w(e){try{return await F("shell:openExternal",{url:e}),s.debug("Opened URL in external browser",{url:e}),!0}catch(t){return s.error("Failed to open URL in external browser",{url:e,error:t}),!1}}async function H(e){try{const t=e.replace("file://","");return typeof window<"u"&&window.electronAPI?(await F("shell:openExternal",{url:`vscode://file/${t}`}),s.debug("Opened file in external editor",{filePath:t}),!0):!1}catch(t){return s.error("Failed to open file in external editor",{url:e,error:t}),!1}}function ce(e,t={}){let a=null,n=null,o=null;async function r(){if(!n||!o){const d=await h(()=>import("./BguHhtk8.js").then(f=>f.K),__vite__mapDeps([14,1,2,11,7,15,10,16,8,17,18]),import.meta.url);n=d.showLinkTooltip,o=d.hideLinkTooltip}}function l(d){const c=d.target.closest("a");if(c?.href&&!c.href.startsWith("intent://")&&!c.href.startsWith("devspace://")){if(c===a)return;a=c;const p=t.workspaceId??c.closest("[data-workspace-id]")?.dataset.workspaceId??c.closest("[data-workspace-surface]")?.dataset.workspaceSurface;r().then(()=>{a===c&&n&&n(c,c.href,p)})}else a&&(a=null,o?.())}function u(d){const c=d.target.closest("a");if(c&&c===a){const p=d.relatedTarget;if(p&&c.contains(p))return;a=null,o?.()}}function i(){a&&(a=null,o?.())}return e.addEventListener("mouseover",l),e.addEventListener("mouseout",u),e.addEventListener("click",i),()=>{e.removeEventListener("mouseover",l),e.removeEventListener("mouseout",u),e.removeEventListener("click",i),o?.()}}const ve=Object.freeze(Object.defineProperty({__proto__:null,createLinkTooltipHandler:ce,handleLink:Q,openInBrowserPanel:U,openInExternalBrowser:w,openLinkInApp:E,openLinkedWorkspace:ie},Symbol.toStringTag,{value:"Module"}));export{E as a,ie as b,ce as c,Q as h,ve as l,w as o,J as r,ye as w};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/Deg_SlHr.js","/app/immutable/chunks/51_h0jm2.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/Zldsekdv.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BEklUrxK.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/DxvSggY5.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CqJQ3ikU.js","/app/immutable/chunks/Cs_DX3BC.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/CF1Tu_8c.js","/app/immutable/chunks/BQDGTBxC.js","/app/immutable/chunks/CpPNoOk-.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/DMl4Z5o_.js","/app/immutable/chunks/D-2bQKif.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/oOuL5l8A.js","/app/immutable/chunks/CDqnAH9U.js","/app/immutable/chunks/SX1khnGy.js","/app/immutable/chunks/PXCFrn2V.js","/app/immutable/chunks/Cdw_CIdg.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/Bjy4ygfJ.js","/app/immutable/chunks/DGmOjLYi.js","/app/immutable/chunks/C9UsZ4re.js","/app/immutable/chunks/DqFWZ_g1.js","/app/immutable/chunks/JKboQXkL.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/DSQT151l.js","/app/immutable/chunks/BxwkoIbZ.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/XJqoy2ap.js","/app/immutable/chunks/LKW_Bid7.js","/app/immutable/chunks/BuveYyQe.js","/app/immutable/chunks/DUItrdZb.js","/app/immutable/chunks/Cc2FSrQK.js","/app/immutable/chunks/CxmJEenA.js","/app/immutable/chunks/Bi5_2qbB.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/B3bYRRle.js","/app/immutable/chunks/CJb9CQqu.js","/app/immutable/chunks/BDbtK9be.js","/app/immutable/chunks/CgXGPBF5.js"])))=>i.map(i=>d[i]);
2
+ import{bm as v,_ as h}from"./51_h0jm2.js";import{a as S}from"./BdWqymET.js";import{bl as A,J4 as k,i as T,HA as C,GA as D,vd as j,vb as B,vs as V,ns as z}from"./Zldsekdv.js";import{bL as $}from"./DWLnWMNZ.js";import{m as R}from"./SX1khnGy.js";import"./CJxGDkBm.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import{R as N,F as g,E as G,Q as O}from"./CF1Tu_8c.js";import"./ChTqQfQN.js";import"./JKboQXkL.js";import{o as q}from"./LKW_Bid7.js";import{i as F}from"./DMl4Z5o_.js";const y=new WeakMap;function ye(e,t){const a=n=>{n&&n!=="new"?y.set(e,n):y.delete(e)};return a(t),{update:a,destroy(){y.delete(e)}}}function K(e){for(let t=e;t;t=t.parentElement){const a=y.get(t);if(a)return a}}function J(e,t){const a=e?.closest("[data-workspace-link-target]")?.dataset.workspaceLinkTarget;return{openInWorkspace:!!t&&a===t,panelId:e?.closest("[data-panel-id]")?.dataset.panelId,assistantLayoutId:e?.closest("[data-assistant-layout-id]")?.dataset.assistantLayoutId,surfaceWorkspaceId:K(e)}}const s=new S("LinkHandler");async function Q(e,t){try{const a=t.event?.target,n=J(a instanceof Element?a:null,t.workspaceId),o=t.openInWorkspace??n.openInWorkspace,r=o?void 0:t.sourcePanelId||n.panelId,{assistantLayoutId:l}=n,u=t.workspaceId??(n.surfaceWorkspaceId?A(n.surfaceWorkspaceId):void 0);if(t={...t,workspaceId:u,openInWorkspace:o,sourcePanelId:r},t.customHandler&&await t.customHandler(e))return s.debug("Link handled by custom handler",{url:e}),!0;if(/^workspace-asset:/i.test(e.trim()))return R.error(v.ui_linkHandler_assetUnavailable_error()),!1;const i=N(e),{event:d}=t,f=i&&d&&!g(t)?t.githubLinkDefaultAction??q.select(k.state):void 0,c=!f||f==="open-in-app";if(t.workspaceId===T&&!t.forceExternal&&c){const{showAssistantContent:m}=await h(async()=>{const{showAssistantContent:_}=await import("./Deg_SlHr.js");return{showAssistantContent:_}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url),I=t.rawHref?.startsWith("/workspace/")?t.rawHref:e;if(await m(I,{layoutId:l}))return!0}if(e.startsWith("intent://"))return await X(e,{...t,sourcePanelId:r});if(e.startsWith("devspace://"))return await Y(e,{...t,sourcePanelId:r});const p=ne(e,t.rawHref);if(p)return await re(p.path,{...t,sourcePanelId:r},p.fromResolvedUrl);if(e.startsWith("http://")||e.startsWith("https://")){if(G(e))return s.debug("Auth URL detected, opening in external browser",{url:e}),await w(e);if(t.forceExternal)return await w(e);if(o&&c||g(t))return t.workspaceId?await E(e,t.workspaceId,{...t,assistantLayoutId:l}):(s.debug("No workspaceId available, opening in external browser",{url:e}),await w(e));if(i&&d&&f)switch(f){case"open-in-browser":return await w(e);case"open-in-app":return t.workspaceId?await E(e,t.workspaceId,{...t,assistantLayoutId:l}):await w(e);case"copy-link":return await $(e),!0;case"start-workspace":return k.dispatch(C({...i,url:e})),k.dispatch(D(!0)),!0;case"show-choices":return await oe(e,i,d,t,l)}return await w(e)}return e.startsWith("file://")?t.canOpenFile?.()===!1?!1:await H(e):(s.warn("Unknown link type, falling back to external browser",{url:e}),await w(e))}catch(a){return s.error("Failed to handle link",{url:e,error:a}),!1}}async function X(e,t){try{const{parseIntentLink:a,handleIntentLink:n}=await h(async()=>{const{parseIntentLink:l,handleIntentLink:u}=await import("./CDqnAH9U.js");return{parseIntentLink:l,handleIntentLink:u}},__vite__mapDeps([24,1,2,25,11,7,26,16,8,17,27,28,29,14,15,10,18,30,31,32,33,3,4,5,6,9,34,35,36,37,38,39,40,22,41,42,23]),import.meta.url),o=a(e);if(t.canOpenFile&&o.type==="file"&&!t.canOpenFile())return!1;const r=o.workspaceId?A(o.workspaceId):t.workspaceId;return o.valid&&o.type!=="workspace"&&await L(r,t),b(t),await n(e,{workspaceId:t.openInWorkspace?r:t.workspaceId,sourcePanelId:t.sourcePanelId,openInAdjacentPanel:t.openInAdjacentPanel??g(t),openInNewAdjacentPanel:t.openInNewAdjacentPanel??!1})}catch(a){return s.error("Failed to handle intent link",{url:e,error:a}),!1}}async function Y(e,t){try{const a=e.match(/^devspace:\/\/terminal\/(.+)$/);if(a){if(!t.workspaceId)return s.warn("Cannot open terminal without workspaceId",{url:e}),!1;const n=decodeURIComponent(a[1]);s.debug("Opening terminal from devspace link",{terminalId:n,workspaceId:t.workspaceId}),await L(t.workspaceId,t),b(t);const o={type:"terminal",title:v.layout_tabTypes_terminal_title(),terminalId:n,closable:!0};return g(t)?k.dispatch(j(t.workspaceId,o,t.sourcePanelId)):k.dispatch(B(t.workspaceId,o)),!0}return s.warn("Unhandled devspace:// link type",{url:e}),!1}catch(a){return s.error("Failed to handle devspace link",{url:e,error:a}),!1}}const Z=/^[a-z][a-z0-9+.-]*:/i,x=/^[a-z]:\/(?!\/)/i;function W(e){return e.replace(/\\/g,"/")}function ee(e){try{return W(decodeURIComponent(e))}catch{return null}}function te(e){return e.split("/").some(t=>t==="..")}function ae(e){const t=e.split("/").filter(a=>a&&a!==".");return t.length===0||t.some(a=>a==="..")?null:t.join("/")}async function L(e,t){if(!t.openInWorkspace||!e)return;const{openAndShowWorkspace:a}=await h(async()=>{const{openAndShowWorkspace:n}=await import("./CxmJEenA.js").then(o=>o.s);return{openAndShowWorkspace:n}},__vite__mapDeps([45,4,2,3,5,6,7,8,1,9,10,11,46,47]),import.meta.url);try{await a(e)}catch(n){throw R.error(v.ui_linkHandler_navigationFailed_title(),{description:n instanceof Error?n.message:v.ui_linkHandler_unknownError_label()}),n}}function b(e){!e.workspaceId||!e.sourcePanelId||k.dispatch(z(e.workspaceId,e.sourcePanelId))}function ne(e,t){const a=t??e;if(a){if(a.startsWith("#"))return null;const n=O(a).path;if(!a.startsWith("//")&&(x.test(W(n))||!Z.test(n)))return{path:a,fromResolvedUrl:!1}}if((e.startsWith("http://")||e.startsWith("https://"))&&typeof window<"u")try{const n=new URL(e);if(n.origin===window.location.origin)return{path:n.pathname+n.hash,fromResolvedUrl:!0}}catch{}return null}async function re(e,t,a){try{if(t.canOpenFile?.()===!1)return!1;const n=O(e),o=ee(n.path);if(!o||o.includes("\0"))return!1;let r=o;const{line:l,column:u}=n,{workspaceId:i}=t;if(!i)return s.warn("Cannot open file link without workspaceId",{path:r}),!1;if(te(r))return s.warn("Rejected file link with path traversal",{path:r}),!1;if(r.startsWith("/")||x.test(r)){const{selectWorkspaceById:c}=await h(async()=>{const{selectWorkspaceById:P}=await import("./XJqoy2ap.js").then(M=>M.ea);return{selectWorkspaceById:P}},__vite__mapDeps([40,10,7,1,2,3,4,5,6,8,9,11,35,30,26,16,17,29,22,14,15,18,41,32]),import.meta.url),p=c.select(k.state,i),m=p?.worktreePath??p?.path,I=m?W(m):void 0,_=I?.endsWith("/")?I.slice(0,-1):I;if(_&&r.startsWith(`${_}/`))r=r.slice(_.length+1);else if(a)r=r.replace(/^\/+/,"");else{s.debug("Absolute path outside workspace root, opening in external editor",{path:r});const P=l===void 0?"":`:${l}${u===void 0?"":`:${u}`}`;return await H(`file://${r}${P}`)}}const d=ae(r);if(!d)return s.warn("Rejected invalid workspace file link",{path:r}),!1;r=d;const f=g(t);return await L(i,t),b(t),k.dispatch(V(i,r,{filePathIsLiteral:!0,line:l,openInAdjacentPanel:f,...t.sourcePanelId?{sourcePanelId:t.sourcePanelId}:{}})),s.debug("Opened file link in workspace file viewer",{path:r,workspaceId:i,line:l}),!0}catch(n){return s.error("Failed to open file link",{target:e,error:n}),!1}}async function oe(e,t,a,{workspaceId:n,openInWorkspace:o,sourcePanelId:r},l){try{const{showLinkActionMenu:u}=await h(async()=>{const{showLinkActionMenu:p}=await import("./B3bYRRle.js");return{showLinkActionMenu:p}},__vite__mapDeps([48,2]),import.meta.url),i=a.target instanceof HTMLElement?a.target:null;let d=a instanceof MouseEvent?a.clientX:0,f=a instanceof MouseEvent?a.clientY:0;if(d===0&&f===0&&i){const p=i.getBoundingClientRect();d=p.left,f=p.bottom}const c=u({url:e,gitHubRef:t,x:d,y:f,workspaceId:n,anchorElement:i,openInWorkspace:o??!1,sourcePanelId:r,assistantLayoutId:l});return t.kind==="pr"&&se(c,e),s.debug("Opened link action menu",{url:e,workspaceId:n}),!0}catch(u){return s.warn("Failed to open link action menu, falling back to external browser",{url:e,error:u}),await w(e)}}function se(e,t){h(async()=>{const{loadLinkActionMenuLinkedWorkspaces:a}=await import("./CJb9CQqu.js");return{loadLinkActionMenuLinkedWorkspaces:a}},__vite__mapDeps([49,12,13,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,21,22,23,40,35,30,26,29,41,32,48]),import.meta.url).then(({loadLinkActionMenuLinkedWorkspaces:a})=>a(e,t)).catch(a=>{s.debug("PR workspace lookup unavailable",{url:t,error:a})})}async function ie(e){try{return await L(e,{openInWorkspace:!0}),!0}catch(t){return s.warn("Failed to open linked workspace",{workspaceId:e,error:t}),!1}}async function E(e,t,a={}){if(t===T){try{const{showAssistantContent:o}=await h(async()=>{const{showAssistantContent:r}=await import("./Deg_SlHr.js");return{showAssistantContent:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url);if(await o(e,{layoutId:a.assistantLayoutId}))return!0}catch(o){s.warn("Assistant panel unavailable, opening in external browser",{url:e,error:o})}return await w(e)}try{await L(t,a)}catch(o){return s.warn("Failed to enter workspace for in-app link",{url:e,workspaceId:t,error:o}),!1}const n=a.openInWorkspace?void 0:a.sourcePanelId;return await U(e,t,n)}async function U(e,t,a){let n=e,o;try{const{resolveBrowserLinkForOpen:r}=await h(async()=>{const{resolveBrowserLinkForOpen:u}=await import("./BDbtK9be.js").then(i=>i.b);return{resolveBrowserLinkForOpen:u}},__vite__mapDeps([50,25,11,7,1,2,26,16,8,17,27,28,29,14,15,10,18,30,31,32,33,3,4,5,6,9,34,35,36,37,38,39]),import.meta.url),l=await r(e);n=l.url,o=l.requestedUrl}catch(r){s.warn("URL resolution failed, opening the URL unresolved",{url:e,error:r})}try{b({workspaceId:t,sourcePanelId:a});const{getPanelLayoutManager:r}=await h(async()=>{const{getPanelLayoutManager:u}=await import("./CgXGPBF5.js").then(i=>i.p);return{getPanelLayoutManager:u}},__vite__mapDeps([51,3,4,2,5,6,7,8,1,9,10,11,43]),import.meta.url);return r(t).openBrowserPanel(n,void 0,a,o),s.debug("Opened URL in browser panel",{url:e,targetUrl:n,workspaceId:t}),!0}catch(r){return s.warn("Failed to open URL in browser panel, falling back to external browser",{url:e,error:r}),await w(n)}}async function w(e){try{return await F("shell:openExternal",{url:e}),s.debug("Opened URL in external browser",{url:e}),!0}catch(t){return s.error("Failed to open URL in external browser",{url:e,error:t}),!1}}async function H(e){try{const t=e.replace("file://","");return typeof window<"u"&&window.electronAPI?(await F("shell:openExternal",{url:`vscode://file/${t}`}),s.debug("Opened file in external editor",{filePath:t}),!0):!1}catch(t){return s.error("Failed to open file in external editor",{url:e,error:t}),!1}}function ce(e,t={}){let a=null,n=null,o=null;async function r(){if(!n||!o){const d=await h(()=>import("./CF1Tu_8c.js").then(f=>f.K),__vite__mapDeps([14,1,2,11,7,15,10,16,8,17,18]),import.meta.url);n=d.showLinkTooltip,o=d.hideLinkTooltip}}function l(d){const c=d.target.closest("a");if(c?.href&&!c.href.startsWith("intent://")&&!c.href.startsWith("devspace://")){if(c===a)return;a=c;const p=t.workspaceId??c.closest("[data-workspace-id]")?.dataset.workspaceId??c.closest("[data-workspace-surface]")?.dataset.workspaceSurface;r().then(()=>{a===c&&n&&n(c,c.href,p)})}else a&&(a=null,o?.())}function u(d){const c=d.target.closest("a");if(c&&c===a){const p=d.relatedTarget;if(p&&c.contains(p))return;a=null,o?.()}}function i(){a&&(a=null,o?.())}return e.addEventListener("mouseover",l),e.addEventListener("mouseout",u),e.addEventListener("click",i),()=>{e.removeEventListener("mouseover",l),e.removeEventListener("mouseout",u),e.removeEventListener("click",i),o?.()}}const ve=Object.freeze(Object.defineProperty({__proto__:null,createLinkTooltipHandler:ce,handleLink:Q,openInBrowserPanel:U,openInExternalBrowser:w,openLinkInApp:E,openLinkedWorkspace:ie},Symbol.toStringTag,{value:"Module"}));export{E as a,ie as b,ce as c,Q as h,ve as l,w as o,J as r,ye as w};
@@ -1,3 +1,3 @@
1
- import{l as c}from"./CIHmUaya.js";const s=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],d=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],a={close:">",id:"angle",open:"<"},r={close:"\\]",id:"bracket",open:"\\["},F={close:"[>\\]]",id:"auto",open:"[<\\[]"},k={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},p={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function l(t){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:`
1
+ import{l as c}from"./DyHCBf0T.js";const s=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],d=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],a={close:">",id:"angle",open:"<"},r={close:"\\]",id:"bracket",open:"\\["},F={close:"[>\\]]",id:"auto",open:"[<\\[]"},k={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},p={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function l(t){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:`
2
2
  \r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`${t.open}#(?:${d.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),end:new RegExp(`${t.open}/#(?:${d.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`${t.open}#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),afterText:new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),action:{indentAction:c.IndentAction.IndentOutdent}},{beforeText:new RegExp(`${t.open}#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),action:{indentAction:c.IndentAction.Indent}}]}}function g(){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],autoCloseBefore:`
3
3
  \r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`[<\\[]#(?:${d.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:new RegExp(`[<\\[]/#(?:${d.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`[<\\[]#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),action:{indentAction:c.IndentAction.IndentOutdent}},{beforeText:new RegExp(`[<\\[]#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:c.IndentAction.Indent}}]}}function _(t,n){const i=`_${t.id}_${n.id}`,e=u=>u.replace(/__id__/g,i),o=u=>{const m=u.source.replace(/__id__/g,i);return new RegExp(m,u.flags)};return{unicode:!0,includeLF:!1,start:e("default__id__"),ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],[e("open__id__")]:new RegExp(t.open),[e("close__id__")]:new RegExp(t.close),[e("iOpen1__id__")]:new RegExp(n.open1),[e("iOpen2__id__")]:new RegExp(n.open2),[e("iClose__id__")]:new RegExp(n.close),[e("startTag__id__")]:o(/(@open__id__)(#)/),[e("endTag__id__")]:o(/(@open__id__)(\/#)/),[e("startOrEndTag__id__")]:o(/(@open__id__)(\/?#)/),[e("closeTag1__id__")]:o(/((?:@blank)*)(@close__id__)/),[e("closeTag2__id__")]:o(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:["false","true","in","as","using"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/&lt;=|&gt;=|\\lte|\\lt|&lt;|\\gte|\\gt|&gt;|&amp;&amp;|\\and|-&gt;|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:["->","-&gt;"],delimiters:[";",":",",","."],stringOperators:["lte","lt","gte","gt"],noParseTags:["noparse","noParse","comment"],tokenizer:{[e("default__id__")]:[{include:e("@directive_token__id__")},{include:e("@interpolation_and_text_token__id__")}],[e("fmExpression__id__.directive")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("fmExpression__id__.interpolation")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("inParen__id__.plain")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("inParen__id__.gt")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("noSpaceExpression__id__")]:[{include:e("@no_space_expression_end_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("unifiedCall__id__")]:[{include:e("@unified_call_token__id__")}],[e("singleString__id__")]:[{include:e("@string_single_token__id__")}],[e("doubleString__id__")]:[{include:e("@string_double_token__id__")}],[e("rawSingleString__id__")]:[{include:e("@string_single_raw_token__id__")}],[e("rawDoubleString__id__")]:[{include:e("@string_double_raw_token__id__")}],[e("expressionComment__id__")]:[{include:e("@expression_comment_token__id__")}],[e("noParse__id__")]:[{include:e("@no_parse_token__id__")}],[e("terseComment__id__")]:[{include:e("@terse_comment_token__id__")}],[e("directive_token__id__")]:[[o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{cases:{"@noParseTags":{token:"tag",next:e("@noParse__id__.$3")},"@default":{token:"tag"}}},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)(@)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive",next:e("@unifiedCall__id__")}]],[o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)#--/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:{token:"comment",next:e("@terseComment__id__")}],[o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag.invalid",next:e("@fmExpression__id__.directive")}]]],[e("interpolation_and_text_token__id__")]:[[o(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:n.id==="bracket"?"@brackets.interpolation":"delimiter.interpolation"},{token:n.id==="bracket"?"delimiter.interpolation":"@brackets.interpolation",next:e("@fmExpression__id__.interpolation")}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:"source"}]],[e("string_single_token__id__")]:[[/[^'\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/'/,{token:"string",next:"@pop"}]],[e("string_double_token__id__")]:[[/[^"\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/"/,{token:"string",next:"@pop"}]],[e("string_single_raw_token__id__")]:[[/[^']+/,{token:"string.raw"}],[/'/,{token:"string.raw",next:"@pop"}]],[e("string_double_raw_token__id__")]:[[/[^"]+/,{token:"string.raw"}],[/"/,{token:"string.raw",next:"@pop"}]],[e("expression_token__id__")]:[[/(r?)(['"])/,{cases:{"r'":[{token:"keyword"},{token:"string.raw",next:e("@rawSingleString__id__")}],'r"':[{token:"keyword"},{token:"string.raw",next:e("@rawDoubleString__id__")}],"'":[{token:"source"},{token:"string",next:e("@singleString__id__")}],'"':[{token:"source"},{token:"string",next:e("@doubleString__id__")}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:"number"},"@default":{token:"number.float"}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:"delimiter"},{token:""},{token:"identifier"}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:"meta.arrow"},"@delimiters":{token:"delimiter"},"@default":{token:"operators"}}}],[/@id/,{cases:{"@keywords":{token:"keyword.$0"},"@stringOperators":{token:"operators"},"@default":{token:"identifier"}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\]":{cases:{...n.id==="bracket"?{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}}:{},...t.id==="bracket"?{"$S2==directive":{token:"@brackets.directive",next:"@popall"}}:{},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\(":{token:"@brackets",next:e("@inParen__id__.gt")},"\\)":{cases:{[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\{":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\}":{cases:{...n.id==="bracket"?{}:{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}}}}],[/\$\{/,{token:"delimiter.invalid"}]],[e("blank_and_expression_comment_token__id__")]:[[/(?:@blank)+/,{token:""}],[/[<\[][#!]--/,{token:"comment",next:e("@expressionComment__id__")}]],[e("directive_end_token__id__")]:[[/>/,t.id==="bracket"?{token:"operators"}:{token:"@brackets.directive",next:"@popall"}],[o(/(\/)(@close__id__)/),[{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]]],[e("greater_operators_token__id__")]:[[/>/,{token:"operators"}],[/>=/,{token:"operators"}]],[e("no_space_expression_end_token__id__")]:[[/(?:@blank)+/,{token:"",switchTo:e("@fmExpression__id__.directive")}]],[e("unified_call_token__id__")]:[[/(@id)((?:@blank)+)/,[{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(@id)(\/?)(@close__id__)/),[{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]],[/./,{token:"@rematch",next:e("@noSpaceExpression__id__")}]],[e("no_parse_token__id__")]:[[o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:""},{token:"@brackets.directive",next:"@popall"}],"$S2==comment":[{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"}],"@default":[{token:"source"},{token:"source"},{token:"source"},{token:"source"},{token:"source"}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:"comment"},"@default":{token:"source"}}}]],[e("expression_comment_token__id__")]:[[/--[>\]]/,{token:"comment",next:"@pop"}],[/[^\->\]]+|[>\]\-]/,{token:"comment"}]],[e("terse_comment_token__id__")]:[[o(/--(?:@close__id__)/),{token:"comment",next:"@popall"}],[/[^<\[\-]+|[<\[\-]/,{token:"comment"}]]}}}function A(t){const n=_(a,t),i=_(r,t),e=_(F,t);return{...n,...i,...e,unicode:!0,includeLF:!1,start:`default_auto_${t.id}`,ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{...n.tokenizer,...i.tokenizer,...e.tokenizer}}}const b={conf:l(a),language:_(a,k)},x={conf:l(r),language:_(r,k)},$={conf:l(a),language:_(a,p)},E={conf:l(r),language:_(r,p)},B={conf:g(),language:A(k)},D={conf:g(),language:A(p)};export{$ as TagAngleInterpolationBracket,b as TagAngleInterpolationDollar,D as TagAutoInterpolationBracket,B as TagAutoInterpolationDollar,E as TagBracketInterpolationBracket,x as TagBracketInterpolationDollar};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DzoN41_6.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/Bnfzeolk.js","/app/immutable/chunks/a1kG0lDg.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/DIz708WA.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/_Lq6xDqz.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/D9DtZ5bO.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CqJQ3ikU.js","/app/immutable/chunks/BguHhtk8.js","/app/immutable/chunks/3uTmxU9o.js","/app/immutable/chunks/ysr2ZeEL.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DMl4Z5o_.js","/app/immutable/chunks/D-2bQKif.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/rJd0G3JA.js","/app/immutable/chunks/DVXtNvCM.js","/app/immutable/chunks/prHJOEnU.js","/app/immutable/chunks/B5t5yFV1.js","/app/immutable/chunks/Dr-hGtz9.js","/app/immutable/chunks/DEaLADF0.js","/app/immutable/chunks/CFWjNNDI.js","/app/immutable/chunks/Cg6uFDit.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/DdgRFvxI.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/aFmAoxnK.js"])))=>i.map(i=>d[i]);
2
- import{bm as c,_ as p}from"./a1kG0lDg.js";import{m as I}from"./PJHVK1jp.js";import"./CJxGDkBm.js";import"./ysr2ZeEL.js";import"./D9DtZ5bO.js";import{Q as A}from"./BguHhtk8.js";import"./ChTqQfQN.js";import"./DUk9Psab.js";import{i as L,J4 as d,vs as g,vu as v}from"./DIz708WA.js";import{a9 as R}from"./DVXtNvCM.js";import{selectCurrentWorkspaceTabId as P}from"./DjtlNmSp.js";const F="intent://local/note/{note-id}",S="intent://local/{workspace-id}/note/{note-id}";function f(){return c.ui_linkHandler_invalidFormat_error({shortFormat:F,longFormat:S})}class u extends Error{constructor(r){super(r),this.name="NotFoundError"}}function W(e){try{const r=new URL(e.replace("intent://","http://")),t=r.hostname,n=r.pathname.replace(/^\/+/,"").split("/").filter(l=>l.length>0),a=e.replace("intent://","").split(/[?#]/)[0].split("/").slice(1);if(!t||n.length<2)return{type:"unknown",orgId:t||"",resourceId:"",valid:!1,error:f()};let o,s,i,_,w;if(a[0]==="workspace"&&(a.length===2||a.length===3&&a[2]==="")){const l=O(a[1]);if(!l)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};o=l,s="workspace",i=l}else if(a[0]==="file")s="file",i=m(a.slice(1));else if(a.length>=3&&k(a[0])&&a[1]==="file")o=a[0],s="file",i=m(a.slice(2));else if(a.length===5&&a[1]==="agent"&&a[3]==="message"&&k(a[0])&&k(a[2])&&k(a[4])&&n.length===5&&n[1]==="agent"&&n[3]==="message")o=n[0],s="message",_=n[2],i=n[4];else if(n[0]==="note"||n[0]==="task")s=n[0],i=n[1];else if(n.length>=3&&(n[1]==="note"||n[1]==="task"))o=n[0],s=n[1],i=n[2];else return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};if(!i||i.trim().length===0)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:c.ui_linkHandler_emptyResourceId_error()};if(s==="note"||s==="task")return{type:s,orgId:t,workspaceId:o,resourceId:i,valid:!0};if(s==="file"){const l=/^#L\d+(?:-\d+|C\d+)?$/.test(r.hash)?r.hash:"",E=a.slice(o?2:1).join("/"),h=A(E+l);return i=m(h.path.split("/")),w=h.line,H(i)?{type:"file",orgId:t,workspaceId:o,resourceId:i,...w!==void 0?{line:w}:{},valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:"",valid:!1,error:c.ui_linkHandler_invalidFilePath_error()}}return s==="workspace"&&o?{type:"workspace",orgId:t,workspaceId:o,resourceId:i,valid:!0}:s==="message"&&o&&_?{type:"message",orgId:t,workspaceId:o,resourceId:i,agentId:_,valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:i,valid:!1,error:c.ui_linkHandler_unknownResourceType_error({type:s})}}catch(r){return{type:"unknown",orgId:"",resourceId:"",valid:!1,error:r instanceof Error?r.message:c.ui_linkHandler_parseFailed_error()}}}function m(e){return e.map(r=>decodeURIComponent(r)).join("/")}function H(e){return/^[A-Za-z]:/.test(e)?!1:e.split(/[\\/]/).every(t=>t.length>0&&t!=="."&&t!=="..")}const j=new Set([L,"new"]);function O(e){if(e===void 0||!k(e))return null;const r=decodeURIComponent(e);return j.has(r)?null:r}function k(e){let r;try{r=decodeURIComponent(e)}catch{return!1}return r.length>0&&r!=="."&&r!==".."&&!/[\\/]/.test(r)}async function T(e,r={}){if(!e.startsWith("intent://"))return!1;const t=W(e);if(!t.valid)return I.error(c.ui_linkHandler_invalidLink_title(),{description:t.error||c.ui_linkHandler_invalidLink_description()}),!0;try{switch(t.type){case"note":case"task":await N(t,r);break;case"file":await b(t,r);break;case"workspace":await C(t.resourceId);break;case"message":{const{openMessage:n}=await p(async()=>{const{openMessage:a}=await import("./DzoN41_6.js");return{openMessage:a}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]),import.meta.url);await n({workspaceId:t.workspaceId,agentId:t.agentId,messageId:t.resourceId});break}default:I.error(c.ui_linkHandler_unsupportedLink_title(),{description:c.ui_linkHandler_unsupportedLink_description({type:t.type})})}}catch(n){n instanceof u?I.error(c.ui_linkHandler_notFound_title(),{description:n.message}):I.error(c.ui_linkHandler_navigationFailed_title(),{description:n instanceof Error?n.message:c.ui_linkHandler_unknownError_label()})}return!0}function Q(e,r){return R(e,r)}function Z(){return async(e,r,t)=>{const a=t.target.closest("a");return a?.href?.startsWith("intent://")?(t.preventDefault(),await T(a.href)):!1}}async function C(e){const{appClient:r}=await p(async()=>{const{appClient:a}=await import("./Bnfzeolk.js").then(o=>o.o);return{appClient:a}},__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,2,20,21,22,23]),import.meta.url);if(!await r.workspaces.get(e).catch(()=>null))throw new u(c.workspace_loader_notFound_title());const{openAndShowWorkspace:n}=await p(async()=>{const{openAndShowWorkspace:a}=await import("./aFmAoxnK.js").then(o=>o.s);return{openAndShowWorkspace:a}},__vite__mapDeps([34,7,5,6,8,9,10,11,4,12,13,14,32,33]),import.meta.url);await n(e)}async function N(e,r){const t=r.workspaceId??P.select(d.state)??void 0;if(e.workspaceId){const a=!t||e.workspaceId!==t;if(!await y(e.workspaceId,e.resourceId))throw new u(c.ui_linkHandler_noteNotFound_error({noteId:e.resourceId,workspaceId:e.workspaceId}));if(a){const{openAndShowWorkspace:s}=await p(async()=>{const{openAndShowWorkspace:i}=await import("./aFmAoxnK.js").then(_=>_.s);return{openAndShowWorkspace:i}},__vite__mapDeps([34,7,5,6,8,9,10,11,4,12,13,14,32,33]),import.meta.url);await s(e.workspaceId,{query:{note:e.resourceId}})}else d.dispatch(v(e.workspaceId,e.resourceId,{openInAdjacentPanel:r.openInAdjacentPanel??!1,openInNewAdjacentPanel:r.openInNewAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}));return}if(!t)throw new u(c.ui_linkHandler_noSpaceOpen_error());if(!await y(t,e.resourceId))throw new u(c.ui_linkHandler_noteNotFoundCurrent_error({noteId:e.resourceId}));d.dispatch(v(t,e.resourceId,{openInAdjacentPanel:r.openInAdjacentPanel??!1,openInNewAdjacentPanel:r.openInNewAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}))}async function b(e,r){const t=r.workspaceId??P.select(d.state)??void 0;if(e.workspaceId){const n=!t||e.workspaceId!==t;if(n){const{openAndShowWorkspace:a}=await p(async()=>{const{openAndShowWorkspace:o}=await import("./aFmAoxnK.js").then(s=>s.s);return{openAndShowWorkspace:o}},__vite__mapDeps([34,7,5,6,8,9,10,11,4,12,13,14,32,33]),import.meta.url);if(!await a(e.workspaceId))return}d.dispatch(g(e.workspaceId,e.resourceId,{filePathIsLiteral:!0,...e.line!==void 0?{line:e.line}:{},openInAdjacentPanel:n?!1:r.openInAdjacentPanel??!1,sourcePanelId:n?void 0:r.sourcePanelId}));return}if(!t)throw new u(c.ui_linkHandler_noSpaceOpen_error());d.dispatch(g(t,e.resourceId,{filePathIsLiteral:!0,...e.line!==void 0?{line:e.line}:{},openInAdjacentPanel:r.openInAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}))}async function y(e,r){try{const{backendRequest:t}=await p(async()=>{const{backendRequest:o}=await import("./BguHhtk8.js").then(s=>s.j);return{backendRequest:o}},__vite__mapDeps([15,4,5,14,10,16,13,17,11,18,19]),import.meta.url),n=await t("note.get",{workspaceId:e,noteId:r}),a=n&&typeof n=="object"&&"note"in n?n.note:n;return a!=null&&typeof a=="object"}catch{return!1}}export{u as NotFoundError,Z as createIntentLinkClickHandler,Q as generateNoteLink,T as handleIntentLink,W as parseIntentLink};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/BVVyDeyd.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/Cs_DX3BC.js","/app/immutable/chunks/51_h0jm2.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/Zldsekdv.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BEklUrxK.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/DxvSggY5.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CqJQ3ikU.js","/app/immutable/chunks/CF1Tu_8c.js","/app/immutable/chunks/BQDGTBxC.js","/app/immutable/chunks/CpPNoOk-.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DMl4Z5o_.js","/app/immutable/chunks/D-2bQKif.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/oOuL5l8A.js","/app/immutable/chunks/XJqoy2ap.js","/app/immutable/chunks/DSQT151l.js","/app/immutable/chunks/DGmOjLYi.js","/app/immutable/chunks/PXCFrn2V.js","/app/immutable/chunks/Bjy4ygfJ.js","/app/immutable/chunks/LKW_Bid7.js","/app/immutable/chunks/DqFWZ_g1.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/Bi5_2qbB.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/CxmJEenA.js"])))=>i.map(i=>d[i]);
2
+ import{bm as c,_ as p}from"./51_h0jm2.js";import{m as I}from"./SX1khnGy.js";import"./CJxGDkBm.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import{Q as A}from"./CF1Tu_8c.js";import"./ChTqQfQN.js";import"./JKboQXkL.js";import{i as L,J4 as d,vs as g,vu as v}from"./Zldsekdv.js";import{a9 as R}from"./XJqoy2ap.js";import{selectCurrentWorkspaceTabId as P}from"./BuveYyQe.js";const F="intent://local/note/{note-id}",S="intent://local/{workspace-id}/note/{note-id}";function f(){return c.ui_linkHandler_invalidFormat_error({shortFormat:F,longFormat:S})}class u extends Error{constructor(r){super(r),this.name="NotFoundError"}}function W(e){try{const r=new URL(e.replace("intent://","http://")),t=r.hostname,n=r.pathname.replace(/^\/+/,"").split("/").filter(l=>l.length>0),a=e.replace("intent://","").split(/[?#]/)[0].split("/").slice(1);if(!t||n.length<2)return{type:"unknown",orgId:t||"",resourceId:"",valid:!1,error:f()};let o,s,i,_,w;if(a[0]==="workspace"&&(a.length===2||a.length===3&&a[2]==="")){const l=O(a[1]);if(!l)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};o=l,s="workspace",i=l}else if(a[0]==="file")s="file",i=m(a.slice(1));else if(a.length>=3&&k(a[0])&&a[1]==="file")o=a[0],s="file",i=m(a.slice(2));else if(a.length===5&&a[1]==="agent"&&a[3]==="message"&&k(a[0])&&k(a[2])&&k(a[4])&&n.length===5&&n[1]==="agent"&&n[3]==="message")o=n[0],s="message",_=n[2],i=n[4];else if(n[0]==="note"||n[0]==="task")s=n[0],i=n[1];else if(n.length>=3&&(n[1]==="note"||n[1]==="task"))o=n[0],s=n[1],i=n[2];else return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};if(!i||i.trim().length===0)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:c.ui_linkHandler_emptyResourceId_error()};if(s==="note"||s==="task")return{type:s,orgId:t,workspaceId:o,resourceId:i,valid:!0};if(s==="file"){const l=/^#L\d+(?:-\d+|C\d+)?$/.test(r.hash)?r.hash:"",E=a.slice(o?2:1).join("/"),h=A(E+l);return i=m(h.path.split("/")),w=h.line,H(i)?{type:"file",orgId:t,workspaceId:o,resourceId:i,...w!==void 0?{line:w}:{},valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:"",valid:!1,error:c.ui_linkHandler_invalidFilePath_error()}}return s==="workspace"&&o?{type:"workspace",orgId:t,workspaceId:o,resourceId:i,valid:!0}:s==="message"&&o&&_?{type:"message",orgId:t,workspaceId:o,resourceId:i,agentId:_,valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:i,valid:!1,error:c.ui_linkHandler_unknownResourceType_error({type:s})}}catch(r){return{type:"unknown",orgId:"",resourceId:"",valid:!1,error:r instanceof Error?r.message:c.ui_linkHandler_parseFailed_error()}}}function m(e){return e.map(r=>decodeURIComponent(r)).join("/")}function H(e){return/^[A-Za-z]:/.test(e)?!1:e.split(/[\\/]/).every(t=>t.length>0&&t!=="."&&t!=="..")}const j=new Set([L,"new"]);function O(e){if(e===void 0||!k(e))return null;const r=decodeURIComponent(e);return j.has(r)?null:r}function k(e){let r;try{r=decodeURIComponent(e)}catch{return!1}return r.length>0&&r!=="."&&r!==".."&&!/[\\/]/.test(r)}async function T(e,r={}){if(!e.startsWith("intent://"))return!1;const t=W(e);if(!t.valid)return I.error(c.ui_linkHandler_invalidLink_title(),{description:t.error||c.ui_linkHandler_invalidLink_description()}),!0;try{switch(t.type){case"note":case"task":await N(t,r);break;case"file":await b(t,r);break;case"workspace":await C(t.resourceId);break;case"message":{const{openMessage:n}=await p(async()=>{const{openMessage:a}=await import("./BVVyDeyd.js");return{openMessage:a}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]),import.meta.url);await n({workspaceId:t.workspaceId,agentId:t.agentId,messageId:t.resourceId});break}default:I.error(c.ui_linkHandler_unsupportedLink_title(),{description:c.ui_linkHandler_unsupportedLink_description({type:t.type})})}}catch(n){n instanceof u?I.error(c.ui_linkHandler_notFound_title(),{description:n.message}):I.error(c.ui_linkHandler_navigationFailed_title(),{description:n instanceof Error?n.message:c.ui_linkHandler_unknownError_label()})}return!0}function Q(e,r){return R(e,r)}function Z(){return async(e,r,t)=>{const a=t.target.closest("a");return a?.href?.startsWith("intent://")?(t.preventDefault(),await T(a.href)):!1}}async function C(e){const{appClient:r}=await p(async()=>{const{appClient:a}=await import("./Cs_DX3BC.js").then(o=>o.o);return{appClient:a}},__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,2,20,21,22,23]),import.meta.url);if(!await r.workspaces.get(e).catch(()=>null))throw new u(c.workspace_loader_notFound_title());const{openAndShowWorkspace:n}=await p(async()=>{const{openAndShowWorkspace:a}=await import("./CxmJEenA.js").then(o=>o.s);return{openAndShowWorkspace:a}},__vite__mapDeps([34,7,5,6,8,9,10,11,4,12,13,14,32,33]),import.meta.url);await n(e)}async function N(e,r){const t=r.workspaceId??P.select(d.state)??void 0;if(e.workspaceId){const a=!t||e.workspaceId!==t;if(!await y(e.workspaceId,e.resourceId))throw new u(c.ui_linkHandler_noteNotFound_error({noteId:e.resourceId,workspaceId:e.workspaceId}));if(a){const{openAndShowWorkspace:s}=await p(async()=>{const{openAndShowWorkspace:i}=await import("./CxmJEenA.js").then(_=>_.s);return{openAndShowWorkspace:i}},__vite__mapDeps([34,7,5,6,8,9,10,11,4,12,13,14,32,33]),import.meta.url);await s(e.workspaceId,{query:{note:e.resourceId}})}else d.dispatch(v(e.workspaceId,e.resourceId,{openInAdjacentPanel:r.openInAdjacentPanel??!1,openInNewAdjacentPanel:r.openInNewAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}));return}if(!t)throw new u(c.ui_linkHandler_noSpaceOpen_error());if(!await y(t,e.resourceId))throw new u(c.ui_linkHandler_noteNotFoundCurrent_error({noteId:e.resourceId}));d.dispatch(v(t,e.resourceId,{openInAdjacentPanel:r.openInAdjacentPanel??!1,openInNewAdjacentPanel:r.openInNewAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}))}async function b(e,r){const t=r.workspaceId??P.select(d.state)??void 0;if(e.workspaceId){const n=!t||e.workspaceId!==t;if(n){const{openAndShowWorkspace:a}=await p(async()=>{const{openAndShowWorkspace:o}=await import("./CxmJEenA.js").then(s=>s.s);return{openAndShowWorkspace:o}},__vite__mapDeps([34,7,5,6,8,9,10,11,4,12,13,14,32,33]),import.meta.url);if(!await a(e.workspaceId))return}d.dispatch(g(e.workspaceId,e.resourceId,{filePathIsLiteral:!0,...e.line!==void 0?{line:e.line}:{},openInAdjacentPanel:n?!1:r.openInAdjacentPanel??!1,sourcePanelId:n?void 0:r.sourcePanelId}));return}if(!t)throw new u(c.ui_linkHandler_noSpaceOpen_error());d.dispatch(g(t,e.resourceId,{filePathIsLiteral:!0,...e.line!==void 0?{line:e.line}:{},openInAdjacentPanel:r.openInAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}))}async function y(e,r){try{const{backendRequest:t}=await p(async()=>{const{backendRequest:o}=await import("./CF1Tu_8c.js").then(s=>s.j);return{backendRequest:o}},__vite__mapDeps([15,4,5,14,10,16,13,17,11,18,19]),import.meta.url),n=await t("note.get",{workspaceId:e,noteId:r}),a=n&&typeof n=="object"&&"note"in n?n.note:n;return a!=null&&typeof a=="object"}catch{return!1}}export{u as NotFoundError,Z as createIntentLinkClickHandler,Q as generateNoteLink,T as handleIntentLink,W as parseIntentLink};