@intent-hq/web 2.357.4 → 2.358.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 (222) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{DjAk5kVg.js → -kRuCO2W.js} +1 -1
  3. package/web/app/immutable/chunks/{GDe3-FMi.js → 4qV-3jgp.js} +1 -1
  4. package/web/app/immutable/chunks/{BYJ8RYZY.js → 51mPy8SN.js} +1 -1
  5. package/web/app/immutable/chunks/{Oyv13Qiy.js → 5uoxxRrI.js} +1 -1
  6. package/web/app/immutable/chunks/{DG3WDlq-.js → 6M8_bOmN.js} +1 -1
  7. package/web/app/immutable/chunks/{Bh1vUt9d.js → A6hJVKP1.js} +1 -1
  8. package/web/app/immutable/chunks/{DMHwvyvz.js → AXctOpQN.js} +1 -1
  9. package/web/app/immutable/chunks/B--u_2Nc.js +12 -0
  10. package/web/app/immutable/chunks/{VhDocpDM.js → B1YqGJC0.js} +4 -4
  11. package/web/app/immutable/chunks/{CepTMMxo.js → B21KgEqG.js} +1 -1
  12. package/web/app/immutable/chunks/{BWTqffIS.js → B39I5OLS.js} +1 -1
  13. package/web/app/immutable/chunks/{BfC3EYEu.js → B72tYG46.js} +4 -4
  14. package/web/app/immutable/chunks/{D5P99waS.js → B7XrY5h-.js} +1 -1
  15. package/web/app/immutable/chunks/{CidDuwj5.js → BAPNccEM.js} +1 -1
  16. package/web/app/immutable/chunks/{WI2rU6Dw.js → BAnyU7RO.js} +4 -4
  17. package/web/app/immutable/chunks/{D52fecD7.js → BCRcMJ-W.js} +1 -1
  18. package/web/app/immutable/chunks/{6nEKsd4m.js → BDS5fuDA.js} +3 -3
  19. package/web/app/immutable/chunks/{BPRVG6k-.js → BECt4TTe.js} +1 -1
  20. package/web/app/immutable/chunks/{Di-it7y2.js → BEwavXhY.js} +1 -1
  21. package/web/app/immutable/chunks/{D1LanoIo.js → BGUCuT7q.js} +1 -1
  22. package/web/app/immutable/chunks/{CDLLVu20.js → BI5bMZSW.js} +1 -1
  23. package/web/app/immutable/chunks/{B4WNkghA.js → BJzXpdtH.js} +1 -1
  24. package/web/app/immutable/chunks/{yb3Co1vF.js → BK68KdNc.js} +1 -1
  25. package/web/app/immutable/chunks/{DhnPdhLH.js → BOz86KDw.js} +1 -1
  26. package/web/app/immutable/chunks/{B6b75DQb.js → BQ8X2LHt.js} +1 -1
  27. package/web/app/immutable/chunks/{CCPIWPlX.js → BUq4flUY.js} +3 -3
  28. package/web/app/immutable/chunks/{DnSTzyB_.js → BYPGFyPj.js} +1 -1
  29. package/web/app/immutable/chunks/{TJb4C4BX.js → B_8PQmWM.js} +1 -1
  30. package/web/app/immutable/chunks/{Bmp026-E.js → Bafh2cjd.js} +1 -1
  31. package/web/app/immutable/chunks/{CUENfhIj.js → BdYsGCQ_.js} +1 -1
  32. package/web/app/immutable/chunks/{DgTfJBBV.js → BeYq4r24.js} +1 -1
  33. package/web/app/immutable/chunks/{C9UpJBBj.js → BfQXVs1y.js} +1 -1
  34. package/web/app/immutable/chunks/{DpAflFhf.js → BfkeWNeb.js} +1 -1
  35. package/web/app/immutable/chunks/{Y-OyMtSc.js → BgRBcaUo.js} +1 -1
  36. package/web/app/immutable/chunks/{C9AQUTrX.js → BhL5eL8L.js} +1 -1
  37. package/web/app/immutable/chunks/{BRg3yx4t.js → BjAL1UGr.js} +1 -1
  38. package/web/app/immutable/chunks/BkA84tNB.js +1 -0
  39. package/web/app/immutable/chunks/{CrI50RYR.js → BlcLvSv0.js} +1 -1
  40. package/web/app/immutable/chunks/{uEUD23Io.js → Bmbt3TeR.js} +1 -1
  41. package/web/app/immutable/chunks/{C9Gi_ykP.js → Bmq2l9Xx.js} +1 -1
  42. package/web/app/immutable/chunks/{Baxo-p4A.js → BoLczGrE.js} +1 -1
  43. package/web/app/immutable/chunks/{BuUBjVar.js → BoTvEsBS.js} +1 -1
  44. package/web/app/immutable/chunks/{szAtw5TB.js → BoZRF0Rb.js} +2 -2
  45. package/web/app/immutable/chunks/{DGyBq8td.js → BonEtgBU.js} +1 -1
  46. package/web/app/immutable/chunks/{D9ihrtxc.js → BrZfxmOm.js} +1 -1
  47. package/web/app/immutable/chunks/{DaFADtX2.js → Bre5dDRa.js} +1 -1
  48. package/web/app/immutable/chunks/{wDOMtmLO.js → Bt2zHtMa.js} +4 -4
  49. package/web/app/immutable/chunks/{CevkAW-G.js → Bu2DF6bU.js} +1 -1
  50. package/web/app/immutable/chunks/{CiytRxeL.js → BuuNmCxr.js} +1 -1
  51. package/web/app/immutable/chunks/{C2J91Ybl.js → Bwi005HJ.js} +1 -1
  52. package/web/app/immutable/chunks/{DvU6Xs6d.js → BxMfB3uU.js} +1 -1
  53. package/web/app/immutable/chunks/{DJGM2j6m.js → C-NPSxo2.js} +1 -1
  54. package/web/app/immutable/chunks/{B_VFEM89.js → C1sOJyFR.js} +1 -1
  55. package/web/app/immutable/chunks/{BWvY_DCM.js → C3RH3nH_.js} +1 -1
  56. package/web/app/immutable/chunks/{BOZgIk7Z.js → C3lgXrJt.js} +1 -1
  57. package/web/app/immutable/chunks/{6eRayZXD.js → C3rj6Dod.js} +1 -1
  58. package/web/app/immutable/chunks/{D3EfSPo3.js → C4Mn0Hb-.js} +1 -1
  59. package/web/app/immutable/chunks/{BbN1PgGi.js → C4eFP2Zv.js} +1 -1
  60. package/web/app/immutable/chunks/{AyjU69sJ.js → C7xPtEkO.js} +1 -1
  61. package/web/app/immutable/chunks/{uuMWQrcj.js → C9LROoRU.js} +31 -31
  62. package/web/app/immutable/chunks/{BQyqxanw.js → C9OoGyJu.js} +1 -1
  63. package/web/app/immutable/chunks/{CdvjbMBZ.js → CB6GZsrQ.js} +1 -1
  64. package/web/app/immutable/chunks/{D0KK05nQ.js → CD4BYSPy.js} +1 -1
  65. package/web/app/immutable/chunks/{B_A7paAH.js → CDVUC5qK.js} +1 -1
  66. package/web/app/immutable/chunks/{CKjYWqEJ.js → CE70dsdv.js} +1 -1
  67. package/web/app/immutable/chunks/{DJ2tjGUh.js → CEGk06kt.js} +2 -2
  68. package/web/app/immutable/chunks/{tPMekvvd.js → CFa2NaXM.js} +1 -1
  69. package/web/app/immutable/chunks/{CApCUeix.js → CHFBgXBI.js} +3 -3
  70. package/web/app/immutable/chunks/{C7b-eHjB.js → CIkMa8dp.js} +1 -1
  71. package/web/app/immutable/chunks/{CmcfBlnY.js → CKI1_bv0.js} +1 -1
  72. package/web/app/immutable/chunks/{DxlrzlUO.js → CKte-e5A.js} +1 -1
  73. package/web/app/immutable/chunks/{CjlM36lq.js → CLXYd9_V.js} +1 -1
  74. package/web/app/immutable/chunks/{D7dG8IxI.js → CM4ereyg.js} +1 -1
  75. package/web/app/immutable/chunks/{COHdP7EQ.js → CM_58O-V.js} +1 -1
  76. package/web/app/immutable/chunks/{fsmCJ9E9.js → CQKd4mJk.js} +1 -1
  77. package/web/app/immutable/chunks/{BWf1NdbK.js → CQhHtQK8.js} +1 -1
  78. package/web/app/immutable/chunks/{BD71gD4J.js → CSHLIIcV.js} +1 -1
  79. package/web/app/immutable/chunks/{Br91V8RL.js → CSK-Ks7E.js} +2 -2
  80. package/web/app/immutable/chunks/{DliGSI4f.js → CSQeGAbZ.js} +1 -1
  81. package/web/app/immutable/chunks/{BHWZ3Etq.js → CU48trLA.js} +1 -1
  82. package/web/app/immutable/chunks/{DqSulugZ.js → CV1tpNrG.js} +1 -1
  83. package/web/app/immutable/chunks/{DNtNjvDe.js → CVK5BOxJ.js} +1 -1
  84. package/web/app/immutable/chunks/{CgYlJivn.js → CWq1oZWc.js} +1 -1
  85. package/web/app/immutable/chunks/{DJQD2qGi.js → CXak2CWS.js} +1 -1
  86. package/web/app/immutable/chunks/{Bj7EqZg1.js → CY8reJZf.js} +1 -1
  87. package/web/app/immutable/chunks/{Dm9nSbXn.js → Ca9Vj8X7.js} +1 -1
  88. package/web/app/immutable/chunks/{Dk3D2qRF.js → CaSPRIlD.js} +1 -1
  89. package/web/app/immutable/chunks/{B--8cA8U.js → Cbqe96Su.js} +1 -1
  90. package/web/app/immutable/chunks/CdSvrLOZ.js +1 -0
  91. package/web/app/immutable/chunks/{BL1a9dAQ.js → CdjS2YHF.js} +1 -1
  92. package/web/app/immutable/chunks/{TWlQnI1a.js → CevP3sLy.js} +1 -1
  93. package/web/app/immutable/chunks/{BCqeyLEa.js → Cgbm4X7X.js} +1 -1
  94. package/web/app/immutable/chunks/{B3w_tv0r.js → Chs5DYDz.js} +1 -1
  95. package/web/app/immutable/chunks/{DdYYYzyf.js → CiDOKjBy.js} +1 -1
  96. package/web/app/immutable/chunks/{BbWt0c2Q.js → CjuCfT-H.js} +1 -1
  97. package/web/app/immutable/chunks/{Dw1fJq7X.js → Cl6etYZ6.js} +1 -1
  98. package/web/app/immutable/chunks/{CuG3zmBQ.js → Cld1FvNn.js} +1 -1
  99. package/web/app/immutable/chunks/{DZcwYGS9.js → Coz3Oj0D.js} +1 -1
  100. package/web/app/immutable/chunks/{BTTKWVvN.js → Cp-V-kX1.js} +1 -1
  101. package/web/app/immutable/chunks/{ByhfeSoA.js → CpjcO2UG.js} +1 -1
  102. package/web/app/immutable/chunks/{BkMPf-hH.js → CrVg-aIz.js} +1 -1
  103. package/web/app/immutable/chunks/{BRnEHgHa.js → D-WYdZmt.js} +1 -1
  104. package/web/app/immutable/chunks/{CYhYk9vg.js → D0OCVTi-.js} +3 -3
  105. package/web/app/immutable/chunks/{C2OZB732.js → D11PDukO.js} +1 -1
  106. package/web/app/immutable/chunks/{DTSeldrl.js → D1EdV32Z.js} +3 -3
  107. package/web/app/immutable/chunks/{CfAeME9p.js → D22mDMme.js} +1 -1
  108. package/web/app/immutable/chunks/{DNj5HeWT.js → D2HdgcKm.js} +1 -1
  109. package/web/app/immutable/chunks/{1aTCAbgv.js → D4JuvJNp.js} +1 -1
  110. package/web/app/immutable/chunks/{DY9qQwsB.js → D6fddbvu.js} +1 -1
  111. package/web/app/immutable/chunks/D6jebcOi.js +1 -0
  112. package/web/app/immutable/chunks/{D46pT3zv.js → D7NtVhAr.js} +1 -1
  113. package/web/app/immutable/chunks/{C2fVGsLZ.js → D7lNUU6C.js} +1 -1
  114. package/web/app/immutable/chunks/{DhYZ_jqj.js → D83kA8oL.js} +2 -2
  115. package/web/app/immutable/chunks/{uZOAfSHR.js → D90JUNRF.js} +1 -1
  116. package/web/app/immutable/chunks/{fvC-6LgA.js → D98guX46.js} +1 -1
  117. package/web/app/immutable/chunks/{kDhfBVjP.js → D9pex3XI.js} +1 -1
  118. package/web/app/immutable/chunks/{DMAj9PUV.js → DC7_gAhS.js} +1 -1
  119. package/web/app/immutable/chunks/{BetmOerX.js → DEnGZxZ_.js} +1 -1
  120. package/web/app/immutable/chunks/{BhB8N3fb.js → DFPzxECW.js} +1 -1
  121. package/web/app/immutable/chunks/{0fyWevd4.js → DH2Upu6c.js} +1 -1
  122. package/web/app/immutable/chunks/{DEMIUKCI.js → DHlDoleO.js} +1 -1
  123. package/web/app/immutable/chunks/{CJ5wd9GV.js → DIPuiSIu.js} +1 -1
  124. package/web/app/immutable/chunks/{ChNn4wkV.js → DJ0Jx38f.js} +1 -1
  125. package/web/app/immutable/chunks/{DFHDo6Bi.js → DJ_p0OFU.js} +1 -1
  126. package/web/app/immutable/chunks/{7VnBiBId.js → DLimNxdW.js} +1 -1
  127. package/web/app/immutable/chunks/{DpklRiU5.js → DMFMx3nl.js} +1 -1
  128. package/web/app/immutable/chunks/{CjYf-qr2.js → DMXfYyb6.js} +1 -1
  129. package/web/app/immutable/chunks/{DuTm84a7.js → DN7oXRlP.js} +1 -1
  130. package/web/app/immutable/chunks/{CkxlqZls.js → DPKwA49z.js} +2 -2
  131. package/web/app/immutable/chunks/{KoP_1TPv.js → DPk0hNVC.js} +1 -1
  132. package/web/app/immutable/chunks/{B_j5bBwR.js → DQqi7m2D.js} +1 -1
  133. package/web/app/immutable/chunks/{_XUW51Cy.js → DR11idWf.js} +1 -1
  134. package/web/app/immutable/chunks/{C4URXf9z.js → DSqWFvtc.js} +1 -1
  135. package/web/app/immutable/chunks/{BqRgQbJq.js → DVgQbSSY.js} +1 -1
  136. package/web/app/immutable/chunks/{vgBqJ0W5.js → DVmH_mdJ.js} +1 -1
  137. package/web/app/immutable/chunks/{BegNZsrj.js → DZ_5eRdK.js} +1 -1
  138. package/web/app/immutable/chunks/{D48YW7ZL.js → DZmWXrCy.js} +2 -2
  139. package/web/app/immutable/chunks/{Cp3ZOsmE.js → D_6coCxv.js} +1 -1
  140. package/web/app/immutable/chunks/{DeM2gg0S.js → DbmNxzez.js} +1 -1
  141. package/web/app/immutable/chunks/{DLVAkJxA.js → De-23Gnq.js} +1 -1
  142. package/web/app/immutable/chunks/{p6tdR-bF.js → De3GtDyW.js} +1 -1
  143. package/web/app/immutable/chunks/{CyVE_a1Z.js → DfFnGsMp.js} +1 -1
  144. package/web/app/immutable/chunks/{CgH2fhQZ.js → DgCFRQUb.js} +1 -1
  145. package/web/app/immutable/chunks/{Cn80JY_U.js → DhuTnbBI.js} +1 -1
  146. package/web/app/immutable/chunks/{CB1RbuBr.js → Di6UqIba.js} +1 -1
  147. package/web/app/immutable/chunks/{nwV8pNbJ.js → DifIxf0d.js} +1 -1
  148. package/web/app/immutable/chunks/{yrnucJGA.js → DkHPIJea.js} +1 -1
  149. package/web/app/immutable/chunks/{DNNI3gyK.js → DlJukBla.js} +1 -1
  150. package/web/app/immutable/chunks/{BTU_oKHo.js → DlQfuVhT.js} +1 -1
  151. package/web/app/immutable/chunks/{NUieU9w-.js → DlX8LW3G.js} +1 -1
  152. package/web/app/immutable/chunks/{Bc6DrDuw.js → DmSaqClG.js} +1 -1
  153. package/web/app/immutable/chunks/{C22dT4UV.js → DokMbojI.js} +1 -1
  154. package/web/app/immutable/chunks/{C3rfyt9G.js → DrzNBKRX.js} +1 -1
  155. package/web/app/immutable/chunks/{yurXhKKF.js → Ds6w291j.js} +1 -1
  156. package/web/app/immutable/chunks/{Bggds_Lj.js → DtBQtTbR.js} +1 -1
  157. package/web/app/immutable/chunks/{D7mXebVR.js → DusCCxOz.js} +1 -1
  158. package/web/app/immutable/chunks/{F6JYuVa2.js → DvOPTg8o.js} +1 -1
  159. package/web/app/immutable/chunks/{DBLkjlmS.js → DxjLRZie.js} +1 -1
  160. package/web/app/immutable/chunks/{BLsWj6oF.js → DyY04EMd.js} +1 -1
  161. package/web/app/immutable/chunks/{CWfbH15T.js → DzV2tP7D.js} +1 -1
  162. package/web/app/immutable/chunks/{CJsbK-x_.js → EIfr2WPF.js} +1 -1
  163. package/web/app/immutable/chunks/{C6U9O50r.js → EUhChSgv.js} +1 -1
  164. package/web/app/immutable/chunks/{CP1rOWJf.js → HTMQjphG.js} +1 -1
  165. package/web/app/immutable/chunks/{D2qgPGPl.js → Hn8VNjVU.js} +1 -1
  166. package/web/app/immutable/chunks/{BMFkTdqL.js → MVAiW-hJ.js} +1 -1
  167. package/web/app/immutable/chunks/OnVg69qn.js +1 -0
  168. package/web/app/immutable/chunks/{BrYqzKAn.js → QThbrY7P.js} +1 -1
  169. package/web/app/immutable/chunks/{B2dQCxg7.js → QoEJNfmE.js} +2 -2
  170. package/web/app/immutable/chunks/{45S952xd.js → RXp9Ya1-.js} +1 -1
  171. package/web/app/immutable/chunks/{CV_50DRv.js → SvsTsrhb.js} +1 -1
  172. package/web/app/immutable/chunks/{BE2RLndQ.js → Vl66GswY.js} +1 -1
  173. package/web/app/immutable/chunks/{DdLb4YD1.js → _Ak2VoUq.js} +1 -1
  174. package/web/app/immutable/chunks/{m9ZCGvto.js → _NdW2WBC.js} +2 -2
  175. package/web/app/immutable/chunks/{DoP1t9d2.js → _bOTv1mB.js} +1 -1
  176. package/web/app/immutable/chunks/{D05xLrNx.js → d0funJ1P.js} +1 -1
  177. package/web/app/immutable/chunks/{C7yU1Im3.js → ek2C_PyH.js} +1 -1
  178. package/web/app/immutable/chunks/{Cu8PqUia.js → ev7flkaM.js} +1 -1
  179. package/web/app/immutable/chunks/{BMje4Ns7.js → evZTPwS7.js} +4 -4
  180. package/web/app/immutable/chunks/{B96xkBqi.js → gfWJw24O.js} +1 -1
  181. package/web/app/immutable/chunks/{BavSfKsp.js → i4GmiVMD.js} +1 -1
  182. package/web/app/immutable/chunks/ikBj1eYj.js +1 -0
  183. package/web/app/immutable/chunks/{-rkW0Q6N.js → pgv9jNmm.js} +1 -1
  184. package/web/app/immutable/chunks/{Cnd1Toz7.js → pwWESNJZ.js} +1 -1
  185. package/web/app/immutable/chunks/{COjr4Q76.js → rTUEOx0p.js} +2 -2
  186. package/web/app/immutable/chunks/{wbi8geh_.js → uFuCUyKk.js} +1 -1
  187. package/web/app/immutable/chunks/{DXWj1WUy.js → v1s2zbkS.js} +1 -1
  188. package/web/app/immutable/chunks/{Zl6q5v_F.js → v_4lRRTK.js} +1 -1
  189. package/web/app/immutable/chunks/{DuwPQUhd.js → x3PmW7lX.js} +1 -1
  190. package/web/app/immutable/chunks/{C2sVpxj-.js → xe2H3EkW.js} +2 -2
  191. package/web/app/immutable/chunks/{C9iqPxLd.js → yiVXShkh.js} +1 -1
  192. package/web/app/immutable/chunks/{C9rtksN7.js → zK_pBQnY.js} +1 -1
  193. package/web/app/immutable/chunks/{zfFEy871.js → zgW9h7_p.js} +2 -2
  194. package/web/app/immutable/entry/{app.Kv0DFQvR.js → app.CbA16NuX.js} +2 -2
  195. package/web/app/immutable/entry/start.Bk8Z1djZ.js +1 -0
  196. package/web/app/immutable/nodes/{0.CnX0gjVy.js → 0.BasYUO8v.js} +1 -1
  197. package/web/app/immutable/nodes/{1.BDneWl1s.js → 1.CIO3OA-k.js} +1 -1
  198. package/web/app/immutable/nodes/{10.DZFL5_cQ.js → 10.CFi8hf1p.js} +1 -1
  199. package/web/app/immutable/nodes/{12.zW0eyaJh.js → 12.5Zegs-e7.js} +1 -1
  200. package/web/app/immutable/nodes/{13.BC8MED3o.js → 13.C6rcyOvO.js} +1 -1
  201. package/web/app/immutable/nodes/{14.DHFGIJTR.js → 14.BshK7qxH.js} +1 -1
  202. package/web/app/immutable/nodes/{15.BMXR1gHR.js → 15.Xbhs2JLI.js} +1 -1
  203. package/web/app/immutable/nodes/{16.vNaF6DA8.js → 16.D1Kda7eS.js} +1 -1
  204. package/web/app/immutable/nodes/{17.MrvR2td2.js → 17.BWDMPbmT.js} +1 -1
  205. package/web/app/immutable/nodes/{18.CaanBxcs.js → 18.C5ulMwTp.js} +2 -2
  206. package/web/app/immutable/nodes/{2.DKpY1NjB.js → 2.BNqRZUPf.js} +11 -11
  207. package/web/app/immutable/nodes/{3.C8i4_bLO.js → 3.Cvuu_muM.js} +1 -1
  208. package/web/app/immutable/nodes/{4.AseZck_W.js → 4.DN_ujY3l.js} +1 -1
  209. package/web/app/immutable/nodes/{5.CK86dPa5.js → 5.Dec4Arss.js} +1 -1
  210. package/web/app/immutable/nodes/{6.cni0i0ME.js → 6.DpEHMH4c.js} +1 -1
  211. package/web/app/immutable/nodes/{7.DCy8OShP.js → 7.Dv3u39NY.js} +1 -1
  212. package/web/app/immutable/nodes/{8.DQ-1j6VE.js → 8.J1fqiqGl.js} +4 -4
  213. package/web/app/immutable/nodes/{9.DDnJ4KMi.js → 9.Du0PNcOn.js} +5 -5
  214. package/web/app/version.json +1 -1
  215. package/web/index.html +15 -15
  216. package/web/app/immutable/chunks/9bhdf_gz.js +0 -1
  217. package/web/app/immutable/chunks/BGikh8Vc.js +0 -1
  218. package/web/app/immutable/chunks/BbcaUswI.js +0 -1
  219. package/web/app/immutable/chunks/Bh2TfD77.js +0 -1
  220. package/web/app/immutable/chunks/BztjFXg4.js +0 -12
  221. package/web/app/immutable/chunks/D3ME3iof.js +0 -1
  222. package/web/app/immutable/entry/start.YEAegS9Y.js +0 -1
@@ -1,4 +1,4 @@
1
- import{t as Ke,bo as y,bm as Ce,bw as Ue,b as Ve,q as ur,n as vr,r as gr,o as fr,p as hr,s as mr,bs as ht,bq as pr,f as _r,l as xr,g as br,e as wr,d as yr,m as kr,j as $r,i as Sr,h as Cr,k as Nr}from"./BkP7iWmk.js";import{bs as Je,ca as Ze,aD as e,ay as be,a5 as o,bH as I,bS as n,a7 as Pt,W as i,be as st,b$ as et,b_ as M,bO as C,bA as s,bl as O,bn as qe,bV as we,aA as k,c9 as _,aB as x,br as mt}from"./DYhIMPy1.js";import{nC as Rr,II as ct,mK as Wt,ed as Mr,ex as Pr,ey as Ir}from"./fvC-6LgA.js";import{i as z}from"./Cmsd5u03.js";import{I as He,D as Oe,y as Lr,h as at}from"./EFalm4kN.js";import{ds as Ar,bf as Er}from"./COHdP7EQ.js";import{a9 as jt}from"./6nEKsd4m.js";import{I as it,g as Ge,i as It}from"./eF4sVb1p.js";import{f as xe}from"./BTU_oKHo.js";import"./CkxlqZls.js";import{f as ze,s as zr}from"./DdeuoyZB.js";import"./C400w5jq.js";import{F as fe,$ as Dr,cN as Hr,at as ot,au as pt,b_ as Tr,aS as Wr,bK as jr,bE as Fr,b6 as Br,cS as Gr,cj as Or,b3 as St,cX as Rt,cn as _t,bl as Kr,cB as Ur,ar as Vr}from"./Duz2cV7w.js";import{i as Jr}from"./uuMWQrcj.js";import{E as Ft,B as qr}from"./DJ2tjGUh.js";import{H as Bt}from"./CcNhqKh5.js";import{I as Vt}from"./C9iqPxLd.js";import"./DJpoQ2fS.js";import{M as Mt}from"./WI2rU6Dw.js";import{t as Ct}from"./BPRVG6k-.js";const Qr=[/^diff --git /,/^index\s/,/^---\s/,/^\+\+\+\s/,/^\/];function Xr($){const r=[];if(!$)return r;const d=$.split(`
1
+ import{t as Ke,bo as y,bm as Ce,bw as Ue,b as Ve,q as ur,n as vr,r as gr,o as fr,p as hr,s as mr,bs as ht,bq as pr,f as _r,l as xr,g as br,e as wr,d as yr,m as kr,j as $r,i as Sr,h as Cr,k as Nr}from"./BkP7iWmk.js";import{bs as Je,ca as Ze,aD as e,ay as be,a5 as o,bH as I,bS as n,a7 as Pt,W as i,be as st,b$ as et,b_ as M,bO as C,bA as s,bl as O,bn as qe,bV as we,aA as k,c9 as _,aB as x,br as mt}from"./DYhIMPy1.js";import{nC as Rr,II as ct,mK as Wt,ed as Mr,ex as Pr,ey as Ir}from"./D98guX46.js";import{i as z}from"./Cmsd5u03.js";import{I as He,D as Oe,y as Lr,h as at}from"./EFalm4kN.js";import{ds as Ar,bf as Er}from"./CM_58O-V.js";import{a9 as jt}from"./BDS5fuDA.js";import{I as it,g as Ge,i as It}from"./eF4sVb1p.js";import{f as xe}from"./DlQfuVhT.js";import"./DPKwA49z.js";import{f as ze,s as zr}from"./DdeuoyZB.js";import"./C400w5jq.js";import{F as fe,$ as Dr,cN as Hr,at as ot,au as pt,b_ as Tr,aS as Wr,bK as jr,bE as Fr,b6 as Br,cS as Gr,cj as Or,b3 as St,cX as Rt,cn as _t,bl as Kr,cB as Ur,ar as Vr}from"./Duz2cV7w.js";import{i as Jr}from"./C9LROoRU.js";import{E as Ft,B as qr}from"./CEGk06kt.js";import{H as Bt}from"./CcNhqKh5.js";import{I as Vt}from"./yiVXShkh.js";import"./DJpoQ2fS.js";import{M as Mt}from"./BAnyU7RO.js";import{t as Ct}from"./BECt4TTe.js";const Qr=[/^diff --git /,/^index\s/,/^---\s/,/^\+\+\+\s/,/^\/];function Xr($){const r=[];if(!$)return r;const d=$.split(`
2
2
  `);let m=null,b=0,u=0;const W=P=>{const h=P.match(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),J=h?parseInt(h[1],10):0,K=h&&h[2]?parseInt(h[2],10):null,pe=h?parseInt(h[3],10):0,q=h&&h[4]?parseInt(h[4],10):null;m={header:P,oldStart:J,oldLines:K,newStart:pe,newLines:q,lines:[]},r.push(m),b=J,u=pe};for(const P of d){if(P.startsWith("@@")){W(P);continue}if(!m)continue;const h=m;P.startsWith("+")?h.lines.push({type:"addition",content:P.slice(1),oldNum:null,newNum:u++,raw:P}):P.startsWith("-")?h.lines.push({type:"deletion",content:P.slice(1),oldNum:b++,newNum:null,raw:P}):P.startsWith(" ")?h.lines.push({type:"context",content:P.slice(1),oldNum:b++,newNum:u++,raw:P}):Qr.some(J=>J.test(P))||P.trim()===""&&h.lines.push({type:"context",content:"",oldNum:b++,newNum:u++,raw:P})}return r}var Yr=x('<div><!> <!> <!></div> <p class="text-ui text-subtle mt-1"> </p>',1);function Jt($,r){if(new.target)return Ke({component:Jt,...$});Je(r,!0);let d=y(r,"lineNumber",7,0),m=y(r,"fileName",7,""),b=y(r,"onSend",7),u=y(r,"onClose",7),W=y(r,"isSending",7,!1),P=y(r,"class",7,""),h=we(""),J=we(null);Ze(()=>{e(J)&&e(J).focus()});function K(){!e(h).trim()||W()||(b()?.(e(h).trim(),d(),m()),I(h,""))}function pe(L){L.key==="Enter"&&!L.shiftKey&&(L.preventDefault(),K()),L.key==="Escape"&&u()?.()}var q={get lineNumber(){return d()},set lineNumber(L=0){d(L),k()},get fileName(){return m()},set fileName(L=""){m(L),k()},get onSend(){return b()},set onSend(L){b(L),k()},get onClose(){return u()},set onClose(L){u(L),k()},get isSending(){return W()},set isSending(L=!1){W(L),k()},get class(){return P()},set class(L=""){P(L),k()},$set:Ue,$on:(L,he)=>Ve(r,L,he)},w=Yr(),D=be(w),de=o(D);{let L=_(()=>Ce.codeReview_inlineComment_askLine_placeholder());Vt(de,{onkeydown:pe,get placeholder(){return e(L)},get disabled(){return W()},class:"flex-1 h-8 rounded-md border border-border bg-background px-3 text-sm placeholder:text-muted-foreground disabled:opacity-50",get ref(){return e(J)},set ref(he){I(J,he,!0)},get value(){return e(h)},set value(he){I(h,he,!0)}})}var ce=n(de,2);{let L=_(()=>!e(h).trim()||W());xe(ce,{type:"button",variant:"primary",onclick:K,get disabled(){return e(L)},class:"h-8 w-8 p-0",children:(he,Ne)=>{var _e=Pt(),S=be(_e);{var E=me=>{it(me,{size:14})},Le=me=>{fe(me,{get icon(){return Dr},class:"h-3.5 w-3.5"})};z(S,me=>{W()?me(E):me(Le,-1)})}i(he,_e)},$$slots:{default:!0}})}var ae=n(ce,2);xe(ae,{type:"button",variant:"ghost",onclick:()=>u()?.(),class:"h-8 px-2 text-xs text-muted-foreground hover:text-foreground transition-colors",children:(L,he)=>{st();var Ne=et();M(_e=>C(Ne,_e),[()=>Ce.codeReview_inlineComment_cancel_label()]),i(L,Ne)},$$slots:{default:!0}}),s(D);var te=n(D,2),ye=O(te,!0);return M(L=>{ze(D,1,`walkthrough-inline-comment flex items-center gap-2 ${P()??""}`),C(ye,L)},[()=>Ce.codeReview_inlineComment_inputHint_label()]),i($,w),qe(q)}var Zr=x('<div class="text-xs text-slate-400 dark:text-slate-500 mt-1"> </div>'),en=x('<span class="font-medium"> </span> <!>',1),tn=x('<div class="flex items-start gap-3 py-2"><div><!></div> <div class="flex-1 min-w-0"><div class="text-sm leading-relaxed text-slate-700 dark:text-slate-300"><!></div></div></div>'),rn=x('<div class="px-4 pb-3 divide-y divide-border"></div>'),nn=x('<div class="border-t border-border"><!> <!></div>'),an=x('<div class="flex items-center gap-2 px-4 py-2 text-xs text-slate-500 dark:text-slate-400 border-t border-border"><!> <span> </span></div>'),sn=x('<div class="flex items-center gap-2"><!> <!> <!></div> <p class="text-ui text-slate-400 dark:text-slate-500 mt-1"> </p>',1),on=x("<!> <span> </span>",1),ln=x('<div><div class="flex items-start gap-3 px-4 py-3"><div class="shrink-0 mt-0.5"><!></div> <div class="flex-1 min-w-0"><div class="text-sm text-slate-800 dark:text-slate-200 leading-relaxed"><!></div> <!></div> <!></div> <!> <!> <div class="border-t border-border px-4 py-2"><!></div></div>');function qt($,r){if(new.target)return Ke({component:qt,...$});Je(r,!0);let d=y(r,"annotation",7),m=y(r,"lineNumber",7),b=y(r,"fileName",7),u=y(r,"messages",23,()=>[]),W=y(r,"onSendMessage",7),P=y(r,"onClose",7),h=y(r,"isSending",7,!1),J=y(r,"isAgentResponding",7,!1),K=y(r,"timestamp",7),pe=y(r,"class",7,""),q=we(""),w=we(!1),D=we(!1),de=we(null);Ze(()=>{e(w)&&e(de)&&e(de).focus()});function ce(){!e(q).trim()||h()||(W()?.(e(q).trim(),m(),b()),I(q,""))}function ae(a){a.key==="Enter"&&!a.shiftKey&&(a.preventDefault(),ce()),a.key==="Escape"&&(e(q)?I(q,""):I(w,!1))}function te(a){switch(a){case"highlight":return Br;case"context":return Fr;case"explanation":default:return jr}}function ye(a){switch(a){case"highlight":return"text-orange-500";case"context":return"text-blue-500";case"explanation":default:return"text-warning-ink"}}function L(a){return a?Lr(a):""}const he=_(()=>u().length>0);var Ne={get annotation(){return d()},set annotation(a){d(a),k()},get lineNumber(){return m()},set lineNumber(a){m(a),k()},get fileName(){return b()},set fileName(a){b(a),k()},get messages(){return u()},set messages(a=[]){u(a),k()},get onSendMessage(){return W()},set onSendMessage(a){W(a),k()},get onClose(){return P()},set onClose(a){P(a),k()},get isSending(){return h()},set isSending(a=!1){h(a),k()},get isAgentResponding(){return J()},set isAgentResponding(a=!1){J(a),k()},get timestamp(){return K()},set timestamp(a){K(a),k()},get class(){return pe()},set class(a=""){pe(a),k()},$set:Ue,$on:(a,T)=>Ve(r,a,T)},_e=ln(),S=o(_e),E=o(S),Le=o(E);{let a=_(()=>te(d().type)),T=_(()=>ye(d().type));fe(Le,{get icon(){return e(a)},get class(){return`h-4 w-4 ${e(T)??""}`}})}s(E);var me=n(E,2),v=o(me),R=o(v);Mt(R,{get content(){return d().message},className:"[&>*:first-child]:mt-0 [&>*:last-child]:mb-0"}),s(v);var A=n(v,2);{var Y=a=>{var T=Zr(),Z=O(T,!0);M(ee=>C(Z,ee),[()=>L(K())]),i(a,T)};z(A,a=>{K()&&a(Y)})}s(me);var ie=n(me,2);{var $e=a=>{{let T=_(()=>Ce.codeReview_commentThread_dismiss_tooltip());xe(a,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,get onclick(){return P()},class:"shrink-0 text-slate-400 hover:text-slate-600 dark:text-slate-500 dark:hover:text-slate-300 transition-colors",get title(){return e(T)},children:(Z,ee)=>{fe(Z,{get icon(){return Hr}})},$$slots:{default:!0}})}};z(ie,a=>{P()&&a($e)})}s(S);var Se=n(S,2);{var ke=a=>{var T=nn(),Z=o(T);xe(Z,{type:"button",variant:"ghost",onclick:()=>I(D,!e(D)),class:"w-full flex items-center justify-between px-4 py-2 text-sm text-slate-600 dark:text-slate-400 hover:bg-slate-50 dark:hover:bg-slate-800/50 transition-colors",children:(Q,se)=>{var X=en(),c=be(X),p=O(c,!0),B=n(c,2);{let ue=_(()=>e(D)?ot:pt);fe(B,{get icon(){return e(ue)},class:"h-3 w-3"})}M(ue=>C(p,ue),[()=>Ce.codeReview_commentThread_suggestedChanges_label()]),i(Q,X)},$$slots:{default:!0}});var ee=n(Z,2);{var re=Q=>{var se=rn();Ge(se,21,u,X=>X.id,(X,c)=>{var p=tn(),B=o(p),ue=o(B);{let g=_(()=>e(c).type==="user"?Gr:Or),N=_(()=>e(c).type==="user"?"text-blue-600 dark:text-blue-400":"text-purple-600 dark:text-purple-400");fe(ue,{get icon(){return e(g)},get class(){return`h-2.5 w-2.5 ${e(N)??""}`}})}s(B);var Re=n(B,2),t=o(Re),l=o(t);Mt(l,{get content(){return e(c).content},className:"[&>*:first-child]:mt-0 [&>*:last-child]:mb-0"}),s(t),s(Re),s(p),M(()=>ze(B,1,`shrink-0 flex h-5 w-5 items-center justify-center rounded-full ${e(c).type==="user"?"bg-blue-100 dark:bg-blue-900/50":"bg-purple-100 dark:bg-purple-900/50"}`)),He(3,p,()=>at,()=>({axis:"y",distance:4,tier:"moderate"})),i(X,p)}),s(se),He(3,se,()=>Oe,()=>({tier:"moderate"})),i(Q,se)};z(ee,Q=>{e(D)&&Q(re)})}s(T),i(a,T)};z(Se,a=>{e(he)&&a(ke)})}var U=n(Se,2);{var j=a=>{var T=an(),Z=o(T);it(Z,{size:12});var ee=n(Z,2),re=O(ee,!0);s(T),M(Q=>C(re,Q),[()=>Ce.codeReview_commentThread_agentResponding_label()]),i(a,T)};z(U,a=>{J()&&a(j)})}var f=n(U,2),H=o(f);{var F=a=>{var T=sn(),Z=be(T),ee=o(Z);{let c=_(()=>Ce.codeReview_commentThread_followUp_placeholder());Vt(ee,{onkeydown:ae,get placeholder(){return e(c)},get disabled(){return h()},class:"flex-1 h-8 rounded-md border border-border bg-white dark:bg-slate-800 px-3 text-sm placeholder:text-slate-400 disabled:opacity-50",get ref(){return e(de)},set ref(p){I(de,p,!0)},get value(){return e(q)},set value(p){I(q,p,!0)}})}var re=n(ee,2);{let c=_(()=>!e(q).trim()||h());xe(re,{type:"button",variant:"primary",onclick:ce,get disabled(){return e(c)},class:"h-8 w-8 p-0",children:(p,B)=>{var ue=Pt(),Re=be(ue);{var t=g=>{it(g,{size:14})},l=g=>{fe(g,{get icon(){return Tr},class:"h-3 w-3"})};z(Re,g=>{h()?g(t):g(l,-1)})}i(p,ue)},$$slots:{default:!0}})}var Q=n(re,2);xe(Q,{type:"button",variant:"ghost",onclick:()=>{I(w,!1),I(q,"")},class:"h-8 px-2 text-xs text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200 transition-colors",children:(c,p)=>{st();var B=et();M(ue=>C(B,ue),[()=>Ce.codeReview_commentThread_cancel_label()]),i(c,B)},$$slots:{default:!0}}),s(Z);var se=n(Z,2),X=O(se,!0);M(c=>C(X,c),[()=>Ce.codeReview_commentThread_inputHint_label()]),He(3,Z,()=>Oe,()=>({tier:"fast"})),i(a,T)},le=a=>{xe(a,{type:"button",variant:"ghost",onclick:()=>I(w,!0),class:"flex items-center gap-1.5 text-xs text-emerald-600 dark:text-emerald-400 hover:text-emerald-700 dark:hover:text-emerald-300 transition-colors",children:(T,Z)=>{var ee=on(),re=be(ee);fe(re,{get icon(){return Wr},class:"h-3 w-3"});var Q=n(re,2),se=O(Q,!0);M(X=>C(se,X),[()=>Ce.codeReview_commentThread_askQuestion_label()]),i(T,ee)},$$slots:{default:!0}})};z(H,a=>{e(w)?a(F):a(le,-1)})}return s(f),s(_e),M(()=>ze(_e,1,`walkthrough-comment-thread relative flex w-full flex-col bg-white shadow-sm dark:bg-slate-900 ${pe()??""}`)),He(3,_e,()=>Oe,()=>({tier:"moderate"})),i($,_e),qe(Ne)}var dn=x('<span class="text-emerald-600 dark:text-emerald-400 font-medium"> </span>'),cn=x('<!> <svg class="h-4 w-4 text-ghost shrink-0" viewBox="0 0 16 16" fill="currentColor"><path d="M3.5 1.5A1.5 1.5 0 0 1 5 0h6a1.5 1.5 0 0 1 1.5 1.5v12A1.5 1.5 0 0 1 11 15H5a1.5 1.5 0 0 1-1.5-1.5v-12zm2 0v12h6v-12H5.5z"></path></svg> <div class="flex items-baseline gap-2 flex-1 min-w-0"><span class="text-sm font-medium text-foreground truncate"> </span> <span class="text-xs text-subtle truncate hidden sm:inline"> </span></div> <div class="flex items-center gap-1 text-xs shrink-0"><!></div>',1),un=x('<div class="px-4 pb-3 -mt-1"><p class="text-sm text-subtle"> </p></div>'),vn=x('<div><div><span class="w-12 px-2 text-right text-ui text-subtle tabular-nums"> </span></div> <span> </span> <pre class="flex-1 px-1 whitespace-pre overflow-hidden text-ellipsis"><code class="hljs"></code></pre></div>'),gn=x('<div class="border-t border-border"><div class="font-mono text-xs leading-relaxed text-muted-foreground"><!> <!></div></div>'),fn=x('<span class="text-subtle">·</span> <!>',1),hn=x('<div class="flex items-center justify-end gap-2 px-3 py-1.5 bg-muted/20 border-b border-border text-xs"><!> <!></div>'),Gt=x("<!> <span> </span> <!>",1),mn=x('<div class="ml-20"><!></div>'),pn=x('<div class="ml-20 border-l-2 border-primary-ink/50 bg-muted/20"><div class="p-3"><!></div></div>'),_n=x('<div><div><span class="w-10 px-2 text-right text-ui text-subtle tabular-nums"> </span> <span class="w-10 px-2 text-right text-ui text-subtle tabular-nums"> </span></div> <span> </span> <div class="flex-1 flex items-center min-w-0 pr-2"><pre class="flex-1 px-1 whitespace-pre overflow-x-auto"><code class="hljs"></code></pre> <!></div></div> <!> <!> <!>',1),xn=x("<!> <!>",1),bn=x('<div class="relative"><!> <div class="overflow-x-auto"><div class="font-mono text-xs leading-relaxed min-w-full"></div></div></div>'),wn=x('<div><div class="flex flex-col border-b border-border"><!> <!></div> <!> <!></div>');function Lt($,r){if(new.target)return Ke({component:Lt,...$});Je(r,!0);let d=y(r,"fileName",7),m=y(r,"patch",7),b=y(r,"annotations",23,()=>[]),u=y(r,"initialCollapsed",7,!1),W=y(r,"contextLines",7,3),P=y(r,"onSendMessage",7),h=y(r,"isSending",7,!1),J=y(r,"additions",7,0),K=y(r,"deletions",7,0),pe=y(r,"fileDescription",7,""),q=y(r,"class",7,"");const w=_(()=>Xr(m())),D=_(()=>Rr(d())),de=_(()=>{const t=new Map;return!e(D)||e(D)==="text"||e(D)==="plaintext"||!Bt.getLanguage(e(D))||e(w).forEach(l=>{const g=[];if(l.lines.forEach(N=>{const G=N.content||"",V=`${N.oldNum}-${N.newNum}`;g.push({content:G,key:V})}),g.length!==0)try{const N=g.map(ne=>ne.content).join(`
3
3
  `),V=Bt.highlight(N,{language:e(D)}).value.split(`
4
4
  `);g.forEach((ne,oe)=>{oe<V.length&&t.set(ne.key,V[oe])})}catch(N){console.warn("Failed to highlight hunk:",N)}}),t});let ce=we(mt(u())),ae=we(mt(new Set)),te=we(null);const ye=_(()=>{const t=new Map;for(const l of b()){const g=t.get(l.line)||[];g.push(l),t.set(l.line,g)}return t}),L=_(()=>new Set(b().map(t=>t.line)));function he(t){if(t.type==="deletion")return[];const l=t.newNum;return l==null?[]:e(ye).get(l)||[]}function Ne(t,l,g){if(g.type==="addition"||g.type==="deletion")return!0;const N=g.newNum??g.oldNum;if(N!==null&&e(L).has(N))return!0;const G=e(w)[t];if(!G)return!1;for(let V=Math.max(0,l-W());V<=Math.min(G.lines.length-1,l+W());V++){const ne=G.lines[V];if(ne.type==="addition"||ne.type==="deletion")return!0;const oe=ne.newNum??ne.oldNum;if(oe!==null&&e(L).has(oe))return!0}for(const V of e(ae)){const[ne,oe,ve]=V.split("-").map(Number);if(ne===t&&l>=oe&&l<=ve)return!0}return!1}function _e(t){const l=e(w)[t];if(!l)return[];const g=[];let N=null;for(let G=0;G<l.lines.length;G++){const V=Ne(t,G,l.lines[G]);!V&&N===null?N=G:V&&N!==null&&(g.push({startIndex:N,endIndex:G-1,count:G-N}),N=null)}return N!==null&&g.push({startIndex:N,endIndex:l.lines.length-1,count:l.lines.length-N}),g}function S(t,l,g){const N=`${t}-${l}-${g}`;e(ae).add(N),I(ae,new Set(e(ae)),!0)}function E(){for(let t=0;t<e(w).length;t++){const l=e(w)[t];S(t,0,l.lines.length-1)}}function Le(){I(ae,new Set,!0)}function me(t){const l=`${t.oldNum}-${t.newNum}`,g=e(de).get(l);return g!==void 0?g:v(t.content||"")}function v(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function R(t){switch(t.type){case"addition":return"bg-emerald-500/5 dark:bg-emerald-500/10";case"deletion":return"bg-red-500/5 dark:bg-red-500/10";default:return""}}function A(t){switch(t.type){case"addition":return"text-emerald-600 dark:text-emerald-400 font-medium";case"deletion":return"text-red-600 dark:text-red-400 font-medium";default:return"text-transparent"}}function Y(t){switch(t.type){case"addition":return"+";case"deletion":return"-";default:return" "}}function ie(t){switch(t.type){case"addition":return"bg-emerald-500/10 dark:bg-emerald-500/15";case"deletion":return"bg-red-500/10 dark:bg-red-500/15";default:return"bg-muted/30"}}function $e(){I(ce,!e(ce))}function Se(t){I(te,t,!0)}function ke(){I(te,null)}function U(t,l,g){P()?.(t,l,g),I(te,null)}const j=_(()=>()=>{const t=d().split("/");return t[t.length-1]}),f=_(()=>()=>{const t=d().split("/");return t.length<=1?"":t.slice(0,-1).join("/")}),H=_(()=>{for(let t=0;t<e(w).length;t++)if(_e(t).length>0)return!0;return!1}),F=_(()=>{const l=[];for(let g=0;g<e(w).length&&l.length<3;g++){const N=e(w)[g];for(let G=0;G<N.lines.length&&l.length<3;G++){const V=N.lines[G];(V.type==="addition"||V.type==="deletion")&&l.push({line:V,hunkIndex:g,lineIndex:G})}}return l}),le=_(()=>{let t=0;for(const l of e(w))for(const g of l.lines)(g.type==="addition"||g.type==="deletion")&&t++;return t});let a=we(mt(new Map));function T(t){return`${t.file}:${t.line}:${t.type}`}function Z(t){return e(a).get(T(t))||[]}var ee={get fileName(){return d()},set fileName(t){d(t),k()},get patch(){return m()},set patch(t){m(t),k()},get annotations(){return b()},set annotations(t=[]){b(t),k()},get initialCollapsed(){return u()},set initialCollapsed(t=!1){u(t),k()},get contextLines(){return W()},set contextLines(t=3){W(t),k()},get onSendMessage(){return P()},set onSendMessage(t){P(t),k()},get isSending(){return h()},set isSending(t=!1){h(t),k()},get additions(){return J()},set additions(t=0){J(t),k()},get deletions(){return K()},set deletions(t=0){K(t),k()},get fileDescription(){return pe()},set fileDescription(t=""){pe(t),k()},get class(){return q()},set class(t=""){q(t),k()},$set:Ue,$on:(t,l)=>Ve(r,t,l)},re=wn(),Q=o(re),se=o(Q);xe(se,{type:"button",variant:"ghost",class:"w-full flex items-center gap-2 px-4 py-3 hover:bg-muted/30 transition-colors text-left group",onclick:$e,children:(t,l)=>{var g=cn(),N=be(g);{let Ie=_(()=>e(ce)?pt:ot);fe(N,{get icon(){return e(Ie)},class:"h-3 w-3 text-ghost shrink-0"})}var G=n(N,4),V=o(G),ne=O(V,!0),oe=n(V,2),ve=O(oe,!0);s(G);var Me=n(G,2),Ae=o(Me);{var Te=Ie=>{var Ee=dn(),Fe=O(Ee);M(()=>C(Fe,`+${J()+K()}`)),i(Ie,Ee)};z(Ae,Ie=>{(J()>0||K()>0)&&Ie(Te)})}s(Me),M((Ie,Ee)=>{C(ne,Ie),C(ve,Ee)},[()=>e(j)(),()=>e(f)()]),i(t,g)},$$slots:{default:!0}});var X=n(se,2);{var c=t=>{var l=un(),g=o(l),N=O(g,!0);s(l),M(()=>C(N,pe())),i(t,l)};z(X,t=>{pe()&&t(c)})}s(Q);var p=n(Q,2);{var B=t=>{var l=gn(),g=o(l),N=o(g);Ge(N,17,()=>e(F),({line:ne,hunkIndex:oe,lineIndex:ve})=>`preview-${oe}-${ve}`,(ne,oe)=>{let ve=()=>e(oe).line;var Me=vn(),Ae=o(Me),Te=o(Ae),Ie=O(Te,!0);s(Ae);var Ee=n(Ae,2),Fe=O(Ee,!0),We=n(Ee,2),ge=o(We);Ft(ge,()=>me(ve()),!0),s(ge),s(We),s(Me),M((Qe,Xe,Ye,tt)=>{ze(Me,1,`flex ${Qe??""}`),ze(Ae,1,`w-12 shrink-0 flex select-none ${Xe??""} border-r border-border`),C(Ie,ve().newNum??ve().oldNum??""),ze(Ee,1,`w-5 shrink-0 text-center select-none ${Ye??""}`),C(Fe,tt)},[()=>R(ve()),()=>ie(ve()),()=>A(ve()),()=>Y(ve())]),i(ne,Me)});var G=n(N,2);{var V=ne=>{xe(ne,{type:"button",variant:"ghost",class:"w-full py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted/30 transition-colors text-center",onclick:$e,children:(oe,ve)=>{st();var Me=et();M(Ae=>C(Me,Ae),[()=>Ce.codeReview_fileDiff_moreLines_label({count:e(le)-e(F).length})]),i(oe,Me)},$$slots:{default:!0}})};z(G,ne=>{e(le)>e(F).length&&ne(V)})}s(g),s(l),He(3,l,()=>Oe,()=>({tier:"moderate"})),i(t,l)};z(p,t=>{e(ce)&&e(F).length>0&&t(B)})}var ue=n(p,2);{var Re=t=>{var l=bn(),g=o(l);{var N=ne=>{var oe=hn(),ve=o(oe);xe(ve,{type:"button",variant:"ghost",class:"text-muted-foreground hover:text-foreground transition-colors",onclick:E,children:(Te,Ie)=>{st();var Ee=et();M(Fe=>C(Ee,Fe),[()=>Ce.codeReview_fileDiff_expandAll_label()]),i(Te,Ee)},$$slots:{default:!0}});var Me=n(ve,2);{var Ae=Te=>{var Ie=fn(),Ee=n(be(Ie),2);xe(Ee,{type:"button",variant:"ghost",class:"text-muted-foreground hover:text-foreground transition-colors",onclick:Le,children:(Fe,We)=>{st();var ge=et();M(Qe=>C(ge,Qe),[()=>Ce.codeReview_fileDiff_collapse_label()]),i(Fe,ge)},$$slots:{default:!0}}),i(Te,Ie)};z(Me,Te=>{e(ae).size>0&&Te(Ae)})}s(oe),i(ne,oe)};z(g,ne=>{e(H)&&ne(N)})}var G=n(g,2),V=o(G);Ge(V,21,()=>e(w),It,(ne,oe,ve)=>{const Me=_(()=>_e(ve)),Ae=_(()=>e(Me).find(We=>We.startIndex===0));var Te=xn(),Ie=be(Te);{var Ee=We=>{xe(We,{type:"button",variant:"ghost",class:"w-full flex items-center justify-center gap-2 py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted/30 transition-colors border-b border-border",onclick:()=>S(ve,e(Ae).startIndex,e(Ae).endIndex),children:(ge,Qe)=>{var Xe=Gt(),Ye=be(Xe);fe(Ye,{get icon(){return ot},class:"h-2.5 w-2.5"});var tt=n(Ye,2),xt=O(tt,!0),rt=n(tt,2);fe(rt,{get icon(){return ot},class:"h-2.5 w-2.5"}),M(ut=>C(xt,ut),[()=>Ce.codeReview_fileDiff_showHidden_label({count:e(Ae).count})]),i(ge,Xe)},$$slots:{default:!0}})};z(Ie,We=>{e(Ae)&&We(Ee)})}var Fe=n(Ie,2);Ge(Fe,19,()=>e(oe).lines,(We,ge)=>`${ve}-${ge}`,(We,ge,Qe)=>{const Xe=_(()=>`${e(ge).oldNum}-${e(ge).newNum}`),Ye=_(()=>he(e(ge))),tt=_(()=>e(te)===e(Xe)),xt=_(()=>Ne(ve,e(Qe),e(ge))),rt=_(()=>e(Me).find(lt=>lt.startIndex===e(Qe)+1));var ut=Pt(),er=be(ut);{var tr=lt=>{var At=_n(),vt=be(At),gt=o(vt),Et=o(gt),rr=O(Et,!0),nr=n(Et,2),ar=O(nr,!0);s(gt);var bt=n(gt,2),sr=O(bt,!0),zt=n(bt,2),wt=o(zt),Dt=o(wt);Ft(Dt,()=>me(e(ge)),!0),s(Dt),s(wt);var or=n(wt,2);{var ir=Pe=>{{let De=_(()=>Ce.codeReview_fileDiff_askLine_tooltip());xe(Pe,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,class:"size-5 opacity-0 group-hover:opacity-100 text-muted-foreground hover:text-primary-ink transition-all shrink-0",onclick:()=>Se(e(Xe)),get title(){return e(De)},children:(je,Be)=>{fe(je,{get icon(){return St}})},$$slots:{default:!0}})}};z(or,Pe=>{P()&&Pe(ir)})}s(zt),s(vt);var Ht=n(vt,2);Ge(Ht,19,()=>e(Ye),(Pe,De)=>`${Pe.line}-${De}`,(Pe,De)=>{var je=mn(),Be=o(je);{let nt=_(()=>e(ge).newNum??e(ge).oldNum??0),ft=_(()=>Z(e(De)));qt(Be,{get annotation(){return e(De)},get lineNumber(){return e(nt)},get fileName(){return d()},get messages(){return e(ft)},onSendMessage:(yt,kt,$t)=>U(yt,kt,$t),get isSending(){return h()}})}s(je),He(3,je,()=>Oe,()=>({tier:"moderate"})),i(Pe,je)});var Tt=n(Ht,2);{var lr=Pe=>{var De=pn(),je=o(De),Be=o(je);{let nt=_(()=>e(ge).newNum??e(ge).oldNum??0);Jt(Be,{get lineNumber(){return e(nt)},get fileName(){return d()},onSend:U,onClose:ke,get isSending(){return h()}})}s(je),s(De),i(Pe,De)};z(Tt,Pe=>{e(tt)&&e(Ye).length===0&&Pe(lr)})}var dr=n(Tt,2);{var cr=Pe=>{xe(Pe,{type:"button",variant:"ghost",class:"w-full flex items-center justify-center gap-2 py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted/30 transition-colors border-y border-border bg-muted/10",onclick:()=>S(ve,e(rt).startIndex,e(rt).endIndex),children:(De,je)=>{var Be=Gt(),nt=be(Be);fe(nt,{get icon(){return St},class:"h-2.5 w-2.5"});var ft=n(nt,2),yt=O(ft,!0),kt=n(ft,2);fe(kt,{get icon(){return St},class:"h-2.5 w-2.5"}),M($t=>C(yt,$t),[()=>Ce.codeReview_fileDiff_showHidden_label({count:e(rt).count})]),i(De,Be)},$$slots:{default:!0}})};z(dr,Pe=>{e(rt)&&Pe(cr)})}M((Pe,De,je,Be)=>{ze(vt,1,`group flex ${Pe??""} hover:bg-accent/30 transition-colors`),ze(gt,1,`w-20 shrink-0 flex select-none ${De??""} border-r border-border`),C(rr,e(ge).oldNum??""),C(ar,e(ge).newNum??""),ze(bt,1,`w-5 shrink-0 text-center select-none ${je??""}`),C(sr,Be)},[()=>R(e(ge)),()=>ie(e(ge)),()=>A(e(ge)),()=>Y(e(ge))]),i(lt,At)};z(er,lt=>{e(xt)&&lt(tr)})}i(We,ut)}),i(ne,Te)}),s(V),s(G),s(l),He(3,l,()=>Oe,()=>({tier:"moderate"})),i(t,l)};z(ue,t=>{e(ce)||t(Re)})}return s(re),M(()=>ze(re,1,`walkthrough-file-diff overflow-hidden bg-card ${q()??""}`)),i($,re),qe(ee)}var yn=x('<div class="flex items-start gap-3"><div class="shrink-0 mt-0.5"><svg viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M2 6a2 2 0 012-2h4l2 2h4a2 2 0 012 2v1H8a3 3 0 00-3 3v1.5a1.5 1.5 0 01-3 0V6z" clip-rule="evenodd"></path><path d="M6 12a2 2 0 012-2h8a2 2 0 012 2v2a2 2 0 01-2 2H2h2a2 2 0 002-2v-2z"></path></svg></div> <div class="flex-1 min-w-0"><h4 class="text-sm font-medium text-foreground line-clamp-2"> </h4> <p class="text-xs text-subtle mt-1 line-clamp-2"> </p> <div class="flex items-center gap-1 mt-2 text-xs text-subtle"><svg class="h-3.5 w-3.5" viewBox="0 0 16 16" fill="currentColor"><path d="M3.5 1.5A1.5 1.5 0 0 1 5 0h6a1.5 1.5 0 0 1 1.5 1.5v12A1.5 1.5 0 0 1 11 15H5a1.5 1.5 0 0 1-1.5-1.5v-12z"></path></svg> <span> </span></div></div></div>'),kn=x('<div><div class="mb-4"><h3 class="text-sm font-medium text-subtle"> </h3></div> <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3"></div></div>');function Qt($,r){if(new.target)return Ke({component:Qt,...$});Je(r,!0);let d=y(r,"categories",7),m=y(r,"onCategoryClick",7),b=y(r,"class",7,"");function u(w){const D=["bg-blue-500/10 border-blue-500/30 hover:border-blue-500/50","bg-purple-500/10 border-purple-500/30 hover:border-purple-500/50","bg-emerald-500/10 border-emerald-500/30 hover:border-emerald-500/50","bg-warning/10 border-warning/30 hover:border-warning/30","bg-rose-500/10 border-rose-500/30 hover:border-rose-500/50","bg-cyan-500/10 border-cyan-500/30 hover:border-cyan-500/50"];return D[w%D.length]}function W(w){const D=["text-blue-500","text-purple-500","text-emerald-500","text-warning-ink","text-rose-500","text-cyan-500"];return D[w%D.length]}var P={get categories(){return d()},set categories(w){d(w),k()},get onCategoryClick(){return m()},set onCategoryClick(w){m(w),k()},get class(){return b()},set class(w=""){b(w),k()},$set:Ue,$on:(w,D)=>Ve(r,w,D)},h=kn(),J=o(h),K=o(J),pe=O(K,!0);s(J);var q=n(J,2);return Ge(q,21,d,It,(w,D,de)=>{{let ce=_(()=>u(de));xe(w,{type:"button",variant:"ghost",get class(){return`text-left p-4 rounded-lg border transition-all duration-spring-moderate ease-spring-moderate motion-reduce:transition-none ${e(ce)??""}`},onclick:()=>m()?.(de),children:(ae,te)=>{var ye=yn(),L=o(ye),he=O(L),Ne=n(L,2),_e=o(Ne),S=O(_e,!0),E=n(_e,2),Le=O(E,!0),me=n(E,2),v=n(o(me),2),R=O(v,!0);s(me),s(Ne),s(ye),M((A,Y)=>{ze(he,0,`h-5 w-5 ${A??""}`),C(S,e(D).title),C(Le,e(D).description),C(R,Y)},[()=>W(de),()=>e(D).files.length===1?Ce.codeReview_categoriesGrid_fileCount_one({count:e(D).files.length}):Ce.codeReview_categoriesGrid_fileCount_many({count:e(D).files.length})]),i(ae,ye)},$$slots:{default:!0}})}}),s(q),s(h),M(w=>{ze(h,1,`walkthrough-categories-grid ${b()??""}`),C(pe,w)},[()=>Ce.codeReview_categoriesGrid_whatChanged_title()]),i($,h),qe(P)}var $n=x('<div class="w-0.5 flex-1 bg-border min-h-5"></div>'),Sn=x('<p class="text-sm text-subtle mt-2"> </p>'),Cn=x('<div class="rounded-lg border border-border bg-card p-4"><div class="flex items-center gap-2"><svg class="h-4 w-4 text-ghost" viewBox="0 0 16 16" fill="currentColor"><path d="M3.5 1.5A1.5 1.5 0 0 1 5 0h6a1.5 1.5 0 0 1 1.5 1.5v12A1.5 1.5 0 0 1 11 15H5a1.5 1.5 0 0 1-1.5-1.5v-12z"></path></svg> <span class="text-sm font-medium text-foreground"> </span></div> <!></div>'),Nn=x('<div class="flex gap-4"><div class="relative flex flex-col items-center w-3"><div></div> <div class="absolute top-4 w-2 h-2 rounded-full bg-muted-foreground/30 ring-2 ring-background"></div></div> <div class="flex-1 min-w-0 pb-4"><!></div></div>'),Rn=x('<div><div class="flex items-start gap-4 mb-4"><div class="relative flex flex-col items-center"><div></div> <!></div> <div class="flex-1 min-w-0 -mt-0.5"><h3 class="text-base font-semibold text-foreground"> </h3> <p class="text-sm text-subtle mt-1"> </p></div></div> <div class="relative"></div></div>');function Xt($,r){if(new.target)return Ke({component:Xt,...$});Je(r,!0);let d=y(r,"category",7),m=y(r,"categoryIndex",7),b=y(r,"filePatchMap",7),u=y(r,"isLast",7,!1),W=y(r,"onSendMessage",7),P=y(r,"isSending",7,!1),h=y(r,"class",7,"");function J(S){const E=["bg-blue-500","bg-purple-500","bg-emerald-500","bg-warning","bg-rose-500","bg-cyan-500"];return E[S%E.length]}const K=_(()=>d().files.map(S=>{const E=b().get(S.path);return{...S,patch:E?.patch,additions:E?.additions??0,deletions:E?.deletions??0}}));var pe={get category(){return d()},set category(S){d(S),k()},get categoryIndex(){return m()},set categoryIndex(S){m(S),k()},get filePatchMap(){return b()},set filePatchMap(S){b(S),k()},get isLast(){return u()},set isLast(S=!1){u(S),k()},get onSendMessage(){return W()},set onSendMessage(S){W(S),k()},get isSending(){return P()},set isSending(S=!1){P(S),k()},get class(){return h()},set class(S=""){h(S),k()},$set:Ue,$on:(S,E)=>Ve(r,S,E)},q=Rn(),w=o(q),D=o(w),de=o(D),ce=n(de,2);{var ae=S=>{var E=$n();i(S,E)};z(ce,S=>{(!u()||e(K).length>0)&&S(ae)})}s(D);var te=n(D,2),ye=o(te),L=O(ye,!0),he=n(ye,2),Ne=O(he,!0);s(te),s(w);var _e=n(w,2);return Ge(_e,23,()=>e(K),(S,E)=>`${m()}-${E}`,(S,E,Le)=>{var me=Nn(),v=o(me),R=o(v);st(2),s(v);var A=n(v,2),Y=o(A);{var ie=Se=>{Lt(Se,{get fileName(){return e(E).path},get patch(){return e(E).patch},get annotations(){return e(E).annotations},get additions(){return e(E).additions},get deletions(){return e(E).deletions},get fileDescription(){return e(E).summary},get onSendMessage(){return W()},get isSending(){return P()},class:"rounded-lg border border-border overflow-hidden"})},$e=Se=>{var ke=Cn(),U=o(ke),j=n(o(U),2),f=O(j,!0);s(U);var H=n(U,2);{var F=le=>{var a=Sn(),T=O(a,!0);M(()=>C(T,e(E).summary)),i(le,a)};z(H,le=>{e(E).summary&&le(F)})}s(ke),M(()=>C(f,e(E).path)),i(Se,ke)};z(Y,Se=>{e(E).patch?Se(ie):Se($e,-1)})}s(A),s(me),M(()=>ze(R,1,`w-0.5 flex-1 bg-border ${e(Le)===e(K).length-1&&u()?"h-1/2":""}`)),i(S,me)}),s(_e),s(q),M(S=>{ze(q,1,`walkthrough-category-section ${h()??""}`),zr(q,"id",`category-${m()??""}`),ze(de,1,`w-3 h-3 rounded-full ${S??""} ring-4 ring-background shrink-0`),C(L,d().title),C(Ne,d().description)},[()=>J(m())]),i($,q),qe(pe)}var Mn=x('<!> <!> <span class="text-sm font-medium"> </span> <!>',1),Pn=x('<div class="flex items-center gap-2 text-sm text-subtle py-2"><!> <span> </span></div>'),Ot=x("<!> ",1),In=x('<div class="rounded-lg bg-danger-background/10 border border-danger/20 p-4"><p class="text-sm text-danger"> </p> <!></div>'),Ln=x('<h2 class="text-lg font-semibold text-foreground"> </h2>'),An=x('<p class="text-sm text-subtle italic"> </p>'),Kt=x("<div><!></div>"),En=x('<div class="space-y-8 pt-4"></div>'),zn=x('<!> <!> <span class="text-sm font-medium text-subtle"> </span>',1),Dn=x('<div class="space-y-3 pt-2"></div>'),Hn=x('<div class="pt-4 border-t border-border"><!> <!></div>'),Tn=x('<div class="flex justify-end pt-2"><!></div>'),Wn=x('<div class="space-y-6"><!> <!> <!> <!> <!> <!></div>'),jn=x('<div class="px-4 pb-4"><!> <!> <!></div>'),Fn=x('<div class="border-t border-border"><!> <!></div>');function Yt($,r){if(new.target)return Ke({component:Yt,...$});Je(r,!0);let d=y(r,"walkthrough",7),m=y(r,"status",7),b=y(r,"workspaceId",7),u=y(r,"error",7,""),W=y(r,"workspacePath",7),P=y(r,"changes",23,()=>[]),h=y(r,"onSendMessage",7),J=y(r,"isSending",7,!1),K=y(r,"onRegenerate",7),pe=y(r,"showCategoriesGrid",7,!0);const q=_(()=>m()==="running"),w=_(()=>m()==="complete"),D=_(()=>!!u());let de=we(!0),ce=we(!1),ae=we(mt(new Map));const te=_(()=>{if(d()?.categories&&d().categories.length>0)return d().categories;if(d()?.annotations&&d().annotations.length>0){const v=new Map;for(const R of d().annotations){const A=v.get(R.file)||[];A.push(R),v.set(R.file,A)}return[{title:d().title,description:d().overview,files:Array.from(v.entries()).map(([R,A])=>({path:R,annotations:A.sort((Y,ie)=>Y.line-ie.line)}))}]}return[]}),ye=_(()=>{if(!d()?.annotations)return new Map;const v=new Map;for(const R of d().annotations){const A=v.get(R.file)||[];A.push(R),v.set(R.file,A)}for(const[R,A]of v)v.set(R,A.sort((Y,ie)=>Y.line-ie.line));return v}),L=_(()=>{const v=new Set;for(const R of e(te))for(const A of R.files)v.add(A.path);for(const R of e(ye).keys())v.add(R);return v}),he=_(()=>P().filter(v=>!e(L).has(v.relativePath)));Ze(()=>{if(!d()||!W())return;const v=new Set([...e(L),...e(he).map(R=>R.relativePath)]);for(const R of v)e(ae).has(R)||Jr(b(),!0,R).then(A=>{if(A&&A.oldContent!==void 0&&A.newContent!==void 0){const Y=Ne(R,A.oldContent,A.newContent);if(Y){const ie=P().find($e=>$e.relativePath===R);e(ae).set(R,{patch:Y,additions:ie?.stats?.additions??0,deletions:ie?.stats?.deletions??0}),I(ae,new Map(e(ae)),!0)}}}).catch(A=>{console.warn(`Failed to load diff for ${R}:`,A)})});function Ne(v,R,A){const Y=R.split(`
@@ -1,3 +1,3 @@
1
- import{t as D,bo as d,bw as P,b}from"./BkP7iWmk.js";import{bs as S,a7 as A,ay as C,W as M,bn as x,aA as m,aD as i,c9 as c}from"./DYhIMPy1.js";import{i as z}from"./Cmsd5u03.js";import{D as f,M as B}from"./VhDocpDM.js";import{S as N,p as W}from"./TJb4C4BX.js";import{N as $}from"./Dm9nSbXn.js";import{II as j,va as E,bh as J}from"./fvC-6LgA.js";import{y as K}from"./DJ2tjGUh.js";import{a0 as O}from"./COHdP7EQ.js";function R(l,s){if(new.target)return D({component:R,...l});S(s,!0);let o=d(s,"kind",7),t=d(s,"source",7),a=d(s,"workspaceId",7);const g=new $,p=c(()=>{if(o()==="mermaid")return null;const e=g.parseMarkdown(`\`\`\`ws-block:diagram
1
+ import{t as D,bo as d,bw as P,b}from"./BkP7iWmk.js";import{bs as S,a7 as A,ay as C,W as M,bn as x,aA as m,aD as i,c9 as c}from"./DYhIMPy1.js";import{i as z}from"./Cmsd5u03.js";import{D as f,M as B}from"./B1YqGJC0.js";import{S as N,p as W}from"./B_8PQmWM.js";import{N as $}from"./Ca9Vj8X7.js";import{II as j,va as E,bh as J}from"./D98guX46.js";import{y as K}from"./CEGk06kt.js";import{a0 as O}from"./CM_58O-V.js";function R(l,s){if(new.target)return D({component:R,...l});S(s,!0);let o=d(s,"kind",7),t=d(s,"source",7),a=d(s,"workspaceId",7);const g=new $,p=c(()=>{if(o()==="mermaid")return null;const e=g.parseMarkdown(`\`\`\`ws-block:diagram
2
2
  ${t()}
3
3
  \`\`\``)[0],r=e?.primitive.type==="diagram"?JSON.stringify(e.primitive):t();return W(r,!0)});function k(e,r){if(!a()||!r.target)return;const n={openInAdjacentPanel:e.metaKey||e.ctrlKey,sourcePanelId:e.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0};r.type==="file"?j.dispatch(E(a(),r.target,n)):r.type==="note"&&K(O(r.target,a()),{...n,workspaceId:J(a()),event:e})}var w={get kind(){return o()},set kind(e){o(e),m()},get source(){return t()},set source(e){t(e),m()},get workspaceId(){return a()},set workspaceId(e){a(e),m()},$set:P,$on:(e,r)=>b(s,e,r)},u=A(),y=C(u);{var I=e=>{f(e,{kind:"mermaid",rendererOwnsActions:!0,children:(r,n)=>{B(r,{get code(){return t()},showExportButton:!0})},$$slots:{default:!0}})},h=e=>{f(e,{kind:"custom",children:(r,n)=>{{let v=c(()=>i(p)?.diagram??null),_=c(()=>i(p)?.error);N(r,{get diagram(){return i(v)},get source(){return t()},get sourceError(){return i(_)},onBindingClick:k})}},$$slots:{default:!0}})};z(y,e=>{o()==="mermaid"?e(I):e(h,-1)})}return M(l,u),x(w)}export{R as default};