@intent-hq/web 2.289.0 → 2.290.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 (315) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{BiN4BvQG.js → 1RFrLNza.js} +1 -1
  3. package/web/app/immutable/chunks/{BCvaSKdY.js → 1yYrVIcH.js} +1 -1
  4. package/web/app/immutable/chunks/{13AmrEpa.js → 2Zse_zlb.js} +1 -1
  5. package/web/app/immutable/chunks/{DjyFgI1x.js → 2p97_N8F.js} +1 -1
  6. package/web/app/immutable/chunks/{CM-42I4J.js → 3Hx-xwhh.js} +1 -1
  7. package/web/app/immutable/chunks/{Bs0OTveI.js → 4YAlYQZK.js} +1 -1
  8. package/web/app/immutable/chunks/{DLOCpz5P.js → 7-JV_YuQ.js} +1 -1
  9. package/web/app/immutable/chunks/{CLqc4Ghh.js → 7bnNetCh.js} +4 -4
  10. package/web/app/immutable/chunks/{DwxN7Wdi.js → 8pTk55sx.js} +1 -1
  11. package/web/app/immutable/chunks/{h6LfsnBK.js → 9mpJnkDG.js} +1 -1
  12. package/web/app/immutable/chunks/{DuMYTc8Y.js → AZdZd6y3.js} +1 -1
  13. package/web/app/immutable/chunks/{KrEm5AbS.js → B-CzqeN8.js} +1 -1
  14. package/web/app/immutable/chunks/{CaHA2ESe.js → B-vv1agI.js} +1 -1
  15. package/web/app/immutable/chunks/{BSmsRx9G.js → B0Prdf3M.js} +1 -1
  16. package/web/app/immutable/chunks/{Z-nmDTPH.js → B10IM79i.js} +1 -1
  17. package/web/app/immutable/chunks/{CUTHTUjs.js → B2D_mcko.js} +1 -1
  18. package/web/app/immutable/chunks/{DGPqSlym.js → B7NNbItI.js} +1 -1
  19. package/web/app/immutable/chunks/{CVwFZDMQ.js → BA5dsrgI.js} +1 -1
  20. package/web/app/immutable/chunks/{C3XlBsuD.js → BA6v9DYL.js} +1 -1
  21. package/web/app/immutable/chunks/{CWwfm7Sc.js → BBBIudrX.js} +1 -1
  22. package/web/app/immutable/chunks/{BlUnlsOK.js → BDn01g3q.js} +51 -51
  23. package/web/app/immutable/chunks/{DzpyprB1.js → BEN2zFww.js} +1 -1
  24. package/web/app/immutable/chunks/{COYb5Q2j.js → BEOSERRe.js} +1 -1
  25. package/web/app/immutable/chunks/{CRPPupd6.js → BFY95MZy.js} +1 -1
  26. package/web/app/immutable/chunks/{Da9J2JX1.js → BG92xiA-.js} +1 -1
  27. package/web/app/immutable/chunks/{l18fXbdG.js → BGG3Zscy.js} +2 -2
  28. package/web/app/immutable/chunks/{CkLmMloL.js → BIRD3ESe.js} +1 -1
  29. package/web/app/immutable/chunks/{CBLL08sm.js → BJClJd-t.js} +1 -1
  30. package/web/app/immutable/chunks/{bJKJaeMz.js → BJarmryO.js} +1 -1
  31. package/web/app/immutable/chunks/{CF6Nr1sW.js → BKANDKfj.js} +1 -1
  32. package/web/app/immutable/chunks/{FBhib8LQ.js → BL_sVoge.js} +1 -1
  33. package/web/app/immutable/chunks/{CF8O1pc4.js → BLfTJyKw.js} +1 -1
  34. package/web/app/immutable/chunks/{B-CmW-Rt.js → BMAdQvY4.js} +1 -1
  35. package/web/app/immutable/chunks/{DfacsTaO.js → BORhTadA.js} +1 -1
  36. package/web/app/immutable/chunks/{BuNDx2oQ.js → BOV2yVmE.js} +1 -1
  37. package/web/app/immutable/chunks/{Cgu6cLKT.js → BRqvd9LR.js} +1 -1
  38. package/web/app/immutable/chunks/{BgLK_ncR.js → BSg7eLHt.js} +1 -1
  39. package/web/app/immutable/chunks/{DmeSNHl2.js → BSqZ5g0_.js} +1 -1
  40. package/web/app/immutable/chunks/{gbA3Idh4.js → BUGkkCym.js} +6 -6
  41. package/web/app/immutable/chunks/{BppZZR6X.js → BU_GHz5Q.js} +1 -1
  42. package/web/app/immutable/chunks/{a305huOc.js → BVxQ-eUq.js} +1 -1
  43. package/web/app/immutable/chunks/{BR8wCCqs.js → BX_hW0qI.js} +1 -1
  44. package/web/app/immutable/chunks/{C2WwiwWs.js → BXzaNdSF.js} +1 -1
  45. package/web/app/immutable/chunks/{CArnO8CD.js → BYCiS1o9.js} +3 -3
  46. package/web/app/immutable/chunks/{B5xbJc9W.js → BZrxWDyC.js} +1 -1
  47. package/web/app/immutable/chunks/{OJ1L_5qb.js → B_tLm3FX.js} +1 -1
  48. package/web/app/immutable/chunks/{Db3BHa7z.js → BaL0o0Td.js} +1 -1
  49. package/web/app/immutable/chunks/{1KqMO8DA.js → BbTuJlco.js} +1 -1
  50. package/web/app/immutable/chunks/{D1zpsxCF.js → Bbg7YJDS.js} +1 -1
  51. package/web/app/immutable/chunks/{CW9o0MGu.js → Bc1TTOKX.js} +1 -1
  52. package/web/app/immutable/chunks/{-Vbe26cE.js → BcidqQDh.js} +1 -1
  53. package/web/app/immutable/chunks/{BAhFveyJ.js → BeUBep3b.js} +1 -1
  54. package/web/app/immutable/chunks/{rJ19sxRo.js → BeZSE8qD.js} +1 -1
  55. package/web/app/immutable/chunks/{BulSFF-a.js → BeteiAtg.js} +1 -1
  56. package/web/app/immutable/chunks/{rZp3PWdq.js → Bg4Uz_3j.js} +1 -1
  57. package/web/app/immutable/chunks/{DswUZY33.js → BiFqz5BS.js} +1 -1
  58. package/web/app/immutable/chunks/{DFAvh56i.js → Bjha4wuc.js} +1 -1
  59. package/web/app/immutable/chunks/{IjnClLwt.js → Bk3MUF5Z.js} +1 -1
  60. package/web/app/immutable/chunks/{DVs38eSu.js → Bm0FPS2G.js} +4 -4
  61. package/web/app/immutable/chunks/{CGkp_Cwy.js → BmUlDo2H.js} +1 -1
  62. package/web/app/immutable/chunks/{DTbYuW0t.js → BmiNxvpC.js} +1 -1
  63. package/web/app/immutable/chunks/{jS3iGRMB.js → Bmk9ow9D.js} +1 -1
  64. package/web/app/immutable/chunks/{BnSQjI9U.js → Bn3UQ-Cp.js} +1 -1
  65. package/web/app/immutable/chunks/{CaJKv7d6.js → Bo4f3vLH.js} +1 -1
  66. package/web/app/immutable/chunks/{2R1NzPTD.js → BqoQHFLV.js} +1 -1
  67. package/web/app/immutable/chunks/Bs9Hbccv.js +1 -0
  68. package/web/app/immutable/chunks/{DYZQjWbl.js → Bsgnuc3k.js} +1 -1
  69. package/web/app/immutable/chunks/{BMtE4svi.js → BuPFKHtN.js} +1 -1
  70. package/web/app/immutable/chunks/{Dy2xsFvf.js → BuUX281b.js} +1 -1
  71. package/web/app/immutable/chunks/{B3II5C5l.js → BvWLkg--.js} +1 -1
  72. package/web/app/immutable/chunks/{ClIwbXJq.js → BwTgppku.js} +1 -1
  73. package/web/app/immutable/chunks/{CtGY50_e.js → Bx7BNLnp.js} +1 -1
  74. package/web/app/immutable/chunks/{1kMmRwXf.js → BxiHCJA9.js} +1 -1
  75. package/web/app/immutable/chunks/{CamLX2Sb.js → C17qLLZy.js} +1 -1
  76. package/web/app/immutable/chunks/{BelvDbq4.js → C1oWz50Y.js} +3 -3
  77. package/web/app/immutable/chunks/C1pLdIna.js +1 -0
  78. package/web/app/immutable/chunks/{Dmq8N6LI.js → C1r6VU8i.js} +2 -2
  79. package/web/app/immutable/chunks/{BpZ--9ga.js → C1vv_LrD.js} +1 -1
  80. package/web/app/immutable/chunks/{V68rWC50.js → C28hhXd4.js} +1 -1
  81. package/web/app/immutable/chunks/{Bg4MuTWX.js → C2VPDjeo.js} +1 -1
  82. package/web/app/immutable/chunks/{CylTfPZk.js → C5qvCE4M.js} +1 -1
  83. package/web/app/immutable/chunks/{DmLTqLLV.js → C6dKjZk_.js} +1 -1
  84. package/web/app/immutable/chunks/{C5paQyk5.js → C6rJFcL9.js} +1 -1
  85. package/web/app/immutable/chunks/{Q09YKVwy.js → C94wEIre.js} +1 -1
  86. package/web/app/immutable/chunks/{cv4xg7k0.js → C9hosAov.js} +1 -1
  87. package/web/app/immutable/chunks/{CUpXgpcF.js → C9tAiYT0.js} +1 -1
  88. package/web/app/immutable/chunks/{B7y27fC-.js → CAoXCf6s.js} +1 -1
  89. package/web/app/immutable/chunks/{y_-PH3Cn.js → CB3E3AyJ.js} +1 -1
  90. package/web/app/immutable/chunks/{D1yGasR4.js → CB5rZSQk.js} +1 -1
  91. package/web/app/immutable/chunks/{DZC7segB.js → CBQ9Dj27.js} +1 -1
  92. package/web/app/immutable/chunks/{CvHIPf4O.js → CBeBcrFe.js} +1 -1
  93. package/web/app/immutable/chunks/{Ev7NI-4B.js → CC2jdDPt.js} +1 -1
  94. package/web/app/immutable/chunks/{Cm72nCq-.js → CD6znF_9.js} +1 -1
  95. package/web/app/immutable/chunks/{CG_nXeYa.js → CDc4alpJ.js} +1 -1
  96. package/web/app/immutable/chunks/{gdAnsrdj.js → CE7ZtQHh.js} +1 -1
  97. package/web/app/immutable/chunks/{DXRlnb97.js → CFBH989r.js} +1 -1
  98. package/web/app/immutable/chunks/{Co-DDbT2.js → CFHzcj7N.js} +1 -1
  99. package/web/app/immutable/chunks/{CHwD9QHP.js → CLCbFeGH.js} +1 -1
  100. package/web/app/immutable/chunks/{CVYI64VR.js → CNP_2GEv.js} +1 -1
  101. package/web/app/immutable/chunks/{rN1DOgEJ.js → CPezNx23.js} +1 -1
  102. package/web/app/immutable/chunks/{e4k4F_fF.js → CR_QOSeH.js} +1 -1
  103. package/web/app/immutable/chunks/{CvUXvU-2.js → CRmUlrc9.js} +1 -1
  104. package/web/app/immutable/chunks/{C-jH8s9r.js → CSYt80U-.js} +2 -2
  105. package/web/app/immutable/chunks/{JWXbB6B6.js → CT1fMnWm.js} +1 -1
  106. package/web/app/immutable/chunks/{DmRzBB2M.js → CTNvudJn.js} +1 -1
  107. package/web/app/immutable/chunks/{CnypGHrl.js → CT_RWC-b.js} +1 -1
  108. package/web/app/immutable/chunks/{BzBOPxuP.js → CTm1UFNm.js} +1 -1
  109. package/web/app/immutable/chunks/{DYrNCBqG.js → CU1drimT.js} +1 -1
  110. package/web/app/immutable/chunks/{BETowprU.js → CVQnuBUY.js} +1 -1
  111. package/web/app/immutable/chunks/{iaCxlE6C.js → CVoR5NDH.js} +1 -1
  112. package/web/app/immutable/chunks/{DkiAPJ2W.js → CXwlKBiL.js} +1 -1
  113. package/web/app/immutable/chunks/{D8u-TTw-.js → CYK_6j38.js} +1 -1
  114. package/web/app/immutable/chunks/{D1dtTkDE.js → C_T_V_cz.js} +1 -1
  115. package/web/app/immutable/chunks/{BzBHISyY.js → C_Xkhy7Z.js} +1 -1
  116. package/web/app/immutable/chunks/{BTurlMFD.js → CbcJLLbX.js} +1 -1
  117. package/web/app/immutable/chunks/{D3Xty9Im.js → Ce9YhY2C.js} +1 -1
  118. package/web/app/immutable/chunks/{CN0OjCVu.js → CeJvKYEf.js} +1 -1
  119. package/web/app/immutable/chunks/{B2-XfPcN.js → Cf5LD9TB.js} +1 -1
  120. package/web/app/immutable/chunks/CgPr4hs2.js +1 -0
  121. package/web/app/immutable/chunks/{BdqSZQx_.js → CivlAwc7.js} +1 -1
  122. package/web/app/immutable/chunks/{CfeU66Hz.js → CjK0D9QS.js} +1 -1
  123. package/web/app/immutable/chunks/CjrYYJVA.js +1 -0
  124. package/web/app/immutable/chunks/{D1LasNTA.js → Clusycua.js} +1 -1
  125. package/web/app/immutable/chunks/{C0MRkgn4.js → CnRB4N94.js} +1 -1
  126. package/web/app/immutable/chunks/{C13MrFSw.js → CntEBInL.js} +1 -1
  127. package/web/app/immutable/chunks/{CfM0pCZF.js → Co_Aa6ij.js} +1 -1
  128. package/web/app/immutable/chunks/{BejAw64w.js → CobcHKt3.js} +6 -6
  129. package/web/app/immutable/chunks/{NUHg8tud.js → CokCeQxx.js} +1 -1
  130. package/web/app/immutable/chunks/{Db1mweH6.js → Cou180Vm.js} +1 -1
  131. package/web/app/immutable/chunks/{O81B-H5P.js → Cq8w3ES-.js} +1 -1
  132. package/web/app/immutable/chunks/{D2zf67XA.js → CqiIZBSl.js} +7 -7
  133. package/web/app/immutable/chunks/{BlBEj3oF.js → CsBmR9QJ.js} +2 -2
  134. package/web/app/immutable/chunks/{DaiMZHlt.js → CsHZlnUj.js} +1 -1
  135. package/web/app/immutable/chunks/{DpawEIzT.js → CskCO23D.js} +3 -3
  136. package/web/app/immutable/chunks/{CsvDcicf.js → CsstSIr0.js} +1 -1
  137. package/web/app/immutable/chunks/{DktdylrS.js → CtBQs9aW.js} +1 -1
  138. package/web/app/immutable/chunks/{CemNgvNI.js → Cv0HcHak.js} +1 -1
  139. package/web/app/immutable/chunks/{Cb7Fwhyl.js → CvXnZ-8G.js} +1 -1
  140. package/web/app/immutable/chunks/{iF8lSM38.js → Cw7IfVO4.js} +1 -1
  141. package/web/app/immutable/chunks/{BNAxChIn.js → Cx7iLEYy.js} +3 -3
  142. package/web/app/immutable/chunks/{T4V8F4hM.js → Cyjl25fy.js} +1 -1
  143. package/web/app/immutable/chunks/{CIkVHIT3.js → D-YtOwPX.js} +1 -1
  144. package/web/app/immutable/chunks/{DqaJW-PO.js → D-Zd1oaK.js} +1 -1
  145. package/web/app/immutable/chunks/{DhizMGiT.js → D-y9m6ao.js} +1 -1
  146. package/web/app/immutable/chunks/{kmgcRpkz.js → D0SLupV7.js} +1 -1
  147. package/web/app/immutable/chunks/{CyLm5JOs.js → D0xGfXvZ.js} +1 -1
  148. package/web/app/immutable/chunks/{C26KoPDI.js → D2HP95As.js} +1 -1
  149. package/web/app/immutable/chunks/{C_lRd9OO.js → D2WFqoJa.js} +1 -1
  150. package/web/app/immutable/chunks/{B25t-e4E.js → D32qvOGn.js} +1 -1
  151. package/web/app/immutable/chunks/{HqhytM4z.js → D3ROSEe0.js} +1 -1
  152. package/web/app/immutable/chunks/{B7g53bMx.js → D3Vc9t57.js} +1 -1
  153. package/web/app/immutable/chunks/{CpyyZUC4.js → D56Oo2O2.js} +1 -1
  154. package/web/app/immutable/chunks/{YQRvuTGW.js → D5jBmJQo.js} +1 -1
  155. package/web/app/immutable/chunks/{Diyq2-7-.js → D6XmzNBT.js} +1 -1
  156. package/web/app/immutable/chunks/{BcXGciCG.js → D7Efqf9l.js} +1 -1
  157. package/web/app/immutable/chunks/{COR1ZgMB.js → D7KQ-C2a.js} +1 -1
  158. package/web/app/immutable/chunks/{DBaQx-Pk.js → D8m7soiy.js} +1 -1
  159. package/web/app/immutable/chunks/{DBH00hnQ.js → D9ikaMyr.js} +1 -1
  160. package/web/app/immutable/chunks/{Dtny-3OT.js → DFhWc3Xl.js} +1 -1
  161. package/web/app/immutable/chunks/{Daq0t0IO.js → DHVVvfGv.js} +1 -1
  162. package/web/app/immutable/chunks/{C_drUQi2.js → DHyS0o2Q.js} +1 -1
  163. package/web/app/immutable/chunks/{DZ1zC9TP.js → DI6oKJrr.js} +1 -1
  164. package/web/app/immutable/chunks/{3oF_cfgL.js → DIbPNVg7.js} +1 -1
  165. package/web/app/immutable/chunks/{3-iWM9xO.js → DJB1T3Sf.js} +1 -1
  166. package/web/app/immutable/chunks/{ClGi_L6l.js → DJk4n_RN.js} +1 -1
  167. package/web/app/immutable/chunks/{Bk3O9qYH.js → DJuSbP_R.js} +1 -1
  168. package/web/app/immutable/chunks/{CsgZCzi1.js → DKCiaCAE.js} +3 -3
  169. package/web/app/immutable/chunks/{C7FfDPRZ.js → DLg9iehs.js} +1 -1
  170. package/web/app/immutable/chunks/{CHLJ-3Q1.js → DMAAeEjh.js} +1 -1
  171. package/web/app/immutable/chunks/{DVFKqUgb.js → DMEnrA6r.js} +1 -1
  172. package/web/app/immutable/chunks/{Bb6J6sjQ.js → DNPPDjbf.js} +1 -1
  173. package/web/app/immutable/chunks/{BGCd17XA.js → DNUaZj8_.js} +1 -1
  174. package/web/app/immutable/chunks/{BDZGpmAg.js → DOd666za.js} +1 -1
  175. package/web/app/immutable/chunks/{CbsrOoqP.js → DOzFltDq.js} +1 -1
  176. package/web/app/immutable/chunks/{RKSEQ7So.js → DQXapDyu.js} +1 -1
  177. package/web/app/immutable/chunks/{Cno21Zxg.js → DRmM5gTo.js} +1 -1
  178. package/web/app/immutable/chunks/{D3NFuU4L.js → DTh2IQKZ.js} +1 -1
  179. package/web/app/immutable/chunks/{Mw1KbVyQ.js → DUMeb8Tg.js} +1 -1
  180. package/web/app/immutable/chunks/{C7cZaxG3.js → DUwPI6pr.js} +1 -1
  181. package/web/app/immutable/chunks/{CNySgneH.js → DV5DGvsr.js} +1 -1
  182. package/web/app/immutable/chunks/{DerqLelD.js → DVGE4E_C.js} +1 -1
  183. package/web/app/immutable/chunks/{DTjIXONR.js → DVa-kQtc.js} +4 -4
  184. package/web/app/immutable/chunks/{CEuCjemc.js → DVeZQ6um.js} +1 -1
  185. package/web/app/immutable/chunks/{0n1_sqb5.js → DWH0KAf0.js} +1 -1
  186. package/web/app/immutable/chunks/{Bqfueq_D.js → DWLJSPfW.js} +1 -1
  187. package/web/app/immutable/chunks/{CwzDLq3o.js → DWVb7mpY.js} +1 -1
  188. package/web/app/immutable/chunks/{BZsM0M0Q.js → DXiP5t0I.js} +1 -1
  189. package/web/app/immutable/chunks/{BW5wGxdP.js → DY2nfza0.js} +1 -1
  190. package/web/app/immutable/chunks/{D6cxqzoz.js → DYlMDxfy.js} +1 -1
  191. package/web/app/immutable/chunks/{DsoGIaMF.js → D_TiJ_fE.js} +1 -1
  192. package/web/app/immutable/chunks/{CDbeyeCP.js → D_uZvS29.js} +2 -2
  193. package/web/app/immutable/chunks/{YSaBP0Ch.js → DaJsXhcE.js} +1 -1
  194. package/web/app/immutable/chunks/{CSSOys25.js → DaNfseRw.js} +1 -1
  195. package/web/app/immutable/chunks/{CK6izZOP.js → DaXfyPpV.js} +2 -2
  196. package/web/app/immutable/chunks/DbNaInRh.js +4 -0
  197. package/web/app/immutable/chunks/{u8zBWO7U.js → DdTOR-fK.js} +1 -1
  198. package/web/app/immutable/chunks/{PZzdtHEH.js → DeXgzEXt.js} +1 -1
  199. package/web/app/immutable/chunks/{iy9r6eBz.js → DeywGElR.js} +1 -1
  200. package/web/app/immutable/chunks/{Dbhxem_q.js → Df1mOKLZ.js} +1 -1
  201. package/web/app/immutable/chunks/{bHtn9InS.js → Df2ohObb.js} +1 -1
  202. package/web/app/immutable/chunks/{12UHR0Xn.js → DfKemw6I.js} +1 -1
  203. package/web/app/immutable/chunks/{DVuTL7Ze.js → DgO-InVL.js} +1 -1
  204. package/web/app/immutable/chunks/{CBolvbXG.js → DhkrcYPH.js} +1 -1
  205. package/web/app/immutable/chunks/{zIOd8jG8.js → Dj0Fo3FR.js} +1 -1
  206. package/web/app/immutable/chunks/{DZFxh2Hz.js → DlqxHCQ7.js} +1 -1
  207. package/web/app/immutable/chunks/{D6QA9x6A.js → DoRZvIjE.js} +1 -1
  208. package/web/app/immutable/chunks/{CS4ChtR_.js → DoSGU0je.js} +1 -1
  209. package/web/app/immutable/chunks/{DFhTl2LJ.js → DqYyUQgu.js} +1 -1
  210. package/web/app/immutable/chunks/{D2ImsQzb.js → DrDFJIB-.js} +1 -1
  211. package/web/app/immutable/chunks/{C6HNr-1J.js → DualWjmg.js} +1 -1
  212. package/web/app/immutable/chunks/{D91osLQe.js → DvM0Oc_2.js} +1 -1
  213. package/web/app/immutable/chunks/{YvM9JcXX.js → Dw68b__v.js} +1 -1
  214. package/web/app/immutable/chunks/{BYk1ULDt.js → DwKgqaL_.js} +3 -3
  215. package/web/app/immutable/chunks/{DFm7ZzVD.js → DyTkTh0C.js} +1 -1
  216. package/web/app/immutable/chunks/{DpDRAdy2.js → DywBWiWr.js} +2 -2
  217. package/web/app/immutable/chunks/{iNzcdJYX.js → FQxEz28M.js} +1 -1
  218. package/web/app/immutable/chunks/{lM1_eh6C.js → FvORToMl.js} +1 -1
  219. package/web/app/immutable/chunks/{BiMGq9Z7.js → FxlwG_cR.js} +1 -1
  220. package/web/app/immutable/chunks/{C2eeslGl.js → GIAV4N10.js} +1 -1
  221. package/web/app/immutable/chunks/{DBAVKOs3.js → HWRbLPjE.js} +1 -1
  222. package/web/app/immutable/chunks/{5bL3DJj7.js → Ico6LbU5.js} +1 -1
  223. package/web/app/immutable/chunks/{glfri7wL.js → KjSY_6tg.js} +1 -1
  224. package/web/app/immutable/chunks/{Bg5ADDrW.js → LIohq1To.js} +1 -1
  225. package/web/app/immutable/chunks/{DchjGXey.js → LZ5jXWXv.js} +1 -1
  226. package/web/app/immutable/chunks/{DyyrFzIP.js → LgC5iPo9.js} +1 -1
  227. package/web/app/immutable/chunks/{B1rvRaDg.js → MR-g1_iF.js} +1 -1
  228. package/web/app/immutable/chunks/{Hai9JAty.js → Mb97pGy9.js} +1 -1
  229. package/web/app/immutable/chunks/{CBiBtnBM.js → NnQLq3da.js} +1 -1
  230. package/web/app/immutable/chunks/{hcRUxON5.js → O7VU9svd.js} +1 -1
  231. package/web/app/immutable/chunks/{DFBRG5f3.js → O7y8odEy.js} +1 -1
  232. package/web/app/immutable/chunks/{BDldvohw.js → P80hEEPK.js} +1 -1
  233. package/web/app/immutable/chunks/{3FJRVBU-.js → PJ-tEAYj.js} +1 -1
  234. package/web/app/immutable/chunks/{D8C52zH9.js → PnAug6me.js} +1 -1
  235. package/web/app/immutable/chunks/{P-01BLZ6.js → Ps9iRbKd.js} +3 -3
  236. package/web/app/immutable/chunks/{C3U610Va.js → QuwJBwI-.js} +1 -1
  237. package/web/app/immutable/chunks/{B0vB3nPK.js → R4VbyJYi.js} +1 -1
  238. package/web/app/immutable/chunks/{LzhxhM8_.js → R9tUAGJO.js} +1 -1
  239. package/web/app/immutable/chunks/{D6Y18pu-.js → RDBJJxOY.js} +1 -1
  240. package/web/app/immutable/chunks/{BzLM7oPX.js → TPpS6DWt.js} +1 -1
  241. package/web/app/immutable/chunks/{D30--6jq.js → UMrFWomj.js} +1 -1
  242. package/web/app/immutable/chunks/{CxWK8xnP.js → VI8s0N-a.js} +1 -1
  243. package/web/app/immutable/chunks/{p29Y4Sx3.js → WD5eiIht.js} +1 -1
  244. package/web/app/immutable/chunks/{B5NmEYUa.js → XG9LuART.js} +1 -1
  245. package/web/app/immutable/chunks/{DIiXUVIr.js → YnEJ07_G.js} +3 -3
  246. package/web/app/immutable/chunks/{n0AniKod.js → ZahkIG5A.js} +1 -1
  247. package/web/app/immutable/chunks/{Df7C6745.js → _0mq0vvG.js} +1 -1
  248. package/web/app/immutable/chunks/{CI4bdaNh.js → _o85nBWH.js} +1 -1
  249. package/web/app/immutable/chunks/{DShhv9Lh.js → _u30tumF.js} +1 -1
  250. package/web/app/immutable/chunks/{CdtTvwl3.js → a4fF0apV.js} +1 -1
  251. package/web/app/immutable/chunks/{3CggOKng.js → aeIQN6XF.js} +1 -1
  252. package/web/app/immutable/chunks/{BFapXlF9.js → bGIBa4-r.js} +1 -1
  253. package/web/app/immutable/chunks/{wI7zMgx-.js → bOHL4iEd.js} +1 -1
  254. package/web/app/immutable/chunks/{BNOUHNLe.js → cPzpQFEA.js} +1 -1
  255. package/web/app/immutable/chunks/{Cd0IJoag.js → cUFAcBAC.js} +1 -1
  256. package/web/app/immutable/chunks/{CjPlYTON.js → cfooBVHs.js} +1 -1
  257. package/web/app/immutable/chunks/{CKeHkFGu.js → czyBPXbO.js} +1 -1
  258. package/web/app/immutable/chunks/{TjYngI-X.js → d5zYr7fC.js} +1 -1
  259. package/web/app/immutable/chunks/{Bxucs2aA.js → dkojwLk2.js} +1 -1
  260. package/web/app/immutable/chunks/{CFmU7Xxn.js → fXrcgNtr.js} +1 -1
  261. package/web/app/immutable/chunks/{D-k0eOJ6.js → fdlSdJMU.js} +1 -1
  262. package/web/app/immutable/chunks/{D4kGqGBk.js → gywQvRwA.js} +1 -1
  263. package/web/app/immutable/chunks/{DFQ2LZfw.js → hBdy3DXS.js} +1 -1
  264. package/web/app/immutable/chunks/{Bz2j5nDH.js → iCHr0TgO.js} +1 -1
  265. package/web/app/immutable/chunks/iaaN5aeR.js +1 -0
  266. package/web/app/immutable/chunks/{DE17eju9.js → jRjYIDnt.js} +1 -1
  267. package/web/app/immutable/chunks/{DxrXzX_M.js → l8G_rqMf.js} +3 -3
  268. package/web/app/immutable/chunks/{BupZf9R2.js → mR2QgOoI.js} +1 -1
  269. package/web/app/immutable/chunks/{D3sL2PPU.js → mp47640j.js} +1 -1
  270. package/web/app/immutable/chunks/{f34gPxAx.js → pCx1Hl6T.js} +1 -1
  271. package/web/app/immutable/chunks/{DxRCuR64.js → q4FIdUSc.js} +1 -1
  272. package/web/app/immutable/chunks/{CAh6WYw0.js → rpeM9FmT.js} +1 -1
  273. package/web/app/immutable/chunks/{D_OjFNQH.js → sUO-mR-D.js} +1 -1
  274. package/web/app/immutable/chunks/{Cs8DWwEN.js → txAmNNfN.js} +2 -2
  275. package/web/app/immutable/chunks/{CJT0k-x3.js → u43L-bVE.js} +1 -1
  276. package/web/app/immutable/chunks/{DjXUNnle.js → uPJwsXgL.js} +1 -1
  277. package/web/app/immutable/chunks/{rjfpoS8M.js → uw9q9ubw.js} +1 -1
  278. package/web/app/immutable/chunks/{BtuvHYz8.js → v6SgbwXH.js} +1 -1
  279. package/web/app/immutable/chunks/{Drwt7aYJ.js → v6v2loc1.js} +1 -1
  280. package/web/app/immutable/chunks/{CDT1G70y.js → w9Jeqnt9.js} +1 -1
  281. package/web/app/immutable/chunks/{CWELhcXR.js → wSFhIxGo.js} +1 -1
  282. package/web/app/immutable/chunks/{CzoFKpHV.js → xF2i73WW.js} +1 -1
  283. package/web/app/immutable/chunks/{CVAEsdqc.js → xFioAb_b.js} +1 -1
  284. package/web/app/immutable/chunks/{BraZvQcb.js → zCZWMH02.js} +1 -1
  285. package/web/app/immutable/chunks/{4WPqCRAv.js → zxmCuTa7.js} +1 -1
  286. package/web/app/immutable/entry/{app.Bf_OSyrf.js → app.DwRPZdEe.js} +3 -3
  287. package/web/app/immutable/entry/start.ksbZjpza.js +1 -0
  288. package/web/app/immutable/nodes/{0.B5ZNWVMC.js → 0.Opr0LpNR.js} +1 -1
  289. package/web/app/immutable/nodes/{1.SeMykOqr.js → 1.DxR1peSG.js} +1 -1
  290. package/web/app/immutable/nodes/{10.BZ6kBK3P.js → 10.BMejDu10.js} +1 -1
  291. package/web/app/immutable/nodes/{11.DdNqWjT1.js → 11.K4X9py2s.js} +1 -1
  292. package/web/app/immutable/nodes/{12.sEYH_Pmu.js → 12.CV0D62ho.js} +1 -1
  293. package/web/app/immutable/nodes/{13.B0uhCaJY.js → 13.B-lV8z59.js} +3 -3
  294. package/web/app/immutable/nodes/{14.C3Ch8LVG.js → 14.C8M6elt-.js} +1 -1
  295. package/web/app/immutable/nodes/{15.B6xmqReh.js → 15.CKURddgk.js} +1 -1
  296. package/web/app/immutable/nodes/{16.k3HHr2yy.js → 16.Buvqlzgi.js} +2 -2
  297. package/web/app/immutable/nodes/{2.CdR_R7AF.js → 2.DGI0QMTl.js} +4 -4
  298. package/web/app/immutable/nodes/{3.C81CEmtR.js → 3.CDWebO9a.js} +1 -1
  299. package/web/app/immutable/nodes/{4.F_Gi0JxR.js → 4.Dxmt1auu.js} +1 -1
  300. package/web/app/immutable/nodes/{5.CtBTp1Hg.js → 5.CSz7wDme.js} +1 -1
  301. package/web/app/immutable/nodes/{6.CYnJfc7G.js → 6.C8qeE1kc.js} +1 -1
  302. package/web/app/immutable/nodes/{7.CHPJsLkB.js → 7.BicRzjRG.js} +1 -1
  303. package/web/app/immutable/nodes/8.BB2n9bBQ.js +14 -0
  304. package/web/app/immutable/nodes/{9.VslqwEvr.js → 9.B1_vasqC.js} +6 -6
  305. package/web/app/version.json +1 -1
  306. package/web/generated/paraglide.js +48 -48
  307. package/web/index.html +18 -18
  308. package/web/app/immutable/chunks/BCVnawos.js +0 -1
  309. package/web/app/immutable/chunks/BQS0XfBK.js +0 -1
  310. package/web/app/immutable/chunks/CjKcpWyx.js +0 -4
  311. package/web/app/immutable/chunks/D9I3JJnE.js +0 -1
  312. package/web/app/immutable/chunks/lvIYiyhL.js +0 -1
  313. package/web/app/immutable/chunks/sMg7Lxjd.js +0 -1
  314. package/web/app/immutable/entry/start.IOR_3Iyx.js +0 -1
  315. package/web/app/immutable/nodes/8.Dc-nd7pr.js +0 -14
@@ -1,4 +1,4 @@
1
- var il=Object.defineProperty;var ll=(r,t,n)=>t in r?il(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n;var _n=(r,t,n)=>ll(r,typeof t!="symbol"?t+"":t,n);import{t as vt,bq as m,bo as g,a_ as W,by as ht,b as _t,bs as Dn,bu as ar,bt as dl,br as aa}from"./sMg7Lxjd.js";import{bs as yt,a5 as D,bA as L,bS as N,bl as ie,ay as xe,aD as e,b_ as B,bO as X,W as f,c9 as a,bn as bt,bV as me,bH as z,aA as p,be as br,b$ as Vr,aB as A,bj as On,c0 as In,c6 as cl,bo as xa,br as Jr,ca as Xt,bf as nr,a7 as Et,am as Mn,ax as Pn,bk as za,ai as sa,aj as jr,aw as Wa,bz as Vo,cb as Ja,c5 as Sa,aC as vr,cd as Ys,bv as ul}from"./B8o4lNgr.js";import{k as Ne,s as ne,a as un,j as Xa,l as oa,h as Dr,d as ft,f as Vt,i as zn,I as fl,c as ia,p as gl,o as ml,S as pl,C as vl}from"./CsvDcicf.js";import{H as Kt,j as hl,s as Ko,p as qs,y as _l,u as yl,t as Mr,g as Kn,c as ra,E as Is,A as ss,D as Ha,S as bl}from"./Co-DDbT2.js";import{b as fn}from"./D2g8BuR1.js";import{bL as Go,j as Ra,a2 as Ss,ah as Ua,E as wl,ap as Na,aG as xl,aJ as eo}from"./CbsrOoqP.js";import{t as Gn,q as kl,P as Il}from"./CylTfPZk.js";import{F as Ht,cz as Ds,ar as Qo,aU as Zo,aG as Sl,c0 as Al,a3 as Tl,a4 as ja,aJ as Cl,cB as Ml,cA as Pl,a2 as Ya,at as Bs,ag as Rl,bn as Nl,aO as El,aS as Ll,bC as $l,al as Ol,cr as ql,az as to,bb as kn,aL as ro,bU as os,aE as Aa,cK as Dl,c2 as Bl,bi as Fl,b as zl,cf as Wl,ad as Hl,b5 as is,ch as la,cu as Ul,cU as Fs,X as Jo,a as jl}from"./DGPqSlym.js";import{c0 as Ea,aA as ba,cL as Xo,cN as qn,bR as es,i as Vl,cF as Yo,cK as ts,cJ as ei,cH as ti,f as Tn,a9 as Kl,aa as Gl,av as Ql,r as Zl,J as Jl,V as no,u as ri,dG as Xl,as as Yl,j as ed,t as ls,m as td,N as rd,n as nd,p as ni,q as ai,a5 as ad,R as sd,Q as od,$ as id,k as ld,cO as dd,a3 as cd,C as ud,w as fd,U as ao}from"./bHtn9InS.js";import{G9 as lt,nx as gd,rF as La,mo as so,tk as si,tm as oi,q4 as md,v$ as Va,L as pd,sF as ii,mj as li,b9 as $a,w0 as vd,oW as hd,rj as _d,td as di,mh as yd,lr as bd,g as wd,ws as xd,wp as kd,wr as Id}from"./FBhib8LQ.js";import{f as pt,am as zs,bs as Sd,bw as ds,bK as Ad}from"./P-01BLZ6.js";import{a4 as Td,x as cs,a1 as Cd,O as us,V as Md,$ as Pd,j as Rd,o as da,M as ea,p as Nd,F as Ed,u as Ld,s as $d,L as fs,J as Od,y as qd,K as Dd,_ as ma,Q as Ta,N as oo,m as io,E as Bd,c as gs,B as lo,z as Fd,v as co,H as pa,P as zd,G as Wd,i as Hd,R as Ud,T as jd,A as Vd,g as Kd,b as Gd,D as Qd,f as Zd,e as Jd,a as Xd,C as Yd,h as ec,U as ci,a5 as tc,t as rc,k as nc,d as uo}from"./BelvDbq4.js";import{i as ac,e as sc}from"./CAh6WYw0.js";import{b as ms}from"./DqaJW-PO.js";import{M as ca,C as Ca}from"./DVs38eSu.js";import{C as fo}from"./13AmrEpa.js";import"./Bg5ADDrW.js";import{P as oc}from"./BMtE4svi.js";import"./DZFxh2Hz.js";import{c as ui}from"./ChTqQfQN.js";import{s as Rn}from"./HqhytM4z.js";import{S as ic}from"./DsoGIaMF.js";import{D as go,M as lc}from"./BejAw64w.js";import{b as dc,s as Un,c as Ka}from"./BraZvQcb.js";import{O as Oa,y as ps,E as vs,B as hs,N as cc,m as uc,l as fc,d as Ga,C as mo,f as gc,e as mc,g as pc}from"./BiN4BvQG.js";import{j as fi,g as vc,s as po}from"./CGkp_Cwy.js";import{f as hc}from"./BJzHxIyr.js";import{c as an}from"./D9I3JJnE.js";import{A as _c,z as yc,c as bc}from"./CUpXgpcF.js";import{o as _s,n as ys,v as vo,h as wc}from"./BlBEj3oF.js";import"./DxRCuR64.js";import{ay as $n,t as xc}from"./gdAnsrdj.js";import"./BnSQjI9U.js";import{R as As,C as rs,n as kc,e as Ic,d as Sc,f as ho,P as Ac}from"./CaJKv7d6.js";import"./B25t-e4E.js";import{aU as Ir,A as qa,af as gi,n as mi,e as Tc,I as Cc,R as Mc,an as Pc,b as Rc,X as Nc}from"./CLqc4Ghh.js";import{a0 as _o,N as ha,s as pi,k as Ec}from"./CjKcpWyx.js";import{B as Lc}from"./B2-XfPcN.js";import{r as $c,e as Oc,o as qc}from"./BzBOPxuP.js";import{o as vi}from"./DpDRAdy2.js";import{g as Ws}from"./lM1_eh6C.js";import{a as Dc,M as Bc}from"./Bk3O9qYH.js";import{c as ua}from"./CfM0pCZF.js";import{A as Fc}from"./C_lRd9OO.js";import{f as zc,d as Wc}from"./DZC7segB.js";import{E as Hc,t as Uc,z as jc,r as yo,y as Vc,n as Kc}from"./CsgZCzi1.js";import{b as Gc}from"./BW5wGxdP.js";import{D as Qc}from"./BDldvohw.js";import{S as Zc}from"./DhizMGiT.js";import{u as Jc,a as Xc,c as bo,S as Yc}from"./D2AmAQEr.js";import{T as Ts}from"./Dbhxem_q.js";import{a as eu}from"./DchjGXey.js";import{b as wo}from"./C3hWtekV.js";import{a4 as tu}from"./Cgu6cLKT.js";import{c as ru}from"./gbA3Idh4.js";function nu(r,t,n,s=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const i=r.messageMetadata?.fromPrincipalId??r.author?.principalId,o=Hc(r)&&r.author?.principalId!==null&&i===t;return{edit:o,remove:o||t===n||s,sendNow:(o||s)&&!hi(r)}}function fa(r,t){if(t)return r.find(n=>n.editing&&n.editingMessageId?n.editingMessageId===t:n.id===t)}function hi(r){return r.messageMetadata?.type==="script_monitor_wake"&&typeof r.messageMetadata.monitorId=="string"}function xo(r,t=Date.now()){const n=r.messageMetadata,s=n?.fromPrincipalId,i=n&&Object.hasOwn(n,"humanAuthor")&&!(typeof s=="string"&&s.length>0),o=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!o&&!i&&!hi(r)}const Sh="pl-3.5! pr-2!";var au=A("<!> ",1),su=A('<div class="flex flex-col gap-2 px-4 py-3 bg-muted/30 border border-border rounded-lg my-4"><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><div class="shrink-0 text-subtle"><!></div> <div class="font-medium text-sm"> </div></div> <div class="flex items-center gap-1"><!> <!></div></div> <div class="text-xs text-subtle"> </div> <pre class="text-xs bg-background/50 rounded p-2 overflow-x-auto max-h-40 overflow-y-auto font-mono"> </pre></div>');function _i(r,t){if(new.target)return vt({component:_i,...r});yt(t,!0);let n=m(t,"name",7),s=m(t,"description",7),i=m(t,"content",7),o=m(t,"onUseScript",7),d=me(!1);function c(){navigator.clipboard.writeText(i()),z(d,!0),setTimeout(()=>{z(d,!1)},2e3)}function y(){o()?.({name:n(),description:s(),content:i()})}var h={get name(){return n()},set name(j){n(j),p()},get description(){return s()},set description(j){s(j),p()},get content(){return i()},set content(j){i(j),p()},get onUseScript(){return o()},set onUseScript(j){o(j),p()},$set:ht,$on:(j,oe)=>_t(t,j,oe)},b=su(),I=D(b),M=D(I),Q=D(M),w=D(Q);Ht(w,{get icon(){return Ds},size:"sm"}),L(Q);var E=N(Q,2),G=ie(E,!0);L(M);var U=N(M,2),P=D(U);pt(P,{variant:"ghost-light",size:"sm",onclick:c,class:"h-7 px-2",children:(j,oe)=>{var fe=au(),Ie=xe(fe);{let Ee=a(()=>e(d)?Qo:Zo);Ht(Ie,{get icon(){return e(Ee)},class:"mr-1"})}var pe=N(Ie);B(Ee=>X(pe,` ${Ee??""}`),[()=>e(d)?g.chat_shared_copied_label():g.chat_shared_copy_label()]),f(j,fe)},$$slots:{default:!0}});var R=N(P,2);{var x=j=>{pt(j,{variant:"ghost-light",size:"sm",onclick:y,class:"h-7 px-2",children:(oe,fe)=>{br();var Ie=Vr();B(pe=>X(Ie,pe),[()=>g.chat_setupScriptCard_useScript_label()]),f(oe,Ie)},$$slots:{default:!0}})};W(R,j=>{o()&&j(x)})}L(U),L(I);var Y=N(I,2),S=ie(Y,!0),T=N(Y,2),Me=ie(T,!0);return L(b),B(()=>{X(G,n()),X(S,s()),X(Me,i())}),f(r,b),bt(h)}const pr={toolStart:/(?:\x1B\[\d+m)?🔧\s+(?:Tool call:\s+)?(.+?)(?:\x1B\[0m)?$/,toolDetail:/(?:[└├]─\s+(.+)$|^\s{3,}(.+)$)/,toolResult:/(?:\x1B\[\d+m)?📋\s+Tool result:\s+(.+?)(?:\x1B\[0m)?$/,toolSuccess:/[✓✔✅]\s+(.+)$/,toolError:/[❌✗❎]\s+(.+)$/,sessionInfo:/[Ss]ession:\s*([a-f0-9-]+)/,resumedSession:/📂?\s*Resumed session/i,assistantMarker:/🤖/,systemMarker:/💻/,userMarker:/👤/,thinkingMarker:/🤔\s*Thinking/i,waitingMarker:/^⏳\s+Running/i,indexingProgress:/^Indexing:\s*\[.*\]\s*\d+%/,agentDigest:/<agent_digest>([\s\S]*?)<\/agent_digest>/,setupScript:/<setup_script\s+name="([^"]+)"\s+description="([^"]+)">([\s\S]*?)<\/setup_script>/};class ou{constructor(){_n(this,"buffer","");_n(this,"currentToolName",null);_n(this,"currentToolId",null);_n(this,"lastToolId",null);_n(this,"currentToolParams",[]);_n(this,"currentToolResultContent",[]);_n(this,"inToolResult",!1);_n(this,"inCodeBlock",!1);_n(this,"codeBlockLanguage","");_n(this,"codeBlockContent","");_n(this,"characterBuffer","");_n(this,"inCharacterMode",!1);_n(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const i=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const c=this.currentToolResultContent.some(h=>h.startsWith("❌")||h.startsWith("Error:")),y=this.currentToolResultContent.map(h=>h.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
1
+ var il=Object.defineProperty;var ll=(r,t,n)=>t in r?il(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n;var _n=(r,t,n)=>ll(r,typeof t!="symbol"?t+"":t,n);import{t as vt,bq as m,bo as g,a_ as W,by as ht,b as _t,bs as Dn,bu as ar,bt as dl,br as aa}from"./CgPr4hs2.js";import{bs as yt,a5 as D,bA as L,bS as N,bl as ie,ay as xe,aD as e,b_ as B,bO as X,W as f,c9 as a,bn as bt,bV as me,bH as z,aA as p,be as br,b$ as Vr,aB as A,bj as On,c0 as In,c6 as cl,bo as xa,br as Jr,ca as Xt,bf as nr,a7 as Et,am as Mn,ax as Pn,bk as za,ai as sa,aj as jr,aw as Wa,bz as Vo,cb as Ja,c5 as Sa,aC as vr,cd as Ys,bv as ul}from"./B8o4lNgr.js";import{k as Ne,s as ne,a as un,j as Xa,l as oa,h as Dr,d as ft,f as Vt,i as zn,I as fl,c as ia,p as gl,o as ml,S as pl,C as vl}from"./CsstSIr0.js";import{H as Kt,j as hl,s as Ko,p as qs,y as _l,u as yl,t as Mr,g as Kn,c as ra,E as Is,A as ss,D as Ha,S as bl}from"./CFHzcj7N.js";import{b as fn}from"./D2g8BuR1.js";import{bL as Go,j as Ra,a2 as Ss,ah as Ua,E as wl,ap as Na,aG as xl,aJ as eo}from"./DOzFltDq.js";import{t as Gn,q as kl,P as Il}from"./C5qvCE4M.js";import{F as Ht,cz as Ds,ar as Qo,aU as Zo,aG as Sl,c0 as Al,a3 as Tl,a4 as ja,aJ as Cl,cB as Ml,cA as Pl,a2 as Ya,at as Bs,ag as Rl,bn as Nl,aO as El,aS as Ll,bC as $l,al as Ol,cr as ql,az as to,bb as kn,aL as ro,bU as os,aE as Aa,cK as Dl,c2 as Bl,bi as Fl,b as zl,cf as Wl,ad as Hl,b5 as is,ch as la,cu as Ul,cU as Fs,X as Jo,a as jl}from"./B7NNbItI.js";import{c0 as Ea,aA as ba,cL as Xo,cN as qn,bR as es,i as Vl,cF as Yo,cK as ts,cJ as ei,cH as ti,f as Tn,a9 as Kl,aa as Gl,av as Ql,r as Zl,J as Jl,V as no,u as ri,dG as Xl,as as Yl,j as ed,t as ls,m as td,N as rd,n as nd,p as ni,q as ai,a5 as ad,R as sd,Q as od,$ as id,k as ld,cO as dd,a3 as cd,C as ud,w as fd,U as ao}from"./Df2ohObb.js";import{G9 as lt,nx as gd,rF as La,mo as so,tk as si,tm as oi,q4 as md,v$ as Va,L as pd,sF as ii,mj as li,b9 as $a,w0 as vd,oW as hd,rj as _d,td as di,mh as yd,lr as bd,g as wd,ws as xd,wp as kd,wr as Id}from"./BL_sVoge.js";import{f as pt,am as zs,bs as Sd,bw as ds,bK as Ad}from"./Ps9iRbKd.js";import{a4 as Td,x as cs,a1 as Cd,O as us,V as Md,$ as Pd,j as Rd,o as da,M as ea,p as Nd,F as Ed,u as Ld,s as $d,L as fs,J as Od,y as qd,K as Dd,_ as ma,Q as Ta,N as oo,m as io,E as Bd,c as gs,B as lo,z as Fd,v as co,H as pa,P as zd,G as Wd,i as Hd,R as Ud,T as jd,A as Vd,g as Kd,b as Gd,D as Qd,f as Zd,e as Jd,a as Xd,C as Yd,h as ec,U as ci,a5 as tc,t as rc,k as nc,d as uo}from"./C1oWz50Y.js";import{i as ac,e as sc}from"./rpeM9FmT.js";import{b as ms}from"./D-Zd1oaK.js";import{M as ca,C as Ca}from"./Bm0FPS2G.js";import{C as fo}from"./2Zse_zlb.js";import"./LIohq1To.js";import{P as oc}from"./BuPFKHtN.js";import"./DlqxHCQ7.js";import{c as ui}from"./ChTqQfQN.js";import{s as Rn}from"./D3ROSEe0.js";import{S as ic}from"./D_TiJ_fE.js";import{D as go,M as lc}from"./CobcHKt3.js";import{b as dc,s as Un,c as Ka}from"./zCZWMH02.js";import{O as Oa,y as ps,E as vs,B as hs,N as cc,m as uc,l as fc,d as Ga,C as mo,f as gc,e as mc,g as pc}from"./1RFrLNza.js";import{j as fi,g as vc,s as po}from"./BmUlDo2H.js";import{f as hc}from"./BJzHxIyr.js";import{c as an}from"./Bs9Hbccv.js";import{A as _c,z as yc,c as bc}from"./C9tAiYT0.js";import{o as _s,n as ys,v as vo,h as wc}from"./CsBmR9QJ.js";import"./q4FIdUSc.js";import{ay as $n,t as xc}from"./CE7ZtQHh.js";import"./Bn3UQ-Cp.js";import{R as As,C as rs,n as kc,e as Ic,d as Sc,f as ho,P as Ac}from"./Bo4f3vLH.js";import"./D32qvOGn.js";import{aU as Ir,A as qa,af as gi,n as mi,e as Tc,I as Cc,R as Mc,an as Pc,b as Rc,X as Nc}from"./7bnNetCh.js";import{a0 as _o,N as ha,s as pi,k as Ec}from"./DbNaInRh.js";import{B as Lc}from"./Cf5LD9TB.js";import{r as $c,e as Oc,o as qc}from"./CTm1UFNm.js";import{o as vi}from"./DywBWiWr.js";import{g as Ws}from"./FvORToMl.js";import{a as Dc,M as Bc}from"./DJuSbP_R.js";import{c as ua}from"./Co_Aa6ij.js";import{A as Fc}from"./D2WFqoJa.js";import{f as zc,d as Wc}from"./CBQ9Dj27.js";import{E as Hc,t as Uc,z as jc,r as yo,y as Vc,n as Kc}from"./DKCiaCAE.js";import{b as Gc}from"./DY2nfza0.js";import{D as Qc}from"./P80hEEPK.js";import{S as Zc}from"./D-y9m6ao.js";import{u as Jc,a as Xc,c as bo,S as Yc}from"./D2AmAQEr.js";import{T as Ts}from"./Df1mOKLZ.js";import{a as eu}from"./LZ5jXWXv.js";import{b as wo}from"./C3hWtekV.js";import{a4 as tu}from"./BRqvd9LR.js";import{c as ru}from"./BUGkkCym.js";function nu(r,t,n,s=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const i=r.messageMetadata?.fromPrincipalId??r.author?.principalId,o=Hc(r)&&r.author?.principalId!==null&&i===t;return{edit:o,remove:o||t===n||s,sendNow:(o||s)&&!hi(r)}}function fa(r,t){if(t)return r.find(n=>n.editing&&n.editingMessageId?n.editingMessageId===t:n.id===t)}function hi(r){return r.messageMetadata?.type==="script_monitor_wake"&&typeof r.messageMetadata.monitorId=="string"}function xo(r,t=Date.now()){const n=r.messageMetadata,s=n?.fromPrincipalId,i=n&&Object.hasOwn(n,"humanAuthor")&&!(typeof s=="string"&&s.length>0),o=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!o&&!i&&!hi(r)}const Sh="pl-3.5! pr-2!";var au=A("<!> ",1),su=A('<div class="flex flex-col gap-2 px-4 py-3 bg-muted/30 border border-border rounded-lg my-4"><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><div class="shrink-0 text-subtle"><!></div> <div class="font-medium text-sm"> </div></div> <div class="flex items-center gap-1"><!> <!></div></div> <div class="text-xs text-subtle"> </div> <pre class="text-xs bg-background/50 rounded p-2 overflow-x-auto max-h-40 overflow-y-auto font-mono"> </pre></div>');function _i(r,t){if(new.target)return vt({component:_i,...r});yt(t,!0);let n=m(t,"name",7),s=m(t,"description",7),i=m(t,"content",7),o=m(t,"onUseScript",7),d=me(!1);function c(){navigator.clipboard.writeText(i()),z(d,!0),setTimeout(()=>{z(d,!1)},2e3)}function y(){o()?.({name:n(),description:s(),content:i()})}var h={get name(){return n()},set name(j){n(j),p()},get description(){return s()},set description(j){s(j),p()},get content(){return i()},set content(j){i(j),p()},get onUseScript(){return o()},set onUseScript(j){o(j),p()},$set:ht,$on:(j,oe)=>_t(t,j,oe)},b=su(),I=D(b),M=D(I),Q=D(M),w=D(Q);Ht(w,{get icon(){return Ds},size:"sm"}),L(Q);var E=N(Q,2),G=ie(E,!0);L(M);var U=N(M,2),P=D(U);pt(P,{variant:"ghost-light",size:"sm",onclick:c,class:"h-7 px-2",children:(j,oe)=>{var fe=au(),Ie=xe(fe);{let Ee=a(()=>e(d)?Qo:Zo);Ht(Ie,{get icon(){return e(Ee)},class:"mr-1"})}var pe=N(Ie);B(Ee=>X(pe,` ${Ee??""}`),[()=>e(d)?g.chat_shared_copied_label():g.chat_shared_copy_label()]),f(j,fe)},$$slots:{default:!0}});var R=N(P,2);{var x=j=>{pt(j,{variant:"ghost-light",size:"sm",onclick:y,class:"h-7 px-2",children:(oe,fe)=>{br();var Ie=Vr();B(pe=>X(Ie,pe),[()=>g.chat_setupScriptCard_useScript_label()]),f(oe,Ie)},$$slots:{default:!0}})};W(R,j=>{o()&&j(x)})}L(U),L(I);var Y=N(I,2),S=ie(Y,!0),T=N(Y,2),Me=ie(T,!0);return L(b),B(()=>{X(G,n()),X(S,s()),X(Me,i())}),f(r,b),bt(h)}const pr={toolStart:/(?:\x1B\[\d+m)?🔧\s+(?:Tool call:\s+)?(.+?)(?:\x1B\[0m)?$/,toolDetail:/(?:[└├]─\s+(.+)$|^\s{3,}(.+)$)/,toolResult:/(?:\x1B\[\d+m)?📋\s+Tool result:\s+(.+?)(?:\x1B\[0m)?$/,toolSuccess:/[✓✔✅]\s+(.+)$/,toolError:/[❌✗❎]\s+(.+)$/,sessionInfo:/[Ss]ession:\s*([a-f0-9-]+)/,resumedSession:/📂?\s*Resumed session/i,assistantMarker:/🤖/,systemMarker:/💻/,userMarker:/👤/,thinkingMarker:/🤔\s*Thinking/i,waitingMarker:/^⏳\s+Running/i,indexingProgress:/^Indexing:\s*\[.*\]\s*\d+%/,agentDigest:/<agent_digest>([\s\S]*?)<\/agent_digest>/,setupScript:/<setup_script\s+name="([^"]+)"\s+description="([^"]+)">([\s\S]*?)<\/setup_script>/};class ou{constructor(){_n(this,"buffer","");_n(this,"currentToolName",null);_n(this,"currentToolId",null);_n(this,"lastToolId",null);_n(this,"currentToolParams",[]);_n(this,"currentToolResultContent",[]);_n(this,"inToolResult",!1);_n(this,"inCodeBlock",!1);_n(this,"codeBlockLanguage","");_n(this,"codeBlockContent","");_n(this,"characterBuffer","");_n(this,"inCharacterMode",!1);_n(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const i=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const c=this.currentToolResultContent.some(h=>h.startsWith("❌")||h.startsWith("Error:")),y=this.currentToolResultContent.map(h=>h.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
2
2
  `);i.push({type:"tool_result",content:y,metadata:{toolId:this.currentToolId,isError:c}}),this.lastToolId=this.currentToolId,this.currentToolId=null,this.inToolResult=!1,this.currentToolResultContent=[]}const o=t.indexOf("🤖"),d=t.substring(o+2);if(this.inCharacterMode=!0,this.characterBuffer="",d&&d.trim()&&d!==`
3
3
  `){const c=d.replace(/^\n/,"");c&&(this.characterBuffer=c)}return i}if(this.inCharacterMode){if(t.trim()===""&&this.characterBuffer==="")return[];if(t.includes(`
4
4
  `)&&this.characterBuffer.length>0){const i=t.substring(0,t.indexOf(`
@@ -1,4 +1,4 @@
1
- import{g as d}from"./BejAw64w.js";var Z0,B=(Z0=class extends Error{constructor(e,t){var a="KaTeX parse error: "+e,i,s,u=t&&t.loc;if(u&&u.start<=u.end){var h=u.lexer.input;i=u.start,s=u.end,i===h.length?a+=" at end of input: ":a+=" at position "+(i+1)+": ";var c=h.slice(i,s).replace(/[^]/g,"$&̲"),p;i>15?p="…"+h.slice(i-15,i):p=h.slice(0,i);var g;s+15<h.length?g=h.slice(s,s+15)+"…":g=h.slice(s),a+=p+c+g}super(a),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,Z0.prototype),this.position=i,i!=null&&s!=null&&(this.length=s-i),this.rawMessage=e}},d(Z0,"ParseError"),Z0),Ca=/([A-Z])/g,za=d(r=>r.replace(Ca,"-$1").toLowerCase(),"hyphenate"),Ma={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Ea=/[&><"']/g,s0=d(r=>String(r).replace(Ea,e=>Ma[e]),"escape"),at=d(r=>r.type==="ordgroup"||r.type==="color"?r.body.length===1?at(r.body[0]):r:r.type==="font"?at(r.body):r,"getBaseElem"),Ta=new Set(["mathord","textord","atom"]),F0=d(r=>Ta.has(at(r).type),"isCharacterBox"),Da=d(r=>{var e=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(r);return e?e[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1])?null:e[1].toLowerCase():"_relative"},"protocolFromUrl"),Lt={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:d(r=>"#"+r,"cliProcessor")},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:d((r,e)=>(e.push(r),e),"cliProcessor")},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:d(r=>Math.max(0,r),"processor"),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:d(r=>Math.max(0,r),"processor"),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:d(r=>Math.max(0,r),"processor"),cli:"-e, --max-expand <n>",cliProcessor:d(r=>r==="Infinity"?1/0:parseInt(r),"cliProcessor")},globalGroup:{type:"boolean",cli:!1}};function c1(r){if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}d(c1,"getImplicitDefault");function d1(r){if(r.default!==void 0)return r.default;var e=Array.isArray(r.type)?r.type[0]:r.type;return c1(e)}d(d1,"getDefaultValue");function v1(r,e,t,a){var i=t[e];r[e]=i!==void 0?a.processor?a.processor(i):i:d1(a)}d(v1,"applySetting");var ne,lr=(ne=class{constructor(e){e===void 0&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var t of Object.keys(Lt)){var a=Lt[t];a&&v1(this,t,e,a)}}reportNonstrict(e,t,a){var i=this.strict;if(typeof i=="function"&&(i=i(e,t,a)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new B("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),a);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,a){var i=this.strict;if(typeof i=="function")try{i=i(e,t,a)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+t+" ["+e+"]")),!1)}isTrusted(e){if("url"in e&&e.url&&!e.protocol){var t=Da(e.url);if(t==null)return!1;e.protocol=t}var a=typeof this.trust=="function"?this.trust(e):this.trust;return!!a}},d(ne,"Settings"),ne),se,L0=(se=class{constructor(e,t,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=a}sup(){return k0[Fa[this.id]]}sub(){return k0[qa[this.id]]}fracNum(){return k0[Na[this.id]]}fracDen(){return k0[Ra[this.id]]}cramp(){return k0[Ia[this.id]]}text(){return k0[Oa[this.id]]}isTight(){return this.size>=2}},d(se,"Style"),se),ur=0,st=1,ie=2,T0=3,Re=4,g0=5,we=6,u0=7,k0=[new L0(ur,0,!1),new L0(st,0,!0),new L0(ie,1,!1),new L0(T0,1,!0),new L0(Re,2,!1),new L0(g0,2,!0),new L0(we,3,!1),new L0(u0,3,!0)],Fa=[Re,g0,Re,g0,we,u0,we,u0],qa=[g0,g0,g0,g0,u0,u0,u0,u0],Na=[ie,T0,Re,g0,we,u0,we,u0],Ra=[T0,T0,g0,g0,u0,u0,u0,u0],Ia=[st,st,T0,T0,g0,g0,u0,u0],Oa=[ur,st,ie,T0,ie,T0,ie,T0],I={DISPLAY:k0[ur],TEXT:k0[ie],SCRIPT:k0[Re],SCRIPTSCRIPT:k0[we]},Pt=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function f1(r){for(var e=0;e<Pt.length;e++)for(var t=Pt[e],a=0;a<t.blocks.length;a++){var i=t.blocks[a];if(r>=i[0]&&r<=i[1])return t.name}return null}d(f1,"scriptFromCodepoint");var it=[];Pt.forEach(r=>r.blocks.forEach(e=>it.push(...e)));function or(r){for(var e=0;e<it.length;e+=2)if(r>=it[e]&&r<=it[e+1])return!0;return!1}d(or,"supportedCodepoint");var a0=d(r=>r+" "+r,"doubleBrushStroke"),ae=80,Ha=d(function(e,t){return"M95,"+(622+e+t)+`
1
+ import{g as d}from"./CobcHKt3.js";var Z0,B=(Z0=class extends Error{constructor(e,t){var a="KaTeX parse error: "+e,i,s,u=t&&t.loc;if(u&&u.start<=u.end){var h=u.lexer.input;i=u.start,s=u.end,i===h.length?a+=" at end of input: ":a+=" at position "+(i+1)+": ";var c=h.slice(i,s).replace(/[^]/g,"$&̲"),p;i>15?p="…"+h.slice(i-15,i):p=h.slice(0,i);var g;s+15<h.length?g=h.slice(s,s+15)+"…":g=h.slice(s),a+=p+c+g}super(a),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,Z0.prototype),this.position=i,i!=null&&s!=null&&(this.length=s-i),this.rawMessage=e}},d(Z0,"ParseError"),Z0),Ca=/([A-Z])/g,za=d(r=>r.replace(Ca,"-$1").toLowerCase(),"hyphenate"),Ma={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Ea=/[&><"']/g,s0=d(r=>String(r).replace(Ea,e=>Ma[e]),"escape"),at=d(r=>r.type==="ordgroup"||r.type==="color"?r.body.length===1?at(r.body[0]):r:r.type==="font"?at(r.body):r,"getBaseElem"),Ta=new Set(["mathord","textord","atom"]),F0=d(r=>Ta.has(at(r).type),"isCharacterBox"),Da=d(r=>{var e=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(r);return e?e[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1])?null:e[1].toLowerCase():"_relative"},"protocolFromUrl"),Lt={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:d(r=>"#"+r,"cliProcessor")},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:d((r,e)=>(e.push(r),e),"cliProcessor")},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:d(r=>Math.max(0,r),"processor"),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:d(r=>Math.max(0,r),"processor"),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:d(r=>Math.max(0,r),"processor"),cli:"-e, --max-expand <n>",cliProcessor:d(r=>r==="Infinity"?1/0:parseInt(r),"cliProcessor")},globalGroup:{type:"boolean",cli:!1}};function c1(r){if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}d(c1,"getImplicitDefault");function d1(r){if(r.default!==void 0)return r.default;var e=Array.isArray(r.type)?r.type[0]:r.type;return c1(e)}d(d1,"getDefaultValue");function v1(r,e,t,a){var i=t[e];r[e]=i!==void 0?a.processor?a.processor(i):i:d1(a)}d(v1,"applySetting");var ne,lr=(ne=class{constructor(e){e===void 0&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var t of Object.keys(Lt)){var a=Lt[t];a&&v1(this,t,e,a)}}reportNonstrict(e,t,a){var i=this.strict;if(typeof i=="function"&&(i=i(e,t,a)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new B("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),a);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,a){var i=this.strict;if(typeof i=="function")try{i=i(e,t,a)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+t+" ["+e+"]")),!1)}isTrusted(e){if("url"in e&&e.url&&!e.protocol){var t=Da(e.url);if(t==null)return!1;e.protocol=t}var a=typeof this.trust=="function"?this.trust(e):this.trust;return!!a}},d(ne,"Settings"),ne),se,L0=(se=class{constructor(e,t,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=a}sup(){return k0[Fa[this.id]]}sub(){return k0[qa[this.id]]}fracNum(){return k0[Na[this.id]]}fracDen(){return k0[Ra[this.id]]}cramp(){return k0[Ia[this.id]]}text(){return k0[Oa[this.id]]}isTight(){return this.size>=2}},d(se,"Style"),se),ur=0,st=1,ie=2,T0=3,Re=4,g0=5,we=6,u0=7,k0=[new L0(ur,0,!1),new L0(st,0,!0),new L0(ie,1,!1),new L0(T0,1,!0),new L0(Re,2,!1),new L0(g0,2,!0),new L0(we,3,!1),new L0(u0,3,!0)],Fa=[Re,g0,Re,g0,we,u0,we,u0],qa=[g0,g0,g0,g0,u0,u0,u0,u0],Na=[ie,T0,Re,g0,we,u0,we,u0],Ra=[T0,T0,g0,g0,u0,u0,u0,u0],Ia=[st,st,T0,T0,g0,g0,u0,u0],Oa=[ur,st,ie,T0,ie,T0,ie,T0],I={DISPLAY:k0[ur],TEXT:k0[ie],SCRIPT:k0[Re],SCRIPTSCRIPT:k0[we]},Pt=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function f1(r){for(var e=0;e<Pt.length;e++)for(var t=Pt[e],a=0;a<t.blocks.length;a++){var i=t.blocks[a];if(r>=i[0]&&r<=i[1])return t.name}return null}d(f1,"scriptFromCodepoint");var it=[];Pt.forEach(r=>r.blocks.forEach(e=>it.push(...e)));function or(r){for(var e=0;e<it.length;e+=2)if(r>=it[e]&&r<=it[e+1])return!0;return!1}d(or,"supportedCodepoint");var a0=d(r=>r+" "+r,"doubleBrushStroke"),ae=80,Ha=d(function(e,t){return"M95,"+(622+e+t)+`
2
2
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
3
3
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
4
4
  c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
@@ -1,4 +1,4 @@
1
- import{I as he}from"./CdtTvwl3.js";import{p as $e}from"./CtGY50_e.js";import{p as fe}from"./CEuCjemc.js";import{O as ge,aI as ue,aF as ye,K as xe,L as me,aG as pe,a as h,M as Z,ad as w,N as W,aV as be,aL as we,k as ke,p as B,j as ve,y as Ce,at as Ee}from"./D2zf67XA.js";import{c3 as Be,g as K}from"./BejAw64w.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Te=Ce.gitGraph,S=h(()=>ve({...Te,...Z().gitGraph}),"getConfig"),d=new he(()=>{const e=S(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function N(){return Ee({length:7})}K(N,"getID");h(N,"getID");function ee(e,r){const t=Object.create(null);return e.reduce((s,o)=>{const i=r(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}K(ee,"uniqBy");h(ee,"uniqBy");var Le=h(function(e){d.records.direction=e},"setDirection"),Me=h(function(e){w.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),Ie=h(function(){return d.records.options},"getOptions"),Re=h(function(e){let r=e.msg,t=e.id;const s=e.type;let o=e.tags;w.info("commit",r,t,s,o),w.debug("Entering commit:",r,t,s,o);const i=S();t=B.sanitizeText(t,i),r=B.sanitizeText(r,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+N(),message:r,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Oe=h(function(e){let r=e.name;const t=e.order;if(r=B.sanitizeText(r,S()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),ne(r),w.debug("in createBranch")},"branch"),_e=h(e=>{let r=e.branch,t=e.id;const s=e.type,o=e.tags,i=S();r=B.sanitizeText(r,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(r),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!d.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${s} ${o?.join(" ")}`,token:`merge ${r} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${N()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),Ge=h(function(e){let r=e.id,t=e.targetId,s=e.tags,o=e.parent;w.debug("Entering cherryPick:",r,t,s);const i=S();if(r=B.sanitizeText(r,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!r||!d.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+N(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ne=h(function(e){if(e=B.sanitizeText(e,S()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function z(e,r,t){const s=e.indexOf(r);s===-1?e.push(t):e.splice(s,1,t)}K(z,"upsert");h(z,"upsert");function U(e){const r=e.reduce((o,i)=>o.seq>i.seq?o:i,e[0]);let t="";e.forEach(function(o){o===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const o in d.records.branches)d.records.branches.get(o)===r.id&&s.push(o);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const o=d.records.commits.get(r.parents[0]);z(e,r,o),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const o=d.records.commits.get(r.parents[0]);z(e,r,o)}}e=ee(e,o=>o.id),U(e)}K(U,"prettyPrintCommitHistory");h(U,"prettyPrintCommitHistory");var He=h(function(){w.debug(d.records.commits);const e=se()[0];U([e])},"prettyPrint"),Se=h(function(){d.reset(),ke()},"clear"),Ae=h(function(){return[...d.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),De=h(function(){return d.records.branches},"getBranches"),Pe=h(function(){return d.records.commits},"getCommits"),se=h(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),qe=h(function(){return d.records.currBranch},"getCurrentBranch"),We=h(function(){return d.records.direction},"getDirection"),Ne=h(function(){return d.records.head},"getHead"),oe={commitType:m,getConfig:S,setDirection:Le,setOptions:Me,getOptions:Ie,commit:Re,branch:Oe,merge:_e,cherryPick:Ge,checkout:ne,prettyPrint:He,clear:Se,getBranchesAsObjArray:Ae,getBranches:De,getCommits:Pe,getCommitsArray:se,getCurrentBranch:qe,getDirection:We,getHead:Ne,setAccTitle:pe,getAccTitle:me,getAccDescription:xe,setAccDescription:ye,setDiagramTitle:ue,getDiagramTitle:ge},Fe=h((e,r)=>{$e(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)ze(t,r)},"populate"),ze=h((e,r)=>{const s={Commit:h(o=>r.commit(Ye(o)),"Commit"),Branch:h(o=>r.branch(je(o)),"Branch"),Merge:h(o=>r.merge(Ke(o)),"Merge"),Checkout:h(o=>r.checkout(Ue(o)),"Checkout"),CherryPicking:h(o=>r.cherryPick(Ve(o)),"CherryPicking")}[e.$type];s?s(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ye=h(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?m[e.type]:m.NORMAL,tags:e.tags??void 0}),"parseCommit"),je=h(e=>({name:e.name,order:e.order??0}),"parseBranch"),Ke=h(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?m[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ue=h(e=>e.branch,"parseCheckout"),Ve=h(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Xe={parse:h(async e=>{const r=await fe("gitGraph",e);w.debug(r),Fe(r,oe)},"parse")},O=10,_=40,L=4,I=2,G=8,V=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),Q=12,re=new Set(["redux-color","redux-dark-color"]),Je=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),C=new Map,E=new Map,Y=30,P=new Map,j=[],R=0,y="LR",Qe=h(()=>{C.clear(),E.clear(),P.clear(),R=0,j=[],y="LR"},"clear"),ce=h(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),r.appendChild(o)}),r},"drawText"),ie=h(e=>{let r,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),e.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(r=o,s=i)}),r},"findClosestParent"),Ze=h(e=>{let r="",t=1/0;return e.forEach(s=>{const o=E.get(s).y;o<=t&&(r=s,t=o)}),r||void 0},"findClosestParentBT"),er=h((e,r,t)=>{let s=t,o=t;const i=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=tr(a),o=Math.max(s,o)):i.push(a),ar(a,s)}),s=o,i.forEach(n=>{nr(n,s,t)}),e.forEach(n=>{const a=r.get(n);if(a?.parents.length){const l=Ze(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),rr=h(e=>{const r=ie(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=E.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),tr=h(e=>rr(e)+_,"calculateCommitPosition"),ar=h((e,r)=>{const t=C.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const s=t.pos,o=r+O;return E.set(e.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),nr=h((e,r,t)=>{const s=C.get(e.branch);if(!s)throw new Error(`Branch not found for commit ${e.id}`);const o=r+t,i=s.pos;E.set(e.id,{x:i,y:o})},"setRootPosition"),sr=h((e,r,t,s,o,i)=>{const{theme:n}=W(),a=V.has(n??""),l=re.has(n??""),f=Je.has(n??"");if(i===m.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${H(o,G,l)} ${s}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${H(o,G,l)}`),i===m.MERGE){const $=e.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=e.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),or=h((e,r,t,s,o)=>{if(r.type!==m.CHERRY_PICK&&(r.customId&&r.type===m.MERGE||r.type!==m.MERGE)&&o.showCommitLabel){const i=e.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-I).attr("y",t.y+13.5).attr("width",l.width+2*I).attr("height",l.height+2*I),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),cr=h((e,r,t,s)=>{if(r.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),$=e.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
1
+ import{I as he}from"./a4fF0apV.js";import{p as $e}from"./Bx7BNLnp.js";import{p as fe}from"./DVeZQ6um.js";import{O as ge,aI as ue,aF as ye,K as xe,L as me,aG as pe,a as h,M as Z,ad as w,N as W,aV as be,aL as we,k as ke,p as B,j as ve,y as Ce,at as Ee}from"./CqiIZBSl.js";import{c3 as Be,g as K}from"./CobcHKt3.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Te=Ce.gitGraph,S=h(()=>ve({...Te,...Z().gitGraph}),"getConfig"),d=new he(()=>{const e=S(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function N(){return Ee({length:7})}K(N,"getID");h(N,"getID");function ee(e,r){const t=Object.create(null);return e.reduce((s,o)=>{const i=r(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}K(ee,"uniqBy");h(ee,"uniqBy");var Le=h(function(e){d.records.direction=e},"setDirection"),Me=h(function(e){w.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),Ie=h(function(){return d.records.options},"getOptions"),Re=h(function(e){let r=e.msg,t=e.id;const s=e.type;let o=e.tags;w.info("commit",r,t,s,o),w.debug("Entering commit:",r,t,s,o);const i=S();t=B.sanitizeText(t,i),r=B.sanitizeText(r,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+N(),message:r,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Oe=h(function(e){let r=e.name;const t=e.order;if(r=B.sanitizeText(r,S()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),ne(r),w.debug("in createBranch")},"branch"),_e=h(e=>{let r=e.branch,t=e.id;const s=e.type,o=e.tags,i=S();r=B.sanitizeText(r,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(r),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!d.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${s} ${o?.join(" ")}`,token:`merge ${r} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${N()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),Ge=h(function(e){let r=e.id,t=e.targetId,s=e.tags,o=e.parent;w.debug("Entering cherryPick:",r,t,s);const i=S();if(r=B.sanitizeText(r,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!r||!d.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+N(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ne=h(function(e){if(e=B.sanitizeText(e,S()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function z(e,r,t){const s=e.indexOf(r);s===-1?e.push(t):e.splice(s,1,t)}K(z,"upsert");h(z,"upsert");function U(e){const r=e.reduce((o,i)=>o.seq>i.seq?o:i,e[0]);let t="";e.forEach(function(o){o===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const o in d.records.branches)d.records.branches.get(o)===r.id&&s.push(o);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const o=d.records.commits.get(r.parents[0]);z(e,r,o),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const o=d.records.commits.get(r.parents[0]);z(e,r,o)}}e=ee(e,o=>o.id),U(e)}K(U,"prettyPrintCommitHistory");h(U,"prettyPrintCommitHistory");var He=h(function(){w.debug(d.records.commits);const e=se()[0];U([e])},"prettyPrint"),Se=h(function(){d.reset(),ke()},"clear"),Ae=h(function(){return[...d.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),De=h(function(){return d.records.branches},"getBranches"),Pe=h(function(){return d.records.commits},"getCommits"),se=h(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),qe=h(function(){return d.records.currBranch},"getCurrentBranch"),We=h(function(){return d.records.direction},"getDirection"),Ne=h(function(){return d.records.head},"getHead"),oe={commitType:m,getConfig:S,setDirection:Le,setOptions:Me,getOptions:Ie,commit:Re,branch:Oe,merge:_e,cherryPick:Ge,checkout:ne,prettyPrint:He,clear:Se,getBranchesAsObjArray:Ae,getBranches:De,getCommits:Pe,getCommitsArray:se,getCurrentBranch:qe,getDirection:We,getHead:Ne,setAccTitle:pe,getAccTitle:me,getAccDescription:xe,setAccDescription:ye,setDiagramTitle:ue,getDiagramTitle:ge},Fe=h((e,r)=>{$e(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)ze(t,r)},"populate"),ze=h((e,r)=>{const s={Commit:h(o=>r.commit(Ye(o)),"Commit"),Branch:h(o=>r.branch(je(o)),"Branch"),Merge:h(o=>r.merge(Ke(o)),"Merge"),Checkout:h(o=>r.checkout(Ue(o)),"Checkout"),CherryPicking:h(o=>r.cherryPick(Ve(o)),"CherryPicking")}[e.$type];s?s(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ye=h(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?m[e.type]:m.NORMAL,tags:e.tags??void 0}),"parseCommit"),je=h(e=>({name:e.name,order:e.order??0}),"parseBranch"),Ke=h(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?m[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ue=h(e=>e.branch,"parseCheckout"),Ve=h(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Xe={parse:h(async e=>{const r=await fe("gitGraph",e);w.debug(r),Fe(r,oe)},"parse")},O=10,_=40,L=4,I=2,G=8,V=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),Q=12,re=new Set(["redux-color","redux-dark-color"]),Je=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),C=new Map,E=new Map,Y=30,P=new Map,j=[],R=0,y="LR",Qe=h(()=>{C.clear(),E.clear(),P.clear(),R=0,j=[],y="LR"},"clear"),ce=h(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),r.appendChild(o)}),r},"drawText"),ie=h(e=>{let r,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),e.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(r=o,s=i)}),r},"findClosestParent"),Ze=h(e=>{let r="",t=1/0;return e.forEach(s=>{const o=E.get(s).y;o<=t&&(r=s,t=o)}),r||void 0},"findClosestParentBT"),er=h((e,r,t)=>{let s=t,o=t;const i=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=tr(a),o=Math.max(s,o)):i.push(a),ar(a,s)}),s=o,i.forEach(n=>{nr(n,s,t)}),e.forEach(n=>{const a=r.get(n);if(a?.parents.length){const l=Ze(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),rr=h(e=>{const r=ie(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=E.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),tr=h(e=>rr(e)+_,"calculateCommitPosition"),ar=h((e,r)=>{const t=C.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const s=t.pos,o=r+O;return E.set(e.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),nr=h((e,r,t)=>{const s=C.get(e.branch);if(!s)throw new Error(`Branch not found for commit ${e.id}`);const o=r+t,i=s.pos;E.set(e.id,{x:i,y:o})},"setRootPosition"),sr=h((e,r,t,s,o,i)=>{const{theme:n}=W(),a=V.has(n??""),l=re.has(n??""),f=Je.has(n??"");if(i===m.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${H(o,G,l)} ${s}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${H(o,G,l)}`),i===m.MERGE){const $=e.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=e.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),or=h((e,r,t,s,o)=>{if(r.type!==m.CHERRY_PICK&&(r.customId&&r.type===m.MERGE||r.type!==m.MERGE)&&o.showCommitLabel){const i=e.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-I).attr("y",t.y+13.5).attr("width",l.width+2*I).attr("height",l.height+2*I),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),cr=h((e,r,t,s)=>{if(r.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),$=e.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
2
2
  ${s-i/2-L/2},${x+I}
3
3
  ${s-i/2-L/2},${x-I}
4
4
  ${t.posWithOffset-i/2-L},${x-c-I}
@@ -1 +1 @@
1
- import{s as r,a as s,c as e,C as t}from"./CDT1G70y.js";import{f as l}from"./BejAw64w.js";var d={parser:e,get db(){return new t},renderer:s,styles:r,init:l(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute},"init")};export{d as diagram};
1
+ import{s as r,a as s,c as e,C as t}from"./w9Jeqnt9.js";import{f as l}from"./CobcHKt3.js";var d={parser:e,get db(){return new t},renderer:s,styles:r,init:l(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute},"init")};export{d as diagram};