@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{t as he,bo as a,bw as be,b as pe,bm as _}from"./a1kG0lDg.js";import{bs as me,a7 as w,ay as c,W as l,bn as xe,aA as n,bS as E,aD as M,bH as Ee,a5 as Se,bA as Te,c9 as le,aB as ie,bV as Pe,be as S,b$ as T,b_ as P,bO as k}from"./CJxGDkBm.js";import{i as m}from"./Dr-hGtz9.js";import{c as v}from"./B5t5yFV1.js";import{b as ke}from"./ysr2ZeEL.js";import{F as Ce,cA as De,be as Fe,ab as We,a9 as Oe,a5 as Me,aU as ze,ce as Ae}from"./prHJOEnU.js";import{f as Ve}from"./CszTaYPw.js";import"./BguHhtk8.js";import{l as ye,d as Le,M as Ie,c as C}from"./bMVl-_uo.js";import"./DOdlo-4T.js";var Ue=ie("<!> <!> <!> <!> <!> <!>",1),Be=ie("<span><!></span>"),He=ie("<!> <!>",1);function Ne(de,r){if(new.target)return he({component:Ne,...de});me(r,!0);const ge=e=>{var h=Ue(),z=c(h);{var ne=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Fe},get checked(){return R()},closeOnSelect:!1,get onCheckedChange(){return X()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_markdownPreview_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(z,t=>{Q()&&t(ne)})}var A=E(z,2);{var D=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return We},get checked(){return Z()},closeOnSelect:!1,get onCheckedChange(){return $()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_allFilesExpanded_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(A,t=>{Y()&&t(D)})}var se=E(A,2);{var V=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Oe},get checked(){return L()},closeOnSelect:!1,get onCheckedChange(){return I()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_foldUnchanged_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(se,t=>{y()&&t(V)})}var F=E(se,2);{var oe=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Me},get checked(){return B()},closeOnSelect:!1,get onCheckedChange(){return H()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_wrapLines_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(F,t=>{U()&&t(oe)})}var x=E(F,2);{var b=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return ze},get checked(){return j()},closeOnSelect:!1,get onCheckedChange(){return q()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_splitView_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(x,t=>{N()&&t(b)})}var p=E(x,2);{var W=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Ae},get checked(){return J()},closeOnSelect:!1,get onCheckedChange(){return K()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_diffIndicators_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(p,t=>{G()&&t(W)})}l(e,h)};let y=a(r,"showFold",7,!0),L=a(r,"foldEnabled",7,!1),I=a(r,"onToggleFold",7),U=a(r,"showWrap",7,!0),B=a(r,"wrapEnabled",7,!1),H=a(r,"onToggleWrap",7),N=a(r,"showSplit",7,!0),j=a(r,"splitEnabled",7,!1),q=a(r,"onToggleSplit",7),G=a(r,"showDiff",7,!1),J=a(r,"diffEnabled",7,!1),K=a(r,"onToggleDiff",7),Q=a(r,"showPreview",7,!1),R=a(r,"previewEnabled",7,!1),X=a(r,"onTogglePreview",7),Y=a(r,"showExpand",7,!1),Z=a(r,"expanded",7,!1),$=a(r,"onToggleExpand",7),ee=a(r,"class",7,""),te=a(r,"size",7,"xs"),re=a(r,"embedded",7,!1),ae=Pe(!1);const ue={xs:"icon-xs",sm:"icon-sm",md:"icon"};var ce={get showFold(){return y()},set showFold(e=!0){y(e),n()},get foldEnabled(){return L()},set foldEnabled(e=!1){L(e),n()},get onToggleFold(){return I()},set onToggleFold(e){I(e),n()},get showWrap(){return U()},set showWrap(e=!0){U(e),n()},get wrapEnabled(){return B()},set wrapEnabled(e=!1){B(e),n()},get onToggleWrap(){return H()},set onToggleWrap(e){H(e),n()},get showSplit(){return N()},set showSplit(e=!0){N(e),n()},get splitEnabled(){return j()},set splitEnabled(e=!1){j(e),n()},get onToggleSplit(){return q()},set onToggleSplit(e){q(e),n()},get showDiff(){return G()},set showDiff(e=!1){G(e),n()},get diffEnabled(){return J()},set diffEnabled(e=!1){J(e),n()},get onToggleDiff(){return K()},set onToggleDiff(e){K(e),n()},get showPreview(){return Q()},set showPreview(e=!1){Q(e),n()},get previewEnabled(){return R()},set previewEnabled(e=!1){R(e),n()},get onTogglePreview(){return X()},set onTogglePreview(e){X(e),n()},get showExpand(){return Y()},set showExpand(e=!1){Y(e),n()},get expanded(){return Z()},set expanded(e=!1){Z(e),n()},get onToggleExpand(){return $()},set onToggleExpand(e){$(e),n()},get class(){return ee()},set class(e=""){ee(e),n()},get size(){return te()},set size(e="xs"){te(e),n()},get embedded(){return re()},set embedded(e=!1){re(e),n()},$set:be,$on:(e,h)=>pe(r,e,h)},fe=w(),_e=c(fe);{var ve=e=>{ge(e)},we=e=>{var h=w(),z=c(h);v(z,()=>Ie,(ne,A)=>{A(ne,{get open(){return M(ae)},set open(D){Ee(ae,D,!0)},children:(D,se)=>{var V=He(),F=c(V);{const x=(b,p)=>{let W=()=>(p?.()).props;var t=Be();ke(t,()=>({class:"contents",...W()}));var s=Se(t);{let i=le(()=>_.ui_viewSettings_trigger_tooltip()),d=le(()=>_.ui_viewSettings_trigger_tooltip());Ve(s,{variant:"ghost-light",get size(){return ue[te()]},get tooltip(){return M(i)},tooltipSide:"bottom",get"aria-label"(){return M(d)},get"aria-expanded"(){return M(ae)},get class(){return ee()},"data-testid":"view-settings-trigger",children:(g,f)=>{Ce(g,{get icon(){return De},size:"xs"})},$$slots:{default:!0}})}Te(t),l(b,t)};v(F,()=>ye,(b,p)=>{p(b,{child:x,$$slots:{child:!0}})})}var oe=E(F,2);{let x=le(()=>_.ui_dropdownMenu_ariaLabel());v(oe,()=>Le,(b,p)=>{p(b,{align:"end",class:"w-56 p-3!",get"aria-label"(){return M(x)},children:(W,t)=>{ge(W)},$$slots:{default:!0}})})}l(D,V)},$$slots:{default:!0}})}),l(e,h)};m(_e,e=>{re()?e(ve):e(we,-1)})}return l(de,fe),xe(ce)}export{Ne as V};
1
+ import{t as he,bo as a,bw as be,b as pe,bm as _}from"./51_h0jm2.js";import{bs as me,a7 as w,ay as c,W as l,bn as xe,aA as n,bS as E,aD as M,bH as Ee,a5 as Se,bA as Te,c9 as le,aB as ie,bV as Pe,be as S,b$ as T,b_ as P,bO as k}from"./CJxGDkBm.js";import{i as m}from"./PXCFrn2V.js";import{c as v}from"./DGmOjLYi.js";import{b as ke}from"./CpPNoOk-.js";import{F as Ce,cA as De,be as Fe,ab as We,a9 as Oe,a5 as Me,aU as ze,ce as Ae}from"./DSQT151l.js";import{f as Ve}from"./Cdw_CIdg.js";import"./CF1Tu_8c.js";import{l as ye,d as Le,M as Ie,c as C}from"./M18r7swD.js";import"./DmhHEMPi.js";var Ue=ie("<!> <!> <!> <!> <!> <!>",1),Be=ie("<span><!></span>"),He=ie("<!> <!>",1);function Ne(de,r){if(new.target)return he({component:Ne,...de});me(r,!0);const ge=e=>{var h=Ue(),z=c(h);{var ne=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Fe},get checked(){return R()},closeOnSelect:!1,get onCheckedChange(){return X()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_markdownPreview_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(z,t=>{Q()&&t(ne)})}var A=E(z,2);{var D=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return We},get checked(){return Z()},closeOnSelect:!1,get onCheckedChange(){return $()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_allFilesExpanded_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(A,t=>{Y()&&t(D)})}var se=E(A,2);{var V=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Oe},get checked(){return L()},closeOnSelect:!1,get onCheckedChange(){return I()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_foldUnchanged_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(se,t=>{y()&&t(V)})}var F=E(se,2);{var oe=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Me},get checked(){return B()},closeOnSelect:!1,get onCheckedChange(){return H()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_wrapLines_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(F,t=>{U()&&t(oe)})}var x=E(F,2);{var b=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return ze},get checked(){return j()},closeOnSelect:!1,get onCheckedChange(){return q()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_splitView_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(x,t=>{N()&&t(b)})}var p=E(x,2);{var W=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Ae},get checked(){return J()},closeOnSelect:!1,get onCheckedChange(){return K()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_diffIndicators_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(p,t=>{G()&&t(W)})}l(e,h)};let y=a(r,"showFold",7,!0),L=a(r,"foldEnabled",7,!1),I=a(r,"onToggleFold",7),U=a(r,"showWrap",7,!0),B=a(r,"wrapEnabled",7,!1),H=a(r,"onToggleWrap",7),N=a(r,"showSplit",7,!0),j=a(r,"splitEnabled",7,!1),q=a(r,"onToggleSplit",7),G=a(r,"showDiff",7,!1),J=a(r,"diffEnabled",7,!1),K=a(r,"onToggleDiff",7),Q=a(r,"showPreview",7,!1),R=a(r,"previewEnabled",7,!1),X=a(r,"onTogglePreview",7),Y=a(r,"showExpand",7,!1),Z=a(r,"expanded",7,!1),$=a(r,"onToggleExpand",7),ee=a(r,"class",7,""),te=a(r,"size",7,"xs"),re=a(r,"embedded",7,!1),ae=Pe(!1);const ue={xs:"icon-xs",sm:"icon-sm",md:"icon"};var ce={get showFold(){return y()},set showFold(e=!0){y(e),n()},get foldEnabled(){return L()},set foldEnabled(e=!1){L(e),n()},get onToggleFold(){return I()},set onToggleFold(e){I(e),n()},get showWrap(){return U()},set showWrap(e=!0){U(e),n()},get wrapEnabled(){return B()},set wrapEnabled(e=!1){B(e),n()},get onToggleWrap(){return H()},set onToggleWrap(e){H(e),n()},get showSplit(){return N()},set showSplit(e=!0){N(e),n()},get splitEnabled(){return j()},set splitEnabled(e=!1){j(e),n()},get onToggleSplit(){return q()},set onToggleSplit(e){q(e),n()},get showDiff(){return G()},set showDiff(e=!1){G(e),n()},get diffEnabled(){return J()},set diffEnabled(e=!1){J(e),n()},get onToggleDiff(){return K()},set onToggleDiff(e){K(e),n()},get showPreview(){return Q()},set showPreview(e=!1){Q(e),n()},get previewEnabled(){return R()},set previewEnabled(e=!1){R(e),n()},get onTogglePreview(){return X()},set onTogglePreview(e){X(e),n()},get showExpand(){return Y()},set showExpand(e=!1){Y(e),n()},get expanded(){return Z()},set expanded(e=!1){Z(e),n()},get onToggleExpand(){return $()},set onToggleExpand(e){$(e),n()},get class(){return ee()},set class(e=""){ee(e),n()},get size(){return te()},set size(e="xs"){te(e),n()},get embedded(){return re()},set embedded(e=!1){re(e),n()},$set:be,$on:(e,h)=>pe(r,e,h)},fe=w(),_e=c(fe);{var ve=e=>{ge(e)},we=e=>{var h=w(),z=c(h);v(z,()=>Ie,(ne,A)=>{A(ne,{get open(){return M(ae)},set open(D){Ee(ae,D,!0)},children:(D,se)=>{var V=He(),F=c(V);{const x=(b,p)=>{let W=()=>(p?.()).props;var t=Be();ke(t,()=>({class:"contents",...W()}));var s=Se(t);{let i=le(()=>_.ui_viewSettings_trigger_tooltip()),d=le(()=>_.ui_viewSettings_trigger_tooltip());Ve(s,{variant:"ghost-light",get size(){return ue[te()]},get tooltip(){return M(i)},tooltipSide:"bottom",get"aria-label"(){return M(d)},get"aria-expanded"(){return M(ae)},get class(){return ee()},"data-testid":"view-settings-trigger",children:(g,f)=>{Ce(g,{get icon(){return De},size:"xs"})},$$slots:{default:!0}})}Te(t),l(b,t)};v(F,()=>ye,(b,p)=>{p(b,{child:x,$$slots:{child:!0}})})}var oe=E(F,2);{let x=le(()=>_.ui_dropdownMenu_ariaLabel());v(oe,()=>Le,(b,p)=>{p(b,{align:"end",class:"w-56 p-3!",get"aria-label"(){return M(x)},children:(W,t)=>{ge(W)},$$slots:{default:!0}})})}l(D,V)},$$slots:{default:!0}})}),l(e,h)};m(_e,e=>{re()?e(ve):e(we,-1)})}return l(de,fe),xe(ce)}export{Ne as V};
@@ -1 +1 @@
1
- import{t as ht,bo as S,bw as $t,bq as bt,b as It,bs as d}from"./a1kG0lDg.js";import{bs as yt,ca as k,aD as t,c9 as s,a7 as Ct,ay as Rt,W as kt,bn as wt,bH as q,bV as v,aA as U}from"./CJxGDkBm.js";import{k as At}from"./ag06q4LL.js";import{b as Pt}from"./NtFyWdpR.js";import{J4 as a,eB as Dt,eC as Et,o7 as St,zN as Ut,ob as Tt,oc as _t,JE as Ft,JT as xt,JJ as Nt,vu as Wt,uL as Lt}from"./DIz708WA.js";import{t as qt}from"./D2MmXC4A.js";import{g as vt}from"./BrMXrCxP.js";import{dE as Bt,bY as Ht,bN as Ot,bR as Jt,bP as Mt}from"./DVXtNvCM.js";import{af as Kt}from"./D-W7KYqw.js";import{C as Gt}from"./DtKQhjG0.js";import{V as Vt}from"./Dji1u83Z.js";import{bT as jt,bN as zt,b8 as Yt}from"./BdvDDr3c.js";import{i as Qt}from"./H2jLkRRS.js";function Xt(T,f){if(new.target)return ht({component:Xt,...T});yt(f,!0);const B=()=>d(Z,"$gitRoots$",n),_=()=>d(X,"$workspace",n),H=()=>d(st,"$ftCommits$",n),O=()=>d(ot,"$ftOlderCommits$",n),y=()=>d(tt,"$commitRead$",n),J=()=>d(Y,"$foldUnchanged",n),M=()=>d(z,"$lineWrapping",n),K=()=>d(Q,"$diffSideBySide",n),G=()=>d(at,"$ftLoading$",n),[n,V]=bt(),j=e=>{Vt(e,{embedded:!0,showExpand:!0,get expanded(){return t(C)},onToggleExpand:()=>{q(C,!t(C)),t(C)?t(R)?.expandAll():t(R)?.collapseAll()},get foldEnabled(){return J()},onToggleFold:()=>a.dispatch(Nt()),get wrapEnabled(){return M()},onToggleWrap:()=>a.dispatch(xt()),get splitEnabled(){return K()},onToggleSplit:()=>a.dispatch(Ft())})},z=jt(),Y=zt(),Q=Yt();let h=S(f,"tab",7),i=S(f,"workspaceId",7),$=S(f,"isActive",7);const F=vt(),g=qt(()=>i()),X=Bt(g),Z=Kt(g),w=crypto.randomUUID(),tt=Ht(g,w),c=s(()=>h().data?.commitHash||""),x=s(()=>h().data?.commitMessage||"");k(()=>{const e=i();if(!(!$()||!e||t(r)))return a.dispatch(Dt(e,"history")),()=>a.dispatch(Et(e,"history"))});const r=s(()=>h().data?.gitRootId||""),N=s(()=>t(r)&&B().find(e=>e.id===t(r))?.path||""),et=s(()=>t(N)||_()?.worktreePath||_()?.repositoryPath||""),st=Ot(g),ot=Jt(g),at=Mt(g),nt=s(()=>H()||[]),it=s(()=>O()||[]),p=s(()=>t(r)?void 0:t(nt).find(e=>e.hash===t(c))||t(it).find(e=>e.hash===t(c))),A=s(()=>t(p)?.files||[]),P=s(()=>y()?.request.kind==="commitDetails"&&y().request.commitHash===t(c)&&(y().request.gitRootId??"")===t(r)?y():void 0),l=s(()=>t(P)?.result?.kind==="commitDetails"?t(P).result.details:null),rt=s(()=>t(l)?t(l).fileDetails.length>0?t(l).fileDetails:t(l).files.map(e=>({path:e,additions:0,deletions:0})):[]),dt=s(()=>t(P)?.loading??!1);k(()=>{const e=t(c),o=i(),b=t(r);if(!e||!o||t(A).length>0)return;const u=crypto.randomUUID();return a.dispatch(St(o,w,u,{kind:"commitDetails",commitHash:e,gitRootId:b||void 0})),()=>a.dispatch(Ut(o,w,u))});const ct=s(()=>t(A).length>0?t(A):t(rt));let C=v(!0),R=v(null);const lt=s(()=>t(ct).map(e=>{const o=typeof e=="string"?e:e.path||"",b=typeof e=="string"?0:e.additions||0,u=typeof e=="string"?0:e.deletions||0;return{filePath:Qt(o)?o:`${t(et)}/${o}`,action:"modify",additions:b,deletions:u,toolName:"local",toolCallId:`commit-${t(c)}-${o}`,staged:!1,category:"committed",commitHash:t(c),commitMessage:t(x)}}));k(()=>{!F||!$()||F.registerActions({display:j})});const W=crypto.randomUUID();k(()=>{const e=i();if(!(!($()&&t(r))||!e))return a.dispatch(Tt(e,W)),()=>a.dispatch(_t(e,W))});var mt={get tab(){return h()},set tab(e){h(e),U()},get workspaceId(){return i()},set workspaceId(e){i(e),U()},get isActive(){return $()},set isActive(e){$(e),U()},$set:$t,$on:(e,o)=>It(f,e,o)},L=Ct(),gt=Rt(L);At(gt,()=>JSON.stringify([i(),t(r),t(c)]),e=>{{let o=s(()=>G()||t(dt)),b=s(()=>t(r)||void 0),u=s(()=>t(N)||void 0),ut=s(()=>({hash:t(c),message:t(x),author:t(p)?.author||t(l)?.author,authorEmail:t(p)?.authorEmail||t(l)?.authorEmail,date:t(p)?.date||t(l)?.date,agentId:t(p)?.agentId,linkedNoteId:t(p)?.linkedNoteId}));Pt(Gt(e,{get isLoading(){return t(o)},get changes(){return t(lt)},get gitRootId(){return t(b)},get gitRootPath(){return t(u)},get commitInfo(){return t(ut)},onOpenAgent:(I,m)=>{const D=m?.metaKey||m?.ctrlKey||!1,E=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(Lt(i(),{agentId:I,openInAdjacentPanel:D,sourcePanelId:E}))},onOpenNote:(I,m)=>{const D=m?.metaKey||m?.ctrlKey||!1,E=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(Wt(i(),I,{openInAdjacentPanel:D,sourcePanelId:E}))}}),I=>q(R,I,!0),()=>t(R))}}),kt(T,L);var pt=wt(mt);return V(),pt}export{Xt as default};
1
+ import{t as ht,bo as S,bw as $t,bq as bt,b as It,bs as d}from"./51_h0jm2.js";import{bs as yt,ca as k,aD as t,c9 as s,a7 as Ct,ay as Rt,W as kt,bn as wt,bH as q,bV as v,aA as U}from"./CJxGDkBm.js";import{k as At}from"./C9UsZ4re.js";import{b as Pt}from"./NtFyWdpR.js";import{J4 as a,eB as Dt,eC as Et,o7 as St,zN as Ut,ob as Tt,oc as _t,JE as Ft,JT as xt,JJ as Nt,vu as Wt,uL as Lt}from"./Zldsekdv.js";import{t as qt}from"./D2MmXC4A.js";import{g as vt}from"./BrMXrCxP.js";import{dE as Bt,bY as Ht,bN as Ot,bR as Jt,bP as Mt}from"./XJqoy2ap.js";import{af as Kt}from"./Dbpb1w7S.js";import{C as Gt}from"./C7H74phM.js";import{V as Vt}from"./sG8VksRm.js";import{bT as jt,bN as zt,b8 as Yt}from"./uWDJKH9B.js";import{i as Qt}from"./H2jLkRRS.js";function Xt(T,f){if(new.target)return ht({component:Xt,...T});yt(f,!0);const B=()=>d(Z,"$gitRoots$",n),_=()=>d(X,"$workspace",n),H=()=>d(st,"$ftCommits$",n),O=()=>d(ot,"$ftOlderCommits$",n),y=()=>d(tt,"$commitRead$",n),J=()=>d(Y,"$foldUnchanged",n),M=()=>d(z,"$lineWrapping",n),K=()=>d(Q,"$diffSideBySide",n),G=()=>d(at,"$ftLoading$",n),[n,V]=bt(),j=e=>{Vt(e,{embedded:!0,showExpand:!0,get expanded(){return t(C)},onToggleExpand:()=>{q(C,!t(C)),t(C)?t(R)?.expandAll():t(R)?.collapseAll()},get foldEnabled(){return J()},onToggleFold:()=>a.dispatch(Nt()),get wrapEnabled(){return M()},onToggleWrap:()=>a.dispatch(xt()),get splitEnabled(){return K()},onToggleSplit:()=>a.dispatch(Ft())})},z=jt(),Y=zt(),Q=Yt();let h=S(f,"tab",7),i=S(f,"workspaceId",7),$=S(f,"isActive",7);const F=vt(),g=qt(()=>i()),X=Bt(g),Z=Kt(g),w=crypto.randomUUID(),tt=Ht(g,w),c=s(()=>h().data?.commitHash||""),x=s(()=>h().data?.commitMessage||"");k(()=>{const e=i();if(!(!$()||!e||t(r)))return a.dispatch(Dt(e,"history")),()=>a.dispatch(Et(e,"history"))});const r=s(()=>h().data?.gitRootId||""),N=s(()=>t(r)&&B().find(e=>e.id===t(r))?.path||""),et=s(()=>t(N)||_()?.worktreePath||_()?.repositoryPath||""),st=Ot(g),ot=Jt(g),at=Mt(g),nt=s(()=>H()||[]),it=s(()=>O()||[]),p=s(()=>t(r)?void 0:t(nt).find(e=>e.hash===t(c))||t(it).find(e=>e.hash===t(c))),A=s(()=>t(p)?.files||[]),P=s(()=>y()?.request.kind==="commitDetails"&&y().request.commitHash===t(c)&&(y().request.gitRootId??"")===t(r)?y():void 0),l=s(()=>t(P)?.result?.kind==="commitDetails"?t(P).result.details:null),rt=s(()=>t(l)?t(l).fileDetails.length>0?t(l).fileDetails:t(l).files.map(e=>({path:e,additions:0,deletions:0})):[]),dt=s(()=>t(P)?.loading??!1);k(()=>{const e=t(c),o=i(),b=t(r);if(!e||!o||t(A).length>0)return;const u=crypto.randomUUID();return a.dispatch(St(o,w,u,{kind:"commitDetails",commitHash:e,gitRootId:b||void 0})),()=>a.dispatch(Ut(o,w,u))});const ct=s(()=>t(A).length>0?t(A):t(rt));let C=v(!0),R=v(null);const lt=s(()=>t(ct).map(e=>{const o=typeof e=="string"?e:e.path||"",b=typeof e=="string"?0:e.additions||0,u=typeof e=="string"?0:e.deletions||0;return{filePath:Qt(o)?o:`${t(et)}/${o}`,action:"modify",additions:b,deletions:u,toolName:"local",toolCallId:`commit-${t(c)}-${o}`,staged:!1,category:"committed",commitHash:t(c),commitMessage:t(x)}}));k(()=>{!F||!$()||F.registerActions({display:j})});const W=crypto.randomUUID();k(()=>{const e=i();if(!(!($()&&t(r))||!e))return a.dispatch(Tt(e,W)),()=>a.dispatch(_t(e,W))});var mt={get tab(){return h()},set tab(e){h(e),U()},get workspaceId(){return i()},set workspaceId(e){i(e),U()},get isActive(){return $()},set isActive(e){$(e),U()},$set:$t,$on:(e,o)=>It(f,e,o)},L=Ct(),gt=Rt(L);At(gt,()=>JSON.stringify([i(),t(r),t(c)]),e=>{{let o=s(()=>G()||t(dt)),b=s(()=>t(r)||void 0),u=s(()=>t(N)||void 0),ut=s(()=>({hash:t(c),message:t(x),author:t(p)?.author||t(l)?.author,authorEmail:t(p)?.authorEmail||t(l)?.authorEmail,date:t(p)?.date||t(l)?.date,agentId:t(p)?.agentId,linkedNoteId:t(p)?.linkedNoteId}));Pt(Gt(e,{get isLoading(){return t(o)},get changes(){return t(lt)},get gitRootId(){return t(b)},get gitRootPath(){return t(u)},get commitInfo(){return t(ut)},onOpenAgent:(I,m)=>{const D=m?.metaKey||m?.ctrlKey||!1,E=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(Lt(i(),{agentId:I,openInAdjacentPanel:D,sourcePanelId:E}))},onOpenNote:(I,m)=>{const D=m?.metaKey||m?.ctrlKey||!1,E=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(Wt(i(),I,{openInAdjacentPanel:D,sourcePanelId:E}))}}),I=>q(R,I,!0),()=>t(R))}}),kt(T,L);var pt=wt(mt);return V(),pt}export{Xt as default};
@@ -1,4 +1,4 @@
1
- var i1=Object.defineProperty;var s1=(t,e,r)=>e in t?i1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var se=(t,e,r)=>s1(t,typeof e!="symbol"?e+"":e,r);import{cO as ur,b3 as o1,dF as _l,a7 as R0,a5 as ya,a6 as l1,a4 as c1,aa as u1,am as d1,a1 as h1,e5 as p1,X as m1,bl as Ll,cR as _r,dE as Ol,b2 as f1,b6 as g1,cz as v1,cP as b1,ck as y1,dz as Ya,d_ as w1,dT as k1,aJ as Fn,aw as x1,aE as Ti,dD as $l,dQ as S1,e9 as Bl,e8 as A1}from"./DVXtNvCM.js";import{D as Ls,b4 as T1,be as E1,aC as M1}from"./CDKjl22x.js";import{L as C1,F as i0,I as I1}from"./CqJQ3ikU.js";import{z7 as gn,J4 as E,nM as ge,nL as Se,aP as z1,i as ql,E as Re,bl as c0,k4 as Ei,m3 as vn,am as jt,m2 as Os,mc as $s,m9 as Bs,jD as Fl,gq as Xa,Hs as R1,ts as D1,AA as N1,oP as P1,mR as bn,C8 as _1,iD as L1,mm as O1,lZ as $1}from"./DIz708WA.js";import{bm as ne}from"./a1kG0lDg.js";import{l as rt}from"./Cg6uFDit.js";import{k as B1,d as xr}from"./Bnfzeolk.js";import{a as u0}from"./BdWqymET.js";import{o as pe,r as Gt,e as d0,s as V,_ as Ye,l as h0,g as q1,n as _e,c as or,b as Ue,u as F1,d as H1}from"./CIyUrgF0.js";import{j as Hl}from"./uXuxG9cN.js";import{u as U1}from"./CFWjNNDI.js";import{selectActiveWorkspaceIds as W1}from"./DjtlNmSp.js";import{i as He}from"./DCOxMTSf.js";import{l as wa,c as Mi}from"./ChTqQfQN.js";import"./3TUSwkgT.js";import{e as G1,h as Sr}from"./D-2bQKif.js";import{h as p0}from"./BguHhtk8.js";import{i as qs}from"./DMl4Z5o_.js";import{f as Ci,o as Ul,p as Wl,h as j1,m as Gl,i as V1,k as K1}from"./qkupoeeB.js";const Ge=[];for(let t=0;t<256;++t)Ge.push((t+256).toString(16).slice(1));function Y1(t,e=0){return(Ge[t[e+0]]+Ge[t[e+1]]+Ge[t[e+2]]+Ge[t[e+3]]+"-"+Ge[t[e+4]]+Ge[t[e+5]]+"-"+Ge[t[e+6]]+Ge[t[e+7]]+"-"+Ge[t[e+8]]+Ge[t[e+9]]+"-"+Ge[t[e+10]]+Ge[t[e+11]]+Ge[t[e+12]]+Ge[t[e+13]]+Ge[t[e+14]]+Ge[t[e+15]]).toLowerCase()}const X1=new Uint8Array(16);function Z1(){return crypto.getRandomValues(X1)}function Ii(t,e,r){return crypto.randomUUID?crypto.randomUUID():Q1(t)}function Q1(t,e,r){t=t||{};const n=t.random??t.rng?.()??Z1();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,Y1(n)}function zi(t,e){if(t.repositoryIdentity===null)return null;if(t.repositoryIdentity){const{provider:a,instanceBaseUrl:i,projectPath:s}=t.repositoryIdentity,o=zi({...t,repositoryIdentity:void 0,githubUrl:`${i}/${s}`},a==="gitlab"?i:void 0);return o?.provider===a?o:null}const r=t.githubUrl;if(!r)return null;const n=/^(?:https:\/\/github\.com\/|git@github\.com:)([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+?)(?:\.git)?\/?$/i.exec(r);return n&&!n.slice(1).some(a=>a==="."||a==="..")?{provider:"github",instanceBaseUrl:"https://github.com",projectPath:`${n[1]}/${n[2]}`}:e?C1(r.replace(/\.git\/?$/,""),e):null}function C5(t,e){return t.type==="local"?t.plainFolder?"folder":"local":zi(t,e)?.provider==="gitlab"?"gitlab":"github"}function jl(t){const e=t.split(/[\\/]/).filter(Boolean);return e[e.length-1]??""}function I5(t){if(t.type!=="local")return{ownerPrefix:t.owner,primary:t.name};const e=jl(t.path)||t.name,r=t.owner?`${t.owner}/${t.name}`:void 0;return{primary:e,suffix:r}}function z5(t){return t.type==="local"&&t.path?t.path:void 0}const J1=["/.clones/","/.repo-cache/"];function R5(t){const e=t.replaceAll("\\","/");return J1.some(r=>e.includes(r))}function D5(t){const e=new Set;for(const r of t){const{repositoryPath:n,worktreePath:a}=r;n&&a&&n===a&&e.add(n)}return e}function ed(t){return t.includes("\\")||t.includes(":")||t.startsWith("/")?void 0:/^([^/]+)\/[^/]+$/.exec(t)?.[1]}function N5(t,e){const{selectedValue:r,selectedRepoType:n,confirmedGithubUrl:a}=t;if(!(n!=="github"||!r)){if(a){const i=e(a)?.owner;if(i)return i}return e(r)?.owner??ed(r)}}function P5(t,e){const r=e.trim().toLowerCase();return r===""?!0:[t.name,t.path,jl(t.path),t.owner,t.owner?`${t.owner}/${t.name}`:void 0].some(a=>a?.toLowerCase().includes(r)??!1)}const td="known-repos",rd=6e4;function nd({saved:t,source:e,dismissed:r,mode:n}){if(!e)return[...t];const a=new Map;if(n==="all")for(const s of[...e.repos,...t]){const o=gn(s);a.has(o)||a.set(o,s)}else{for(const s of t)a.set(gn(s),s);for(const s of e.repos)a.set(gn(s),s)}const i=[...a.values()].filter(s=>!r[gn(s)]);return n==="all"?i:i.slice(0,9)}function _5(t){const e=t.lastUsedAt?Date.parse(t.lastUsedAt):NaN;return Number.isFinite(e)?e:0}function L5({visible:t,admission:e,entry:r,readyAt:n,now:a}){return!t||!e?"skip":!r||r.admission!==e?"load":r.status==="pending"?"reuse":r.status==="ready"&&n?.requestId===r.requestId&&a-n.at<rd?"skip":"load"}function O5(t,e){if(t.type==="local")return t.plainFolder?{repoPath:t.path,plainFolder:!0}:{repoPath:t.path};const r=zi(t,e);return r?.provider==="gitlab"?{repositoryCheckoutDraft:{instanceBaseUrl:r.instanceBaseUrl,projectPath:r.projectPath}}:r?{githubUrl:`https://github.com/${r.projectPath}`,exactRemote:!0}:{githubUrl:t.githubUrl||`https://github.com/${t.path}`,exactRemote:!0}}function ad({compactFormState:t,lastSubmittedAgent:e,specialists:r,orchestratorId:n}){if(t?.isTeamMode??e?.isTeamMode??!1)return n;const i=o=>r.some(c=>c.id===o),s=t?.selectedSpecialist!==void 0?t.selectedSpecialist:e?.selectedSpecialist!==void 0?e.selectedSpecialist:i(Ls)?Ls:null;return s===null||!i(s)?null:s}const $5=E.createSelector(t=>t.workspaceInitializer.hydrated),B5=E.createSelector(t=>t.workspaceInitializer.compactFormState),q5=E.createSelector(t=>t.workspaceInitializer.onboardingFormState),F5=E.createSelector(t=>t.workspaceInitializer.lastSelectedRepo),H5=E.createSelector(t=>t.workspaceInitializer.branchByRepo),U5=E.createSelector(t=>t.workspaceInitializer.defaultParentPath),W5=E.createSelector(t=>ge(t.workspaceInitializer.recentRepos)),G5=E.createSelector((t,e)=>Se(t.workspaceInitializer.recentRepoRefreshes,e)),j5=E.createSelector((t,e)=>Se(t.workspaceInitializer.directoryStatusChecks,e)),V5=E.createSelector(t=>t.workspaceInitializer.dismissedRecentRepoKeys),K5=E.createSelector(t=>ge(t.workspaceInitializer.remoteSetups)),Y5=E.createSelector(t=>t.workspaceInitializer.lastSubmittedAgent),X5=E.createSelector(t=>t.workspaceInitializer.agentByRepo),Z5=E.createSelector(t=>t.workspaceInitializer.recentSpecialistIds),Q5=E.createSelector((t,e)=>t.workspaceInitializer.agentByRepo[e]??null),J5=E.createSelector(t=>t.workspaceInitializer.pendingGitHubPrefill),e3=E.createSelector((t,e)=>({restore:Se(t.workspaceInitializer.draftRestores,e),clear:Se(t.workspaceInitializer.draftClears,e)})),t3=E.createSelector((t,e,r)=>{const n=Se(t.workspaceInitializer.initializationOutcomes,e);return n?.resourceId===r?n:void 0}),r3=E.createSelector((t,e)=>Se(t.workspaceInitializer.initializationOutcomes,e)),n3=E.createSelector((t,e)=>Se(t.workspaceInitializer.initializationResumes,e)),a3=E.createSelector(t=>ad({compactFormState:t.workspaceInitializer.compactFormState,lastSubmittedAgent:t.workspaceInitializer.lastSubmittedAgent,specialists:E1.select(t),orchestratorId:T1.select(t)?.id??null})),id=E.createSelector(t=>{const e=t.workspaceInitializer.gitCheckRequest,r=ur.select(t);return e&&r&&o1.select(t)?JSON.stringify([r,e]):null}),i3=E.createSelector(t=>{const e=id.select(t),r=t.workspaceInitializer.gitCheck;return e&&r?.context===e?r.available:null}),sd=E.createSelector(t=>{const e=Se(t.workspaceInitializer.recentRepoRefreshes,td),r=ur.select(t);return nd({saved:ge(t.workspaceInitializer.recentRepos),source:e&&r&&e.admission===r?e:null,dismissed:t.workspaceInitializer.dismissedRecentRepoKeys,mode:"all"})}),s3=E.createSelector(t=>_l.select(t)?sd.select(t):[]),o3=E.createSelector(t=>M1.select(t)||void 0),Fs="workspace-debug-flags",yn={enableCreationAnimation:!0,animationDuration:300,enablePageTransitions:!0,enableComponentTransitions:!0,showDebugInfo:!1,showPerformanceMetrics:!1,logStateChanges:!1,enableAutofocus:!0,enableBranchCaching:!0,enableFormPersistence:!0,simulateSlowNetwork:!1,simulateErrors:!1,networkDelay:0};class od{constructor(){se(this,"flags");se(this,"listeners",new Set);this.flags=this.loadFlags()}loadFlags(){if(typeof localStorage>"u")return yn;try{const e=localStorage.getItem(Fs);if(e)return{...yn,...JSON.parse(e)}}catch(e){wa.error("Failed to load debug flags:",e)}return yn}saveFlags(){if(!(typeof localStorage>"u")){try{localStorage.setItem(Fs,JSON.stringify(this.flags))}catch(e){wa.error("Failed to save debug flags:",e)}this.listeners.forEach(e=>e(this.flags))}}get(e){return this.flags[e]}set(e,r){this.flags[e]=r,this.saveFlags()}toggle(e){typeof this.flags[e]=="boolean"&&(this.flags[e]=!this.flags[e],this.saveFlags())}reset(){this.flags={...yn},this.saveFlags()}getAll(){return{...this.flags}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}toggleDebugPanel(){this.toggle("showDebugInfo"),wa.info("Debug panel:",this.flags.showDebugInfo?"ON":"OFF")}async simulateDelay(e){return this.flags.simulateSlowNetwork&&this.flags.networkDelay>0&&await new Promise(r=>setTimeout(r,this.flags.networkDelay)),e}}const ka=new od;function l3(t){if(!t)return"";let e=t;return e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/__(.+?)__/g,"$1"),e=e.replace(/(?<!\*)\*(?!\*)(.+?)(?<!\*)\*(?!\*)/g,"$1"),e=e.replace(/(?<!_)_(?!_)(.+?)(?<!_)_(?!_)/g,"$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/\[([^\]]+)\]\([^)]+\)/g,"$1"),e=e.replace(/^#{1,6}\s+/gm,""),e=e.replace(/^\*+\s*/gm,""),e=e.replace(/\s*\*+$/gm,""),e.trim()}function ld(t){return t.charAt(0).toUpperCase()+t.slice(1)}function c3(t){if(!t||t.trim().length===0)return ne.workspace_sidebarHeader_branchEmpty_error();if(/[\s~^:\\?*\[\\]/.test(t))return ne.workspace_sidebarHeader_branchInvalidChars_error();if(t.includes("@{"))return ne.workspace_sidebarChanges_branchAtBrace_error({seq:"@{"});if(t==="@")return ne.workspace_sidebarChanges_branchAt_error({symbol:"@"});if(t.startsWith("."))return ne.workspace_sidebarHeader_branchStartsDot_error();if(t.endsWith(".lock"))return ne.workspace_sidebarHeader_branchEndsLock_error();if(t.includes(".."))return ne.workspace_sidebarHeader_branchDoubleDot_error();if(t.startsWith("/")||t.endsWith("/"))return ne.workspace_sidebarHeader_branchSlashEnds_error();if(t.includes("//"))return ne.workspace_sidebarHeader_branchDoubleSlash_error();if(t.startsWith("-"))return ne.workspace_sidebarHeader_branchStartsDash_error();if(t.endsWith("."))return ne.workspace_sidebarChanges_branchEndsPeriod_error();const e=t.split("/");for(const r of e){if(r.startsWith("."))return ne.workspace_sidebarChanges_branchComponentStartsDot_error();if(r.endsWith(".lock"))return ne.workspace_sidebarChanges_branchComponentEndsLock_error()}if(t.length>250)return ne.workspace_sidebarHeader_branchTooLong_error()}function u3(t,e,r,n){return e&&r?`https://github.com/${e}/${r}/pull/${t}`:n||""}function Za(t){return t==="Open"?"open":t==="Merged"?"merged":t==="Draft"?"draft":"closed"}function d3(t,e){return`${e}:${t.agentId??"manual"}`}function cd(t,e){if(t.length===0||e>=t.length)return 0;const r=Math.max(0,e);let n=0;for(let a=r;a<t.length;a++)t[a].isPushed||n++;return n}function ud(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed&&n++;return n}function dd(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed||n++;return n}function h3(t,e,r,n){const a=cd(t,e),i=n?` (origin/${n})`:"";return r?a===1?ne.workspace_sidebarChanges_addToPr_one({suffix:i}):ne.workspace_sidebarChanges_addToPr_many({count:rt(a),suffix:i}):a===1?ne.workspace_sidebarChanges_pushToRemote_one({suffix:i}):ne.workspace_sidebarChanges_pushToRemote_many({count:rt(a),suffix:i})}function p3(t,e,r){const n=ud(t,e),a=r?` (origin/${r})`:"";return n===1?ne.workspace_sidebarChanges_undoPush_one({suffix:a}):ne.workspace_sidebarChanges_undoPush_many({count:rt(n),suffix:a})}function m3(t,e){const r=dd(t,e);return r===1?ne.workspace_sidebarChanges_undoCommit_one():ne.workspace_sidebarChanges_undoCommit_many({count:rt(r)})}function f3(t,e){return e===0&&t.length>0}function g3(t,e,r,n){return!r||n==null?!1:t===r&&e===n}function v3(t,e,r){const n=`${e?"staged":"unstaged"}:${t}`;return r.has(n)}function b3(t,e,r){return r?.path===t&&r?.staged===e}function y3(t){if(t.length===0)return[];const e=new Map,r=[...t].sort((n,a)=>n.timestamp-a.timestamp);for(const n of r)for(const a of n.files??[]){const i=e.get(a.path);i?e.set(a.path,{additions:i.additions+(a.additions||0),deletions:i.deletions+(a.deletions||0)}):e.set(a.path,{additions:a.additions||0,deletions:a.deletions||0})}return Array.from(e.entries()).map(([n,a])=>({path:n,additions:a.additions,deletions:a.deletions,staged:!1}))}function w3(t,e,r){const n=new Set;let a=0,i=0;for(const s of t)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of e)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of r)for(const o of s.files||[])n.add(o.path),a+=o.additions||0,i+=o.deletions||0;return{totalFilesChanged:n.size,totalAdditions:a,totalDeletions:i}}function hd(t){const e=t?.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+)\/pull\/\d+/i);return e?`${e[1]}/${e[2]}`:void 0}function k3(t,e,r,n,a){if(t&&t.length>0){const i=a?.split("/")[0];return t.map(s=>{const o=s.url||r(s.number),c=hd(s.url),d=c!==void 0&&c.toLowerCase()!==a?.toLowerCase()?c:void 0;return{number:s.number,title:n(s),url:o,htmlUrl:o,status:Za(s.status),createdAt:s.createdAt,updatedAt:s.updatedAt,isInMergeQueue:s.isDraft?void 0:s.isInMergeQueue,crossRepo:d,crossRepoDisplay:d?Ri(d,i):void 0}})}return e?[{number:e.number,title:n(e),url:r(e.number,e.url),htmlUrl:r(e.number,e.url),status:Za(e.status),createdAt:e.createdAt,updatedAt:e.updatedAt,isInMergeQueue:e.isDraft?void 0:e.isInMergeQueue}]:[]}function x3(t){const{prNumber:e,prUrl:r}=t;return e==null||!r?null:{id:`legacy-pr-${e}`,number:e,url:r,title:"",status:t.prStatus??z1.Open,createdAt:t.updatedAt,updatedAt:t.updatedAt}}function pd(t){const e=t.lastSnapshot?.state?.toLowerCase();return e==="merged"?"merged":e==="closed"?"closed":t.lastSnapshot?.isDraft?"draft":t.state==="completed"?"closed":"open"}function xa(t,e,r){if(e.length===0)return t;const n=r?.split("/")[0],a=t.map(i=>({...i}));for(const i of e){const s=!i.resource&&!i.monitorAvailability&&(!r||i.repo===r),o=R0(i),c=o.toLowerCase(),d=a.find(p=>!!o&&p.url.toLowerCase()===c||(i.resource||i.monitorAvailability?p.monitorIdentity===ya(i):!p.resource&&!p.monitorAvailability&&(s?!p.crossRepo&&p.number===i.prNumber:p.crossRepo===i.repo&&p.number===i.prNumber)));if(d){d.monitorAgentId=i.agentId,d.resource=i.resource,d.monitorAvailability=i.monitorAvailability,d.monitorIdentity=i.resource||i.monitorAvailability?ya(i):void 0,d.monitorSnapshot=i.lastSnapshot??d.monitorSnapshot;continue}a.push({number:i.prNumber,title:i.title??`${i.repo}${l1(i,i.prNumber)}`,resource:i.resource,monitorAvailability:i.monitorAvailability,monitorIdentity:i.resource||i.monitorAvailability?ya(i):void 0,url:o,htmlUrl:o,status:pd(i),createdAt:i.createdAt,updatedAt:i.updatedAt,monitorAgentId:i.agentId,crossRepo:s?void 0:i.repo,crossRepoDisplay:s?void 0:Ri(i.repo,n),monitorSnapshot:i.lastSnapshot,monitorOnly:!0})}return a}function Ri(t,e){return e&&t.toLowerCase().startsWith(`${e.toLowerCase()}/`)?t.slice(e.length+1):t}function S3(t,e,r,n,a){const i=r?.toLowerCase(),s=new Set;for(const S of n)S.repoOwner&&S.repoName&&s.add(`${S.repoOwner}/${S.repoName}`.toLowerCase());let o=t;const c=[],d=[];if(t.some(S=>S.crossRepo)){o=[];for(const S of t)S.crossRepo?s.has(S.crossRepo.toLowerCase())?c.push(S):d.push(S):o.push(S)}const p=[],g=[],v=[];for(const S of e){const C=S.repo.toLowerCase();R0(S)&&o.some(W=>W.url===R0(S))||!S.resource&&!S.monitorAvailability&&(!i||C===i)?p.push(S):R0(S)&&c.some(W=>W.url===R0(S))||!S.resource&&!S.monitorAvailability&&s.has(C)?g.push(S):v.push(S)}const w=xa(o,p,r),A=r?.split("/")[0],M=new Set([...w,...c,...d].map(S=>`${(S.crossRepo??r??"").toLowerCase()}#${S.number}`)),D=[...c];for(const S of n){if(!S.repoOwner||!S.repoName)continue;const C=`${S.repoOwner}/${S.repoName}`;for(const W of S.pullRequests??[]){const X=`${C.toLowerCase()}#${W.number}`;if(M.has(X))continue;M.add(X);const Y=W.url||`https://github.com/${C}/pull/${W.number}`,T=i!==void 0&&C.toLowerCase()===i;D.push({number:W.number,title:a(W),url:Y,htmlUrl:Y,status:Za(W.status),createdAt:W.createdAt,updatedAt:W.updatedAt,crossRepo:T?void 0:C,crossRepoDisplay:T?void 0:Ri(C,A)})}}return{own:w,otherRoots:xa(D,g,r),otherTracked:xa(d,v,r)}}function Hs(t){return t.status!=="open"?!1:t.monitorSnapshot?t.monitorSnapshot.isInMergeQueue===!0:t.isInMergeQueue===!0}function A3(t){const e=t.status==="merged"?ne.workspace_prSection_merged_label():t.status==="closed"?ne.workspace_prSection_closed_label():t.status==="draft"?ne.workspace_prSection_statusDraft_label():Hs(t)?ne.workspace_prSection_statusQueued_label():ne.workspace_prSection_statusOpen_label(),r=[c1(t)??e],n=Hs(t)?B1(t.monitorSnapshot?.mergeQueue):null;n&&r.push(n);const a=t.status==="merged"||t.status==="closed"?void 0:t.monitorSnapshot;return a&&(a.checks.total===null||a.checks.passed===null||a.checks.failed===null||a.checks.pending===null||a.availability&&a.availability.checks!=="available"?r.push(ne.chat_monitoredPrs_hover_checksUnknown_label()):a.checks.total>0&&r.push(ne.workspace_prSection_statusChecks_tooltip({passed:rt(a.checks.passed),failed:rt(a.checks.failed),pending:rt(a.checks.pending)})),r.push(a.approvals.have===null||a.availability&&a.availability.approvals!=="available"?ne.chat_monitoredPrs_hover_approvalsUnknown_label():a.approvals.needed!=null?ne.workspace_prSection_statusApprovalsOfNeeded_tooltip({count:rt(a.approvals.have),needed:rt(a.approvals.needed)}):ne.workspace_prSection_statusApprovals_tooltip({count:rt(a.approvals.have)})),a.approvals.changesRequested!==null&&a.approvals.changesRequested>0&&r.push(ne.workspace_prSection_statusChangesRequested_tooltip({count:rt(a.approvals.changesRequested)})),a.availability&&a.availability.discussions!=="available"?r.push(ne.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()):typeof a.threads.unresolved=="number"?a.threads.unresolved>0&&r.push(ne.workspace_prSection_statusUnresolvedThreads_tooltip({count:rt(a.threads.unresolved)})):a.threads.resolutionRequired&&r.push(ne.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()),a.mergeBlockedReason&&r.push(ld(a.mergeBlockedReason))),r.join(`
1
+ var i1=Object.defineProperty;var s1=(t,e,r)=>e in t?i1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var se=(t,e,r)=>s1(t,typeof e!="symbol"?e+"":e,r);import{cO as ur,b3 as o1,dF as _l,a7 as R0,a5 as ya,a6 as l1,a4 as c1,aa as u1,am as d1,a1 as h1,e5 as p1,X as m1,bl as Ll,cR as _r,dE as Ol,b2 as f1,b6 as g1,cz as v1,cP as b1,ck as y1,dz as Ya,d_ as w1,dT as k1,aJ as Fn,aw as x1,aE as Ti,dD as $l,dQ as S1,e9 as Bl,e8 as A1}from"./XJqoy2ap.js";import{D as Ls,b4 as T1,be as E1,aC as M1}from"./DWLnWMNZ.js";import{L as C1,F as i0,I as I1}from"./CqJQ3ikU.js";import{z7 as gn,J4 as E,nM as ge,nL as Se,aP as z1,i as ql,E as Re,bl as c0,k4 as Ei,m3 as vn,am as jt,m2 as Os,mc as $s,m9 as Bs,jD as Fl,gq as Xa,Hs as R1,ts as D1,AA as N1,oP as P1,mR as bn,C8 as _1,iD as L1,mm as O1,lZ as $1}from"./Zldsekdv.js";import{bm as ne}from"./51_h0jm2.js";import{l as rt}from"./DqFWZ_g1.js";import{k as B1,d as xr}from"./Cs_DX3BC.js";import{a as u0}from"./BdWqymET.js";import{o as pe,r as Gt,e as d0,s as V,_ as Ye,l as h0,g as q1,n as _e,c as or,b as Ue,u as F1,d as H1}from"./CIyUrgF0.js";import{j as Hl}from"./uXuxG9cN.js";import{u as U1}from"./LKW_Bid7.js";import{selectActiveWorkspaceIds as W1}from"./BuveYyQe.js";import{i as He}from"./DCOxMTSf.js";import{l as wa,c as Mi}from"./ChTqQfQN.js";import"./DVy6H5Ng.js";import{e as G1,h as Sr}from"./D-2bQKif.js";import{h as p0}from"./CF1Tu_8c.js";import{i as qs}from"./DMl4Z5o_.js";import{f as Ci,o as Ul,p as Wl,h as j1,m as Gl,i as V1,k as K1}from"./Bs9TCQJX.js";const Ge=[];for(let t=0;t<256;++t)Ge.push((t+256).toString(16).slice(1));function Y1(t,e=0){return(Ge[t[e+0]]+Ge[t[e+1]]+Ge[t[e+2]]+Ge[t[e+3]]+"-"+Ge[t[e+4]]+Ge[t[e+5]]+"-"+Ge[t[e+6]]+Ge[t[e+7]]+"-"+Ge[t[e+8]]+Ge[t[e+9]]+"-"+Ge[t[e+10]]+Ge[t[e+11]]+Ge[t[e+12]]+Ge[t[e+13]]+Ge[t[e+14]]+Ge[t[e+15]]).toLowerCase()}const X1=new Uint8Array(16);function Z1(){return crypto.getRandomValues(X1)}function Ii(t,e,r){return crypto.randomUUID?crypto.randomUUID():Q1(t)}function Q1(t,e,r){t=t||{};const n=t.random??t.rng?.()??Z1();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,Y1(n)}function zi(t,e){if(t.repositoryIdentity===null)return null;if(t.repositoryIdentity){const{provider:a,instanceBaseUrl:i,projectPath:s}=t.repositoryIdentity,o=zi({...t,repositoryIdentity:void 0,githubUrl:`${i}/${s}`},a==="gitlab"?i:void 0);return o?.provider===a?o:null}const r=t.githubUrl;if(!r)return null;const n=/^(?:https:\/\/github\.com\/|git@github\.com:)([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+?)(?:\.git)?\/?$/i.exec(r);return n&&!n.slice(1).some(a=>a==="."||a==="..")?{provider:"github",instanceBaseUrl:"https://github.com",projectPath:`${n[1]}/${n[2]}`}:e?C1(r.replace(/\.git\/?$/,""),e):null}function C5(t,e){return t.type==="local"?t.plainFolder?"folder":"local":zi(t,e)?.provider==="gitlab"?"gitlab":"github"}function jl(t){const e=t.split(/[\\/]/).filter(Boolean);return e[e.length-1]??""}function I5(t){if(t.type!=="local")return{ownerPrefix:t.owner,primary:t.name};const e=jl(t.path)||t.name,r=t.owner?`${t.owner}/${t.name}`:void 0;return{primary:e,suffix:r}}function z5(t){return t.type==="local"&&t.path?t.path:void 0}const J1=["/.clones/","/.repo-cache/"];function R5(t){const e=t.replaceAll("\\","/");return J1.some(r=>e.includes(r))}function D5(t){const e=new Set;for(const r of t){const{repositoryPath:n,worktreePath:a}=r;n&&a&&n===a&&e.add(n)}return e}function ed(t){return t.includes("\\")||t.includes(":")||t.startsWith("/")?void 0:/^([^/]+)\/[^/]+$/.exec(t)?.[1]}function N5(t,e){const{selectedValue:r,selectedRepoType:n,confirmedGithubUrl:a}=t;if(!(n!=="github"||!r)){if(a){const i=e(a)?.owner;if(i)return i}return e(r)?.owner??ed(r)}}function P5(t,e){const r=e.trim().toLowerCase();return r===""?!0:[t.name,t.path,jl(t.path),t.owner,t.owner?`${t.owner}/${t.name}`:void 0].some(a=>a?.toLowerCase().includes(r)??!1)}const td="known-repos",rd=6e4;function nd({saved:t,source:e,dismissed:r,mode:n}){if(!e)return[...t];const a=new Map;if(n==="all")for(const s of[...e.repos,...t]){const o=gn(s);a.has(o)||a.set(o,s)}else{for(const s of t)a.set(gn(s),s);for(const s of e.repos)a.set(gn(s),s)}const i=[...a.values()].filter(s=>!r[gn(s)]);return n==="all"?i:i.slice(0,9)}function _5(t){const e=t.lastUsedAt?Date.parse(t.lastUsedAt):NaN;return Number.isFinite(e)?e:0}function L5({visible:t,admission:e,entry:r,readyAt:n,now:a}){return!t||!e?"skip":!r||r.admission!==e?"load":r.status==="pending"?"reuse":r.status==="ready"&&n?.requestId===r.requestId&&a-n.at<rd?"skip":"load"}function O5(t,e){if(t.type==="local")return t.plainFolder?{repoPath:t.path,plainFolder:!0}:{repoPath:t.path};const r=zi(t,e);return r?.provider==="gitlab"?{repositoryCheckoutDraft:{instanceBaseUrl:r.instanceBaseUrl,projectPath:r.projectPath}}:r?{githubUrl:`https://github.com/${r.projectPath}`,exactRemote:!0}:{githubUrl:t.githubUrl||`https://github.com/${t.path}`,exactRemote:!0}}function ad({compactFormState:t,lastSubmittedAgent:e,specialists:r,orchestratorId:n}){if(t?.isTeamMode??e?.isTeamMode??!1)return n;const i=o=>r.some(c=>c.id===o),s=t?.selectedSpecialist!==void 0?t.selectedSpecialist:e?.selectedSpecialist!==void 0?e.selectedSpecialist:i(Ls)?Ls:null;return s===null||!i(s)?null:s}const $5=E.createSelector(t=>t.workspaceInitializer.hydrated),B5=E.createSelector(t=>t.workspaceInitializer.compactFormState),q5=E.createSelector(t=>t.workspaceInitializer.onboardingFormState),F5=E.createSelector(t=>t.workspaceInitializer.lastSelectedRepo),H5=E.createSelector(t=>t.workspaceInitializer.branchByRepo),U5=E.createSelector(t=>t.workspaceInitializer.defaultParentPath),W5=E.createSelector(t=>ge(t.workspaceInitializer.recentRepos)),G5=E.createSelector((t,e)=>Se(t.workspaceInitializer.recentRepoRefreshes,e)),j5=E.createSelector((t,e)=>Se(t.workspaceInitializer.directoryStatusChecks,e)),V5=E.createSelector(t=>t.workspaceInitializer.dismissedRecentRepoKeys),K5=E.createSelector(t=>ge(t.workspaceInitializer.remoteSetups)),Y5=E.createSelector(t=>t.workspaceInitializer.lastSubmittedAgent),X5=E.createSelector(t=>t.workspaceInitializer.agentByRepo),Z5=E.createSelector(t=>t.workspaceInitializer.recentSpecialistIds),Q5=E.createSelector((t,e)=>t.workspaceInitializer.agentByRepo[e]??null),J5=E.createSelector(t=>t.workspaceInitializer.pendingGitHubPrefill),e3=E.createSelector((t,e)=>({restore:Se(t.workspaceInitializer.draftRestores,e),clear:Se(t.workspaceInitializer.draftClears,e)})),t3=E.createSelector((t,e,r)=>{const n=Se(t.workspaceInitializer.initializationOutcomes,e);return n?.resourceId===r?n:void 0}),r3=E.createSelector((t,e)=>Se(t.workspaceInitializer.initializationOutcomes,e)),n3=E.createSelector((t,e)=>Se(t.workspaceInitializer.initializationResumes,e)),a3=E.createSelector(t=>ad({compactFormState:t.workspaceInitializer.compactFormState,lastSubmittedAgent:t.workspaceInitializer.lastSubmittedAgent,specialists:E1.select(t),orchestratorId:T1.select(t)?.id??null})),id=E.createSelector(t=>{const e=t.workspaceInitializer.gitCheckRequest,r=ur.select(t);return e&&r&&o1.select(t)?JSON.stringify([r,e]):null}),i3=E.createSelector(t=>{const e=id.select(t),r=t.workspaceInitializer.gitCheck;return e&&r?.context===e?r.available:null}),sd=E.createSelector(t=>{const e=Se(t.workspaceInitializer.recentRepoRefreshes,td),r=ur.select(t);return nd({saved:ge(t.workspaceInitializer.recentRepos),source:e&&r&&e.admission===r?e:null,dismissed:t.workspaceInitializer.dismissedRecentRepoKeys,mode:"all"})}),s3=E.createSelector(t=>_l.select(t)?sd.select(t):[]),o3=E.createSelector(t=>M1.select(t)||void 0),Fs="workspace-debug-flags",yn={enableCreationAnimation:!0,animationDuration:300,enablePageTransitions:!0,enableComponentTransitions:!0,showDebugInfo:!1,showPerformanceMetrics:!1,logStateChanges:!1,enableAutofocus:!0,enableBranchCaching:!0,enableFormPersistence:!0,simulateSlowNetwork:!1,simulateErrors:!1,networkDelay:0};class od{constructor(){se(this,"flags");se(this,"listeners",new Set);this.flags=this.loadFlags()}loadFlags(){if(typeof localStorage>"u")return yn;try{const e=localStorage.getItem(Fs);if(e)return{...yn,...JSON.parse(e)}}catch(e){wa.error("Failed to load debug flags:",e)}return yn}saveFlags(){if(!(typeof localStorage>"u")){try{localStorage.setItem(Fs,JSON.stringify(this.flags))}catch(e){wa.error("Failed to save debug flags:",e)}this.listeners.forEach(e=>e(this.flags))}}get(e){return this.flags[e]}set(e,r){this.flags[e]=r,this.saveFlags()}toggle(e){typeof this.flags[e]=="boolean"&&(this.flags[e]=!this.flags[e],this.saveFlags())}reset(){this.flags={...yn},this.saveFlags()}getAll(){return{...this.flags}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}toggleDebugPanel(){this.toggle("showDebugInfo"),wa.info("Debug panel:",this.flags.showDebugInfo?"ON":"OFF")}async simulateDelay(e){return this.flags.simulateSlowNetwork&&this.flags.networkDelay>0&&await new Promise(r=>setTimeout(r,this.flags.networkDelay)),e}}const ka=new od;function l3(t){if(!t)return"";let e=t;return e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/__(.+?)__/g,"$1"),e=e.replace(/(?<!\*)\*(?!\*)(.+?)(?<!\*)\*(?!\*)/g,"$1"),e=e.replace(/(?<!_)_(?!_)(.+?)(?<!_)_(?!_)/g,"$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/\[([^\]]+)\]\([^)]+\)/g,"$1"),e=e.replace(/^#{1,6}\s+/gm,""),e=e.replace(/^\*+\s*/gm,""),e=e.replace(/\s*\*+$/gm,""),e.trim()}function ld(t){return t.charAt(0).toUpperCase()+t.slice(1)}function c3(t){if(!t||t.trim().length===0)return ne.workspace_sidebarHeader_branchEmpty_error();if(/[\s~^:\\?*\[\\]/.test(t))return ne.workspace_sidebarHeader_branchInvalidChars_error();if(t.includes("@{"))return ne.workspace_sidebarChanges_branchAtBrace_error({seq:"@{"});if(t==="@")return ne.workspace_sidebarChanges_branchAt_error({symbol:"@"});if(t.startsWith("."))return ne.workspace_sidebarHeader_branchStartsDot_error();if(t.endsWith(".lock"))return ne.workspace_sidebarHeader_branchEndsLock_error();if(t.includes(".."))return ne.workspace_sidebarHeader_branchDoubleDot_error();if(t.startsWith("/")||t.endsWith("/"))return ne.workspace_sidebarHeader_branchSlashEnds_error();if(t.includes("//"))return ne.workspace_sidebarHeader_branchDoubleSlash_error();if(t.startsWith("-"))return ne.workspace_sidebarHeader_branchStartsDash_error();if(t.endsWith("."))return ne.workspace_sidebarChanges_branchEndsPeriod_error();const e=t.split("/");for(const r of e){if(r.startsWith("."))return ne.workspace_sidebarChanges_branchComponentStartsDot_error();if(r.endsWith(".lock"))return ne.workspace_sidebarChanges_branchComponentEndsLock_error()}if(t.length>250)return ne.workspace_sidebarHeader_branchTooLong_error()}function u3(t,e,r,n){return e&&r?`https://github.com/${e}/${r}/pull/${t}`:n||""}function Za(t){return t==="Open"?"open":t==="Merged"?"merged":t==="Draft"?"draft":"closed"}function d3(t,e){return`${e}:${t.agentId??"manual"}`}function cd(t,e){if(t.length===0||e>=t.length)return 0;const r=Math.max(0,e);let n=0;for(let a=r;a<t.length;a++)t[a].isPushed||n++;return n}function ud(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed&&n++;return n}function dd(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed||n++;return n}function h3(t,e,r,n){const a=cd(t,e),i=n?` (origin/${n})`:"";return r?a===1?ne.workspace_sidebarChanges_addToPr_one({suffix:i}):ne.workspace_sidebarChanges_addToPr_many({count:rt(a),suffix:i}):a===1?ne.workspace_sidebarChanges_pushToRemote_one({suffix:i}):ne.workspace_sidebarChanges_pushToRemote_many({count:rt(a),suffix:i})}function p3(t,e,r){const n=ud(t,e),a=r?` (origin/${r})`:"";return n===1?ne.workspace_sidebarChanges_undoPush_one({suffix:a}):ne.workspace_sidebarChanges_undoPush_many({count:rt(n),suffix:a})}function m3(t,e){const r=dd(t,e);return r===1?ne.workspace_sidebarChanges_undoCommit_one():ne.workspace_sidebarChanges_undoCommit_many({count:rt(r)})}function f3(t,e){return e===0&&t.length>0}function g3(t,e,r,n){return!r||n==null?!1:t===r&&e===n}function v3(t,e,r){const n=`${e?"staged":"unstaged"}:${t}`;return r.has(n)}function b3(t,e,r){return r?.path===t&&r?.staged===e}function y3(t){if(t.length===0)return[];const e=new Map,r=[...t].sort((n,a)=>n.timestamp-a.timestamp);for(const n of r)for(const a of n.files??[]){const i=e.get(a.path);i?e.set(a.path,{additions:i.additions+(a.additions||0),deletions:i.deletions+(a.deletions||0)}):e.set(a.path,{additions:a.additions||0,deletions:a.deletions||0})}return Array.from(e.entries()).map(([n,a])=>({path:n,additions:a.additions,deletions:a.deletions,staged:!1}))}function w3(t,e,r){const n=new Set;let a=0,i=0;for(const s of t)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of e)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of r)for(const o of s.files||[])n.add(o.path),a+=o.additions||0,i+=o.deletions||0;return{totalFilesChanged:n.size,totalAdditions:a,totalDeletions:i}}function hd(t){const e=t?.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+)\/pull\/\d+/i);return e?`${e[1]}/${e[2]}`:void 0}function k3(t,e,r,n,a){if(t&&t.length>0){const i=a?.split("/")[0];return t.map(s=>{const o=s.url||r(s.number),c=hd(s.url),d=c!==void 0&&c.toLowerCase()!==a?.toLowerCase()?c:void 0;return{number:s.number,title:n(s),url:o,htmlUrl:o,status:Za(s.status),createdAt:s.createdAt,updatedAt:s.updatedAt,isInMergeQueue:s.isDraft?void 0:s.isInMergeQueue,crossRepo:d,crossRepoDisplay:d?Ri(d,i):void 0}})}return e?[{number:e.number,title:n(e),url:r(e.number,e.url),htmlUrl:r(e.number,e.url),status:Za(e.status),createdAt:e.createdAt,updatedAt:e.updatedAt,isInMergeQueue:e.isDraft?void 0:e.isInMergeQueue}]:[]}function x3(t){const{prNumber:e,prUrl:r}=t;return e==null||!r?null:{id:`legacy-pr-${e}`,number:e,url:r,title:"",status:t.prStatus??z1.Open,createdAt:t.updatedAt,updatedAt:t.updatedAt}}function pd(t){const e=t.lastSnapshot?.state?.toLowerCase();return e==="merged"?"merged":e==="closed"?"closed":t.lastSnapshot?.isDraft?"draft":t.state==="completed"?"closed":"open"}function xa(t,e,r){if(e.length===0)return t;const n=r?.split("/")[0],a=t.map(i=>({...i}));for(const i of e){const s=!i.resource&&!i.monitorAvailability&&(!r||i.repo===r),o=R0(i),c=o.toLowerCase(),d=a.find(p=>!!o&&p.url.toLowerCase()===c||(i.resource||i.monitorAvailability?p.monitorIdentity===ya(i):!p.resource&&!p.monitorAvailability&&(s?!p.crossRepo&&p.number===i.prNumber:p.crossRepo===i.repo&&p.number===i.prNumber)));if(d){d.monitorAgentId=i.agentId,d.resource=i.resource,d.monitorAvailability=i.monitorAvailability,d.monitorIdentity=i.resource||i.monitorAvailability?ya(i):void 0,d.monitorSnapshot=i.lastSnapshot??d.monitorSnapshot;continue}a.push({number:i.prNumber,title:i.title??`${i.repo}${l1(i,i.prNumber)}`,resource:i.resource,monitorAvailability:i.monitorAvailability,monitorIdentity:i.resource||i.monitorAvailability?ya(i):void 0,url:o,htmlUrl:o,status:pd(i),createdAt:i.createdAt,updatedAt:i.updatedAt,monitorAgentId:i.agentId,crossRepo:s?void 0:i.repo,crossRepoDisplay:s?void 0:Ri(i.repo,n),monitorSnapshot:i.lastSnapshot,monitorOnly:!0})}return a}function Ri(t,e){return e&&t.toLowerCase().startsWith(`${e.toLowerCase()}/`)?t.slice(e.length+1):t}function S3(t,e,r,n,a){const i=r?.toLowerCase(),s=new Set;for(const S of n)S.repoOwner&&S.repoName&&s.add(`${S.repoOwner}/${S.repoName}`.toLowerCase());let o=t;const c=[],d=[];if(t.some(S=>S.crossRepo)){o=[];for(const S of t)S.crossRepo?s.has(S.crossRepo.toLowerCase())?c.push(S):d.push(S):o.push(S)}const p=[],g=[],v=[];for(const S of e){const C=S.repo.toLowerCase();R0(S)&&o.some(W=>W.url===R0(S))||!S.resource&&!S.monitorAvailability&&(!i||C===i)?p.push(S):R0(S)&&c.some(W=>W.url===R0(S))||!S.resource&&!S.monitorAvailability&&s.has(C)?g.push(S):v.push(S)}const w=xa(o,p,r),A=r?.split("/")[0],M=new Set([...w,...c,...d].map(S=>`${(S.crossRepo??r??"").toLowerCase()}#${S.number}`)),D=[...c];for(const S of n){if(!S.repoOwner||!S.repoName)continue;const C=`${S.repoOwner}/${S.repoName}`;for(const W of S.pullRequests??[]){const X=`${C.toLowerCase()}#${W.number}`;if(M.has(X))continue;M.add(X);const Y=W.url||`https://github.com/${C}/pull/${W.number}`,T=i!==void 0&&C.toLowerCase()===i;D.push({number:W.number,title:a(W),url:Y,htmlUrl:Y,status:Za(W.status),createdAt:W.createdAt,updatedAt:W.updatedAt,crossRepo:T?void 0:C,crossRepoDisplay:T?void 0:Ri(C,A)})}}return{own:w,otherRoots:xa(D,g,r),otherTracked:xa(d,v,r)}}function Hs(t){return t.status!=="open"?!1:t.monitorSnapshot?t.monitorSnapshot.isInMergeQueue===!0:t.isInMergeQueue===!0}function A3(t){const e=t.status==="merged"?ne.workspace_prSection_merged_label():t.status==="closed"?ne.workspace_prSection_closed_label():t.status==="draft"?ne.workspace_prSection_statusDraft_label():Hs(t)?ne.workspace_prSection_statusQueued_label():ne.workspace_prSection_statusOpen_label(),r=[c1(t)??e],n=Hs(t)?B1(t.monitorSnapshot?.mergeQueue):null;n&&r.push(n);const a=t.status==="merged"||t.status==="closed"?void 0:t.monitorSnapshot;return a&&(a.checks.total===null||a.checks.passed===null||a.checks.failed===null||a.checks.pending===null||a.availability&&a.availability.checks!=="available"?r.push(ne.chat_monitoredPrs_hover_checksUnknown_label()):a.checks.total>0&&r.push(ne.workspace_prSection_statusChecks_tooltip({passed:rt(a.checks.passed),failed:rt(a.checks.failed),pending:rt(a.checks.pending)})),r.push(a.approvals.have===null||a.availability&&a.availability.approvals!=="available"?ne.chat_monitoredPrs_hover_approvalsUnknown_label():a.approvals.needed!=null?ne.workspace_prSection_statusApprovalsOfNeeded_tooltip({count:rt(a.approvals.have),needed:rt(a.approvals.needed)}):ne.workspace_prSection_statusApprovals_tooltip({count:rt(a.approvals.have)})),a.approvals.changesRequested!==null&&a.approvals.changesRequested>0&&r.push(ne.workspace_prSection_statusChangesRequested_tooltip({count:rt(a.approvals.changesRequested)})),a.availability&&a.availability.discussions!=="available"?r.push(ne.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()):typeof a.threads.unresolved=="number"?a.threads.unresolved>0&&r.push(ne.workspace_prSection_statusUnresolvedThreads_tooltip({count:rt(a.threads.unresolved)})):a.threads.resolutionRequired&&r.push(ne.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()),a.mergeBlockedReason&&r.push(ld(a.mergeBlockedReason))),r.join(`
2
2
  `)}function T3(t,e){return e.has(t??"manual")}function E3(t,e){return{path:t.relativePath,additions:t.stats.additions,deletions:t.stats.deletions,staged:e,status:t.status,attribution:t.attribution?.agent?{agentId:t.attribution.agent.agentId,agentName:t.attribution.agent.agentName,sessionId:t.attribution.agent.sessionId,turnNumber:t.attribution.agent.turnNumber,timestamp:t.attribution.timestamp}:void 0}}const Vl=500;function M3(t,e=Vl){const r=Math.max(0,Math.floor(e));return t.length<=r?{visible:t,shown:t.length,hiddenCount:0}:{visible:t.slice(0,r),shown:r,hiddenCount:t.length-r}}function C3(t,e,r=Vl){let n=Math.max(0,Math.floor(r)),a=0,i=0;return{groups:t.map(o=>{if(e(o))return{group:o,visibleFiles:[]};const c=Math.min(n,o.files.length);return n-=c,a+=c,i+=o.files.length-c,{group:o,visibleFiles:c===o.files.length?o.files:o.files.slice(0,c)}}),shown:a,hiddenCount:i}}function I3(t){if(t.hiddenCount<=0)return"";const e=rt(t.shown),r=rt(t.shown+t.hiddenCount);return t.hiddenCount===1?ne.workspace_fileChanges_hiddenFiles_one({shown:e,total:r}):ne.workspace_fileChanges_hiddenFiles_many({shown:e,total:r,count:rt(t.hiddenCount)})}function md(t){if(!t)return{};try{const e=JSON.parse(t);return e&&typeof e=="object"?e:{}}catch{return{}}}function Qa(t){return t.startsWith("@")?t.slice(1):t}function fd(t,e,r,n){const a=t.fullPath||t.path||t.filename;if(a)return Qa(String(a));const i=[r,e,n.trim()].map(Qa).filter(Boolean),s=i.find(o=>o.includes("/"))??i[0];return s?u1(s).path:void 0}function gd(t){const e=t.line??t.startLine??t.range?.start;return typeof e=="number"&&Number.isFinite(e)?e:void 0}function vd(t){if(!t||t.getAttribute("data-mention")===null)return null;const e=t.getAttribute("data-type")||"",r=t.getAttribute("data-id")||"",n=t.getAttribute("data-label")||"",a=t.getAttribute("data-uri")||"",i=md(t.getAttribute("data-meta")),s={type:e,id:r,label:n,uri:a,meta:i},o=a.startsWith("intent://")?a:typeof i.fullUrl=="string"&&i.fullUrl.startsWith("intent://")?i.fullUrl:void 0;if(o&&(s.intentUrl=o),e==="file"||e==="file-range"){const c=fd(i,n,r,t.textContent||"");c&&(s.filePath=c);const d=gd(i);d!==void 0&&(s.line=d)}else if(e==="folder"||e==="source-folder"){const c=i.fullPath||i.path||r||n,d=c?Qa(String(c)).replace(/\/+$/,""):"";d&&(s.folderPath=d)}else if(e==="note"||e==="note-range"){const c=i.noteId||r;c&&(s.note=i.isExternalLink&&i.workspaceId?{id:c,workspaceId:String(i.workspaceId)}:{id:c})}return s}function z3(t){return{sidebarTabId:"files",type:"file",filePath:`${t}/`}}function Di(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Lr=Di();function Kl(t){Lr=t}var Ir={exec:()=>null};function Yr(t){let e=[];return r=>{let n=Math.max(0,Math.min(3,r-1)),a=e[n];return a||(a=t(n),e[n]=a),a}}function ce(t,e=""){let r=typeof t=="string"?t:t.source,n={replace:(a,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(Ke.caret,"$1"),r=r.replace(a,s),n},getRegex:()=>new RegExp(r,e)};return n}var bd=((t="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+t)}catch{return!1}})(),Ke={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Yr(t=>new RegExp(`^ {0,${t}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:Yr(t=>new RegExp(`^ {0,${t}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:Yr(t=>new RegExp(`^ {0,${t}}(?:\`\`\`|~~~)`)),headingBeginRegex:Yr(t=>new RegExp(`^ {0,${t}}#`)),htmlBeginRegex:Yr(t=>new RegExp(`^ {0,${t}}<(?:[a-z].*>|!--)`,"i")),blockquoteBeginRegex:Yr(t=>new RegExp(`^ {0,${t}}>`))},yd=/^(?:[ \t]*(?:\n|$))+/,wd=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,kd=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,W0=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,xd=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ni=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Yl=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Xl=ce(Yl).replace(/bull/g,Ni).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Sd=ce(Yl).replace(/bull/g,Ni).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Pi=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,Ad=/^[^\n]+/,_i=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Td=ce(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",_i).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ed=ce(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,Ni).getRegex(),Hn="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Li=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Md=ce("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Li).replace("tag",Hn).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Zl=t=>ce(Pi).replace("hr",W0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list",t).replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Hn).getRegex(),Cd=Zl(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),Id=Zl(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),zd=ce(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Id).getRegex(),Oi={blockquote:zd,code:wd,def:Td,fences:kd,heading:xd,hr:W0,html:Md,lheading:Xl,list:Ed,newline:yd,paragraph:Cd,table:Ir,text:Ad},Us=ce("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",W0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Hn).getRegex(),Rd={...Oi,lheading:Sd,table:Us,paragraph:ce(Pi).replace("hr",W0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Us).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Hn).getRegex()},Dd={...Oi,html:ce(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Li).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ir,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ce(Pi).replace("hr",W0).replace("heading",` *#{1,6} *[^
3
3
  ]`).replace("lheading",Xl).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Nd=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Pd=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ql=/^( {2,}|\\)\n(?!\s*$)/,_d=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Vt=/[\p{P}\p{S}]/u,m0=/[\s\p{P}\p{S}]/u,G0=/[^\s\p{P}\p{S}]/u,Ld=ce(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,m0).getRegex(),Od=/[\p{Pi}\p{Ps}"']/u,Jl=/(?!~)[\p{P}\p{S}]/u,$d=/(?!~)[\s\p{P}\p{S}]/u,Bd=/(?:[^\s\p{P}\p{S}]|~)/u,qd=ce(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",bd?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),ec=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,Fd=ce(ec,"u").replace(/punct/g,Vt).getRegex(),Hd=ce(ec,"u").replace(/punct/g,Jl).getRegex(),Ud=/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,Wd=ce(Ud,"u").replace(/openQuote/g,Od).replace(/punct/g,Vt).getRegex(),tc="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Gd=ce(tc,"gu").replace(/notPunctSpace/g,G0).replace(/punctSpace/g,m0).replace(/punct/g,Vt).getRegex(),jd=ce(tc,"gu").replace(/notPunctSpace/g,Bd).replace(/punctSpace/g,$d).replace(/punct/g,Jl).getRegex(),Vd="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)",Kd=ce(Vd,"gu").replace(/notPunctSpace/g,G0).replace(/punctSpace/g,m0).replace(/punct/g,Vt).getRegex(),Yd=ce("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,G0).replace(/punctSpace/g,m0).replace(/punct/g,Vt).getRegex(),Xd="^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)",Zd=ce(Xd,"gu").replace(/notPunctSpace/g,G0).replace(/punctSpace/g,m0).replace(/punct/g,Vt).getRegex(),Qd=ce(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Vt).getRegex(),Jd="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",eh=ce(Jd,"gu").replace(/notPunctSpace/g,G0).replace(/punctSpace/g,m0).replace(/punct/g,Vt).getRegex(),th=ce(/\\(punct)/,"gu").replace(/punct/g,Vt).getRegex(),rh=ce(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),nh=ce(Li).replace("(?:-->|$)","-->").getRegex(),ah=ce("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",nh).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),_n=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,ih=ce(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",_n).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),rc=ce(/^!?\[(label)\]\[(ref)\]/).replace("label",_n).replace("ref",_i).getRegex(),nc=ce(/^!?\[(ref)\](?:\[\])?/).replace("ref",_i).getRegex(),sh=ce("reflink|nolink(?!\\()","g").replace("reflink",rc).replace("nolink",nc).getRegex(),Ws=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,$i={_backpedal:Ir,anyPunctuation:th,autolink:rh,blockSkip:qd,br:Ql,code:Pd,del:Ir,delLDelim:Ir,delRDelim:Ir,emStrongLDelim:Fd,emStrongRDelimAst:Gd,emStrongRDelimUnd:Yd,escape:Nd,link:ih,nolink:nc,punctuation:Ld,reflink:rc,reflinkSearch:sh,tag:ah,text:_d,url:Ir},oh={...$i,emStrongLDelim:Wd,emStrongRDelimAst:Kd,emStrongRDelimUnd:Zd,link:ce(/^!?\[(label)\]\((.*?)\)/).replace("label",_n).getRegex(),reflink:ce(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_n).getRegex()},Ja={...$i,emStrongRDelimAst:jd,emStrongLDelim:Hd,delLDelim:Qd,delRDelim:eh,url:ce(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Ws).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:ce(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Ws).getRegex()},lh={...Ja,br:ce(Ql).replace("{2,}","*").getRegex(),text:ce(Ja.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},wn={normal:Oi,gfm:Rd,pedantic:Dd},S0={normal:$i,gfm:Ja,breaks:lh,pedantic:oh},ch={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Gs=t=>ch[t];function Dt(t,e){if(e){if(Ke.escapeTest.test(t))return t.replace(Ke.escapeReplace,Gs)}else if(Ke.escapeTestNoEncode.test(t))return t.replace(Ke.escapeReplaceNoEncode,Gs);return t}function js(t){try{t=encodeURI(t).replace(Ke.percentDecode,"%")}catch{return null}return t}function Vs(t,e){let r=t.replace(Ke.findPipe,(i,s,o)=>{let c=!1,d=s;for(;--d>=0&&o[d]==="\\";)c=!c;return c?"|":" |"}),n=r.split(Ke.splitPipe),a=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;a<n.length;a++)n[a]=n[a].trim().replace(Ke.slashPipe,"|");return n}function tr(t,e,r){let n=t.length;if(n===0)return"";let a=0;for(;a<n&&t.charAt(n-a-1)===e;)a++;return t.slice(0,n-a)}function Ks(t){let e=t.split(`
4
4
  `),r=e.length-1;for(;r>=0&&Ke.blankLine.test(e[r]);)r--;return e.length-r<=2?t:e.slice(0,r+1).join(`