@intent-hq/web 2.362.0 → 2.362.1

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 (327) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{jd2Q-_wb.js → 0Go2CbyU.js} +1 -1
  3. package/web/app/immutable/chunks/{DF45Lcog.js → 1nRBQ8GP.js} +1 -1
  4. package/web/app/immutable/chunks/{BMwhw1Uq.js → 23XOeMSz.js} +1 -1
  5. package/web/app/immutable/chunks/{zyhN-MWp.js → 2YXwswD5.js} +1 -1
  6. package/web/app/immutable/chunks/{D0klBhhG.js → 2hni5UX1.js} +1 -1
  7. package/web/app/immutable/chunks/{BomJfUuH.js → 4iYH6029.js} +1 -1
  8. package/web/app/immutable/chunks/{CeVJyslc.js → 55cMcX02.js} +1 -1
  9. package/web/app/immutable/chunks/{DiqO4Muj.js → 6b8eTysf.js} +1 -1
  10. package/web/app/immutable/chunks/{DrYNp4pq.js → 6zG0ROGL.js} +1 -1
  11. package/web/app/immutable/chunks/{Dg1sjsED.js → 8VBKAONs.js} +2 -2
  12. package/web/app/immutable/chunks/{DrRkoSeq.js → AWaLRNq4.js} +1 -1
  13. package/web/app/immutable/chunks/{DDVZx1NH.js → B-DzvqX1.js} +1 -1
  14. package/web/app/immutable/chunks/{u9TRZTyq.js → B1nPoFt8.js} +1 -1
  15. package/web/app/immutable/chunks/{BILh4U9K.js → B1rImF8u.js} +1 -1
  16. package/web/app/immutable/chunks/{vVxVtKpW.js → B2U6zHXn.js} +1 -1
  17. package/web/app/immutable/chunks/{1gFj_z6C.js → B2y4Ey03.js} +1 -1
  18. package/web/app/immutable/chunks/{ByAb1cmM.js → B3jM95Fp.js} +1 -1
  19. package/web/app/immutable/chunks/{42eDZto7.js → B3sqRIS9.js} +1 -1
  20. package/web/app/immutable/chunks/{C8YPd-6H.js → B43yoCDN.js} +1 -1
  21. package/web/app/immutable/chunks/{B8XPpKv7.js → B5nay5Hl.js} +3 -3
  22. package/web/app/immutable/chunks/{iQseBcjp.js → B6XV-wYf.js} +1 -1
  23. package/web/app/immutable/chunks/{B6ovWwJ_.js → B6lDfWDz.js} +1 -1
  24. package/web/app/immutable/chunks/{nIMiMGnC.js → B6qAtTdf.js} +1 -1
  25. package/web/app/immutable/chunks/{Bept5Hnm.js → B7ZiQt9B.js} +1 -1
  26. package/web/app/immutable/chunks/{CvAmKg2X.js → B7he-vwJ.js} +1 -1
  27. package/web/app/immutable/chunks/{BW6IwFyw.js → BAS5Ei9a.js} +4 -4
  28. package/web/app/immutable/chunks/{CY5L4aNw.js → BBXi6eZS.js} +1 -1
  29. package/web/app/immutable/chunks/{DnUPJZ7Y.js → BBeX3tt3.js} +1 -1
  30. package/web/app/immutable/chunks/{BA1Q6PPR.js → BFNGEzf6.js} +1 -1
  31. package/web/app/immutable/chunks/{D3YyaVry.js → BIBmWYIa.js} +1 -1
  32. package/web/app/immutable/chunks/{D9wnkmBu.js → BIQ9eVuf.js} +1 -1
  33. package/web/app/immutable/chunks/{BWcEoYRV.js → BKSdTbM0.js} +1 -1
  34. package/web/app/immutable/chunks/{DK8BxGVr.js → BKW-24eH.js} +1 -1
  35. package/web/app/immutable/chunks/{B2tn4QvC.js → BMXpCN2Z.js} +1 -1
  36. package/web/app/immutable/chunks/BNq3scG4.js +4 -0
  37. package/web/app/immutable/chunks/{DQ21wdjk.js → BPWzrv4n.js} +1 -1
  38. package/web/app/immutable/chunks/{VfrZWr4H.js → BPu2GADH.js} +1 -1
  39. package/web/app/immutable/chunks/{CRKBkpOe.js → BQi1vxhj.js} +1 -1
  40. package/web/app/immutable/chunks/{i9nNzXN1.js → BR6IlpMz.js} +1 -1
  41. package/web/app/immutable/chunks/{DpinIuVV.js → BRPvhipI.js} +2 -2
  42. package/web/app/immutable/chunks/{DwVWq9Mg.js → BSiWAL4B.js} +1 -1
  43. package/web/app/immutable/chunks/{BfYNlt8G.js → BTPstSq4.js} +1 -1
  44. package/web/app/immutable/chunks/{CEJtWBth.js → BULwUgGm.js} +1 -1
  45. package/web/app/immutable/chunks/{Dc2OgodD.js → BUNb3q2A.js} +1 -1
  46. package/web/app/immutable/chunks/{T-q_OSSy.js → BU_WdKEZ.js} +1 -1
  47. package/web/app/immutable/chunks/{Cd0j3msa.js → BUansWOB.js} +1 -1
  48. package/web/app/immutable/chunks/{qdH_r52r.js → BV4hVkqh.js} +1 -1
  49. package/web/app/immutable/chunks/{C_DRWbBT.js → BWxyJyKV.js} +1 -1
  50. package/web/app/immutable/chunks/{D4rtf9eK.js → BZMuFhDq.js} +2 -2
  51. package/web/app/immutable/chunks/{C2jMmBZH.js → BZaxCCc-.js} +3 -3
  52. package/web/app/immutable/chunks/{DhHBMk2S.js → B_Qscghg.js} +4 -4
  53. package/web/app/immutable/chunks/{CTuEdhIK.js → BbNaXeCx.js} +1 -1
  54. package/web/app/immutable/chunks/{DEz0iQL-.js → Bctp9lP7.js} +1 -1
  55. package/web/app/immutable/chunks/{BHi5IZAX.js → Bd3N9n0H.js} +1 -1
  56. package/web/app/immutable/chunks/{BIeyZqbO.js → Be0mmWcA.js} +6 -6
  57. package/web/app/immutable/chunks/{BLN77Nun.js → BeQ5cBZr.js} +1 -1
  58. package/web/app/immutable/chunks/{D-HbS-OO.js → BedgIvkT.js} +1 -1
  59. package/web/app/immutable/chunks/{CGq1dL3z.js → Bei3Ber-.js} +1 -1
  60. package/web/app/immutable/chunks/{AlKC0Ocb.js → Bg85AeOE.js} +1 -1
  61. package/web/app/immutable/chunks/{ButwRe61.js → BgO8l4RL.js} +1 -1
  62. package/web/app/immutable/chunks/{C5gI3OmS.js → Bh9XFM6t.js} +1 -1
  63. package/web/app/immutable/chunks/{Do-7hUG3.js → Bhsd_vBR.js} +1 -1
  64. package/web/app/immutable/chunks/{B64Wa5S6.js → Bi_5p9qD.js} +1 -1
  65. package/web/app/immutable/chunks/{BJBg5aea.js → BjhYYm97.js} +1 -1
  66. package/web/app/immutable/chunks/{Moy2Fnv7.js → BlbxSj1X.js} +1 -1
  67. package/web/app/immutable/chunks/{B_F2KAss.js → BluA3DZF.js} +1 -1
  68. package/web/app/immutable/chunks/{BRRZ-rdF.js → BluWIyqL.js} +1 -1
  69. package/web/app/immutable/chunks/{ConZf1Xc.js → BmH3z8uN.js} +1 -1
  70. package/web/app/immutable/chunks/{DGgxtq4s.js → Bo-zVBuZ.js} +1 -1
  71. package/web/app/immutable/chunks/{fBGaFk7o.js → Bpl_qBuR.js} +3 -3
  72. package/web/app/immutable/chunks/{Bbp04L_p.js → Bq9n6Tla.js} +1 -1
  73. package/web/app/immutable/chunks/{CLD_-K5U.js → BqGa1t8L.js} +1 -1
  74. package/web/app/immutable/chunks/{CHVebKY7.js → BqzT4O7L.js} +3 -3
  75. package/web/app/immutable/chunks/{BxEYTNET.js → Br53KhNC.js} +1 -1
  76. package/web/app/immutable/chunks/{alfd90bM.js → BrfrzpId.js} +1 -1
  77. package/web/app/immutable/chunks/{BhKKK-kE.js → BszkqKbM.js} +1 -1
  78. package/web/app/immutable/chunks/{BGAw0soA.js → BtoR1PxE.js} +1 -1
  79. package/web/app/immutable/chunks/{ryY3ARJp.js → Bu1TNEzu.js} +1 -1
  80. package/web/app/immutable/chunks/{BkJlUIRT.js → BuWwi-OB.js} +1 -1
  81. package/web/app/immutable/chunks/{Cm_3RFg5.js → BvEWkly-.js} +1 -1
  82. package/web/app/immutable/chunks/{C_xs3Po8.js → BwV7CRGN.js} +1 -1
  83. package/web/app/immutable/chunks/{Dv_zibKv.js → BwsZanfL.js} +1 -1
  84. package/web/app/immutable/chunks/{PgqRte-r.js → Bxs2oudl.js} +1 -1
  85. package/web/app/immutable/chunks/{BWX_OVAE.js → ByTn8oHf.js} +1 -1
  86. package/web/app/immutable/chunks/{DJQwKIJU.js → BykIeP0g.js} +1 -1
  87. package/web/app/immutable/chunks/{Di3oOarF.js → Bz3tuC8r.js} +2 -2
  88. package/web/app/immutable/chunks/{U10EozJE.js → BzQ3ATRh.js} +2 -2
  89. package/web/app/immutable/chunks/{BK_ocHH_.js → C-Reftw2.js} +1 -1
  90. package/web/app/immutable/chunks/{EAmw13pe.js → C-hb5nbb.js} +1 -1
  91. package/web/app/immutable/chunks/{D24Cy14e.js → C0RmcaXo.js} +1 -1
  92. package/web/app/immutable/chunks/{CokgYiLR.js → C1T-qy7I.js} +1 -1
  93. package/web/app/immutable/chunks/{BghGxAUO.js → C1o3spBY.js} +1 -1
  94. package/web/app/immutable/chunks/C2wAzMR4.js +176 -0
  95. package/web/app/immutable/chunks/{DHuPiSx5.js → C3UeOegI.js} +1 -1
  96. package/web/app/immutable/chunks/{DYBIQz8Q.js → C4GIXttQ.js} +1 -1
  97. package/web/app/immutable/chunks/{n_DC9aJx.js → C4_rKMDp.js} +13 -13
  98. package/web/app/immutable/chunks/{DA_NmGws.js → C4ndhNfG.js} +1 -1
  99. package/web/app/immutable/chunks/{DABONrQm.js → C4pyVvwk.js} +1 -1
  100. package/web/app/immutable/chunks/{CVAjc0yi.js → C6NQnjdC.js} +1 -1
  101. package/web/app/immutable/chunks/{D19QUWJk.js → C6XOSM-4.js} +1 -1
  102. package/web/app/immutable/chunks/{CGAW_CqO.js → C6pmzcFd.js} +1 -1
  103. package/web/app/immutable/chunks/{CLEN2qBh.js → C6sQTdfe.js} +1 -1
  104. package/web/app/immutable/chunks/{BV6tz7in.js → C6vubJsO.js} +1 -1
  105. package/web/app/immutable/chunks/{DNbGju-D.js → C7XLe6Fq.js} +1 -1
  106. package/web/app/immutable/chunks/{2f17jIS_.js → C8b1hAiZ.js} +1 -1
  107. package/web/app/immutable/chunks/{_yja1RDN.js → C9YJ2_w0.js} +1 -1
  108. package/web/app/immutable/chunks/{DBzwbLy-.js → C9nffMna.js} +1 -1
  109. package/web/app/immutable/chunks/{C1rlyspR.js → CAEXUpGf.js} +1 -1
  110. package/web/app/immutable/chunks/{elqYuZ6s.js → CAqlFYYX.js} +1 -1
  111. package/web/app/immutable/chunks/{jCb2rWV2.js → CBgqNyOn.js} +1 -1
  112. package/web/app/immutable/chunks/{B7D3Z-Y4.js → CCBDeIiF.js} +1 -1
  113. package/web/app/immutable/chunks/{C79wLg62.js → CCDDqQJs.js} +1 -1
  114. package/web/app/immutable/chunks/{DP4Ph7EA.js → CCm0OKl5.js} +1 -1
  115. package/web/app/immutable/chunks/CDNiWmce.js +1 -0
  116. package/web/app/immutable/chunks/{7QQiv-wr.js → CDSuKhpz.js} +1 -1
  117. package/web/app/immutable/chunks/{BUG9TrVX.js → CE2LFl-Z.js} +1 -1
  118. package/web/app/immutable/chunks/CE9WteXp.js +1 -0
  119. package/web/app/immutable/chunks/{Q1GArL_y.js → CFidbeSw.js} +1 -1
  120. package/web/app/immutable/chunks/{Dw_UfDsA.js → CFtRsKmm.js} +1 -1
  121. package/web/app/immutable/chunks/{DLLVCgsV.js → CGDxdR4I.js} +1 -1
  122. package/web/app/immutable/chunks/{DDy_8zbA.js → CH6-PW8d.js} +1 -1
  123. package/web/app/immutable/chunks/{XHWmx2fo.js → CI4L9sp8.js} +1 -1
  124. package/web/app/immutable/chunks/{DV6XB2ci.js → CJ9TjlSl.js} +1 -1
  125. package/web/app/immutable/chunks/{Vm4nXzsi.js → CJAHD8Av.js} +1 -1
  126. package/web/app/immutable/chunks/{CC7j966i.js → CKwXUgM5.js} +1 -1
  127. package/web/app/immutable/chunks/{nXQJ8vXX.js → CLDOuGzT.js} +1 -1
  128. package/web/app/immutable/chunks/{DR2SVCXR.js → CLG5hs6R.js} +1 -1
  129. package/web/app/immutable/chunks/{C8i00JgJ.js → CMQcQe3J.js} +1 -1
  130. package/web/app/immutable/chunks/{Be7gn9X-.js → CMmAwBL2.js} +1 -1
  131. package/web/app/immutable/chunks/{BG3WACU1.js → CORIYKie.js} +1 -1
  132. package/web/app/immutable/chunks/{Bff_Rbbv.js → CQ0hCG0n.js} +1 -1
  133. package/web/app/immutable/chunks/{D2jeSuJo.js → CQ2XnxCv.js} +1 -1
  134. package/web/app/immutable/chunks/{_1FSfiRe.js → CQBcB58U.js} +1 -1
  135. package/web/app/immutable/chunks/{CiSSCgqR.js → CQocjKjX.js} +1 -1
  136. package/web/app/immutable/chunks/{CC7Uzavp.js → CR6eaDMw.js} +1 -1
  137. package/web/app/immutable/chunks/{flRZVSKn.js → CRLV4RHy.js} +1 -1
  138. package/web/app/immutable/chunks/{8DKB8YcU.js → CTcdcUyj.js} +1 -1
  139. package/web/app/immutable/chunks/{CXq2AoEa.js → CThSE8LQ.js} +1 -1
  140. package/web/app/immutable/chunks/{CZlp_xaa.js → CXEzZ2hR.js} +1 -1
  141. package/web/app/immutable/chunks/{Dkq3_GD2.js → CXfsvSt9.js} +1 -1
  142. package/web/app/immutable/chunks/{DcS7tCp_.js → CYKcOC1a.js} +1 -1
  143. package/web/app/immutable/chunks/{CZScRu8r.js → CYP3WRBZ.js} +1 -1
  144. package/web/app/immutable/chunks/{DbF4GEUt.js → CZLC2BGb.js} +1 -1
  145. package/web/app/immutable/chunks/{D7W8zNV0.js → Ca-5qIPO.js} +1 -1
  146. package/web/app/immutable/chunks/{_5QQ1P8H.js → CaD-rr4v.js} +1 -1
  147. package/web/app/immutable/chunks/{BVZHN8O1.js → CcNWV5oe.js} +1 -1
  148. package/web/app/immutable/chunks/{DOB06fXT.js → CfsrLxYu.js} +1 -1
  149. package/web/app/immutable/chunks/CgZG1QkR.js +1 -0
  150. package/web/app/immutable/chunks/{DI85QvsH.js → Ch4PqakC.js} +1 -1
  151. package/web/app/immutable/chunks/{BZvzMoRv.js → ChXvhbof.js} +1 -1
  152. package/web/app/immutable/chunks/{B-7yIMT_.js → ChpnaSsg.js} +1 -1
  153. package/web/app/immutable/chunks/CiTaZNiG.js +1 -0
  154. package/web/app/immutable/chunks/{DzsS0_p_.js → CjuG-F5E.js} +1 -1
  155. package/web/app/immutable/chunks/{DG5HQEoF.js → Ck9E0Ysi.js} +1 -1
  156. package/web/app/immutable/chunks/{4uhoMHE_.js → Ckre-sgD.js} +1 -1
  157. package/web/app/immutable/chunks/{CL7qDIdV.js → ClEAI4g1.js} +3 -3
  158. package/web/app/immutable/chunks/{Cqru5LxS.js → ClI6BjKq.js} +1 -1
  159. package/web/app/immutable/chunks/{CJeXodn0.js → CmUp-Sqv.js} +1 -1
  160. package/web/app/immutable/chunks/{C0iYgKNx.js → Cng0L1r4.js} +1 -1
  161. package/web/app/immutable/chunks/{BvgeBoe1.js → Cp1SIa9c.js} +1 -1
  162. package/web/app/immutable/chunks/{nPXXKIa-.js → CpUG4uWd.js} +1 -1
  163. package/web/app/immutable/chunks/{DNmf6q32.js → CqSZC6ch.js} +1 -1
  164. package/web/app/immutable/chunks/{zB1IXbXb.js → CrgKt6cz.js} +1 -1
  165. package/web/app/immutable/chunks/{D1BBZ1Su.js → CsC9zelV.js} +1 -1
  166. package/web/app/immutable/chunks/{EAy3xyVJ.js → CvQjTi4D.js} +2 -2
  167. package/web/app/immutable/chunks/{CuNeyUoC.js → CyRyIWdG.js} +1 -1
  168. package/web/app/immutable/chunks/{CvFqJ3aj.js → Cyk2Y411.js} +1 -1
  169. package/web/app/immutable/chunks/{D01RaHSK.js → D-qx9bcE.js} +1 -1
  170. package/web/app/immutable/chunks/{ByTueQZz.js → D1tVMvmo.js} +1 -1
  171. package/web/app/immutable/chunks/{CVBzfNwe.js → D2NUq8UU.js} +1 -1
  172. package/web/app/immutable/chunks/{DmEF8CQK.js → D2c3A473.js} +1 -1
  173. package/web/app/immutable/chunks/{CUYJI5X_.js → D31UPrBJ.js} +1 -1
  174. package/web/app/immutable/chunks/{DVGWHR1H.js → D4nLWqqO.js} +1 -1
  175. package/web/app/immutable/chunks/{1MVyJ09_.js → D67FZ5Lv.js} +1 -1
  176. package/web/app/immutable/chunks/{BkDiy3qO.js → D7WbMK4o.js} +1 -1
  177. package/web/app/immutable/chunks/{CgeqCnG6.js → D7niCCgo.js} +1 -1
  178. package/web/app/immutable/chunks/{CsQLAzr5.js → D9yIi5KK.js} +1 -1
  179. package/web/app/immutable/chunks/{D7sOTjCO.js → DA9Mdvxh.js} +1 -1
  180. package/web/app/immutable/chunks/{DSYQunl3.js → DAw72DZa.js} +1 -1
  181. package/web/app/immutable/chunks/{BNH_hD0i.js → DC8uF3lu.js} +1 -1
  182. package/web/app/immutable/chunks/{Zq02JorO.js → DD5eVBJb.js} +1 -1
  183. package/web/app/immutable/chunks/{CGPTsmEd.js → DDXthoba.js} +1 -1
  184. package/web/app/immutable/chunks/{CJSinxIK.js → DDaa7h_m.js} +1 -1
  185. package/web/app/immutable/chunks/{CdNWk-Bu.js → DEHoDrdd.js} +1 -1
  186. package/web/app/immutable/chunks/{Bo32wczA.js → DFNql_nS.js} +1 -1
  187. package/web/app/immutable/chunks/{kQoy32cr.js → DFYNZGf0.js} +1 -1
  188. package/web/app/immutable/chunks/{T940uwQN.js → DHffIWwt.js} +3 -3
  189. package/web/app/immutable/chunks/{vbGVPT6S.js → DHgdHC6B.js} +1 -1
  190. package/web/app/immutable/chunks/{C1a72gDa.js → DIKaua7R.js} +1 -1
  191. package/web/app/immutable/chunks/{DXJvf4ja.js → DIuXteuM.js} +1 -1
  192. package/web/app/immutable/chunks/{DQloJDQl.js → DJWDj1lZ.js} +1 -1
  193. package/web/app/immutable/chunks/{-Yzk2rdh.js → DJcIRc5D.js} +1 -1
  194. package/web/app/immutable/chunks/{NuBvLfzz.js → DK7i7mSH.js} +1 -1
  195. package/web/app/immutable/chunks/{DywT6cR_.js → DMSGpXyL.js} +2 -2
  196. package/web/app/immutable/chunks/{CIjzTMjk.js → DOaNjGx3.js} +1 -1
  197. package/web/app/immutable/chunks/{plzucQew.js → DP1vd71f.js} +1 -1
  198. package/web/app/immutable/chunks/{BsQjFYUU.js → DQmIdOy5.js} +1 -1
  199. package/web/app/immutable/chunks/{BNXO9e-K.js → DUa7Jvhz.js} +2 -2
  200. package/web/app/immutable/chunks/{CdYki3Ne.js → DUaHJCzY.js} +1 -1
  201. package/web/app/immutable/chunks/{CrG8QfjF.js → DUzPWaFA.js} +1 -1
  202. package/web/app/immutable/chunks/{D8hpao6N.js → DVxqmkFy.js} +1 -1
  203. package/web/app/immutable/chunks/{CaFfZGOK.js → DWEDgLOm.js} +1 -1
  204. package/web/app/immutable/chunks/{DfIwRMMx.js → DWbtFEwH.js} +1 -1
  205. package/web/app/immutable/chunks/{epeXa5Nl.js → DYaRWcpg.js} +1 -1
  206. package/web/app/immutable/chunks/{DdQ2Ee-5.js → DZSVN5v8.js} +1 -1
  207. package/web/app/immutable/chunks/{ClcIbYyp.js → DZtCGZgy.js} +1 -1
  208. package/web/app/immutable/chunks/{yYJfu2JX.js → DaNGy3D8.js} +1 -1
  209. package/web/app/immutable/chunks/{CUPNFNnH.js → DcR44gq9.js} +1 -1
  210. package/web/app/immutable/chunks/{CBM6AzvV.js → DgNEPBVe.js} +1 -1
  211. package/web/app/immutable/chunks/{Cc_mAvF5.js → Dh1ev8RB.js} +1 -1
  212. package/web/app/immutable/chunks/{vojGrKrS.js → DizljkHL.js} +1 -1
  213. package/web/app/immutable/chunks/{COBWKiGh.js → DjY1surq.js} +1 -1
  214. package/web/app/immutable/chunks/{D-37OIYf.js → DjeFU-Mu.js} +1 -1
  215. package/web/app/immutable/chunks/{BVZsZXmm.js → Dk5qPA5a.js} +1 -1
  216. package/web/app/immutable/chunks/{DSQMj_om.js → Dkw1IBph.js} +1 -1
  217. package/web/app/immutable/chunks/{wsJnb2w5.js → DnDBa5Or.js} +4 -4
  218. package/web/app/immutable/chunks/{D8JHIZfM.js → Dqi9bJNf.js} +1 -1
  219. package/web/app/immutable/chunks/{CrrPK0Iv.js → DrLx8OXO.js} +1 -1
  220. package/web/app/immutable/chunks/{Jbhi_cxP.js → DrSdReTn.js} +1 -1
  221. package/web/app/immutable/chunks/{Db_IhgBX.js → DrhiSb3J.js} +3 -3
  222. package/web/app/immutable/chunks/{D-QSPFPS.js → Dtxuz85W.js} +1 -1
  223. package/web/app/immutable/chunks/{D4ILfrQP.js → Du4MGCS4.js} +2 -2
  224. package/web/app/immutable/chunks/{BpOFfIvt.js → Du7ytJ4P.js} +1 -1
  225. package/web/app/immutable/chunks/{CbmUPEyZ.js → DuJdf9UG.js} +1 -1
  226. package/web/app/immutable/chunks/{CqDJmhHZ.js → DuOIvAqY.js} +2 -2
  227. package/web/app/immutable/chunks/{D73fvKXP.js → Dv3pGERg.js} +1 -1
  228. package/web/app/immutable/chunks/{DkPeQV3c.js → DvIus6kU.js} +1 -1
  229. package/web/app/immutable/chunks/{DwzYDj81.js → DwhPYiCJ.js} +1 -1
  230. package/web/app/immutable/chunks/{By1IjcbO.js → Dx9DzOqr.js} +1 -1
  231. package/web/app/immutable/chunks/{KkoOm1V0.js → DxFZ9gq2.js} +1 -1
  232. package/web/app/immutable/chunks/{C0-eX4eQ.js → DxM_2tEs.js} +1 -1
  233. package/web/app/immutable/chunks/{CBRPyq3u.js → Dx_cihQo.js} +3 -3
  234. package/web/app/immutable/chunks/{C8LXsE7b.js → DxgNlamv.js} +1 -1
  235. package/web/app/immutable/chunks/{LSzEWm4Q.js → DyYAxHE8.js} +1 -1
  236. package/web/app/immutable/chunks/{3RdDKrNK.js → DzCzYdRR.js} +1 -1
  237. package/web/app/immutable/chunks/{BVZ3OidP.js → EENIG6sq.js} +1 -1
  238. package/web/app/immutable/chunks/{B5jBKY1h.js → ETRy7Ggy.js} +1 -1
  239. package/web/app/immutable/chunks/{CeXu7r8X.js → F4cRH-lc.js} +1 -1
  240. package/web/app/immutable/chunks/{DMAUyJ2P.js → FkFkR8K2.js} +1 -1
  241. package/web/app/immutable/chunks/{NOaXnPaj.js → G87kWWA0.js} +2 -2
  242. package/web/app/immutable/chunks/{BCaye4Uu.js → HRcGzcZS.js} +1 -1
  243. package/web/app/immutable/chunks/{CrgZFb5y.js → IfYdwdBR.js} +1 -1
  244. package/web/app/immutable/chunks/{N6kzLiXM.js → J04upo63.js} +1 -1
  245. package/web/app/immutable/chunks/{DLxYdmRB.js → J1LWsTd9.js} +1 -1
  246. package/web/app/immutable/chunks/{Bult6xm-.js → JAWGj4Yi.js} +2 -2
  247. package/web/app/immutable/chunks/{g9ZlPi9F.js → Jf_R-Aac.js} +2 -2
  248. package/web/app/immutable/chunks/{CE6pj9s3.js → KYr22_OD.js} +1 -1
  249. package/web/app/immutable/chunks/{oxDrPxDU.js → KilK2UOM.js} +1 -1
  250. package/web/app/immutable/chunks/{DtvdPXC0.js → LwSSBtxX.js} +1 -1
  251. package/web/app/immutable/chunks/{BV1K6wKe.js → M2GCPKoA.js} +1 -1
  252. package/web/app/immutable/chunks/{ByQw5PSS.js → O-SiHQ6R.js} +1 -1
  253. package/web/app/immutable/chunks/{CoaHiAox.js → Or_TQbr1.js} +1 -1
  254. package/web/app/immutable/chunks/{D9tcLZ_Y.js → Qb3uerTr.js} +1 -1
  255. package/web/app/immutable/chunks/{BgyYCiyL.js → Qizor3xZ.js} +1 -1
  256. package/web/app/immutable/chunks/{CpbmyPj0.js → Qm-MZg2p.js} +1 -1
  257. package/web/app/immutable/chunks/{zgekXgkJ.js → QnpVdYT5.js} +1 -1
  258. package/web/app/immutable/chunks/{D2-mq7g4.js → R19W582_.js} +1 -1
  259. package/web/app/immutable/chunks/{DyCS2A-K.js → RGmB-SjS.js} +1 -1
  260. package/web/app/immutable/chunks/{BNZHgKSk.js → UWQdg-A2.js} +1 -1
  261. package/web/app/immutable/chunks/{nK5lgmDU.js → UfUfpfpL.js} +1 -1
  262. package/web/app/immutable/chunks/{N7qvIOuv.js → W_r4iRxt.js} +1 -1
  263. package/web/app/immutable/chunks/{0FRtEAk_.js → WvbffGVg.js} +1 -1
  264. package/web/app/immutable/chunks/{BrQE9aYr.js → Xu7DniMQ.js} +1 -1
  265. package/web/app/immutable/chunks/{CSRsy1MH.js → XvnVMArq.js} +1 -1
  266. package/web/app/immutable/chunks/{CIW89ENH.js → ZTWlL5zM.js} +1 -1
  267. package/web/app/immutable/chunks/{BDq2t_9P.js → _3XbzhXe.js} +1 -1
  268. package/web/app/immutable/chunks/{Bkg1yy3c.js → aa7X5cNm.js} +1 -1
  269. package/web/app/immutable/chunks/{Bzd2CMX7.js → awTIGLLj.js} +1 -1
  270. package/web/app/immutable/chunks/{DM4O8kyl.js → bP8UGzws.js} +1 -1
  271. package/web/app/immutable/chunks/{CvBqgDaO.js → c4H2cXzd.js} +1 -1
  272. package/web/app/immutable/chunks/{CPnsz9Hs.js → cH4zbEq8.js} +1 -1
  273. package/web/app/immutable/chunks/{BChgcxXb.js → cn1R3ng9.js} +3 -3
  274. package/web/app/immutable/chunks/{DOpB1zPF.js → dDu7RcXM.js} +1 -1
  275. package/web/app/immutable/chunks/{zAJ7GuqN.js → dVG3dMki.js} +1 -1
  276. package/web/app/immutable/chunks/{zGpo4Blc.js → dZVNnMZs.js} +3 -3
  277. package/web/app/immutable/chunks/{9M4Pl7xy.js → dqo-Nkop.js} +1 -1
  278. package/web/app/immutable/chunks/{CdZoWikL.js → gHustHEr.js} +1 -1
  279. package/web/app/immutable/chunks/{DlKmdKxb.js → jLuOcx2N.js} +1 -1
  280. package/web/app/immutable/chunks/{D6iZo_ET.js → jhvKFO58.js} +1 -1
  281. package/web/app/immutable/chunks/{DCbtEZw8.js → l-VTMc_p.js} +1 -1
  282. package/web/app/immutable/chunks/{ByW7bxEK.js → qD_x_a7m.js} +1 -1
  283. package/web/app/immutable/chunks/{BNJBQg5K.js → sYvdi7eG.js} +1 -1
  284. package/web/app/immutable/chunks/{BQDjmnIn.js → stD6q5ZD.js} +1 -1
  285. package/web/app/immutable/chunks/{DiCNp-8B.js → u_sm9GBc.js} +1 -1
  286. package/web/app/immutable/chunks/{DiuuSzCC.js → vf6pveFy.js} +1 -1
  287. package/web/app/immutable/chunks/{CIu-y8lY.js → wAO5YQrd.js} +1 -1
  288. package/web/app/immutable/chunks/{hwmpZCuz.js → xQ1tvRyj.js} +1 -1
  289. package/web/app/immutable/chunks/{wM5E_fWg.js → xnUCUXHt.js} +1 -1
  290. package/web/app/immutable/chunks/{PtztmcML.js → yQ7GpLm3.js} +1 -1
  291. package/web/app/immutable/chunks/{1Kd2V6Ma.js → yVGqQrjf.js} +1 -1
  292. package/web/app/immutable/chunks/{LYm3QdT8.js → yyRLwoJz.js} +1 -1
  293. package/web/app/immutable/chunks/{DAg74Tfa.js → zHH7Kw4o.js} +1 -1
  294. package/web/app/immutable/entry/{app.D2bTUfu9.js → app.CMLUt8-K.js} +3 -3
  295. package/web/app/immutable/entry/start.D1qRxQ8x.js +1 -0
  296. package/web/app/immutable/nodes/{0.CPawR9BC.js → 0.BYH6vQW3.js} +1 -1
  297. package/web/app/immutable/nodes/{1.BlDqJU7r.js → 1.BAkbiSMg.js} +1 -1
  298. package/web/app/immutable/nodes/{10.BAMGMKNX.js → 10.DqnjBdnF.js} +5 -5
  299. package/web/app/immutable/nodes/{11.-7mABFeH.js → 11.mfKuarNN.js} +1 -1
  300. package/web/app/immutable/nodes/{12.CjcrqPFZ.js → 12.B8dwNd6E.js} +1 -1
  301. package/web/app/immutable/nodes/{13.Bc2gRY3E.js → 13.5M8H2X4b.js} +1 -1
  302. package/web/app/immutable/nodes/{14.W7UKKBbJ.js → 14.BzYka-40.js} +3 -3
  303. package/web/app/immutable/nodes/15.BcZNrBDb.js +3 -0
  304. package/web/app/immutable/nodes/{16.nAu8Tcun.js → 16.BZoPxych.js} +1 -1
  305. package/web/app/immutable/nodes/{17.BmHoggX-.js → 17.Cqw6uBts.js} +1 -1
  306. package/web/app/immutable/nodes/{18.CDqK9mtR.js → 18.Bhk-SJCV.js} +1 -1
  307. package/web/app/immutable/nodes/{19.BLC2e5Ym.js → 19.CKvaRxuS.js} +2 -2
  308. package/web/app/immutable/nodes/{2.CclojtZK.js → 2.BQJHslkB.js} +4 -4
  309. package/web/app/immutable/nodes/{20.DR7-1biV.js → 20.Dwc7t9AX.js} +1 -1
  310. package/web/app/immutable/nodes/{3.9s7e_J-v.js → 3.BLUctLcc.js} +1 -1
  311. package/web/app/immutable/nodes/{4.B6oC0aEI.js → 4.7Oh8cVZj.js} +1 -1
  312. package/web/app/immutable/nodes/{5.BhdMAH02.js → 5.C8XFrbrE.js} +1 -1
  313. package/web/app/immutable/nodes/{6.cb_yhLRO.js → 6.BfVTL0z7.js} +1 -1
  314. package/web/app/immutable/nodes/{7.CW5VpJ10.js → 7.B5PW7bVT.js} +1 -1
  315. package/web/app/immutable/nodes/{8.BCzBaaLq.js → 8.gpXKsW1b.js} +1 -1
  316. package/web/app/immutable/nodes/{9.CUYXVSxZ.js → 9.Do91vdif.js} +4 -4
  317. package/web/app/version.json +1 -1
  318. package/web/generated/paraglide.js +49 -49
  319. package/web/index.html +18 -18
  320. package/web/app/immutable/chunks/B0MfNWkm.js +0 -1
  321. package/web/app/immutable/chunks/BfX15qhw.js +0 -1
  322. package/web/app/immutable/chunks/C1QwTBKK.js +0 -176
  323. package/web/app/immutable/chunks/CBVyphqp.js +0 -1
  324. package/web/app/immutable/chunks/DDSNlYGe.js +0 -4
  325. package/web/app/immutable/chunks/Or0TMIv9.js +0 -1
  326. package/web/app/immutable/entry/start.BjNeM0go.js +0 -1
  327. package/web/app/immutable/nodes/15.B7EMAryy.js +0 -3
@@ -1,4 +1,4 @@
1
- import{p as e}from"./DLxYdmRB.js";const t=[{id:"editorial-card",title:"Editorial card states",states:["default","group","inline","outlined","separated","selected","fluid-hover","header","flush-content","interactive","pressed","empty","long-content","compact","zoom-200","inert","light","dark","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];e({id:"card",source:"src/lib/components/ui/card/card.svelte",publicImport:"$lib/components/ui/card",legacyImports:[],exports:["Action","CARD_CONTENT_INSET_CLASS","CARD_ROW_GUTTER_CLASS","Card","CardAction","CardContent","CardDescription","CardFooter","CardGroup","CardHeader","CardTitle","Content","Description","Footer","Group","Header","Root","Title","cardMetadata"],usage:`<script lang="ts">
1
+ import{p as e}from"./J1LWsTd9.js";const t=[{id:"editorial-card",title:"Editorial card states",states:["default","group","inline","outlined","separated","selected","fluid-hover","header","flush-content","interactive","pressed","empty","long-content","compact","zoom-200","inert","light","dark","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];e({id:"card",source:"src/lib/components/ui/card/card.svelte",publicImport:"$lib/components/ui/card",legacyImports:[],exports:["Action","CARD_CONTENT_INSET_CLASS","CARD_ROW_GUTTER_CLASS","Card","CardAction","CardContent","CardDescription","CardFooter","CardGroup","CardHeader","CardTitle","Content","Description","Footer","Group","Header","Root","Title","cardMetadata"],usage:`<script lang="ts">
2
2
  import * as Card from '$lib/components/ui/card';
3
3
  <\/script>
4
4
 
@@ -1 +1 @@
1
- import{t as B,bo as f,bw as D,bq as T,b as W,bm as j,bs as q}from"./BfX15qhw.js";import{bs as z,cd as L,ca as O,a7 as E,ay as F,W as d,bn as G,aA as h,aD as t,c9 as r,a5 as H,bl as J,bA as K,b_ as M,bO as N,aB as Q}from"./CJxGDkBm.js";import{i as R}from"./CdNWk-Bu.js";import{C as U}from"./C0-eX4eQ.js";import{dD as V}from"./D8JHIZfM.js";import{i as X}from"./H2jLkRRS.js";var Y=Q('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p></div>');function Z(c,o){if(new.target)return B({component:Z,...c});z(o,!0);const l=()=>q(b,"$workspace",m),[m,u]=T();let s=f(o,"tab",7),n=f(o,"workspaceId",7);const i=L(n());O(()=>{i.set(n())});const b=V(i),_=r(()=>l()?.worktreePath||l()?.repositoryPath||""),g=r(()=>s().data?.changes||[]),v=r(()=>s().data?.isAggregate||!1),w=r(()=>s().data?.agentId),k=r(()=>t(g).map(e=>{const a=e.filePath&&X(e.filePath)?e.filePath:`${t(_)}/${e.filePath}`;return{...e,filePath:a}}));var C={get tab(){return s()},set tab(e){s(e),h()},get workspaceId(){return n()},set workspaceId(e){n(e),h()},$set:D,$on:(e,a)=>W(o,e,a)},p=E(),y=F(p);{var P=e=>{U(e,{isLoading:!1,get changes(){return t(k)},get isAggregate(){return t(v)},get agentId(){return t(w)},showStagingControls:!0})},I=e=>{var a=Y(),A=H(a),$=J(A,!0);K(a),M(S=>N($,S),[()=>j.layout_chatChanges_noChanges_label()]),d(e,a)};R(y,e=>{t(g).length>0?e(P):e(I,-1)})}d(c,p);var x=G(C);return u(),x}export{Z as default};
1
+ import{t as B,bo as f,bw as D,bq as T,b as W,bm as j,bs as q}from"./CDNiWmce.js";import{bs as z,cd as L,ca as O,a7 as E,ay as F,W as d,bn as G,aA as h,aD as t,c9 as r,a5 as H,bl as J,bA as K,b_ as M,bO as N,aB as Q}from"./CJxGDkBm.js";import{i as R}from"./DEHoDrdd.js";import{C as U}from"./DxM_2tEs.js";import{dD as V}from"./Dqi9bJNf.js";import{i as X}from"./H2jLkRRS.js";var Y=Q('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p></div>');function Z(c,o){if(new.target)return B({component:Z,...c});z(o,!0);const l=()=>q(b,"$workspace",m),[m,u]=T();let s=f(o,"tab",7),n=f(o,"workspaceId",7);const i=L(n());O(()=>{i.set(n())});const b=V(i),_=r(()=>l()?.worktreePath||l()?.repositoryPath||""),g=r(()=>s().data?.changes||[]),v=r(()=>s().data?.isAggregate||!1),w=r(()=>s().data?.agentId),k=r(()=>t(g).map(e=>{const a=e.filePath&&X(e.filePath)?e.filePath:`${t(_)}/${e.filePath}`;return{...e,filePath:a}}));var C={get tab(){return s()},set tab(e){s(e),h()},get workspaceId(){return n()},set workspaceId(e){n(e),h()},$set:D,$on:(e,a)=>W(o,e,a)},p=E(),y=F(p);{var P=e=>{U(e,{isLoading:!1,get changes(){return t(k)},get isAggregate(){return t(v)},get agentId(){return t(w)},showStagingControls:!0})},I=e=>{var a=Y(),A=H(a),$=J(A,!0);K(a),M(S=>N($,S),[()=>j.layout_chatChanges_noChanges_label()]),d(e,a)};R(y,e=>{t(g).length>0?e(P):e(I,-1)})}d(c,p);var x=G(C);return u(),x}export{Z as default};
@@ -1 +1 @@
1
- import{t as M,bo as d,bw as P,b as W,bp as A,br as Q}from"./BfX15qhw.js";import{bo as j,bs as C,a7 as b,ay as h,W as p,bn as k,aA as c,aD as x,a5 as q,bf as E,bA as F,c9 as z,aB as G}from"./CJxGDkBm.js";import{c as H}from"./CrrPK0Iv.js";import{b as J,e as K}from"./DLxYdmRB.js";import{i as L}from"./CdNWk-Bu.js";import{s as y}from"./CXq2AoEa.js";import{az as S,W as O,av as w,aQ as R}from"./Dc2OgodD.js";var T=new Set(["$$slots","$$events","$$legacy","ref","id","child","children"]),U=G("<div><!></div>");function B(f,r){const n=j();if(new.target)return M({component:B,...f});C(r,!0);let s=d(r,"ref",15,null),u=d(r,"id",23,()=>S(n)),o=d(r,"child",7),l=d(r,"children",7),v=A(r,T);const t=O.create({id:w(()=>u()),ref:w(()=>s(),e=>s(e))}),i=z(()=>R(v,t.props));var g={get ref(){return s()},set ref(e=null){s(e),c()},get id(){return u()},set id(e=S(n)){u(e),c()},get child(){return o()},set child(e){o(e),c()},get children(){return l()},set children(e){l(e),c()},$set:P,$on:(e,a)=>W(r,e,a)},m=b(),D=h(m);{var I=e=>{var a=b(),_=h(a);y(_,o,()=>({props:x(i)})),p(e,a)},N=e=>{var a=U();J(a,()=>({...x(i)}));var _=q(a);y(_,()=>l()??E),F(a),p(e,a)};L(D,e=>{o()?e(I):e(N,-1)})}return p(f,m),k(g)}var V=new Set(["$$slots","$$events","$$legacy","ref","class"]);function X(f,r){if(new.target)return M({component:X,...f});C(r,!0);let n=d(r,"ref",15,null),s=d(r,"class",7),u=A(r,V);var o={get ref(){return n()},set ref(t=null){n(t),c()},get class(){return s()},set class(t){s(t),c()},$set:P,$on:(t,i)=>W(r,t,i)},l=b(),v=h(l);{let t=z(()=>K("mx-2.5 my-1.5 border-t border-border",s()));H(v,()=>B,(i,g)=>{g(i,Q({"data-slot":"menu-separator",get class(){return x(t)}},()=>u,{get ref(){return n()},set ref(m){n(m)}}))})}return p(f,l),k(o)}export{X as M};
1
+ import{t as M,bo as d,bw as P,b as W,bp as A,br as Q}from"./CDNiWmce.js";import{bo as j,bs as C,a7 as b,ay as h,W as p,bn as k,aA as c,aD as x,a5 as q,bf as E,bA as F,c9 as z,aB as G}from"./CJxGDkBm.js";import{c as H}from"./DrLx8OXO.js";import{b as J,e as K}from"./J1LWsTd9.js";import{i as L}from"./DEHoDrdd.js";import{s as y}from"./CThSE8LQ.js";import{az as S,W as O,av as w,aQ as R}from"./BUNb3q2A.js";var T=new Set(["$$slots","$$events","$$legacy","ref","id","child","children"]),U=G("<div><!></div>");function B(f,r){const n=j();if(new.target)return M({component:B,...f});C(r,!0);let s=d(r,"ref",15,null),u=d(r,"id",23,()=>S(n)),o=d(r,"child",7),l=d(r,"children",7),v=A(r,T);const t=O.create({id:w(()=>u()),ref:w(()=>s(),e=>s(e))}),i=z(()=>R(v,t.props));var g={get ref(){return s()},set ref(e=null){s(e),c()},get id(){return u()},set id(e=S(n)){u(e),c()},get child(){return o()},set child(e){o(e),c()},get children(){return l()},set children(e){l(e),c()},$set:P,$on:(e,a)=>W(r,e,a)},m=b(),D=h(m);{var I=e=>{var a=b(),_=h(a);y(_,o,()=>({props:x(i)})),p(e,a)},N=e=>{var a=U();J(a,()=>({...x(i)}));var _=q(a);y(_,()=>l()??E),F(a),p(e,a)};L(D,e=>{o()?e(I):e(N,-1)})}return p(f,m),k(g)}var V=new Set(["$$slots","$$events","$$legacy","ref","class"]);function X(f,r){if(new.target)return M({component:X,...f});C(r,!0);let n=d(r,"ref",15,null),s=d(r,"class",7),u=A(r,V);var o={get ref(){return n()},set ref(t=null){n(t),c()},get class(){return s()},set class(t){s(t),c()},$set:P,$on:(t,i)=>W(r,t,i)},l=b(),v=h(l);{let t=z(()=>K("mx-2.5 my-1.5 border-t border-border",s()));H(v,()=>B,(i,g)=>{g(i,Q({"data-slot":"menu-separator",get class(){return x(t)}},()=>u,{get ref(){return n()},set ref(m){n(m)}}))})}return p(f,l),k(o)}export{X as M};
@@ -1 +1 @@
1
- var g=Object.defineProperty;var v=(h,e,s)=>e in h?g(h,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):h[e]=s;var a=(h,e,s)=>v(h,typeof e!="symbol"?e+"":e,s);import{p as c}from"./B7D3Z-Y4.js";import{applyCustomMonacoTheme as f,revertMonacoTheme as I}from"./vVxVtKpW.js";import{d as y}from"./B0Z-1lwJ.js";import{C1 as r}from"./ByW7bxEK.js";const u="custom-vscode-theme",l="theme-preset-id",d="theme-preset-set",o=typeof window<"u",n=class n{constructor(){a(this,"currentTheme","system");a(this,"fixedDarkAppearance",o&&["dock","dock-annotation","dock-capture-editor"].includes(document.documentElement.dataset.auxiliaryWindow??""));a(this,"mediaQuery",null);a(this,"customTheme",null);a(this,"presetDarkTheme",null);a(this,"presetLightTheme",null);a(this,"appliedCSSVariableKeys",[]);a(this,"activePresetId",null);a(this,"handleSystemThemeChange",()=>{this.currentTheme==="system"&&this.applyTheme()});o&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.loadTheme(),this.setupListeners())}static getInstance(){return n.instance||(n.instance=new n),n.instance}static resetInstance(){n.instance?.dispose(),n.instance=null}loadTheme(){const e=r.getItem("theme");e&&(this.currentTheme=e),this.activePresetId=r.getItem(l);const s=r.getItem(d);if(s)try{const{dark:t,light:i}=JSON.parse(s);this.presetDarkTheme=c(t),this.presetLightTheme=c(i)}catch{r.removeItem(d),this.activePresetId=null,r.removeItem(l)}if(!this.presetDarkTheme){const t=r.getItem(u);if(t)try{const i=JSON.parse(t);this.customTheme=c(i)}catch{r.removeItem(u),this.activePresetId=null,r.removeItem(l)}}this.applyTheme()}setupListeners(){this.mediaQuery&&this.mediaQuery.addEventListener("change",this.handleSystemThemeChange)}dispose(){this.mediaQuery?.removeEventListener("change",this.handleSystemThemeChange),this.mediaQuery=null}setTheme(e,s={}){if(!o)return;const{persist:t=!0}=s;this.currentTheme=e,t&&r.setItem("theme",e),this.applyTheme()}getTheme(){return this.currentTheme}setCustomTheme(e){if(!o)return;const s=c(e);this.customTheme=s,this.activePresetId=null,this.presetDarkTheme=null,this.presetLightTheme=null,r.removeItem(l),r.removeItem(d),r.setJSON(u,e),this.applyTheme()}setPresetTheme(e,s,t){o&&(this.presetDarkTheme=c(s),this.presetLightTheme=c(t),this.activePresetId=e,this.customTheme=null,r.removeItem(u),r.setItem(l,e),r.setJSON(d,{dark:s,light:t}),this.applyTheme())}clearCustomTheme(){o&&(this.customTheme=null,this.presetDarkTheme=null,this.presetLightTheme=null,this.activePresetId=null,r.removeItem(u),r.removeItem(l),r.removeItem(d),this.removeCSSVariableOverrides(),this.applyTheme())}hasCustomTheme(){return this.getActiveTheme()!==null}getCustomThemeName(){return this.getActiveTheme()?.name??null}getActivePresetId(){return this.activePresetId}resolveIsDark(){if(this.fixedDarkAppearance)return!0;const e=this.mediaQuery?.matches??!1;return this.currentTheme==="system"?e:this.currentTheme==="dark"}getActiveTheme(){return this.presetDarkTheme&&this.presetLightTheme?this.resolveIsDark()?this.presetDarkTheme:this.presetLightTheme:this.fixedDarkAppearance&&this.customTheme?.type==="light"?null:this.customTheme}applyTheme(){if(!o)return;const e=document.documentElement,s=this.mediaQuery?.matches??!1,t=this.getActiveTheme(),i=this.isDark();e.classList.remove("dark","light"),e.classList.add(i?"dark":"light"),e.style.setProperty("color-scheme",i?"dark":"light"),t?this.applyCSSVariableOverrides(t.cssVariables):this.removeCSSVariableOverrides(),i&&!s&&!t?e.setAttribute("data-theme-override","true"):e.removeAttribute("data-theme-override");const p=document.querySelector('meta[name="theme-color"]');p&&p.setAttribute("content",i?"#0a0a0a":"#ffffff"),t?f(t.monacoTheme):I(i),y("theme-changed",{theme:this.currentTheme,isDark:i,customThemeName:t?.name??null,activePresetId:this.activePresetId,terminalColors:t?.terminalColors??null})}applyCSSVariableOverrides(e){const s=document.documentElement;this.removeCSSVariableOverrides();const t=[];for(const[i,T]of Object.entries(e))s.style.setProperty(i,T),t.push(i);this.appliedCSSVariableKeys=t}removeCSSVariableOverrides(){const e=document.documentElement;for(const s of this.appliedCSSVariableKeys)e.style.removeProperty(s);this.appliedCSSVariableKeys=[]}toggleTheme(){if(!o)return;const e=["light","dark","system"],t=(e.indexOf(this.currentTheme)+1)%e.length;this.setTheme(e[t])}isDark(){return this.fixedDarkAppearance?!0:this.customTheme?this.customTheme.type==="dark":this.resolveIsDark()}};a(n,"instance",null);let m=n;const E={setTheme:(...h)=>m.getInstance().setTheme(...h),getTheme:()=>m.getInstance().getTheme(),setCustomTheme:(...h)=>m.getInstance().setCustomTheme(...h),setPresetTheme:(...h)=>m.getInstance().setPresetTheme(...h),clearCustomTheme:()=>m.getInstance().clearCustomTheme(),hasCustomTheme:()=>m.getInstance().hasCustomTheme(),getCustomThemeName:()=>m.getInstance().getCustomThemeName(),getActivePresetId:()=>m.getInstance().getActivePresetId(),toggleTheme:()=>m.getInstance().toggleTheme(),isDark:()=>m.getInstance().isDark()};export{m as T,E as t};
1
+ var g=Object.defineProperty;var v=(h,e,s)=>e in h?g(h,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):h[e]=s;var a=(h,e,s)=>v(h,typeof e!="symbol"?e+"":e,s);import{p as c}from"./CCBDeIiF.js";import{applyCustomMonacoTheme as f,revertMonacoTheme as I}from"./B2U6zHXn.js";import{d as y}from"./B0Z-1lwJ.js";import{C1 as r}from"./qD_x_a7m.js";const u="custom-vscode-theme",l="theme-preset-id",d="theme-preset-set",o=typeof window<"u",n=class n{constructor(){a(this,"currentTheme","system");a(this,"fixedDarkAppearance",o&&["dock","dock-annotation","dock-capture-editor"].includes(document.documentElement.dataset.auxiliaryWindow??""));a(this,"mediaQuery",null);a(this,"customTheme",null);a(this,"presetDarkTheme",null);a(this,"presetLightTheme",null);a(this,"appliedCSSVariableKeys",[]);a(this,"activePresetId",null);a(this,"handleSystemThemeChange",()=>{this.currentTheme==="system"&&this.applyTheme()});o&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.loadTheme(),this.setupListeners())}static getInstance(){return n.instance||(n.instance=new n),n.instance}static resetInstance(){n.instance?.dispose(),n.instance=null}loadTheme(){const e=r.getItem("theme");e&&(this.currentTheme=e),this.activePresetId=r.getItem(l);const s=r.getItem(d);if(s)try{const{dark:t,light:i}=JSON.parse(s);this.presetDarkTheme=c(t),this.presetLightTheme=c(i)}catch{r.removeItem(d),this.activePresetId=null,r.removeItem(l)}if(!this.presetDarkTheme){const t=r.getItem(u);if(t)try{const i=JSON.parse(t);this.customTheme=c(i)}catch{r.removeItem(u),this.activePresetId=null,r.removeItem(l)}}this.applyTheme()}setupListeners(){this.mediaQuery&&this.mediaQuery.addEventListener("change",this.handleSystemThemeChange)}dispose(){this.mediaQuery?.removeEventListener("change",this.handleSystemThemeChange),this.mediaQuery=null}setTheme(e,s={}){if(!o)return;const{persist:t=!0}=s;this.currentTheme=e,t&&r.setItem("theme",e),this.applyTheme()}getTheme(){return this.currentTheme}setCustomTheme(e){if(!o)return;const s=c(e);this.customTheme=s,this.activePresetId=null,this.presetDarkTheme=null,this.presetLightTheme=null,r.removeItem(l),r.removeItem(d),r.setJSON(u,e),this.applyTheme()}setPresetTheme(e,s,t){o&&(this.presetDarkTheme=c(s),this.presetLightTheme=c(t),this.activePresetId=e,this.customTheme=null,r.removeItem(u),r.setItem(l,e),r.setJSON(d,{dark:s,light:t}),this.applyTheme())}clearCustomTheme(){o&&(this.customTheme=null,this.presetDarkTheme=null,this.presetLightTheme=null,this.activePresetId=null,r.removeItem(u),r.removeItem(l),r.removeItem(d),this.removeCSSVariableOverrides(),this.applyTheme())}hasCustomTheme(){return this.getActiveTheme()!==null}getCustomThemeName(){return this.getActiveTheme()?.name??null}getActivePresetId(){return this.activePresetId}resolveIsDark(){if(this.fixedDarkAppearance)return!0;const e=this.mediaQuery?.matches??!1;return this.currentTheme==="system"?e:this.currentTheme==="dark"}getActiveTheme(){return this.presetDarkTheme&&this.presetLightTheme?this.resolveIsDark()?this.presetDarkTheme:this.presetLightTheme:this.fixedDarkAppearance&&this.customTheme?.type==="light"?null:this.customTheme}applyTheme(){if(!o)return;const e=document.documentElement,s=this.mediaQuery?.matches??!1,t=this.getActiveTheme(),i=this.isDark();e.classList.remove("dark","light"),e.classList.add(i?"dark":"light"),e.style.setProperty("color-scheme",i?"dark":"light"),t?this.applyCSSVariableOverrides(t.cssVariables):this.removeCSSVariableOverrides(),i&&!s&&!t?e.setAttribute("data-theme-override","true"):e.removeAttribute("data-theme-override");const p=document.querySelector('meta[name="theme-color"]');p&&p.setAttribute("content",i?"#0a0a0a":"#ffffff"),t?f(t.monacoTheme):I(i),y("theme-changed",{theme:this.currentTheme,isDark:i,customThemeName:t?.name??null,activePresetId:this.activePresetId,terminalColors:t?.terminalColors??null})}applyCSSVariableOverrides(e){const s=document.documentElement;this.removeCSSVariableOverrides();const t=[];for(const[i,T]of Object.entries(e))s.style.setProperty(i,T),t.push(i);this.appliedCSSVariableKeys=t}removeCSSVariableOverrides(){const e=document.documentElement;for(const s of this.appliedCSSVariableKeys)e.style.removeProperty(s);this.appliedCSSVariableKeys=[]}toggleTheme(){if(!o)return;const e=["light","dark","system"],t=(e.indexOf(this.currentTheme)+1)%e.length;this.setTheme(e[t])}isDark(){return this.fixedDarkAppearance?!0:this.customTheme?this.customTheme.type==="dark":this.resolveIsDark()}};a(n,"instance",null);let m=n;const E={setTheme:(...h)=>m.getInstance().setTheme(...h),getTheme:()=>m.getInstance().getTheme(),setCustomTheme:(...h)=>m.getInstance().setCustomTheme(...h),setPresetTheme:(...h)=>m.getInstance().setPresetTheme(...h),clearCustomTheme:()=>m.getInstance().clearCustomTheme(),hasCustomTheme:()=>m.getInstance().hasCustomTheme(),getCustomThemeName:()=>m.getInstance().getCustomThemeName(),getActivePresetId:()=>m.getInstance().getActivePresetId(),toggleTheme:()=>m.getInstance().toggleTheme(),isDark:()=>m.getInstance().isDark()};export{m as T,E as t};
@@ -1 +1 @@
1
- import{I_ as o,nM as d,nL as n,oD as i,bl as a,rX as S,ps as p,oA as k}from"./ByW7bxEK.js";import{bl as g,b4 as m,dP as v,dC as W,c as h,cR as I,cc as R}from"./D8JHIZfM.js";const w={status:"loading",members:[]},u=o.createSelector(e=>d(e.guestSessions.sessions)),K=o.createSelector(e=>e.guestSessions.hasReceivedList),l=o.createSelector(e=>n(e.guestSessions.sessions,e.connections.windowBackendId)??null);o.createSelector(e=>l.select(e)!==null);const M=o.createSelector(e=>e.guestSessions.openIds),F=o.createSelector(e=>e.guestSessions.connectedIds),P=o.createSelector(e=>e.guestSessions.leavingIds),O=o.createSelector(e=>e.guestSessions.leavingWorkspaceKeys),x=o.createSelector(e=>u.select(e).filter(s=>e.guestSessions.failedLeaveIds.includes(s.id))),A=o.createSelector(e=>u.select(e).flatMap(s=>(s.workspaces??[]).filter(t=>e.guestSessions.failedLeaveWorkspaceKeys.includes(i(s.id,t.id))).map(t=>({session:s,workspace:t})))),B=o.createSelector(e=>e.guestSessions.failedLeaveIds),N=o.createSelector(e=>d(e.guestSessions.sweepReports)),_=o.createSelector((e,s)=>n(e.guestSessions.sweepReports,s)),$=o.createSelector(e=>e.guestSessions.clearingWorkspaceIds),j=o.createSelector((e,s)=>n(e.workspace.workspaces,a(s))!==void 0),L=o.createSelector((e,s)=>e.guestSessions.hostedRosters[s]?.status==="withheld"?!1:n(e.workspace.workspaces,a(s))!==void 0&&g.select(e)&&m.select(e,s)),b=o.createSelector((e,s)=>{const t=n(e.workspace.workspaces,a(s));if(t?.openInviteCount!=null)return t.openInviteCount;const c=e.guestSessions.hostedRosters[s];return c?.guestCount!=null?Math.max(0,c.guestCount-c.members.filter(S).length):null}),D=o.createSelector(e=>e.workspace.error?"error":v.select(e,e.connections.windowBackendId)?"loaded":"loading"),E=o.createSelector(e=>{const s=W.select(e);return d(e.workspace.workspaces).filter(t=>{if(!s.collaborationReady||!h(s,t.id,()=>t))return!1;const c=b.select(e,t.id);if((t.memberCount??1/0)<=1&&c===0)return!1;const r=e.guestSessions.hostedRosters[t.id];return!r||r.status!=="loaded"?!0:r.members.some(S)||c===null||c>0})}),f=o.createSelector(e=>{const s=l.select(e),t=I.select(e);return u.select(e).filter(c=>{const r=s?.id===c.id&&t?.principal.id===c.principalId?R.select(e):null;return r?r!=="guest":c.hostRole==="member"})}),J=o.createSelector(e=>{const s=new Set(f.select(e).map(t=>t.id));return u.select(e).filter(t=>!s.has(t.id))}),U=o.createSelector(e=>e.guestSessions.listUnavailable),y=o.createSelector((e,s)=>e.guestSessions.hostedRosters[s]??w),q=o.createSelector((e,s)=>y.select(e,s).members.filter(t=>e.guestSessions.failedMemberKeys.includes(p(s,t.principalId)))),C=[],z=o.createSelector((e,s)=>{const t=p(s,""),c=e.guestSessions.removingMemberKeys.filter(r=>r.startsWith(t)).map(r=>r.slice(t.length));return c.length===0?C:c}),T=o.createSelector((e,s)=>e.guestSessions.clearingWorkspaceIds.includes(s)),V=o.createSelector(e=>{const s=[];for(const[t,c]of Object.entries(e.guestSessions.hostedRosters)){if(c.status==="withheld")continue;const r=n(e.workspace.workspaces,a(t));!r||!L.select(e,t)||s.push(`${t}:${r.memberCount??0},${c.invalidation??0}`)}return s.sort()}),X=o.createSelector(e=>e.guestSessions.inheritedWorkspaceKeys),Q=o.createSelector(e=>e.guestSessions.leaveConfirmations),Y=o.createSelector((e,s)=>k(n(e.guestSessions.sessions,s))),Z=o.createSelector((e,s)=>{if(!s||!g.select(e))return!1;const t=l.select(e);return!t||!(t.workspaces??[]).some(c=>c.id===s)||f.select(e).some(c=>c.id===t.id)||e.guestSessions.inheritedWorkspaceKeys.includes(i(t.id,s))?!1:n(e.workspace.workspaces,a(s))?.myRole!=="owner"}),ee=o.createSelector((e,s)=>{const t=l.select(e);return!!t&&e.guestSessions.selfLeaveWorkspaceKeys.includes(i(t.id,s))}),se=o.createSelector((e,s)=>{const t=l.select(e);return!!t&&e.guestSessions.leavingWorkspaceKeys.includes(i(t.id,s))});export{j as A,se as B,ee as C,f as D,J as E,l as F,L as a,x as b,A as c,Q as d,B as e,P as f,O as g,Y as h,u as i,F as j,K as k,M as l,U as m,$ as n,q as o,b as p,z as q,y as r,Z as s,V as t,D as u,_ as v,N as w,E as x,X as y,T as z};
1
+ import{I_ as o,nM as d,nL as n,oD as i,bl as a,rX as S,ps as p,oA as k}from"./qD_x_a7m.js";import{bl as g,b4 as m,dP as v,dC as W,c as h,cR as I,cc as R}from"./Dqi9bJNf.js";const w={status:"loading",members:[]},u=o.createSelector(e=>d(e.guestSessions.sessions)),K=o.createSelector(e=>e.guestSessions.hasReceivedList),l=o.createSelector(e=>n(e.guestSessions.sessions,e.connections.windowBackendId)??null);o.createSelector(e=>l.select(e)!==null);const M=o.createSelector(e=>e.guestSessions.openIds),F=o.createSelector(e=>e.guestSessions.connectedIds),P=o.createSelector(e=>e.guestSessions.leavingIds),O=o.createSelector(e=>e.guestSessions.leavingWorkspaceKeys),x=o.createSelector(e=>u.select(e).filter(s=>e.guestSessions.failedLeaveIds.includes(s.id))),A=o.createSelector(e=>u.select(e).flatMap(s=>(s.workspaces??[]).filter(t=>e.guestSessions.failedLeaveWorkspaceKeys.includes(i(s.id,t.id))).map(t=>({session:s,workspace:t})))),B=o.createSelector(e=>e.guestSessions.failedLeaveIds),N=o.createSelector(e=>d(e.guestSessions.sweepReports)),_=o.createSelector((e,s)=>n(e.guestSessions.sweepReports,s)),$=o.createSelector(e=>e.guestSessions.clearingWorkspaceIds),j=o.createSelector((e,s)=>n(e.workspace.workspaces,a(s))!==void 0),L=o.createSelector((e,s)=>e.guestSessions.hostedRosters[s]?.status==="withheld"?!1:n(e.workspace.workspaces,a(s))!==void 0&&g.select(e)&&m.select(e,s)),b=o.createSelector((e,s)=>{const t=n(e.workspace.workspaces,a(s));if(t?.openInviteCount!=null)return t.openInviteCount;const c=e.guestSessions.hostedRosters[s];return c?.guestCount!=null?Math.max(0,c.guestCount-c.members.filter(S).length):null}),D=o.createSelector(e=>e.workspace.error?"error":v.select(e,e.connections.windowBackendId)?"loaded":"loading"),E=o.createSelector(e=>{const s=W.select(e);return d(e.workspace.workspaces).filter(t=>{if(!s.collaborationReady||!h(s,t.id,()=>t))return!1;const c=b.select(e,t.id);if((t.memberCount??1/0)<=1&&c===0)return!1;const r=e.guestSessions.hostedRosters[t.id];return!r||r.status!=="loaded"?!0:r.members.some(S)||c===null||c>0})}),f=o.createSelector(e=>{const s=l.select(e),t=I.select(e);return u.select(e).filter(c=>{const r=s?.id===c.id&&t?.principal.id===c.principalId?R.select(e):null;return r?r!=="guest":c.hostRole==="member"})}),J=o.createSelector(e=>{const s=new Set(f.select(e).map(t=>t.id));return u.select(e).filter(t=>!s.has(t.id))}),U=o.createSelector(e=>e.guestSessions.listUnavailable),y=o.createSelector((e,s)=>e.guestSessions.hostedRosters[s]??w),q=o.createSelector((e,s)=>y.select(e,s).members.filter(t=>e.guestSessions.failedMemberKeys.includes(p(s,t.principalId)))),C=[],z=o.createSelector((e,s)=>{const t=p(s,""),c=e.guestSessions.removingMemberKeys.filter(r=>r.startsWith(t)).map(r=>r.slice(t.length));return c.length===0?C:c}),T=o.createSelector((e,s)=>e.guestSessions.clearingWorkspaceIds.includes(s)),V=o.createSelector(e=>{const s=[];for(const[t,c]of Object.entries(e.guestSessions.hostedRosters)){if(c.status==="withheld")continue;const r=n(e.workspace.workspaces,a(t));!r||!L.select(e,t)||s.push(`${t}:${r.memberCount??0},${c.invalidation??0}`)}return s.sort()}),X=o.createSelector(e=>e.guestSessions.inheritedWorkspaceKeys),Q=o.createSelector(e=>e.guestSessions.leaveConfirmations),Y=o.createSelector((e,s)=>k(n(e.guestSessions.sessions,s))),Z=o.createSelector((e,s)=>{if(!s||!g.select(e))return!1;const t=l.select(e);return!t||!(t.workspaces??[]).some(c=>c.id===s)||f.select(e).some(c=>c.id===t.id)||e.guestSessions.inheritedWorkspaceKeys.includes(i(t.id,s))?!1:n(e.workspace.workspaces,a(s))?.myRole!=="owner"}),ee=o.createSelector((e,s)=>{const t=l.select(e);return!!t&&e.guestSessions.selfLeaveWorkspaceKeys.includes(i(t.id,s))}),se=o.createSelector((e,s)=>{const t=l.select(e);return!!t&&e.guestSessions.leavingWorkspaceKeys.includes(i(t.id,s))});export{j as A,se as B,ee as C,f as D,J as E,l as F,L as a,x as b,A as c,Q as d,B as e,P as f,O as g,Y as h,u as i,F as j,K as k,M as l,U as m,$ as n,q as o,b as p,z as q,y as r,Z as s,V as t,D as u,_ as v,N as w,E as x,X as y,T as z};
@@ -1,4 +1,4 @@
1
- import{p as I}from"./ByQw5PSS.js";import{aZ as _,U as E,Y as F,b0 as D,V as P,a_ as z,b as c,aX as G,r as B,q as w,W as C,O as W,ay as b,a6 as V,B as H}from"./wsJnb2w5.js";import{p as U}from"./BLN77Nun.js";var m={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"},y=32,A={axes:[],curves:[],options:m},x=structuredClone(A),X=W.radar,j=c(()=>w({...X,...C().radar}),"getConfig"),M=c(()=>x.axes,"getAxes"),Y=c(()=>x.curves,"getCurves"),Z=c(()=>x.options,"getOptions"),q=c(a=>{x.axes=a.map(t=>({name:t.name,label:t.label??t.name}))},"setAxes"),K=c(a=>{x.curves=a.map(t=>({name:t.name,label:t.label??t.name,entries:N(t.entries)}))},"setCurves"),N=c(a=>{if(a[0].axis==null)return a.map(e=>e.value);const t=M();if(t.length===0)throw new Error("Axes must be populated before curves for reference entries");return t.map(e=>{const r=a.find(s=>s.axis?.$refText===e.name);if(r===void 0)throw new Error("Missing entry for axis "+e.label);return r.value})},"computeCurveEntries"),J=c(a=>{const t=a.reduce((e,r)=>(e[r.name]=r,e),{});x.options={showLegend:t.showLegend?.value??m.showLegend,ticks:t.ticks?.value??m.ticks,max:t.max?.value??m.max,min:t.min?.value??m.min,graticule:t.graticule?.value??m.graticule},x.options.ticks>y&&(b.warn(`Radar diagram ticks (${x.options.ticks}) exceeds maximum allowed (${y}). Using ${y} instead.`),x.options.ticks=y)},"setOptions"),Q=c(()=>{B(),x=structuredClone(A)},"clear"),$={getAxes:M,getCurves:Y,getOptions:Z,setAxes:q,setCurves:K,setOptions:J,getConfig:j,clear:Q,setAccTitle:z,getAccTitle:P,setDiagramTitle:D,getDiagramTitle:F,getAccDescription:E,setAccDescription:_},tt=c(a=>{I(a,$);const{axes:t,curves:e,options:r}=a;$.setAxes(t),$.setCurves(e),$.setOptions(r)},"populate"),et={parse:c(async a=>{const t=await U("radar",a);b.debug(t),tt(t)},"parse")},at=c((a,t,e,r)=>{const s=r.db,i=s.getAxes(),l=s.getCurves(),n=s.getOptions(),o=s.getConfig(),d=s.getDiagramTitle(),p=G(t),u=rt(p,o),g=n.max??Math.max(...l.map(f=>Math.max(...f.entries))),h=n.min,v=Math.min(o.width,o.height)/2;st(u,i,v,n.ticks,n.graticule),nt(u,i,v,o),L(u,i,l,h,g,n.graticule,o),k(u,l,n.showLegend,o),u.append("text").attr("class","radarTitle").text(d).attr("x",0).attr("y",-o.height/2-o.marginTop)},"draw"),rt=c((a,t)=>{const e=t.width+t.marginLeft+t.marginRight,r=t.height+t.marginTop+t.marginBottom,s={x:t.marginLeft+t.width/2,y:t.marginTop+t.height/2};return H(a,r,e,t.useMaxWidth??!0),a.attr("viewBox",`0 0 ${e} ${r}`).attr("overflow","visible"),a.append("g").attr("transform",`translate(${s.x}, ${s.y})`)},"drawFrame"),st=c((a,t,e,r,s)=>{if(s==="circle")for(let i=0;i<r;i++){const l=e*(i+1)/r;a.append("circle").attr("r",l).attr("class","radarGraticule")}else if(s==="polygon"){const i=t.length;for(let l=0;l<r;l++){const n=e*(l+1)/r,o=t.map((d,p)=>{const u=2*p*Math.PI/i-Math.PI/2,g=n*Math.cos(u),h=n*Math.sin(u);return`${g},${h}`}).join(" ");a.append("polygon").attr("points",o).attr("class","radarGraticule")}}},"drawGraticule"),nt=c((a,t,e,r)=>{const s=t.length;for(let i=0;i<s;i++){const l=t[i].label,n=2*i*Math.PI/s-Math.PI/2,o=Math.cos(n),d=Math.sin(n);a.append("line").attr("x1",0).attr("y1",0).attr("x2",e*r.axisScaleFactor*o).attr("y2",e*r.axisScaleFactor*d).attr("class","radarAxisLine");const p=o>.01?"start":o<-.01?"end":"middle",u=d>.01?"hanging":d<-.01?"auto":"central",g=4;a.append("text").text(l).attr("x",e*r.axisLabelFactor*o+g*o).attr("y",e*r.axisLabelFactor*d+g*d).attr("text-anchor",p).attr("dominant-baseline",u).attr("class","radarAxisLabel")}},"drawAxes");function L(a,t,e,r,s,i,l){const n=t.length,o=Math.min(l.width,l.height)/2;e.forEach((d,p)=>{if(d.entries.length!==n)return;const u=d.entries.map((g,h)=>{const v=2*Math.PI*h/n-Math.PI/2,f=T(g,r,s,o),O=f*Math.cos(v),R=f*Math.sin(v);return{x:O,y:R}});i==="circle"?a.append("path").attr("d",S(u,l.curveTension)).attr("class",`radarCurve-${p}`):i==="polygon"&&a.append("polygon").attr("points",u.map(g=>`${g.x},${g.y}`).join(" ")).attr("class",`radarCurve-${p}`)})}c(L,"drawCurves");function T(a,t,e,r){const s=Math.min(Math.max(a,t),e);return r*(s-t)/(e-t)}c(T,"relativeRadius");function S(a,t){const e=a.length;let r=`M${a[0].x},${a[0].y}`;for(let s=0;s<e;s++){const i=a[(s-1+e)%e],l=a[s],n=a[(s+1)%e],o=a[(s+2)%e],d={x:l.x+(n.x-i.x)*t,y:l.y+(n.y-i.y)*t},p={x:n.x-(o.x-l.x)*t,y:n.y-(o.y-l.y)*t};r+=` C${d.x},${d.y} ${p.x},${p.y} ${n.x},${n.y}`}return`${r} Z`}c(S,"closedRoundCurve");function k(a,t,e,r){if(!e)return;const s=(r.width/2+r.marginRight)*3/4,i=-(r.height/2+r.marginTop)*3/4,l=20;t.forEach((n,o)=>{const d=a.append("g").attr("transform",`translate(${s}, ${i+o*l})`);d.append("rect").attr("width",12).attr("height",12).attr("class",`radarLegendBox-${o}`),d.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(n.label)})}c(k,"drawLegend");var ot={draw:at},it=c((a,t)=>{let e="";for(let r=0;r<a.THEME_COLOR_LIMIT;r++){const s=a[`cScale${r}`];e+=`
1
+ import{p as I}from"./O-SiHQ6R.js";import{aZ as _,U as E,Y as F,b0 as D,V as P,a_ as z,b as c,aX as G,r as B,q as w,W as C,O as W,ay as b,a6 as V,B as H}from"./DnDBa5Or.js";import{p as U}from"./BeQ5cBZr.js";var m={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"},y=32,A={axes:[],curves:[],options:m},x=structuredClone(A),X=W.radar,j=c(()=>w({...X,...C().radar}),"getConfig"),M=c(()=>x.axes,"getAxes"),Y=c(()=>x.curves,"getCurves"),Z=c(()=>x.options,"getOptions"),q=c(a=>{x.axes=a.map(t=>({name:t.name,label:t.label??t.name}))},"setAxes"),K=c(a=>{x.curves=a.map(t=>({name:t.name,label:t.label??t.name,entries:N(t.entries)}))},"setCurves"),N=c(a=>{if(a[0].axis==null)return a.map(e=>e.value);const t=M();if(t.length===0)throw new Error("Axes must be populated before curves for reference entries");return t.map(e=>{const r=a.find(s=>s.axis?.$refText===e.name);if(r===void 0)throw new Error("Missing entry for axis "+e.label);return r.value})},"computeCurveEntries"),J=c(a=>{const t=a.reduce((e,r)=>(e[r.name]=r,e),{});x.options={showLegend:t.showLegend?.value??m.showLegend,ticks:t.ticks?.value??m.ticks,max:t.max?.value??m.max,min:t.min?.value??m.min,graticule:t.graticule?.value??m.graticule},x.options.ticks>y&&(b.warn(`Radar diagram ticks (${x.options.ticks}) exceeds maximum allowed (${y}). Using ${y} instead.`),x.options.ticks=y)},"setOptions"),Q=c(()=>{B(),x=structuredClone(A)},"clear"),$={getAxes:M,getCurves:Y,getOptions:Z,setAxes:q,setCurves:K,setOptions:J,getConfig:j,clear:Q,setAccTitle:z,getAccTitle:P,setDiagramTitle:D,getDiagramTitle:F,getAccDescription:E,setAccDescription:_},tt=c(a=>{I(a,$);const{axes:t,curves:e,options:r}=a;$.setAxes(t),$.setCurves(e),$.setOptions(r)},"populate"),et={parse:c(async a=>{const t=await U("radar",a);b.debug(t),tt(t)},"parse")},at=c((a,t,e,r)=>{const s=r.db,i=s.getAxes(),l=s.getCurves(),n=s.getOptions(),o=s.getConfig(),d=s.getDiagramTitle(),p=G(t),u=rt(p,o),g=n.max??Math.max(...l.map(f=>Math.max(...f.entries))),h=n.min,v=Math.min(o.width,o.height)/2;st(u,i,v,n.ticks,n.graticule),nt(u,i,v,o),L(u,i,l,h,g,n.graticule,o),k(u,l,n.showLegend,o),u.append("text").attr("class","radarTitle").text(d).attr("x",0).attr("y",-o.height/2-o.marginTop)},"draw"),rt=c((a,t)=>{const e=t.width+t.marginLeft+t.marginRight,r=t.height+t.marginTop+t.marginBottom,s={x:t.marginLeft+t.width/2,y:t.marginTop+t.height/2};return H(a,r,e,t.useMaxWidth??!0),a.attr("viewBox",`0 0 ${e} ${r}`).attr("overflow","visible"),a.append("g").attr("transform",`translate(${s.x}, ${s.y})`)},"drawFrame"),st=c((a,t,e,r,s)=>{if(s==="circle")for(let i=0;i<r;i++){const l=e*(i+1)/r;a.append("circle").attr("r",l).attr("class","radarGraticule")}else if(s==="polygon"){const i=t.length;for(let l=0;l<r;l++){const n=e*(l+1)/r,o=t.map((d,p)=>{const u=2*p*Math.PI/i-Math.PI/2,g=n*Math.cos(u),h=n*Math.sin(u);return`${g},${h}`}).join(" ");a.append("polygon").attr("points",o).attr("class","radarGraticule")}}},"drawGraticule"),nt=c((a,t,e,r)=>{const s=t.length;for(let i=0;i<s;i++){const l=t[i].label,n=2*i*Math.PI/s-Math.PI/2,o=Math.cos(n),d=Math.sin(n);a.append("line").attr("x1",0).attr("y1",0).attr("x2",e*r.axisScaleFactor*o).attr("y2",e*r.axisScaleFactor*d).attr("class","radarAxisLine");const p=o>.01?"start":o<-.01?"end":"middle",u=d>.01?"hanging":d<-.01?"auto":"central",g=4;a.append("text").text(l).attr("x",e*r.axisLabelFactor*o+g*o).attr("y",e*r.axisLabelFactor*d+g*d).attr("text-anchor",p).attr("dominant-baseline",u).attr("class","radarAxisLabel")}},"drawAxes");function L(a,t,e,r,s,i,l){const n=t.length,o=Math.min(l.width,l.height)/2;e.forEach((d,p)=>{if(d.entries.length!==n)return;const u=d.entries.map((g,h)=>{const v=2*Math.PI*h/n-Math.PI/2,f=T(g,r,s,o),O=f*Math.cos(v),R=f*Math.sin(v);return{x:O,y:R}});i==="circle"?a.append("path").attr("d",S(u,l.curveTension)).attr("class",`radarCurve-${p}`):i==="polygon"&&a.append("polygon").attr("points",u.map(g=>`${g.x},${g.y}`).join(" ")).attr("class",`radarCurve-${p}`)})}c(L,"drawCurves");function T(a,t,e,r){const s=Math.min(Math.max(a,t),e);return r*(s-t)/(e-t)}c(T,"relativeRadius");function S(a,t){const e=a.length;let r=`M${a[0].x},${a[0].y}`;for(let s=0;s<e;s++){const i=a[(s-1+e)%e],l=a[s],n=a[(s+1)%e],o=a[(s+2)%e],d={x:l.x+(n.x-i.x)*t,y:l.y+(n.y-i.y)*t},p={x:n.x-(o.x-l.x)*t,y:n.y-(o.y-l.y)*t};r+=` C${d.x},${d.y} ${p.x},${p.y} ${n.x},${n.y}`}return`${r} Z`}c(S,"closedRoundCurve");function k(a,t,e,r){if(!e)return;const s=(r.width/2+r.marginRight)*3/4,i=-(r.height/2+r.marginTop)*3/4,l=20;t.forEach((n,o)=>{const d=a.append("g").attr("transform",`translate(${s}, ${i+o*l})`);d.append("rect").attr("width",12).attr("height",12).attr("class",`radarLegendBox-${o}`),d.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(n.label)})}c(k,"drawLegend");var ot={draw:at},it=c((a,t)=>{let e="";for(let r=0;r<a.THEME_COLOR_LIMIT;r++){const s=a[`cScale${r}`];e+=`
2
2
  .radarCurve-${r} {
3
3
  color: ${s};
4
4
  fill: ${s};
@@ -1 +1 @@
1
- var W=Object.defineProperty;var q=(n,a,r)=>a in n?W(n,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[a]=r;var S=(n,a,r)=>q(n,typeof a!="symbol"?a+"":a,r);import{t as N,bo as f,bw as R,b as T}from"./BfX15qhw.js";import{bs as j,a7 as J,ay as K,W as s,bn as E,aA as g,be as z,b_ as V,aC as l,a5 as D,bS as P,aD as c,bA as I,c9 as y,bl as Q,bO as U}from"./CJxGDkBm.js";import{i as F}from"./CdNWk-Bu.js";import{s as v,f as X,g as Y}from"./DLxYdmRB.js";/* empty css */var Z=l('<g transform="translate(-2 -2)"><path d="M9.958 11.718V16.135M4.658 6.455L7.477 8.082C7.826 8.284 8.264 8.246 8.573 7.986C8.881 7.727 8.995 7.302 8.857 6.924L7.744 3.865M12.172 3.865L11.059 6.924C10.921 7.302 11.035 7.727 11.344 7.986C11.653 8.246 12.091 8.284 12.44 8.082L15.259 6.455M6.014 14.111L8.106 11.618C8.366 11.309 8.404 10.871 8.202 10.522C8.001 10.173 7.602 9.987 7.205 10.057L4 10.622M16 10.622L12.794 10.057C12.397 9.987 11.999 10.173 11.797 10.522C11.596 10.871 11.634 11.309 11.893 11.618L13.985 14.111"></path></g>'),$=l('<path d="M5.333 4.666H6C7.105 4.666 8 5.561 8 6.666V8.333M5.333 11.999H6C7.105 11.999 8 11.104 8 9.999V8.332M10.667 4.666H10C8.896 4.666 8 5.561 8 6.666V8.333M10.667 11.999H10C8.896 11.999 8 11.104 8 9.999V8.332"></path><path d="M3.667 6L2.303 6.963C1.485 7.54 1.451 8.741 2.235 9.363L3.667 10.5M12.334 6L13.698 6.963C14.515 7.54 14.549 8.741 13.766 9.363L12.334 10.5"></path>',1),ee=l('<path d="M3.667 5.75L2.303 6.713C1.485 7.29 1.451 8.491 2.235 9.113L3.667 10.25M12.334 5.75L13.698 6.713C14.515 7.29 14.549 8.491 13.765 9.113L12.334 10.25M5.5 7.756L6.441 9.688C6.818 10.46 7.928 10.43 8.262 9.638L10.5 4.333"></path>'),ae=l('<rect x="6.333" y="6.333" width="3.334" height="3.334" rx="0.334"></rect><path d="M9 3H11C12.105 3 13 3.895 13 5V7M9 13H11C12.105 13 13 12.105 13 11V9M7 3H5C3.895 3 3 3.895 3 5V7M7 13H5C3.895 13 3 12.105 3 11V9"></path>',1),re=l('<g transform="translate(1 4.468)"><path d="M4 .543L1.636 2.212C.818 2.789.784 3.99 1.568 4.612L4 6.543M10 .543L12.364 2.212C13.182 2.789 13.216 3.99 12.432 4.612L10 6.543"></path><circle cx="7" cy="3.543" r="1.25" fill="currentColor" stroke="none"></circle></g>'),te=l('<g transform="translate(.5 4)"><path d="M10 7.665H5M10 4.165H5M10 .665H5M3 2.165L1.636 3.128C.818 3.705.784 4.906 1.568 5.528L3 6.665M12 2.165L13.364 3.128C14.182 3.705 14.216 4.906 13.432 5.528L12 6.665"></path></g>'),ne=l('<g transform="translate(1 3)"><path d="M7 0V10M4 2L1.636 3.669C.818 4.246.784 5.447 1.568 6.069L4 8M10 2L12.364 3.669C13.182 4.246 13.216 5.447 12.432 6.069L10 8"></path></g>'),ie=l('<g transform="translate(1 5.335)"><path d="M6 2.665H8M0 2.665H2M12 2.665H14"></path><circle cx="4" cy="2.665" r="2"></circle><circle cx="10" cy="2.665" r="2"></circle></g>'),se=l('<g><path d="M2 5.665L3.62 1.461C3.788.982 4.219.665 4.7.665C5.183.665 5.616.98 5.79 1.457L6.043 2.154C6.363 3.038 7.616 3.031 7.926 2.144L8.165 1.461C8.333.982 8.764.665 9.246.665C9.729.665 10.162.98 10.335 1.457L12 5.665M0 5.665H14"></path><circle cx="4.5" cy="8.915" r="1.25" fill="currentColor" stroke="none"></circle><circle cx="9.5" cy="8.915" r="1.25" fill="currentColor" stroke="none"></circle></g>'),oe=l('<g transform="translate(1 3.085)"><path d="M2 5.665L3.62 1.461C3.788.982 4.219.665 4.7.665C5.183.665 5.616.98 5.79 1.457L6.043 2.154C6.363 3.038 7.616 3.031 7.926 2.144L8.165 1.461C8.333.982 8.764.665 9.246.665C9.729.665 10.162.98 10.335 1.457L12 5.665M0 5.665H14M4 9.165H10"></path></g>'),le=l('<path d="M13 4.5L10.636 6.169C9.818 6.746 9.784 7.947 10.568 8.569L13 10.5M3 4.5L5.364 6.169C6.182 6.746 6.216 7.947 5.432 8.569L3 10.5M6 11.5H10"></path>'),ce=l('<g transform="translate(4 6.5)" fill="currentColor" stroke="none"><circle cx="1.5" cy="1.5" r="1.5"></circle><circle cx="6.5" cy="1.5" r="1.5"></circle></g>');function G(n,a){if(new.target)return N({component:G,...n});j(a,!0);let r=f(a,"design",7);var u={get design(){return r()},set design(e){r(e),g()},$set:R,$on:(e,t)=>T(a,e,t)},h=J(),M=K(h);{var p=e=>{var t=Z();s(e,t)},m=e=>{var t=$();z(),s(e,t)},_=e=>{var t=ee();s(e,t)},d=e=>{var t=ae();z(),s(e,t)},b=e=>{var t=re();s(e,t)},C=e=>{var t=te();s(e,t)},L=e=>{var t=ne();s(e,t)},A=e=>{var t=ie();s(e,t)},o=e=>{var t=se();V(()=>v(t,"transform",r()==="fallback-crown"?"translate(1 2.918)":"translate(1 13.082) scale(1 -1)")),s(e,t)},w=e=>{var t=oe();s(e,t)},k=e=>{var t=le();s(e,t)},H=e=>{var t=ce();s(e,t)};F(M,e=>{r()==="coordinator"?e(p):r()==="implementor"?e(m,1):r()==="verifier"?e(_,2):r()==="pr-reviewer"?e(d,3):r()==="ui-designer"?e(b,4):r()==="chief-of-staff"?e(C,5):r()==="ralph"?e(L,6):r()==="fallback-glasses"?e(A,7):r()==="fallback-crown"||r()==="fallback-crown-inverted"?e(o,8):r()==="fallback-crown-mouth"?e(w,9):r()==="fallback-code"?e(k,10):e(H,-1)})}return s(n,h),E(u)}function de(n){let a=0;if(n.length===0)return a;for(let r=0;r<n.length;r++){const u=n.charCodeAt(r);a=(a<<5)-a+u,a=a&a}return Math.abs(a)}class fe{constructor(a){S(this,"seed");this.seed=a}next(){return this.seed=this.seed*1103515245+12345&2147483647,this.seed/2147483648}pick(a){if(a.length===0)throw new Error("Cannot pick from empty array");const r=Math.floor(this.next()*a.length);return a[r]}nextInt(a){return Math.floor(this.next()*a)}}function ge(n){return new fe(de(n))}const ve=["fallback-glasses","fallback-crown","fallback-crown-inverted","fallback-crown-mouth","fallback-code","fallback-dots"],ue=["coordinator","implementor","verifier","pr-reviewer","ui-designer","chief-of-staff","ralph"],he={coordinator:"coordinator","spec-writer":"coordinator",implementor:"implementor",verifier:"verifier",developer:"verifier","product-manager":"coordinator","maintenance-coordinator":"ralph","pr-reviewer":"pr-reviewer","ui-designer":"ui-designer","chief-of-staff":"chief-of-staff",ralph:"ralph"};function pe(n){return ge(n).pick([...ve])}function me(n){return ue.includes(n)}function Ce(n,a,r){return r&&me(r)?r:he[a??""]??pe(n)}const Le={compact:{surface:16,art:14,clearSpace:1,radius:5,ring:1,overlap:4},standard:{surface:20,art:16,clearSpace:2,radius:6,ring:1,overlap:5},emphasized:{surface:24,art:20,clearSpace:2,radius:7,ring:1,overlap:6},"card-stack":{surface:24,art:20,clearSpace:2,radius:7,ring:1,overlap:6},prominent:{surface:40,art:32,clearSpace:4,radius:12,ring:2,overlap:8}},B="standard";var Me=l("<title> </title>"),_e=l('<svg viewBox="0 0 16 16" fill="none" overflow="hidden" xmlns="http://www.w3.org/2000/svg" focusable="false" data-agent-avatar=""><!><g fill="none" stroke="currentColor" stroke-width="1.33" stroke-linecap="butt" stroke-linejoin="miter"><!></g></svg>');function be(n,a){if(new.target)return N({component:be,...n});j(a,!0);let r=f(a,"agentId",7,""),u=f(a,"specialist",7,null),h=f(a,"icon",7,null),M=f(a,"provider",7,void 0),p=f(a,"variant",7,B),m=f(a,"size",7,void 0),_=f(a,"class",7,""),d=f(a,"ariaLabel",7,void 0);const b=y(()=>(M(),Ce(r(),u(),h()))),C=y(()=>m()??Le[p()].surface),L=y(()=>m()===void 0);var A={get agentId(){return r()},set agentId(i=""){r(i),g()},get specialist(){return u()},set specialist(i=null){u(i),g()},get icon(){return h()},set icon(i=null){h(i),g()},get provider(){return M()},set provider(i=void 0){M(i),g()},get variant(){return p()},set variant(i=B){p(i),g()},get size(){return m()},set size(i=void 0){m(i),g()},get class(){return _()},set class(i=""){_(i),g()},get ariaLabel(){return d()},set ariaLabel(i=void 0){d(i),g()},$set:R,$on:(i,x)=>T(a,i,x)},o=_e();let w;var k=D(o);{var H=i=>{var x=Me(),O=Q(x,!0);V(()=>U(O,d())),s(i,x)};F(k,i=>{d()&&i(H)})}var e=P(k),t=D(e);return G(t,{get design(){return c(b)}}),I(e),I(o),V(()=>{v(o,"width",c(C)),v(o,"height",c(C)),X(o,0,`agent-avatar agent-avatar--${c(L)?"named":"legacy"} ${_()??""}`,"svelte-1vi6z9y"),v(o,"role",d()?"img":void 0),v(o,"aria-label",d()),v(o,"aria-hidden",d()?void 0:"true"),v(o,"data-avatar-variant",c(L)?p():void 0),v(o,"data-avatar-design",c(b)),w=Y(o,"",w,{width:c(L)?void 0:`${c(C)}px`,height:c(L)?void 0:`${c(C)}px`})}),s(n,o),E(A)}export{be as A,Le as a,B as d};
1
+ var W=Object.defineProperty;var q=(n,a,r)=>a in n?W(n,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[a]=r;var S=(n,a,r)=>q(n,typeof a!="symbol"?a+"":a,r);import{t as N,bo as f,bw as R,b as T}from"./CDNiWmce.js";import{bs as j,a7 as J,ay as K,W as s,bn as E,aA as g,be as z,b_ as V,aC as l,a5 as D,bS as P,aD as c,bA as I,c9 as y,bl as Q,bO as U}from"./CJxGDkBm.js";import{i as F}from"./DEHoDrdd.js";import{s as v,f as X,g as Y}from"./J1LWsTd9.js";/* empty css */var Z=l('<g transform="translate(-2 -2)"><path d="M9.958 11.718V16.135M4.658 6.455L7.477 8.082C7.826 8.284 8.264 8.246 8.573 7.986C8.881 7.727 8.995 7.302 8.857 6.924L7.744 3.865M12.172 3.865L11.059 6.924C10.921 7.302 11.035 7.727 11.344 7.986C11.653 8.246 12.091 8.284 12.44 8.082L15.259 6.455M6.014 14.111L8.106 11.618C8.366 11.309 8.404 10.871 8.202 10.522C8.001 10.173 7.602 9.987 7.205 10.057L4 10.622M16 10.622L12.794 10.057C12.397 9.987 11.999 10.173 11.797 10.522C11.596 10.871 11.634 11.309 11.893 11.618L13.985 14.111"></path></g>'),$=l('<path d="M5.333 4.666H6C7.105 4.666 8 5.561 8 6.666V8.333M5.333 11.999H6C7.105 11.999 8 11.104 8 9.999V8.332M10.667 4.666H10C8.896 4.666 8 5.561 8 6.666V8.333M10.667 11.999H10C8.896 11.999 8 11.104 8 9.999V8.332"></path><path d="M3.667 6L2.303 6.963C1.485 7.54 1.451 8.741 2.235 9.363L3.667 10.5M12.334 6L13.698 6.963C14.515 7.54 14.549 8.741 13.766 9.363L12.334 10.5"></path>',1),ee=l('<path d="M3.667 5.75L2.303 6.713C1.485 7.29 1.451 8.491 2.235 9.113L3.667 10.25M12.334 5.75L13.698 6.713C14.515 7.29 14.549 8.491 13.765 9.113L12.334 10.25M5.5 7.756L6.441 9.688C6.818 10.46 7.928 10.43 8.262 9.638L10.5 4.333"></path>'),ae=l('<rect x="6.333" y="6.333" width="3.334" height="3.334" rx="0.334"></rect><path d="M9 3H11C12.105 3 13 3.895 13 5V7M9 13H11C12.105 13 13 12.105 13 11V9M7 3H5C3.895 3 3 3.895 3 5V7M7 13H5C3.895 13 3 12.105 3 11V9"></path>',1),re=l('<g transform="translate(1 4.468)"><path d="M4 .543L1.636 2.212C.818 2.789.784 3.99 1.568 4.612L4 6.543M10 .543L12.364 2.212C13.182 2.789 13.216 3.99 12.432 4.612L10 6.543"></path><circle cx="7" cy="3.543" r="1.25" fill="currentColor" stroke="none"></circle></g>'),te=l('<g transform="translate(.5 4)"><path d="M10 7.665H5M10 4.165H5M10 .665H5M3 2.165L1.636 3.128C.818 3.705.784 4.906 1.568 5.528L3 6.665M12 2.165L13.364 3.128C14.182 3.705 14.216 4.906 13.432 5.528L12 6.665"></path></g>'),ne=l('<g transform="translate(1 3)"><path d="M7 0V10M4 2L1.636 3.669C.818 4.246.784 5.447 1.568 6.069L4 8M10 2L12.364 3.669C13.182 4.246 13.216 5.447 12.432 6.069L10 8"></path></g>'),ie=l('<g transform="translate(1 5.335)"><path d="M6 2.665H8M0 2.665H2M12 2.665H14"></path><circle cx="4" cy="2.665" r="2"></circle><circle cx="10" cy="2.665" r="2"></circle></g>'),se=l('<g><path d="M2 5.665L3.62 1.461C3.788.982 4.219.665 4.7.665C5.183.665 5.616.98 5.79 1.457L6.043 2.154C6.363 3.038 7.616 3.031 7.926 2.144L8.165 1.461C8.333.982 8.764.665 9.246.665C9.729.665 10.162.98 10.335 1.457L12 5.665M0 5.665H14"></path><circle cx="4.5" cy="8.915" r="1.25" fill="currentColor" stroke="none"></circle><circle cx="9.5" cy="8.915" r="1.25" fill="currentColor" stroke="none"></circle></g>'),oe=l('<g transform="translate(1 3.085)"><path d="M2 5.665L3.62 1.461C3.788.982 4.219.665 4.7.665C5.183.665 5.616.98 5.79 1.457L6.043 2.154C6.363 3.038 7.616 3.031 7.926 2.144L8.165 1.461C8.333.982 8.764.665 9.246.665C9.729.665 10.162.98 10.335 1.457L12 5.665M0 5.665H14M4 9.165H10"></path></g>'),le=l('<path d="M13 4.5L10.636 6.169C9.818 6.746 9.784 7.947 10.568 8.569L13 10.5M3 4.5L5.364 6.169C6.182 6.746 6.216 7.947 5.432 8.569L3 10.5M6 11.5H10"></path>'),ce=l('<g transform="translate(4 6.5)" fill="currentColor" stroke="none"><circle cx="1.5" cy="1.5" r="1.5"></circle><circle cx="6.5" cy="1.5" r="1.5"></circle></g>');function G(n,a){if(new.target)return N({component:G,...n});j(a,!0);let r=f(a,"design",7);var u={get design(){return r()},set design(e){r(e),g()},$set:R,$on:(e,t)=>T(a,e,t)},h=J(),M=K(h);{var p=e=>{var t=Z();s(e,t)},m=e=>{var t=$();z(),s(e,t)},_=e=>{var t=ee();s(e,t)},d=e=>{var t=ae();z(),s(e,t)},b=e=>{var t=re();s(e,t)},C=e=>{var t=te();s(e,t)},L=e=>{var t=ne();s(e,t)},A=e=>{var t=ie();s(e,t)},o=e=>{var t=se();V(()=>v(t,"transform",r()==="fallback-crown"?"translate(1 2.918)":"translate(1 13.082) scale(1 -1)")),s(e,t)},w=e=>{var t=oe();s(e,t)},k=e=>{var t=le();s(e,t)},H=e=>{var t=ce();s(e,t)};F(M,e=>{r()==="coordinator"?e(p):r()==="implementor"?e(m,1):r()==="verifier"?e(_,2):r()==="pr-reviewer"?e(d,3):r()==="ui-designer"?e(b,4):r()==="chief-of-staff"?e(C,5):r()==="ralph"?e(L,6):r()==="fallback-glasses"?e(A,7):r()==="fallback-crown"||r()==="fallback-crown-inverted"?e(o,8):r()==="fallback-crown-mouth"?e(w,9):r()==="fallback-code"?e(k,10):e(H,-1)})}return s(n,h),E(u)}function de(n){let a=0;if(n.length===0)return a;for(let r=0;r<n.length;r++){const u=n.charCodeAt(r);a=(a<<5)-a+u,a=a&a}return Math.abs(a)}class fe{constructor(a){S(this,"seed");this.seed=a}next(){return this.seed=this.seed*1103515245+12345&2147483647,this.seed/2147483648}pick(a){if(a.length===0)throw new Error("Cannot pick from empty array");const r=Math.floor(this.next()*a.length);return a[r]}nextInt(a){return Math.floor(this.next()*a)}}function ge(n){return new fe(de(n))}const ve=["fallback-glasses","fallback-crown","fallback-crown-inverted","fallback-crown-mouth","fallback-code","fallback-dots"],ue=["coordinator","implementor","verifier","pr-reviewer","ui-designer","chief-of-staff","ralph"],he={coordinator:"coordinator","spec-writer":"coordinator",implementor:"implementor",verifier:"verifier",developer:"verifier","product-manager":"coordinator","maintenance-coordinator":"ralph","pr-reviewer":"pr-reviewer","ui-designer":"ui-designer","chief-of-staff":"chief-of-staff",ralph:"ralph"};function pe(n){return ge(n).pick([...ve])}function me(n){return ue.includes(n)}function Ce(n,a,r){return r&&me(r)?r:he[a??""]??pe(n)}const Le={compact:{surface:16,art:14,clearSpace:1,radius:5,ring:1,overlap:4},standard:{surface:20,art:16,clearSpace:2,radius:6,ring:1,overlap:5},emphasized:{surface:24,art:20,clearSpace:2,radius:7,ring:1,overlap:6},"card-stack":{surface:24,art:20,clearSpace:2,radius:7,ring:1,overlap:6},prominent:{surface:40,art:32,clearSpace:4,radius:12,ring:2,overlap:8}},B="standard";var Me=l("<title> </title>"),_e=l('<svg viewBox="0 0 16 16" fill="none" overflow="hidden" xmlns="http://www.w3.org/2000/svg" focusable="false" data-agent-avatar=""><!><g fill="none" stroke="currentColor" stroke-width="1.33" stroke-linecap="butt" stroke-linejoin="miter"><!></g></svg>');function be(n,a){if(new.target)return N({component:be,...n});j(a,!0);let r=f(a,"agentId",7,""),u=f(a,"specialist",7,null),h=f(a,"icon",7,null),M=f(a,"provider",7,void 0),p=f(a,"variant",7,B),m=f(a,"size",7,void 0),_=f(a,"class",7,""),d=f(a,"ariaLabel",7,void 0);const b=y(()=>(M(),Ce(r(),u(),h()))),C=y(()=>m()??Le[p()].surface),L=y(()=>m()===void 0);var A={get agentId(){return r()},set agentId(i=""){r(i),g()},get specialist(){return u()},set specialist(i=null){u(i),g()},get icon(){return h()},set icon(i=null){h(i),g()},get provider(){return M()},set provider(i=void 0){M(i),g()},get variant(){return p()},set variant(i=B){p(i),g()},get size(){return m()},set size(i=void 0){m(i),g()},get class(){return _()},set class(i=""){_(i),g()},get ariaLabel(){return d()},set ariaLabel(i=void 0){d(i),g()},$set:R,$on:(i,x)=>T(a,i,x)},o=_e();let w;var k=D(o);{var H=i=>{var x=Me(),O=Q(x,!0);V(()=>U(O,d())),s(i,x)};F(k,i=>{d()&&i(H)})}var e=P(k),t=D(e);return G(t,{get design(){return c(b)}}),I(e),I(o),V(()=>{v(o,"width",c(C)),v(o,"height",c(C)),X(o,0,`agent-avatar agent-avatar--${c(L)?"named":"legacy"} ${_()??""}`,"svelte-1vi6z9y"),v(o,"role",d()?"img":void 0),v(o,"aria-label",d()),v(o,"aria-hidden",d()?void 0:"true"),v(o,"data-avatar-variant",c(L)?p():void 0),v(o,"data-avatar-design",c(b)),w=Y(o,"",w,{width:c(L)?void 0:`${c(C)}px`,height:c(L)?void 0:`${c(C)}px`})}),s(n,o),E(A)}export{be as A,Le as a,B as d};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/nPXXKIa-.js","/app/immutable/chunks/CuNeyUoC.js","/app/immutable/chunks/BNXO9e-K.js","/app/immutable/chunks/BfX15qhw.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/-xK_vQQs.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/NuBvLfzz.js","/app/immutable/chunks/EAmw13pe.js","/app/immutable/chunks/1Kd2V6Ma.js","/app/immutable/chunks/lAmQKSWr.js","/app/immutable/chunks/C79wLg62.js","/app/immutable/chunks/CPnsz9Hs.js","/app/immutable/chunks/CiSSCgqR.js","/app/immutable/chunks/DNmf6q32.js","/app/immutable/chunks/D19QUWJk.js","/app/immutable/chunks/Dv_zibKv.js","/app/immutable/chunks/DcS7tCp_.js","/app/immutable/chunks/D8JHIZfM.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/ByW7bxEK.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/C8i00JgJ.js","/app/immutable/chunks/CXq2AoEa.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/C1C8P18t.js","/app/immutable/chunks/CUPNFNnH.js","/app/immutable/chunks/CrrPK0Iv.js","/app/immutable/chunks/CdNWk-Bu.js","/app/immutable/chunks/DLxYdmRB.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/D7W8zNV0.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/Dg1sjsED.js","/app/immutable/chunks/CpbmyPj0.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DOB06fXT.js","/app/immutable/chunks/Dkq3_GD2.js","/app/immutable/chunks/ClcIbYyp.js","/app/immutable/chunks/DEz0iQL-.js","/app/immutable/chunks/Dc2OgodD.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/CZlp_xaa.js","/app/immutable/chunks/BG3WACU1.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/i9nNzXN1.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/CMYgSHYB.js","/app/immutable/chunks/7CZay1T4.js","/app/immutable/chunks/D4rtf9eK.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/ButwRe61.js","/app/immutable/chunks/CZScRu8r.js","/app/immutable/chunks/BV1K6wKe.js","/app/immutable/chunks/7QQiv-wr.js","/app/immutable/chunks/DkPeQV3c.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/CsQLAzr5.js","/app/immutable/chunks/CTiRYanT.js","/app/immutable/chunks/CvFqJ3aj.js","/app/immutable/chunks/Q1GArL_y.js","/app/immutable/chunks/DiuuSzCC.js","/app/immutable/chunks/PtztmcML.js","/app/immutable/chunks/CLD_-K5U.js","/app/immutable/chunks/ByQw5PSS.js","/app/immutable/chunks/BLN77Nun.js","/app/immutable/chunks/DdQ2Ee-5.js","/app/immutable/chunks/PgqRte-r.js","/app/immutable/chunks/0FRtEAk_.js","/app/immutable/chunks/DDy_8zbA.js","/app/immutable/chunks/DGgxtq4s.js","/app/immutable/chunks/Bzd2CMX7.js","/app/immutable/chunks/1MVyJ09_.js","/app/immutable/chunks/zB1IXbXb.js","/app/immutable/chunks/DI85QvsH.js","/app/immutable/chunks/LYm3QdT8.js","/app/immutable/chunks/KkoOm1V0.js","/app/immutable/chunks/2f17jIS_.js","/app/immutable/chunks/_1FSfiRe.js","/app/immutable/chunks/BWX_OVAE.js","/app/immutable/chunks/qdH_r52r.js","/app/immutable/chunks/BVZsZXmm.js","/app/immutable/chunks/BWcEoYRV.js","/app/immutable/chunks/B5jBKY1h.js","/app/immutable/chunks/DnUPJZ7Y.js","/app/immutable/chunks/LSzEWm4Q.js","/app/immutable/chunks/CgeqCnG6.js","/app/immutable/chunks/oxDrPxDU.js","/app/immutable/chunks/DM4O8kyl.js","/app/immutable/chunks/BkDiy3qO.js","/app/immutable/chunks/BQDjmnIn.js","/app/immutable/chunks/DR2SVCXR.js","/app/immutable/chunks/CIu-y8lY.js","/app/immutable/chunks/CVBzfNwe.js","/app/immutable/chunks/DwVWq9Mg.js"])))=>i.map(i=>d[i]);
2
- var lC=Object.defineProperty;var cC=(e,t,r)=>t in e?lC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var xr=(e,t,r)=>cC(e,typeof t!="symbol"?t+"":t,r);import{_ as Ve,t as Oo,bo as He,bm as je,bw as Do,b as Ro,bp as hC}from"./BfX15qhw.js";import{g as dC}from"./BdWqymET.js";import{aR as bs}from"./DcS7tCp_.js";import{b7 as uC,cc as fC,bs as No,a7 as Ko,ay as ui,aD as A,bS as We,be as en,b$ as rl,b_ as cr,bO as br,W as ge,c9 as Dt,bn as qo,aA as _e,aB as ar,bk as hd,bH as gt,ca as Bo,c5 as pl,a5 as qe,bA as $e,bV as ce,bl as Tr,c0 as Th,aC as pi,aw as ml,a as Wu,bj as Np,br as wi,cb as gC,bf as pC}from"./CJxGDkBm.js";import{i as yr}from"./CdNWk-Bu.js";import{h as zu}from"./BigcqNWS.js";import{f as co,s as fe,b as qp,c as Wp,g as Xa}from"./DLxYdmRB.js";import{b as no}from"./NtFyWdpR.js";import{c as mC}from"./ChTqQfQN.js";import{d3 as yC,cV as xC,F as dn,aL as bC,ba as zp,m as CC,n as wC,f as kC,j as SC,x as Hu,u as Yu,h as vC,G as MC,P as TC,s as BC,N as _C,r as LC,k as AC,D as Xu,H as FC,U as $C,aw as EC,ax as PC,aX as IC}from"./CUPNFNnH.js";import{f as Ja,ae as OC}from"./Dc2OgodD.js";import"./Dg1sjsED.js";import{M as DC,Z as RC}from"./9M4Pl7xy.js";import{p as rn,h as NC,d as qC,S as WC,e as zC,g as ya,i as ju}from"./D7W8zNV0.js";import{c as HC}from"./BbIcudMY.js";import{k as Hp}from"./CZlp_xaa.js";import{n as To,h as Gu,t as Is,d as Uu}from"./i9nNzXN1.js";import{c as fa}from"./CrrPK0Iv.js";import{e as YC}from"./D9tcLZ_Y.js";import{t as XC}from"./DAsc1V4f.js";import{s as il}from"./CXq2AoEa.js";import{H as jC}from"./N7qvIOuv.js";import{s as Vu,a as GC}from"./BsieX9dN.js";import{K as UC}from"./epeXa5Nl.js";import{b as VC,a as ZC,M as KC}from"./CIW89ENH.js";import{M as Cc}from"./BghGxAUO.js";import"./Bo32wczA.js";import{u as wo}from"./DEz0iQL-.js";import"./BG3WACU1.js";import"./ByW7bxEK.js";import{bL as QC}from"./ClcIbYyp.js";function JC(e,t){uC(window,["resize"],()=>fC(()=>t(window[e])))}var Yp=Object.defineProperty,C=(e,t)=>Yp(e,"name",{value:t,configurable:!0}),t2=(e,t)=>{for(var r in t)Yp(e,r,{get:t[r],enumerable:!0})};function Xp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}C(Xp,"getDefaultExportFromCjs");var ei={},Pn={},Xo={},Zu;function Ts(){if(Zu)return Xo;Zu=1;function e(s){return typeof s>"u"||s===null}C(e,"isNothing");function t(s){return typeof s=="object"&&s!==null}C(t,"isObject");function r(s){return Array.isArray(s)?s:e(s)?[]:[s]}C(r,"toArray");function i(s,n){if(n){const l=Object.keys(n);for(let c=0,h=l.length;c<h;c+=1){const d=l[c];s[d]=n[d]}}return s}C(i,"extend");function o(s,n){let l="";for(let c=0;c<n;c+=1)l+=s;return l}C(o,"repeat");function a(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}return C(a,"isNegativeZero"),Xo.isNothing=e,Xo.isObject=t,Xo.toArray=r,Xo.repeat=o,Xo.isNegativeZero=a,Xo.extend=i,Xo}C(Ts,"requireCommon");var wc,Ku;function Bs(){if(Ku)return wc;Ku=1;function e(r,i){let o="";const a=r.reason||"(unknown reason)";return r.mark?(r.mark.name&&(o+='in "'+r.mark.name+'" '),o+="("+(r.mark.line+1)+":"+(r.mark.column+1)+")",!i&&r.mark.snippet&&(o+=`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CpUG4uWd.js","/app/immutable/chunks/CyRyIWdG.js","/app/immutable/chunks/DUa7Jvhz.js","/app/immutable/chunks/CDNiWmce.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/-xK_vQQs.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/DK7i7mSH.js","/app/immutable/chunks/C-hb5nbb.js","/app/immutable/chunks/yVGqQrjf.js","/app/immutable/chunks/lAmQKSWr.js","/app/immutable/chunks/CCDDqQJs.js","/app/immutable/chunks/cH4zbEq8.js","/app/immutable/chunks/CQocjKjX.js","/app/immutable/chunks/CqSZC6ch.js","/app/immutable/chunks/C6XOSM-4.js","/app/immutable/chunks/BwsZanfL.js","/app/immutable/chunks/CYKcOC1a.js","/app/immutable/chunks/Dqi9bJNf.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/qD_x_a7m.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/CMQcQe3J.js","/app/immutable/chunks/CThSE8LQ.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/C1C8P18t.js","/app/immutable/chunks/DcR44gq9.js","/app/immutable/chunks/DrLx8OXO.js","/app/immutable/chunks/DEHoDrdd.js","/app/immutable/chunks/J1LWsTd9.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/Ca-5qIPO.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/8VBKAONs.js","/app/immutable/chunks/Qm-MZg2p.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/CfsrLxYu.js","/app/immutable/chunks/CXfsvSt9.js","/app/immutable/chunks/DZtCGZgy.js","/app/immutable/chunks/Bctp9lP7.js","/app/immutable/chunks/BUNb3q2A.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/CXEzZ2hR.js","/app/immutable/chunks/CORIYKie.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/BR6IlpMz.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/CMYgSHYB.js","/app/immutable/chunks/7CZay1T4.js","/app/immutable/chunks/BZMuFhDq.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/BgO8l4RL.js","/app/immutable/chunks/CYP3WRBZ.js","/app/immutable/chunks/M2GCPKoA.js","/app/immutable/chunks/CDSuKhpz.js","/app/immutable/chunks/DvIus6kU.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/D9yIi5KK.js","/app/immutable/chunks/CTiRYanT.js","/app/immutable/chunks/Cyk2Y411.js","/app/immutable/chunks/CFidbeSw.js","/app/immutable/chunks/vf6pveFy.js","/app/immutable/chunks/yQ7GpLm3.js","/app/immutable/chunks/BqGa1t8L.js","/app/immutable/chunks/O-SiHQ6R.js","/app/immutable/chunks/BeQ5cBZr.js","/app/immutable/chunks/DZSVN5v8.js","/app/immutable/chunks/Bxs2oudl.js","/app/immutable/chunks/WvbffGVg.js","/app/immutable/chunks/CH6-PW8d.js","/app/immutable/chunks/Bo-zVBuZ.js","/app/immutable/chunks/awTIGLLj.js","/app/immutable/chunks/D67FZ5Lv.js","/app/immutable/chunks/CrgKt6cz.js","/app/immutable/chunks/Ch4PqakC.js","/app/immutable/chunks/yyRLwoJz.js","/app/immutable/chunks/DxFZ9gq2.js","/app/immutable/chunks/C8b1hAiZ.js","/app/immutable/chunks/CQBcB58U.js","/app/immutable/chunks/ByTn8oHf.js","/app/immutable/chunks/BV4hVkqh.js","/app/immutable/chunks/Dk5qPA5a.js","/app/immutable/chunks/BKSdTbM0.js","/app/immutable/chunks/ETRy7Ggy.js","/app/immutable/chunks/BBeX3tt3.js","/app/immutable/chunks/DyYAxHE8.js","/app/immutable/chunks/D7niCCgo.js","/app/immutable/chunks/KilK2UOM.js","/app/immutable/chunks/bP8UGzws.js","/app/immutable/chunks/D7WbMK4o.js","/app/immutable/chunks/stD6q5ZD.js","/app/immutable/chunks/CLG5hs6R.js","/app/immutable/chunks/wAO5YQrd.js","/app/immutable/chunks/D2NUq8UU.js","/app/immutable/chunks/BSiWAL4B.js"])))=>i.map(i=>d[i]);
2
+ var lC=Object.defineProperty;var cC=(e,t,r)=>t in e?lC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var xr=(e,t,r)=>cC(e,typeof t!="symbol"?t+"":t,r);import{_ as Ve,t as Oo,bo as He,bm as je,bw as Do,b as Ro,bp as hC}from"./CDNiWmce.js";import{g as dC}from"./BdWqymET.js";import{aR as bs}from"./CYKcOC1a.js";import{b7 as uC,cc as fC,bs as No,a7 as Ko,ay as ui,aD as A,bS as We,be as en,b$ as rl,b_ as cr,bO as br,W as ge,c9 as Dt,bn as qo,aA as _e,aB as ar,bk as hd,bH as gt,ca as Bo,c5 as pl,a5 as qe,bA as $e,bV as ce,bl as Tr,c0 as Th,aC as pi,aw as ml,a as Wu,bj as Np,br as wi,cb as gC,bf as pC}from"./CJxGDkBm.js";import{i as yr}from"./DEHoDrdd.js";import{h as zu}from"./BigcqNWS.js";import{f as co,s as fe,b as qp,c as Wp,g as Xa}from"./J1LWsTd9.js";import{b as no}from"./NtFyWdpR.js";import{c as mC}from"./ChTqQfQN.js";import{d3 as yC,cV as xC,F as dn,aL as bC,ba as zp,m as CC,n as wC,f as kC,j as SC,x as Hu,u as Yu,h as vC,G as MC,P as TC,s as BC,N as _C,r as LC,k as AC,D as Xu,H as FC,U as $C,aw as EC,ax as PC,aX as IC}from"./DcR44gq9.js";import{f as Ja,ae as OC}from"./BUNb3q2A.js";import"./8VBKAONs.js";import{M as DC,Z as RC}from"./dqo-Nkop.js";import{p as rn,h as NC,d as qC,S as WC,e as zC,g as ya,i as ju}from"./Ca-5qIPO.js";import{c as HC}from"./BbIcudMY.js";import{k as Hp}from"./CXEzZ2hR.js";import{n as To,h as Gu,t as Is,d as Uu}from"./BR6IlpMz.js";import{c as fa}from"./DrLx8OXO.js";import{e as YC}from"./Qb3uerTr.js";import{t as XC}from"./DAsc1V4f.js";import{s as il}from"./CThSE8LQ.js";import{H as jC}from"./W_r4iRxt.js";import{s as Vu,a as GC}from"./BsieX9dN.js";import{K as UC}from"./DYaRWcpg.js";import{b as VC,a as ZC,M as KC}from"./ZTWlL5zM.js";import{M as Cc}from"./C1o3spBY.js";import"./DFNql_nS.js";import{u as wo}from"./Bctp9lP7.js";import"./CORIYKie.js";import"./qD_x_a7m.js";import{bL as QC}from"./DZtCGZgy.js";function JC(e,t){uC(window,["resize"],()=>fC(()=>t(window[e])))}var Yp=Object.defineProperty,C=(e,t)=>Yp(e,"name",{value:t,configurable:!0}),t2=(e,t)=>{for(var r in t)Yp(e,r,{get:t[r],enumerable:!0})};function Xp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}C(Xp,"getDefaultExportFromCjs");var ei={},Pn={},Xo={},Zu;function Ts(){if(Zu)return Xo;Zu=1;function e(s){return typeof s>"u"||s===null}C(e,"isNothing");function t(s){return typeof s=="object"&&s!==null}C(t,"isObject");function r(s){return Array.isArray(s)?s:e(s)?[]:[s]}C(r,"toArray");function i(s,n){if(n){const l=Object.keys(n);for(let c=0,h=l.length;c<h;c+=1){const d=l[c];s[d]=n[d]}}return s}C(i,"extend");function o(s,n){let l="";for(let c=0;c<n;c+=1)l+=s;return l}C(o,"repeat");function a(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}return C(a,"isNegativeZero"),Xo.isNothing=e,Xo.isObject=t,Xo.toArray=r,Xo.repeat=o,Xo.isNegativeZero=a,Xo.extend=i,Xo}C(Ts,"requireCommon");var wc,Ku;function Bs(){if(Ku)return wc;Ku=1;function e(r,i){let o="";const a=r.reason||"(unknown reason)";return r.mark?(r.mark.name&&(o+='in "'+r.mark.name+'" '),o+="("+(r.mark.line+1)+":"+(r.mark.column+1)+")",!i&&r.mark.snippet&&(o+=`
3
3
 
4
4
  `+r.mark.snippet),a+" "+o):a}C(e,"formatError");function t(r,i){Error.call(this),this.name="YAMLException",this.reason=r,this.mark=i,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return C(t,"YAMLException2"),t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=C(function(i){return this.name+": "+e(this,i)},"toString"),wc=t,wc}C(Bs,"requireException");var kc,Qu;function jp(){if(Qu)return kc;Qu=1;const e=Ts();function t(o,a,s,n,l){let c="",h="";const d=Math.floor(l/2)-1;return n-a>d&&(c=" ... ",a=n-d+c.length),s-n>d&&(h=" ...",s=n+d-h.length),{str:c+o.slice(a,s).replace(/\t/g,"→")+h,pos:n-a+c.length}}C(t,"getLine");function r(o,a){return e.repeat(" ",a-o.length)+o}C(r,"padStart");function i(o,a){if(a=Object.create(a||null),!o.buffer)return null;a.maxLength||(a.maxLength=79),typeof a.indent!="number"&&(a.indent=1),typeof a.linesBefore!="number"&&(a.linesBefore=3),typeof a.linesAfter!="number"&&(a.linesAfter=2);const s=/\r?\n|\r|\0/g,n=[0],l=[];let c,h=-1;for(;c=s.exec(o.buffer);)l.push(c.index),n.push(c.index+c[0].length),o.position<=c.index&&h<0&&(h=n.length-2);h<0&&(h=n.length-1);let d="";const u=Math.min(o.line+a.linesAfter,l.length).toString().length,f=a.maxLength-(a.indent+u+3);for(let p=1;p<=a.linesBefore&&!(h-p<0);p++){const m=t(o.buffer,n[h-p],l[h-p],o.position-(n[h]-n[h-p]),f);d=e.repeat(" ",a.indent)+r((o.line-p+1).toString(),u)+" | "+m.str+`
5
5
  `+d}const g=t(o.buffer,n[h],l[h],o.position,f);d+=e.repeat(" ",a.indent)+r((o.line+1).toString(),u)+" | "+g.str+`
@@ -298,8 +298,8 @@ ${a.join(`
298
298
  L0,20`)},"requirement_arrow"),lL=C((e,t,r)=>{const i=Ar(),{themeVariables:o}=i,{strokeWidth:a}=o;e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${a}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
299
299
  L20,10
300
300
  M20,10
301
- L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),cL=C((e,t,r)=>{const i=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),hL=C((e,t,r)=>{const i=Ar(),{themeVariables:o}=i,{strokeWidth:a}=o,s=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),s.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo"),dL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),uL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),fL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),gL={extension:H_,composition:Y_,aggregation:X_,dependency:j_,lollipop:G_,point:U_,circle:V_,cross:Z_,barb:K_,barbNeo:Q_,hierarchy:dL,only_one:J_,zero_or_one:tL,one_or_more:eL,zero_or_more:rL,only_one_neo:iL,zero_or_one_neo:oL,one_or_more_neo:aL,zero_or_more_neo:sL,requirement_arrow:nL,requirement_contains:cL,requirement_arrow_neo:lL,requirement_contains_neo:hL,openArrow:uL,hollowCircle:fL},pL=z_,mL={common:kn,getConfig:Ar,insertCluster:UB,insertEdge:W_,insertEdgeLabel:E_,insertMarkers:pL,insertNode:eb,interpolateToCurve:Vd,labelHelper:he,log:Lt,positionEdgeLabel:I_},yL=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],mn=Object.create(null),Cb=C(e=>{for(const t of e)mn[t.name]=t},"registerLayoutLoaders"),xL=C(()=>{const e=C(async()=>await Ve(()=>import("./nPXXKIa-.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"loader");return[{name:"elk",loader:e,algorithm:"elk.layered"},...yL.map(t=>({name:t,loader:e,algorithm:t}))]},"elkLayoutLoaders"),bL=C(()=>{Cb([{name:"dagre",loader:C(async()=>await Ve(()=>import("./NuBvLfzz.js"),__vite__mapDeps([7,2,3,4,5]),import.meta.url),"loader")},{name:"swimlane",loader:C(async()=>await Ve(()=>import("./EAmw13pe.js"),__vite__mapDeps([8,1,2,3,4,5]),import.meta.url),"loader")},{name:"cose-bilkent",loader:C(async()=>await Ve(()=>import("./1Kd2V6Ma.js"),__vite__mapDeps([9,10,6]),import.meta.url),"loader")},...xL()])},"registerDefaultLayoutLoaders");bL();var $P=C(async(e,t)=>{if(!Object.hasOwn(mn,e.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const a of e.nodes){const s=a.domId||a.id;a.domId=`${e.diagramId}-${s}`}const r=mn[e.layoutAlgorithm],i=await r.loader();a2(t,e.config);const o=await i.render(e,t,mL,{algorithm:r.algorithm});return B_(t.node()),o},"render"),ch="dagre",EP=C((e="",{fallback:t=ch}={})=>{if(Object.hasOwn(mn,e))return e;for(const r of[t,ch])if(Object.hasOwn(mn,r))return Lt.warn(`Layout algorithm ${e} is not registered. Using ${r} as fallback.`),r;throw new Error(`Neither layout algorithm ${e}, ${t}, nor ${ch} is registered.`)},"getRegisteredLayoutAlgorithm"),CL=C(e=>{const{securityLevel:t}=Ge();let r=Ye("body");if(t==="sandbox"){const a=Ye(`#i${e}`).node()?.contentDocument??document;r=Ye(a.body)}return r.select(`#${e}`)},"selectSvgElement"),ku="comm",wb="rule",kb="decl",wL="@media",kL="@import",SL="@supports",vL="@namespace",td="@keyframes",Sb="@layer",ML="@scope",TL=Math.abs,hn=String.fromCharCode;function vb(e){return e.trim()}function ed(e,t,r){return e.replace(t,r)}function is(e,t){return e.charCodeAt(t)|0}function ks(e,t,r){return e.slice(t,r)}function oo(e){return e.length}function Mb(e){return e.length}function jn(e,t){return t.push(e),e}var cc=1,Ss=1,Tb=0,Ii=0,qr=0,Fs="";function Su(e,t,r,i,o,a,s,n){return{value:e,root:t,parent:r,type:i,props:o,children:a,line:cc,column:Ss,length:s,return:"",siblings:n}}function BL(){return qr}function _L(){return qr=Ii>0?is(Fs,--Ii):0,Ss--,qr===10&&(Ss=1,cc--),qr}function ji(){return qr=Ii<Tb?is(Fs,Ii++):0,Ss++,qr===10&&(Ss=1,cc++),qr}function Vo(){return is(Fs,Ii)}function fl(){return Ii}function hc(e,t){return ks(Fs,e,t)}function yn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function LL(e){return cc=Ss=1,Tb=oo(Fs=e),Ii=0,[]}function AL(e){return Fs="",e}function hh(e){return vb(hc(Ii-1,rd(e===91?e+2:e===40?e+1:e)))}function FL(e){for(;(qr=Vo())&&qr<33;)ji();return yn(e)>2||yn(qr)>3?"":" "}function $L(e,t){for(;--t&&ji()&&!(qr<48||qr>102||qr>57&&qr<65||qr>70&&qr<97););return hc(e,fl()+(t<6&&Vo()==32&&ji()==32))}function rd(e){for(;ji();)switch(qr){case e:return Ii;case 34:case 39:e!==34&&e!==39&&rd(qr);break;case 40:e===41&&rd(e);break;case 92:ji();break}return Ii}function EL(e,t){for(;ji()&&e+qr!==57;)if(e+qr===84&&Vo()===47)break;return"/*"+hc(t,Ii-1)+"*"+hn(e===47?e:ji())}function PL(e){for(;!yn(Vo());)ji();return hc(e,Ii)}function IL(e){return AL(gl("",null,null,null,[""],e=LL(e),0,[0],e))}function gl(e,t,r,i,o,a,s,n,l){for(var c=0,h=0,d=s,u=0,f=0,g=0,p=1,m=1,y=1,x=0,b=0,S="",T=o,k=a,_=i,L=S;m;)switch(g=b,b=ji()){case 40:g!=108&&is(L,d-1)==58?(x++,L+="("):L+=hh(b);break;case 41:x--,L+=")";break;case 34:case 39:case 91:L+=hh(b);break;case 9:case 10:case 13:case 32:if(x>0){L+=hn(b);break}L+=FL(g);break;case 92:L+=$L(fl()-1,7);continue;case 47:switch(Vo()){case 42:case 47:jn(OL(EL(ji(),fl()),t,r,l),l),(yn(g||1)==5||yn(Vo()||1)==5)&&oo(L)&&ks(L,-1,void 0)!==" "&&(L+=" ");break;default:L+="/"}break;case 123*p:n[c++]=oo(L)*y;case 125*p:case 59:case 0:if(x>0&&b){L+=hn(b);break}switch(b){case 0:case 125:m=0;case 59+h:y==-1&&(L=ed(L,/\f/g,"")),f>0&&(oo(L)-d||p===0)&&jn(f>32?sp(L+";",i,r,d-1,l):sp(ed(L," ","")+";",i,r,d-2,l),l);break;case 59:L+=";";default:if(jn(_=ap(L,t,r,c,h,o,n,S,T=[],k=[],d,a),a),b===123)if(h===0)gl(L,t,_,_,T,a,d,n,k);else{switch(u){case 99:if(is(L,3)===110)break;case 108:if(is(L,2)===97)break;default:h=0;case 100:case 109:case 115:}h?gl(e,_,_,i&&jn(ap(e,_,_,0,0,o,n,S,o,T=[],d,k),k),o,k,d,n,i?T:k):gl(L,_,_,_,[""],k,0,n,k)}}c=h=f=0,p=y=1,S=L="",d=s;break;case 58:d=1+oo(L),f=g;default:if(p<1){if(b==123)--p;else if(b==125&&p++==0&&_L()==125)continue}switch(L+=hn(b),b*p){case 38:y=h>0?1:(L+="\f",-1);break;case 44:if(x>0)break;n[c++]=(oo(L)-1)*y,y=1;break;case 64:Vo()===45&&(L+=hh(ji())),u=Vo(),h=d=oo(S=L+=PL(fl())),b++;break;case 45:g===45&&oo(L)==2&&(p=0)}}return a}function ap(e,t,r,i,o,a,s,n,l,c,h,d){for(var u=o-1,f=o===0?a:[""],g=Mb(f),p=0,m=0,y=0;p<i;++p)for(var x=0,b=ks(e,u+1,u=TL(m=s[p])),S=e;x<g;++x)(S=vb(m>0?f[x]+" "+b:ed(b,/&\f/g,f[x])))&&(l[y++]=S);return Su(e,t,r,o===0?wb:n,l,c,h,d)}function OL(e,t,r,i){return Su(e,t,r,ku,hn(BL()),ks(e,2,-2),0,i)}function sp(e,t,r,i,o){return Su(e,t,r,kb,ks(e,0,i),ks(e,i+1,-1),i,o)}function id(e,t){for(var r="",i=0;i<e.length;i++)r+=t(e[i],i,e,t)||"";return r}function DL(e,t,r,i){switch(e.type){case Sb:if(e.children.length)break;case kL:case vL:case kb:return e.return=e.return||e.value;case ku:return"";case td:return e.return=e.value+"{"+id(e.children,i)+"}";case wb:if(!oo(e.value=e.props.join(",")))return""}return oo(r=id(e.children,i))?e.return=e.value+"{"+r+"}":""}function RL(e){var t=Mb(e);return function(r,i,o,a){for(var s="",n=0;n<t;n++)s+=e[n](r,i,o,a)||"";return s}}var Bb="c4",NL=C(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),qL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./C79wLg62.js");return{diagram:t}},__vite__mapDeps([11,12]),import.meta.url);return{id:Bb,diagram:e}},"loader"),WL={id:Bb,detector:NL,loader:qL},zL=WL,_b="flowchart-v2",HL=C(e=>/^\s*(graph|flowchart)/.test(e),"detector"),YL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CiSSCgqR.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:_b,diagram:e}},"loader"),XL={id:_b,detector:HL,loader:YL},jL=XL,Lb="agentflow",GL=C(e=>/^\s*agentflow-beta\b/.test(e),"detector"),UL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CvFqJ3aj.js");return{diagram:t}},__vite__mapDeps([63,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Lb,diagram:e}},"loader"),VL={id:Lb,detector:GL,loader:UL},ZL=VL,Ab="swimlane",KL=C(e=>/^\s*swimlane-beta\b/.test(e),"detector"),QL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Q1GArL_y.js");return{diagram:t}},__vite__mapDeps([64,13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Ab,diagram:e}},"loader"),JL={id:Ab,detector:KL,loader:QL},tA=JL,Fb="er",eA=C(e=>/^\s*erDiagram/.test(e),"detector"),rA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DiuuSzCC.js");return{diagram:t}},__vite__mapDeps([65,15,16]),import.meta.url);return{id:Fb,diagram:e}},"loader"),iA={id:Fb,detector:eA,loader:rA},oA=iA,$b="gitGraph",aA=C(e=>/^\s*gitGraph/.test(e),"detector"),sA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./PtztmcML.js");return{diagram:t}},__vite__mapDeps([66,67,68,69,3,4]),import.meta.url);return{id:$b,diagram:e}},"loader"),nA={id:$b,detector:aA,loader:sA},lA=nA,Eb="gantt",cA=C(e=>/^\s*gantt/.test(e),"detector"),hA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DdQ2Ee-5.js");return{diagram:t}},__vite__mapDeps([70,6,71]),import.meta.url);return{id:Eb,diagram:e}},"loader"),dA={id:Eb,detector:cA,loader:hA},uA=dA,Pb="info",fA=C(e=>/^\s*info/.test(e),"detector"),gA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./0FRtEAk_.js");return{diagram:t}},__vite__mapDeps([72,69,3,4]),import.meta.url);return{id:Pb,diagram:e}},"loader"),pA={id:Pb,detector:fA,loader:gA},Ib="pie",mA=C(e=>/^\s*pie/.test(e),"detector"),yA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DDy_8zbA.js");return{diagram:t}},__vite__mapDeps([73,68,69,3,4,71]),import.meta.url);return{id:Ib,diagram:e}},"loader"),xA={id:Ib,detector:mA,loader:yA},Ob="quadrantChart",bA=C(e=>/^\s*quadrantChart/.test(e),"detector"),CA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DGgxtq4s.js");return{diagram:t}},__vite__mapDeps([74,71]),import.meta.url);return{id:Ob,diagram:e}},"loader"),wA={id:Ob,detector:bA,loader:CA},kA=wA,Db="xychart",SA=C(e=>/^\s*xychart(-beta)?/.test(e),"detector"),vA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Bzd2CMX7.js");return{diagram:t}},__vite__mapDeps([75,71]),import.meta.url);return{id:Db,diagram:e}},"loader"),MA={id:Db,detector:SA,loader:vA},TA=MA,Rb="requirement",BA=C(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),_A=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./1MVyJ09_.js");return{diagram:t}},__vite__mapDeps([76,15,16]),import.meta.url);return{id:Rb,diagram:e}},"loader"),LA={id:Rb,detector:BA,loader:_A},AA=LA,Nb="sequence",FA=C(e=>/^\s*sequenceDiagram/.test(e),"detector"),$A=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./zB1IXbXb.js");return{diagram:t}},__vite__mapDeps([77,67,12]),import.meta.url);return{id:Nb,diagram:e}},"loader"),EA={id:Nb,detector:FA,loader:$A},PA=EA,qb="classDiagram",IA=C(e=>/^\s*classDiagram/.test(e),"detector"),OA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DI85QvsH.js");return{diagram:t}},__vite__mapDeps([78,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:qb,diagram:e}},"loader"),DA={id:qb,detector:IA,loader:OA},RA=DA,Wb="stateDiagram",NA=C(e=>/^\s*stateDiagram/.test(e),"detector"),qA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./LYm3QdT8.js");return{diagram:t}},__vite__mapDeps([79,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Wb,diagram:e}},"loader"),WA={id:Wb,detector:NA,loader:qA},zA=WA,zb="journey",HA=C(e=>/^\s*journey/.test(e),"detector"),YA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./KkoOm1V0.js");return{diagram:t}},__vite__mapDeps([80,14,12]),import.meta.url);return{id:zb,diagram:e}},"loader"),XA={id:zb,detector:HA,loader:YA},jA=XA,Gn=4,Hs=75,GA=C(e=>{const t=[];for(const o of e.split(/\s+/)){let a=[...o];for(;a.length>Hs;)t.push(a.slice(0,Hs).join("")),a=a.slice(Hs);a.length>0&&t.push(a.join(""))}const r=[];let i="";for(const o of t){const a=i?`${i} ${o}`:o;[...a].length>Hs?(r.push(i),i=o):i=a}if(i&&r.push(i),r.length>Gn){r.length=Gn;const o=r[Gn-1]??"";r[Gn-1]=`${[...o].slice(0,Hs-3).join("")}...`}return r},"wrapErrorMessage"),UA=C((e,t,r,i)=>{Lt.debug(`rendering svg for syntax error
302
- `);const o=CL(t),a=o.append("g"),s=GA(i?.db.getErrorMessage?.()??""),n=s.length>0?500+s.length*56:512;o.attr("viewBox",`0 0 2412 ${n}`),um(o,100,n,!0),a.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),a.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),a.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),a.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),a.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),a.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),a.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),a.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`),s.forEach((l,c)=>{a.append("text").attr("class","error-text").attr("x",1440).attr("y",510+c*56).attr("font-size","42px").style("text-anchor","middle").text(l)})},"draw"),Hb={draw:UA},VA=Hb,dh,ZA={clear(){dh=void 0},setErrorMessage(e){dh=e},getErrorMessage(){return dh}},KA={db:ZA,renderer:Hb,parser:{parse:C(()=>{},"parse")}},QA=KA,Yb="flowchart-elk",JA=C((e,t={})=>/^\s*flowchart-elk/.test(e)?(t.layout="elk",!0):!1,"detector"),t5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CiSSCgqR.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Yb,diagram:e}},"loader"),e5={id:Yb,detector:JA,loader:t5},r5=e5,Xb="timeline",i5=C(e=>/^\s*timeline/.test(e),"detector"),o5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D6iZo_ET.js");return{diagram:t}},[],import.meta.url);return{id:Xb,diagram:e}},"loader"),a5={id:Xb,detector:i5,loader:o5},s5=a5,jb="mindmap",n5=C(e=>/^\s*mindmap/.test(e),"detector"),l5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./2f17jIS_.js");return{diagram:t}},__vite__mapDeps([81,15,16]),import.meta.url);return{id:jb,diagram:e}},"loader"),c5={id:jb,detector:n5,loader:l5},h5=c5,Gb="kanban",d5=C(e=>/^\s*kanban/.test(e),"detector"),u5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./_1FSfiRe.js");return{diagram:t}},__vite__mapDeps([82,14]),import.meta.url);return{id:Gb,diagram:e}},"loader"),f5={id:Gb,detector:d5,loader:u5},g5=f5,Ub="sankey",p5=C(e=>/^\s*sankey(-beta)?/.test(e),"detector"),m5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BWX_OVAE.js");return{diagram:t}},__vite__mapDeps([83,71]),import.meta.url);return{id:Ub,diagram:e}},"loader"),y5={id:Ub,detector:p5,loader:m5},x5=y5,Vb="packet",b5=C(e=>/^\s*packet(-beta)?/.test(e),"detector"),C5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./qdH_r52r.js");return{diagram:t}},__vite__mapDeps([84,68,69,3,4]),import.meta.url);return{id:Vb,diagram:e}},"loader"),w5={id:Vb,detector:b5,loader:C5},Zb="radar",k5=C(e=>/^\s*radar-beta/.test(e),"detector"),S5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BVZsZXmm.js");return{diagram:t}},__vite__mapDeps([85,68,69,3,4]),import.meta.url);return{id:Zb,diagram:e}},"loader"),v5={id:Zb,detector:k5,loader:S5},Kb="block",M5=C(e=>/^\s*block(-beta)?/.test(e),"detector"),T5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BWcEoYRV.js");return{diagram:t}},__vite__mapDeps([86,14,5]),import.meta.url);return{id:Kb,diagram:e}},"loader"),B5={id:Kb,detector:M5,loader:T5},_5=B5,Qb="treeView",L5=C(e=>/^\s*treeView-beta/.test(e),"detector"),A5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./B5jBKY1h.js");return{diagram:t}},__vite__mapDeps([87,67,68,69,3,4]),import.meta.url);return{id:Qb,diagram:e}},"loader"),F5={id:Qb,detector:L5,loader:A5},$5=F5,Jb="architecture",E5=C(e=>/^\s*architecture/.test(e),"detector"),P5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DnUPJZ7Y.js");return{diagram:t}},__vite__mapDeps([88,68,69,3,4,10,6]),import.meta.url);return{id:Jb,diagram:e}},"loader"),I5={id:Jb,detector:E5,loader:P5},O5=I5,t1="eventmodeling",D5=C(e=>/^\s*eventmodeling/.test(e),"detector"),R5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./LSzEWm4Q.js");return{diagram:t}},__vite__mapDeps([89,68,69,3,4]),import.meta.url);return{id:t1,diagram:e}},"loader"),N5={id:t1,detector:D5,loader:R5},q5=N5,e1="ishikawa",W5=C(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),z5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Cqru5LxS.js");return{diagram:t}},[],import.meta.url);return{id:e1,diagram:e}},"loader"),H5={id:e1,detector:W5,loader:z5},r1="venn",Y5=C(e=>/^\s*venn-beta/.test(e),"detector"),X5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D3YyaVry.js");return{diagram:t}},[],import.meta.url);return{id:r1,diagram:e}},"loader"),j5={id:r1,detector:Y5,loader:X5},G5=j5,i1="treemap",U5=C(e=>/^\s*treemap/.test(e),"detector"),V5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CgeqCnG6.js");return{diagram:t}},__vite__mapDeps([90,16,68,69,3,4,71]),import.meta.url);return{id:i1,diagram:e}},"loader"),Z5={id:i1,detector:U5,loader:V5},o1="usecase",K5=C(e=>/^\s*usecase-beta(?:\s|$)/.test(e),"detector"),Q5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./oxDrPxDU.js");return{diagram:t}},__vite__mapDeps([91,15,16]),import.meta.url);return{id:o1,diagram:e}},"loader"),J5={id:o1,detector:K5,loader:Q5},a1="wardley",tF=C(e=>/^\s*wardley-beta/i.test(e),"detector"),eF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DM4O8kyl.js");return{diagram:t}},__vite__mapDeps([92,68,69,3,4]),import.meta.url);return{id:a1,diagram:e}},"loader"),rF={id:a1,detector:tF,loader:eF},iF=rF,s1="cynefin",oF=C(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),"detector"),aF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BkDiy3qO.js");return{diagram:t}},__vite__mapDeps([93,68,69,3,4]),import.meta.url);return{id:s1,diagram:e}},"loader"),sF={id:s1,detector:oF,loader:aF},n1="railroad",nF=C(e=>/^\s*railroad-beta/i.test(e),"detector"),lF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BQDjmnIn.js");return{diagram:t}},__vite__mapDeps([94,95,68,69,3,4]),import.meta.url);return{id:n1,diagram:e}},"loader"),cF={id:n1,detector:nF,loader:lF},l1="railroadEbnf",hF=C(e=>/^\s*railroad-ebnf-beta/i.test(e),"detector"),dF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CIu-y8lY.js");return{diagram:t}},__vite__mapDeps([96,95,68,69,3,4]),import.meta.url);return{id:l1,diagram:e}},"loader"),uF={id:l1,detector:hF,loader:dF},c1="railroadAbnf",fF=C(e=>/^\s*railroad-abnf-beta/i.test(e),"detector"),gF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CVBzfNwe.js");return{diagram:t}},__vite__mapDeps([97,95,68,69,3,4]),import.meta.url);return{id:c1,diagram:e}},"loader"),pF={id:c1,detector:fF,loader:gF},h1="railroadPeg",mF=C(e=>/^\s*railroad-peg-beta/i.test(e),"detector"),yF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DwVWq9Mg.js");return{diagram:t}},__vite__mapDeps([98,95,68,69,3,4]),import.meta.url);return{id:h1,diagram:e}},"loader"),xF={id:h1,detector:mF,loader:yF},np=!1,dc=C(()=>{np||(np=!0,Sl("error",QA,e=>e.toLowerCase().trim()==="error"),Sl("---",{db:{clear:C(()=>{},"clear")},styles:{},renderer:{draw:C(()=>{},"draw")},parser:{parse:C(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:C(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),Bh(r5,h5,O5),Bh(ZL,zL,g5,RA,oA,uA,pA,xA,AA,PA,tA,jL,s5,lA,zA,jA,kA,x5,w5,TA,_5,q5,$5,v5,H5,Z5,cF,uF,pF,xF,G5,iF,sF,J5))},"addDiagrams"),bF=C(async()=>{Lt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Ta).map(async([r,{detector:i,loader:o}])=>{if(o)try{$h(r)}catch{try{const{diagram:a,id:s}=await o();Sl(s,a,i)}catch(a){throw Lt.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete Ta[r],a}}}))).filter(r=>r.status==="rejected");if(t.length>0){Lt.error(`Failed to load ${t.length} external diagrams`);for(const r of t)Lt.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),CF="graphics-document document";function d1(e,t){e.attr("role",CF),t!==""&&e.attr("aria-roledescription",t)}C(d1,"setA11yDiagramInfo");function u1(e,t,r,i){if(e.insert!==void 0){if(r){const o=`chart-desc-${i}`;e.attr("aria-describedby",o),e.insert("desc",":first-child").attr("id",o).text(r)}if(t){const o=`chart-title-${i}`;e.attr("aria-labelledby",o),e.insert("title",":first-child").attr("id",o).text(t)}}}C(u1,"addSVGa11yTitleDescription");var Ma,Xl=(Ma=class{constructor(t,r,i,o,a){this.type=t,this.text=r,this.db=i,this.parser=o,this.renderer=a}static async fromText(t,r={}){const i=typeof t=="string"?{cleaned:t}:t,o=Ar(),a=Zl(i.cleaned,o);try{$h(a)}catch{const u=C2(a);if(!u)throw new Jp(`Diagram ${a} not found.`);const{id:f,diagram:g}=await u();Sl(f,g)}const{db:s,parser:n,renderer:l,init:c}=$h(a);n.parser&&(n.parser.yy=s),s.clear?.(),c?.(o),r.title&&s.setDiagramTitle?.(r.title);let h=i.cleaned;if(s.preserveCommentsWhenParsing&&i.withComments){const u=o.maxTextSize??Ld.maxTextSize;i.withComments.length>u?Lt.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):h=i.withComments}const d=TM(h)+`
301
+ L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),cL=C((e,t,r)=>{const i=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),hL=C((e,t,r)=>{const i=Ar(),{themeVariables:o}=i,{strokeWidth:a}=o,s=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),s.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo"),dL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),uL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),fL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),gL={extension:H_,composition:Y_,aggregation:X_,dependency:j_,lollipop:G_,point:U_,circle:V_,cross:Z_,barb:K_,barbNeo:Q_,hierarchy:dL,only_one:J_,zero_or_one:tL,one_or_more:eL,zero_or_more:rL,only_one_neo:iL,zero_or_one_neo:oL,one_or_more_neo:aL,zero_or_more_neo:sL,requirement_arrow:nL,requirement_contains:cL,requirement_arrow_neo:lL,requirement_contains_neo:hL,openArrow:uL,hollowCircle:fL},pL=z_,mL={common:kn,getConfig:Ar,insertCluster:UB,insertEdge:W_,insertEdgeLabel:E_,insertMarkers:pL,insertNode:eb,interpolateToCurve:Vd,labelHelper:he,log:Lt,positionEdgeLabel:I_},yL=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],mn=Object.create(null),Cb=C(e=>{for(const t of e)mn[t.name]=t},"registerLayoutLoaders"),xL=C(()=>{const e=C(async()=>await Ve(()=>import("./CpUG4uWd.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"loader");return[{name:"elk",loader:e,algorithm:"elk.layered"},...yL.map(t=>({name:t,loader:e,algorithm:t}))]},"elkLayoutLoaders"),bL=C(()=>{Cb([{name:"dagre",loader:C(async()=>await Ve(()=>import("./DK7i7mSH.js"),__vite__mapDeps([7,2,3,4,5]),import.meta.url),"loader")},{name:"swimlane",loader:C(async()=>await Ve(()=>import("./C-hb5nbb.js"),__vite__mapDeps([8,1,2,3,4,5]),import.meta.url),"loader")},{name:"cose-bilkent",loader:C(async()=>await Ve(()=>import("./yVGqQrjf.js"),__vite__mapDeps([9,10,6]),import.meta.url),"loader")},...xL()])},"registerDefaultLayoutLoaders");bL();var $P=C(async(e,t)=>{if(!Object.hasOwn(mn,e.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const a of e.nodes){const s=a.domId||a.id;a.domId=`${e.diagramId}-${s}`}const r=mn[e.layoutAlgorithm],i=await r.loader();a2(t,e.config);const o=await i.render(e,t,mL,{algorithm:r.algorithm});return B_(t.node()),o},"render"),ch="dagre",EP=C((e="",{fallback:t=ch}={})=>{if(Object.hasOwn(mn,e))return e;for(const r of[t,ch])if(Object.hasOwn(mn,r))return Lt.warn(`Layout algorithm ${e} is not registered. Using ${r} as fallback.`),r;throw new Error(`Neither layout algorithm ${e}, ${t}, nor ${ch} is registered.`)},"getRegisteredLayoutAlgorithm"),CL=C(e=>{const{securityLevel:t}=Ge();let r=Ye("body");if(t==="sandbox"){const a=Ye(`#i${e}`).node()?.contentDocument??document;r=Ye(a.body)}return r.select(`#${e}`)},"selectSvgElement"),ku="comm",wb="rule",kb="decl",wL="@media",kL="@import",SL="@supports",vL="@namespace",td="@keyframes",Sb="@layer",ML="@scope",TL=Math.abs,hn=String.fromCharCode;function vb(e){return e.trim()}function ed(e,t,r){return e.replace(t,r)}function is(e,t){return e.charCodeAt(t)|0}function ks(e,t,r){return e.slice(t,r)}function oo(e){return e.length}function Mb(e){return e.length}function jn(e,t){return t.push(e),e}var cc=1,Ss=1,Tb=0,Ii=0,qr=0,Fs="";function Su(e,t,r,i,o,a,s,n){return{value:e,root:t,parent:r,type:i,props:o,children:a,line:cc,column:Ss,length:s,return:"",siblings:n}}function BL(){return qr}function _L(){return qr=Ii>0?is(Fs,--Ii):0,Ss--,qr===10&&(Ss=1,cc--),qr}function ji(){return qr=Ii<Tb?is(Fs,Ii++):0,Ss++,qr===10&&(Ss=1,cc++),qr}function Vo(){return is(Fs,Ii)}function fl(){return Ii}function hc(e,t){return ks(Fs,e,t)}function yn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function LL(e){return cc=Ss=1,Tb=oo(Fs=e),Ii=0,[]}function AL(e){return Fs="",e}function hh(e){return vb(hc(Ii-1,rd(e===91?e+2:e===40?e+1:e)))}function FL(e){for(;(qr=Vo())&&qr<33;)ji();return yn(e)>2||yn(qr)>3?"":" "}function $L(e,t){for(;--t&&ji()&&!(qr<48||qr>102||qr>57&&qr<65||qr>70&&qr<97););return hc(e,fl()+(t<6&&Vo()==32&&ji()==32))}function rd(e){for(;ji();)switch(qr){case e:return Ii;case 34:case 39:e!==34&&e!==39&&rd(qr);break;case 40:e===41&&rd(e);break;case 92:ji();break}return Ii}function EL(e,t){for(;ji()&&e+qr!==57;)if(e+qr===84&&Vo()===47)break;return"/*"+hc(t,Ii-1)+"*"+hn(e===47?e:ji())}function PL(e){for(;!yn(Vo());)ji();return hc(e,Ii)}function IL(e){return AL(gl("",null,null,null,[""],e=LL(e),0,[0],e))}function gl(e,t,r,i,o,a,s,n,l){for(var c=0,h=0,d=s,u=0,f=0,g=0,p=1,m=1,y=1,x=0,b=0,S="",T=o,k=a,_=i,L=S;m;)switch(g=b,b=ji()){case 40:g!=108&&is(L,d-1)==58?(x++,L+="("):L+=hh(b);break;case 41:x--,L+=")";break;case 34:case 39:case 91:L+=hh(b);break;case 9:case 10:case 13:case 32:if(x>0){L+=hn(b);break}L+=FL(g);break;case 92:L+=$L(fl()-1,7);continue;case 47:switch(Vo()){case 42:case 47:jn(OL(EL(ji(),fl()),t,r,l),l),(yn(g||1)==5||yn(Vo()||1)==5)&&oo(L)&&ks(L,-1,void 0)!==" "&&(L+=" ");break;default:L+="/"}break;case 123*p:n[c++]=oo(L)*y;case 125*p:case 59:case 0:if(x>0&&b){L+=hn(b);break}switch(b){case 0:case 125:m=0;case 59+h:y==-1&&(L=ed(L,/\f/g,"")),f>0&&(oo(L)-d||p===0)&&jn(f>32?sp(L+";",i,r,d-1,l):sp(ed(L," ","")+";",i,r,d-2,l),l);break;case 59:L+=";";default:if(jn(_=ap(L,t,r,c,h,o,n,S,T=[],k=[],d,a),a),b===123)if(h===0)gl(L,t,_,_,T,a,d,n,k);else{switch(u){case 99:if(is(L,3)===110)break;case 108:if(is(L,2)===97)break;default:h=0;case 100:case 109:case 115:}h?gl(e,_,_,i&&jn(ap(e,_,_,0,0,o,n,S,o,T=[],d,k),k),o,k,d,n,i?T:k):gl(L,_,_,_,[""],k,0,n,k)}}c=h=f=0,p=y=1,S=L="",d=s;break;case 58:d=1+oo(L),f=g;default:if(p<1){if(b==123)--p;else if(b==125&&p++==0&&_L()==125)continue}switch(L+=hn(b),b*p){case 38:y=h>0?1:(L+="\f",-1);break;case 44:if(x>0)break;n[c++]=(oo(L)-1)*y,y=1;break;case 64:Vo()===45&&(L+=hh(ji())),u=Vo(),h=d=oo(S=L+=PL(fl())),b++;break;case 45:g===45&&oo(L)==2&&(p=0)}}return a}function ap(e,t,r,i,o,a,s,n,l,c,h,d){for(var u=o-1,f=o===0?a:[""],g=Mb(f),p=0,m=0,y=0;p<i;++p)for(var x=0,b=ks(e,u+1,u=TL(m=s[p])),S=e;x<g;++x)(S=vb(m>0?f[x]+" "+b:ed(b,/&\f/g,f[x])))&&(l[y++]=S);return Su(e,t,r,o===0?wb:n,l,c,h,d)}function OL(e,t,r,i){return Su(e,t,r,ku,hn(BL()),ks(e,2,-2),0,i)}function sp(e,t,r,i,o){return Su(e,t,r,kb,ks(e,0,i),ks(e,i+1,-1),i,o)}function id(e,t){for(var r="",i=0;i<e.length;i++)r+=t(e[i],i,e,t)||"";return r}function DL(e,t,r,i){switch(e.type){case Sb:if(e.children.length)break;case kL:case vL:case kb:return e.return=e.return||e.value;case ku:return"";case td:return e.return=e.value+"{"+id(e.children,i)+"}";case wb:if(!oo(e.value=e.props.join(",")))return""}return oo(r=id(e.children,i))?e.return=e.value+"{"+r+"}":""}function RL(e){var t=Mb(e);return function(r,i,o,a){for(var s="",n=0;n<t;n++)s+=e[n](r,i,o,a)||"";return s}}var Bb="c4",NL=C(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),qL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CCDDqQJs.js");return{diagram:t}},__vite__mapDeps([11,12]),import.meta.url);return{id:Bb,diagram:e}},"loader"),WL={id:Bb,detector:NL,loader:qL},zL=WL,_b="flowchart-v2",HL=C(e=>/^\s*(graph|flowchart)/.test(e),"detector"),YL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CQocjKjX.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:_b,diagram:e}},"loader"),XL={id:_b,detector:HL,loader:YL},jL=XL,Lb="agentflow",GL=C(e=>/^\s*agentflow-beta\b/.test(e),"detector"),UL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Cyk2Y411.js");return{diagram:t}},__vite__mapDeps([63,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Lb,diagram:e}},"loader"),VL={id:Lb,detector:GL,loader:UL},ZL=VL,Ab="swimlane",KL=C(e=>/^\s*swimlane-beta\b/.test(e),"detector"),QL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CFidbeSw.js");return{diagram:t}},__vite__mapDeps([64,13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Ab,diagram:e}},"loader"),JL={id:Ab,detector:KL,loader:QL},tA=JL,Fb="er",eA=C(e=>/^\s*erDiagram/.test(e),"detector"),rA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./vf6pveFy.js");return{diagram:t}},__vite__mapDeps([65,15,16]),import.meta.url);return{id:Fb,diagram:e}},"loader"),iA={id:Fb,detector:eA,loader:rA},oA=iA,$b="gitGraph",aA=C(e=>/^\s*gitGraph/.test(e),"detector"),sA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./yQ7GpLm3.js");return{diagram:t}},__vite__mapDeps([66,67,68,69,3,4]),import.meta.url);return{id:$b,diagram:e}},"loader"),nA={id:$b,detector:aA,loader:sA},lA=nA,Eb="gantt",cA=C(e=>/^\s*gantt/.test(e),"detector"),hA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DZSVN5v8.js");return{diagram:t}},__vite__mapDeps([70,6,71]),import.meta.url);return{id:Eb,diagram:e}},"loader"),dA={id:Eb,detector:cA,loader:hA},uA=dA,Pb="info",fA=C(e=>/^\s*info/.test(e),"detector"),gA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./WvbffGVg.js");return{diagram:t}},__vite__mapDeps([72,69,3,4]),import.meta.url);return{id:Pb,diagram:e}},"loader"),pA={id:Pb,detector:fA,loader:gA},Ib="pie",mA=C(e=>/^\s*pie/.test(e),"detector"),yA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CH6-PW8d.js");return{diagram:t}},__vite__mapDeps([73,68,69,3,4,71]),import.meta.url);return{id:Ib,diagram:e}},"loader"),xA={id:Ib,detector:mA,loader:yA},Ob="quadrantChart",bA=C(e=>/^\s*quadrantChart/.test(e),"detector"),CA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Bo-zVBuZ.js");return{diagram:t}},__vite__mapDeps([74,71]),import.meta.url);return{id:Ob,diagram:e}},"loader"),wA={id:Ob,detector:bA,loader:CA},kA=wA,Db="xychart",SA=C(e=>/^\s*xychart(-beta)?/.test(e),"detector"),vA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./awTIGLLj.js");return{diagram:t}},__vite__mapDeps([75,71]),import.meta.url);return{id:Db,diagram:e}},"loader"),MA={id:Db,detector:SA,loader:vA},TA=MA,Rb="requirement",BA=C(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),_A=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D67FZ5Lv.js");return{diagram:t}},__vite__mapDeps([76,15,16]),import.meta.url);return{id:Rb,diagram:e}},"loader"),LA={id:Rb,detector:BA,loader:_A},AA=LA,Nb="sequence",FA=C(e=>/^\s*sequenceDiagram/.test(e),"detector"),$A=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CrgKt6cz.js");return{diagram:t}},__vite__mapDeps([77,67,12]),import.meta.url);return{id:Nb,diagram:e}},"loader"),EA={id:Nb,detector:FA,loader:$A},PA=EA,qb="classDiagram",IA=C(e=>/^\s*classDiagram/.test(e),"detector"),OA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Ch4PqakC.js");return{diagram:t}},__vite__mapDeps([78,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:qb,diagram:e}},"loader"),DA={id:qb,detector:IA,loader:OA},RA=DA,Wb="stateDiagram",NA=C(e=>/^\s*stateDiagram/.test(e),"detector"),qA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./yyRLwoJz.js");return{diagram:t}},__vite__mapDeps([79,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Wb,diagram:e}},"loader"),WA={id:Wb,detector:NA,loader:qA},zA=WA,zb="journey",HA=C(e=>/^\s*journey/.test(e),"detector"),YA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DxFZ9gq2.js");return{diagram:t}},__vite__mapDeps([80,14,12]),import.meta.url);return{id:zb,diagram:e}},"loader"),XA={id:zb,detector:HA,loader:YA},jA=XA,Gn=4,Hs=75,GA=C(e=>{const t=[];for(const o of e.split(/\s+/)){let a=[...o];for(;a.length>Hs;)t.push(a.slice(0,Hs).join("")),a=a.slice(Hs);a.length>0&&t.push(a.join(""))}const r=[];let i="";for(const o of t){const a=i?`${i} ${o}`:o;[...a].length>Hs?(r.push(i),i=o):i=a}if(i&&r.push(i),r.length>Gn){r.length=Gn;const o=r[Gn-1]??"";r[Gn-1]=`${[...o].slice(0,Hs-3).join("")}...`}return r},"wrapErrorMessage"),UA=C((e,t,r,i)=>{Lt.debug(`rendering svg for syntax error
302
+ `);const o=CL(t),a=o.append("g"),s=GA(i?.db.getErrorMessage?.()??""),n=s.length>0?500+s.length*56:512;o.attr("viewBox",`0 0 2412 ${n}`),um(o,100,n,!0),a.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),a.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),a.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),a.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),a.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),a.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),a.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),a.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`),s.forEach((l,c)=>{a.append("text").attr("class","error-text").attr("x",1440).attr("y",510+c*56).attr("font-size","42px").style("text-anchor","middle").text(l)})},"draw"),Hb={draw:UA},VA=Hb,dh,ZA={clear(){dh=void 0},setErrorMessage(e){dh=e},getErrorMessage(){return dh}},KA={db:ZA,renderer:Hb,parser:{parse:C(()=>{},"parse")}},QA=KA,Yb="flowchart-elk",JA=C((e,t={})=>/^\s*flowchart-elk/.test(e)?(t.layout="elk",!0):!1,"detector"),t5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CQocjKjX.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Yb,diagram:e}},"loader"),e5={id:Yb,detector:JA,loader:t5},r5=e5,Xb="timeline",i5=C(e=>/^\s*timeline/.test(e),"detector"),o5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./jhvKFO58.js");return{diagram:t}},[],import.meta.url);return{id:Xb,diagram:e}},"loader"),a5={id:Xb,detector:i5,loader:o5},s5=a5,jb="mindmap",n5=C(e=>/^\s*mindmap/.test(e),"detector"),l5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./C8b1hAiZ.js");return{diagram:t}},__vite__mapDeps([81,15,16]),import.meta.url);return{id:jb,diagram:e}},"loader"),c5={id:jb,detector:n5,loader:l5},h5=c5,Gb="kanban",d5=C(e=>/^\s*kanban/.test(e),"detector"),u5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CQBcB58U.js");return{diagram:t}},__vite__mapDeps([82,14]),import.meta.url);return{id:Gb,diagram:e}},"loader"),f5={id:Gb,detector:d5,loader:u5},g5=f5,Ub="sankey",p5=C(e=>/^\s*sankey(-beta)?/.test(e),"detector"),m5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./ByTn8oHf.js");return{diagram:t}},__vite__mapDeps([83,71]),import.meta.url);return{id:Ub,diagram:e}},"loader"),y5={id:Ub,detector:p5,loader:m5},x5=y5,Vb="packet",b5=C(e=>/^\s*packet(-beta)?/.test(e),"detector"),C5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BV4hVkqh.js");return{diagram:t}},__vite__mapDeps([84,68,69,3,4]),import.meta.url);return{id:Vb,diagram:e}},"loader"),w5={id:Vb,detector:b5,loader:C5},Zb="radar",k5=C(e=>/^\s*radar-beta/.test(e),"detector"),S5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Dk5qPA5a.js");return{diagram:t}},__vite__mapDeps([85,68,69,3,4]),import.meta.url);return{id:Zb,diagram:e}},"loader"),v5={id:Zb,detector:k5,loader:S5},Kb="block",M5=C(e=>/^\s*block(-beta)?/.test(e),"detector"),T5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BKSdTbM0.js");return{diagram:t}},__vite__mapDeps([86,14,5]),import.meta.url);return{id:Kb,diagram:e}},"loader"),B5={id:Kb,detector:M5,loader:T5},_5=B5,Qb="treeView",L5=C(e=>/^\s*treeView-beta/.test(e),"detector"),A5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./ETRy7Ggy.js");return{diagram:t}},__vite__mapDeps([87,67,68,69,3,4]),import.meta.url);return{id:Qb,diagram:e}},"loader"),F5={id:Qb,detector:L5,loader:A5},$5=F5,Jb="architecture",E5=C(e=>/^\s*architecture/.test(e),"detector"),P5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BBeX3tt3.js");return{diagram:t}},__vite__mapDeps([88,68,69,3,4,10,6]),import.meta.url);return{id:Jb,diagram:e}},"loader"),I5={id:Jb,detector:E5,loader:P5},O5=I5,t1="eventmodeling",D5=C(e=>/^\s*eventmodeling/.test(e),"detector"),R5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DyYAxHE8.js");return{diagram:t}},__vite__mapDeps([89,68,69,3,4]),import.meta.url);return{id:t1,diagram:e}},"loader"),N5={id:t1,detector:D5,loader:R5},q5=N5,e1="ishikawa",W5=C(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),z5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./ClI6BjKq.js");return{diagram:t}},[],import.meta.url);return{id:e1,diagram:e}},"loader"),H5={id:e1,detector:W5,loader:z5},r1="venn",Y5=C(e=>/^\s*venn-beta/.test(e),"detector"),X5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BIBmWYIa.js");return{diagram:t}},[],import.meta.url);return{id:r1,diagram:e}},"loader"),j5={id:r1,detector:Y5,loader:X5},G5=j5,i1="treemap",U5=C(e=>/^\s*treemap/.test(e),"detector"),V5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D7niCCgo.js");return{diagram:t}},__vite__mapDeps([90,16,68,69,3,4,71]),import.meta.url);return{id:i1,diagram:e}},"loader"),Z5={id:i1,detector:U5,loader:V5},o1="usecase",K5=C(e=>/^\s*usecase-beta(?:\s|$)/.test(e),"detector"),Q5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./KilK2UOM.js");return{diagram:t}},__vite__mapDeps([91,15,16]),import.meta.url);return{id:o1,diagram:e}},"loader"),J5={id:o1,detector:K5,loader:Q5},a1="wardley",tF=C(e=>/^\s*wardley-beta/i.test(e),"detector"),eF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./bP8UGzws.js");return{diagram:t}},__vite__mapDeps([92,68,69,3,4]),import.meta.url);return{id:a1,diagram:e}},"loader"),rF={id:a1,detector:tF,loader:eF},iF=rF,s1="cynefin",oF=C(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),"detector"),aF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D7WbMK4o.js");return{diagram:t}},__vite__mapDeps([93,68,69,3,4]),import.meta.url);return{id:s1,diagram:e}},"loader"),sF={id:s1,detector:oF,loader:aF},n1="railroad",nF=C(e=>/^\s*railroad-beta/i.test(e),"detector"),lF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./stD6q5ZD.js");return{diagram:t}},__vite__mapDeps([94,95,68,69,3,4]),import.meta.url);return{id:n1,diagram:e}},"loader"),cF={id:n1,detector:nF,loader:lF},l1="railroadEbnf",hF=C(e=>/^\s*railroad-ebnf-beta/i.test(e),"detector"),dF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./wAO5YQrd.js");return{diagram:t}},__vite__mapDeps([96,95,68,69,3,4]),import.meta.url);return{id:l1,diagram:e}},"loader"),uF={id:l1,detector:hF,loader:dF},c1="railroadAbnf",fF=C(e=>/^\s*railroad-abnf-beta/i.test(e),"detector"),gF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D2NUq8UU.js");return{diagram:t}},__vite__mapDeps([97,95,68,69,3,4]),import.meta.url);return{id:c1,diagram:e}},"loader"),pF={id:c1,detector:fF,loader:gF},h1="railroadPeg",mF=C(e=>/^\s*railroad-peg-beta/i.test(e),"detector"),yF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BSiWAL4B.js");return{diagram:t}},__vite__mapDeps([98,95,68,69,3,4]),import.meta.url);return{id:h1,diagram:e}},"loader"),xF={id:h1,detector:mF,loader:yF},np=!1,dc=C(()=>{np||(np=!0,Sl("error",QA,e=>e.toLowerCase().trim()==="error"),Sl("---",{db:{clear:C(()=>{},"clear")},styles:{},renderer:{draw:C(()=>{},"draw")},parser:{parse:C(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:C(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),Bh(r5,h5,O5),Bh(ZL,zL,g5,RA,oA,uA,pA,xA,AA,PA,tA,jL,s5,lA,zA,jA,kA,x5,w5,TA,_5,q5,$5,v5,H5,Z5,cF,uF,pF,xF,G5,iF,sF,J5))},"addDiagrams"),bF=C(async()=>{Lt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Ta).map(async([r,{detector:i,loader:o}])=>{if(o)try{$h(r)}catch{try{const{diagram:a,id:s}=await o();Sl(s,a,i)}catch(a){throw Lt.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete Ta[r],a}}}))).filter(r=>r.status==="rejected");if(t.length>0){Lt.error(`Failed to load ${t.length} external diagrams`);for(const r of t)Lt.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),CF="graphics-document document";function d1(e,t){e.attr("role",CF),t!==""&&e.attr("aria-roledescription",t)}C(d1,"setA11yDiagramInfo");function u1(e,t,r,i){if(e.insert!==void 0){if(r){const o=`chart-desc-${i}`;e.attr("aria-describedby",o),e.insert("desc",":first-child").attr("id",o).text(r)}if(t){const o=`chart-title-${i}`;e.attr("aria-labelledby",o),e.insert("title",":first-child").attr("id",o).text(t)}}}C(u1,"addSVGa11yTitleDescription");var Ma,Xl=(Ma=class{constructor(t,r,i,o,a){this.type=t,this.text=r,this.db=i,this.parser=o,this.renderer=a}static async fromText(t,r={}){const i=typeof t=="string"?{cleaned:t}:t,o=Ar(),a=Zl(i.cleaned,o);try{$h(a)}catch{const u=C2(a);if(!u)throw new Jp(`Diagram ${a} not found.`);const{id:f,diagram:g}=await u();Sl(f,g)}const{db:s,parser:n,renderer:l,init:c}=$h(a);n.parser&&(n.parser.yy=s),s.clear?.(),c?.(o),r.title&&s.setDiagramTitle?.(r.title);let h=i.cleaned;if(s.preserveCommentsWhenParsing&&i.withComments){const u=o.maxTextSize??Ld.maxTextSize;i.withComments.length>u?Lt.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):h=i.withComments}const d=TM(h)+`
303
303
  `;return i.frontmatterLineOffset&&s.setFrontmatterLineOffset?.(i.frontmatterLineOffset),await n.parse(d),new Ma(a,d,s,n,l)}async render(t,r){await this.renderer.draw(this.text,t,r,this)}getParser(){return this.parser}getType(){return this.type}},C(Ma,"Diagram"),Ma),lp=[],wF=C(()=>{lp.forEach(e=>{e()}),lp=[]},"attachFunctions"),kF=C(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function f1(e){const t=Qp(e);if(!t)return{text:e,metadata:{}};const r=t.indent,i=r?t.body.split(`
304
304
  `).map(s=>s.startsWith(r)?s.slice(r.length):s).join(`
305
305
  `):t.body;let o=o2(i,{schema:i2})??{};o=typeof o=="object"&&!Array.isArray(o)?o:{};const a={};return o.displayMode&&(a.displayMode=o.displayMode.toString()),o.title&&(a.title=o.title.toString()),o.config&&(a.config=o.config),{text:e.slice(t.length),metadata:a}}C(f1,"extractFrontMatter");var SF=C(e=>e.replace(/\r\n?/g,`
@@ -1,4 +1,4 @@
1
- import{m as Ts,j as kt}from"./uXuxG9cN.js";import{bm as l}from"./BfX15qhw.js";import{ID as Ct,I_ as i,e as I,c1 as Es,i as F,i5 as Rs,nM as T,qm as xs,m0 as Ps,yq as Ms,nL as j,rL as wt,yp as vt,rK as At,iz as Ns,ny as It,nD as $s,mf as Ls,fM as Tt,lY as Os,mq as Ds,o0 as $,iC as Ws,aW as Ee,aP as ie}from"./ByW7bxEK.js";import{bU as Us,d1 as js,b1 as Fs,aI as Hs,cm as Bs,bM as qs,bn as zs,bu as Gs,ao as Zs,cJ as Ks,cR as Vs,c7 as Qs,bi as Ys}from"./CUPNFNnH.js";import{g as Xs,i as Js,a as er}from"./C8i00JgJ.js";import{n as ze,o as Ge,b as q,s as Q,_ as be,e as tr}from"./CIyUrgF0.js";import{a as sr,g as rr,b as nr,i as Ce,C as fe}from"./DypB-Dwi.js";import{Q as ar}from"./Dg1sjsED.js";import{u as or}from"./DOB06fXT.js";import{d as ir}from"./CpbmyPj0.js";import{l as w,m as cr}from"./Dkq3_GD2.js";var we=(e=>(e.ACTIVATING="activating",e.ACTIVE="active",e.ERROR="error",e))(we||{});function Di(e){return e.isPending===!0||e.status==="pending"}function lr(e,t){const s=e.provider||e.metadata?.provider||e.config?.provider;if(s)return s;if(e.model)return(Ct(e.model).providerId??t)||void 0}function Wi(e){return e.messages.length>0}function dr(e){return e.filter(t=>t.type==="text").map(t=>t.text??"").join("")}function ur(e){return e.contentBlocks?dr(e.contentBlocks):""}const Ui=i.createSelector(e=>e.principal),ee=i.createSelector(sr),x=i.createSelector(e=>{const t=e.principal;return t?.status==="ready"&&t.context!==null&&t.context===ee.select(e)?t.snapshot:null}),fr=i.createSelector(e=>x.select(e)?.daemonMode??null),ji=i.createSelector(e=>fr.select(e)==="orchestrator"),Fi=i.createSelector(e=>x.select(e)?.capabilities.agentPlugins===1),Hi=i.createSelector(e=>x.select(e)?.capabilities.messageBlockPages===1),O=i.createSelector(e=>{const t=x.select(e);return t?t.capabilities.hostMembership?t.principal.hostRole??null:t.principal.isAdministrator?"owner":"guest":null}),ne=i.createSelector(e=>O.select(e)==="owner"),Et=i.createSelector(e=>e.principal?.status==="revoked"&&e.principal.context!==null&&e.principal.context===ee.select(e)),Bi=i.createSelector(e=>{const t=O.select(e);return t==="member"||t==="guest"||Et.select(e)}),qi=i.createSelector(e=>ne.select(e)?ee.select(e):null),gr=i.createSelector(e=>{const t=O.select(e);return t==="owner"||t==="member"}),ge=i.createSelector(e=>or.select(e)===!0&&!!x.select(e)&&e.principal.refreshedPresentationVersion===e.principal.presentationVersion),zi=i.createSelector(e=>{const t=ge.select(e),s=x.select(e)?.capabilities;return{hostMembership:t&&s?.hostMembership===!0,manageHostMembers:t&&s?.hostMembership===!0&&ne.select(e),personalPairing:t&&s?.personalPairing===!0,authenticatedDevices:t&&s?.authenticatedDevices===!0,collaborationIdentity:t&&s?.collaborationIdentity===!0}}),pe=i.createSelector(rr),Gi=i.createSelector(nr),Zi=i.createSelector(e=>gr.select(e)&&(ne.select(e)||ge.select(e)));function pr(e,t){const s=e.indexOf("/"),r=s===-1?void 0:e.slice(0,s),n=s===-1?e:e.slice(s+1),a=t?.indexOf("/")??-1,c=t&&a!==-1?t.slice(0,a):void 0;return r&&c&&r.toLowerCase()===c.toLowerCase()?n:e}function Rt(e,t,s){return`${pr(e,s)} #${t}`}function Re(e){return e.resource?.repository.provider==="gitlab"}function Ki(e,t){return`${Re(e)?"!":"#"}${t}`}function hr(e){return e.url??(e.resource||e.monitorAvailability||e.url===null?"":`https://github.com/${e.repo}/pull/${e.prNumber}`)}function mr(e,t){return Re(e)?`${e.repo} !${e.prNumber}`:Rt(e.repo,e.prNumber,t)}function Vi(e){return e.resource?Ts(e.resource):e.monitorAvailability?`unresolved:${e.monitorId}`:`${e.repo.toLowerCase()}#${e.prNumber}`}function Qi(e){switch(e.monitorAvailability?.state){case void 0:case"available":return;case"pending":return l.chat_chatMessage_loading_label();case"reconnect-required":return l.chat_monitoredPrs_status_reconnect();case"restricted":return l.chat_monitoredPrs_status_restricted();case"unresolved":return l.chat_monitoredPrs_status_unresolved();default:return l.chat_monitoredPrs_status_unknown()}}function Yi(e){return e.isDraft===null||e.hasConflicts===null||e.isBehind===null||Object.values(e.checks).some(t=>t===null)||e.approvals.have===null||e.approvals.changesRequested===null||e.availability!==void 0&&Object.values(e.availability).some(t=>t!=="available")}function Xi(e,t){if(!Re(t)||!t.resource)return e;const s=new URL(t.resource.repository.instanceBaseUrl);return`${e} (${s.host}${s.pathname.replace(/\/$/,"")})`}function xt(e){return e===I.Halted||e===I.Completed||e===I.Error||e===I.Deleted||e==="completed"||e==="failed"||e==="error"||e==="deleted"}function Pt(e){return e.status===I.Halted?!1:!!(e.turnInFlight||e.liveTurnOpen||e.isStreaming||e.isProcessing||e.isResponding||e.isWaitingOnTool||e.lastToolUse?.status?.toLowerCase()==="running")}function Mt(e){return e.status===I.Resuming||xt(e.status)||Pt(e)?!1:!!(e.isWaitingForOtherAgents||e.status===I.Waiting||e.status==="waiting")}function _r(e){return xt(e.status)||Mt(e)?!1:!!(Pt(e)||e.activationState==="activating"||e.status===I.Resuming||e.status===I.Active||e.status===I.Processing||e.status==="active"||e.status==="processing"||e.status==="responding"||e.status==="streaming")}function Ji(e){return{isStreaming:e.isStreaming,isProcessing:e.isProcessing,isResponding:e.isResponding,turnInFlight:e.turnInFlight,liveTurnOpen:e.liveTurnOpen,isWaitingOnTool:e.isWaitingOnTool,isWaitingForOtherAgents:e.isWaitingForOtherAgents,lastToolUse:e.lastToolUse,activationState:e.activationState,status:e.status}}function br(e){if(!e)return null;const t=e.lastUserMessage||"";let s=e.lastAgentResponse||"",r;const n=e.digest||void 0,a=e.lastMessageRole==="user"||e.lastMessageRole==="assistant"?e.lastMessageRole:void 0;e.isStreaming&&e.lastToolUse?.name?(r={type:"tool_use",id:`live-tool:${e.id}`,name:e.lastToolUse.name,input:{}},s=""):!s&&!e.isStreaming&&e.lastToolUse?.name&&(r={type:"tool_use",id:`wire-tool:${e.id}`,name:e.lastToolUse.name,input:e.lastToolUse.input??{}});const c=e.metadata?.completionReport||void 0,o=Es(e)??void 0;return{id:e.id,name:e.name||l.chat_chatHeader_newChat_fallback(),status:e.status,lastUserMessage:t,lastResponse:s,lastToolUse:r,fileChanges:(e.fileChanges||[]).map(d=>({path:d.path,action:d.type||d.action||"modify",timestamp:d.timestamp||new Date().toISOString()})),messages:e.messages||[],completionReport:c,digest:n,parentAgentId:o,lastMessageRole:a}}function ec(e,t){if(!e)return"";const s=e.split(`
1
+ import{m as Ts,j as kt}from"./uXuxG9cN.js";import{bm as l}from"./CDNiWmce.js";import{ID as Ct,I_ as i,e as I,c1 as Es,i as F,i5 as Rs,nM as T,qm as xs,m0 as Ps,yq as Ms,nL as j,rL as wt,yp as vt,rK as At,iz as Ns,ny as It,nD as $s,mf as Ls,fM as Tt,lY as Os,mq as Ds,o0 as $,iC as Ws,aW as Ee,aP as ie}from"./qD_x_a7m.js";import{bU as Us,d1 as js,b1 as Fs,aI as Hs,cm as Bs,bM as qs,bn as zs,bu as Gs,ao as Zs,cJ as Ks,cR as Vs,c7 as Qs,bi as Ys}from"./DcR44gq9.js";import{g as Xs,i as Js,a as er}from"./CMQcQe3J.js";import{n as ze,o as Ge,b as q,s as Q,_ as be,e as tr}from"./CIyUrgF0.js";import{a as sr,g as rr,b as nr,i as Ce,C as fe}from"./DypB-Dwi.js";import{Q as ar}from"./8VBKAONs.js";import{u as or}from"./CfsrLxYu.js";import{d as ir}from"./Qm-MZg2p.js";import{l as w,m as cr}from"./CXfsvSt9.js";var we=(e=>(e.ACTIVATING="activating",e.ACTIVE="active",e.ERROR="error",e))(we||{});function Di(e){return e.isPending===!0||e.status==="pending"}function lr(e,t){const s=e.provider||e.metadata?.provider||e.config?.provider;if(s)return s;if(e.model)return(Ct(e.model).providerId??t)||void 0}function Wi(e){return e.messages.length>0}function dr(e){return e.filter(t=>t.type==="text").map(t=>t.text??"").join("")}function ur(e){return e.contentBlocks?dr(e.contentBlocks):""}const Ui=i.createSelector(e=>e.principal),ee=i.createSelector(sr),x=i.createSelector(e=>{const t=e.principal;return t?.status==="ready"&&t.context!==null&&t.context===ee.select(e)?t.snapshot:null}),fr=i.createSelector(e=>x.select(e)?.daemonMode??null),ji=i.createSelector(e=>fr.select(e)==="orchestrator"),Fi=i.createSelector(e=>x.select(e)?.capabilities.agentPlugins===1),Hi=i.createSelector(e=>x.select(e)?.capabilities.messageBlockPages===1),O=i.createSelector(e=>{const t=x.select(e);return t?t.capabilities.hostMembership?t.principal.hostRole??null:t.principal.isAdministrator?"owner":"guest":null}),ne=i.createSelector(e=>O.select(e)==="owner"),Et=i.createSelector(e=>e.principal?.status==="revoked"&&e.principal.context!==null&&e.principal.context===ee.select(e)),Bi=i.createSelector(e=>{const t=O.select(e);return t==="member"||t==="guest"||Et.select(e)}),qi=i.createSelector(e=>ne.select(e)?ee.select(e):null),gr=i.createSelector(e=>{const t=O.select(e);return t==="owner"||t==="member"}),ge=i.createSelector(e=>or.select(e)===!0&&!!x.select(e)&&e.principal.refreshedPresentationVersion===e.principal.presentationVersion),zi=i.createSelector(e=>{const t=ge.select(e),s=x.select(e)?.capabilities;return{hostMembership:t&&s?.hostMembership===!0,manageHostMembers:t&&s?.hostMembership===!0&&ne.select(e),personalPairing:t&&s?.personalPairing===!0,authenticatedDevices:t&&s?.authenticatedDevices===!0,collaborationIdentity:t&&s?.collaborationIdentity===!0}}),pe=i.createSelector(rr),Gi=i.createSelector(nr),Zi=i.createSelector(e=>gr.select(e)&&(ne.select(e)||ge.select(e)));function pr(e,t){const s=e.indexOf("/"),r=s===-1?void 0:e.slice(0,s),n=s===-1?e:e.slice(s+1),a=t?.indexOf("/")??-1,c=t&&a!==-1?t.slice(0,a):void 0;return r&&c&&r.toLowerCase()===c.toLowerCase()?n:e}function Rt(e,t,s){return`${pr(e,s)} #${t}`}function Re(e){return e.resource?.repository.provider==="gitlab"}function Ki(e,t){return`${Re(e)?"!":"#"}${t}`}function hr(e){return e.url??(e.resource||e.monitorAvailability||e.url===null?"":`https://github.com/${e.repo}/pull/${e.prNumber}`)}function mr(e,t){return Re(e)?`${e.repo} !${e.prNumber}`:Rt(e.repo,e.prNumber,t)}function Vi(e){return e.resource?Ts(e.resource):e.monitorAvailability?`unresolved:${e.monitorId}`:`${e.repo.toLowerCase()}#${e.prNumber}`}function Qi(e){switch(e.monitorAvailability?.state){case void 0:case"available":return;case"pending":return l.chat_chatMessage_loading_label();case"reconnect-required":return l.chat_monitoredPrs_status_reconnect();case"restricted":return l.chat_monitoredPrs_status_restricted();case"unresolved":return l.chat_monitoredPrs_status_unresolved();default:return l.chat_monitoredPrs_status_unknown()}}function Yi(e){return e.isDraft===null||e.hasConflicts===null||e.isBehind===null||Object.values(e.checks).some(t=>t===null)||e.approvals.have===null||e.approvals.changesRequested===null||e.availability!==void 0&&Object.values(e.availability).some(t=>t!=="available")}function Xi(e,t){if(!Re(t)||!t.resource)return e;const s=new URL(t.resource.repository.instanceBaseUrl);return`${e} (${s.host}${s.pathname.replace(/\/$/,"")})`}function xt(e){return e===I.Halted||e===I.Completed||e===I.Error||e===I.Deleted||e==="completed"||e==="failed"||e==="error"||e==="deleted"}function Pt(e){return e.status===I.Halted?!1:!!(e.turnInFlight||e.liveTurnOpen||e.isStreaming||e.isProcessing||e.isResponding||e.isWaitingOnTool||e.lastToolUse?.status?.toLowerCase()==="running")}function Mt(e){return e.status===I.Resuming||xt(e.status)||Pt(e)?!1:!!(e.isWaitingForOtherAgents||e.status===I.Waiting||e.status==="waiting")}function _r(e){return xt(e.status)||Mt(e)?!1:!!(Pt(e)||e.activationState==="activating"||e.status===I.Resuming||e.status===I.Active||e.status===I.Processing||e.status==="active"||e.status==="processing"||e.status==="responding"||e.status==="streaming")}function Ji(e){return{isStreaming:e.isStreaming,isProcessing:e.isProcessing,isResponding:e.isResponding,turnInFlight:e.turnInFlight,liveTurnOpen:e.liveTurnOpen,isWaitingOnTool:e.isWaitingOnTool,isWaitingForOtherAgents:e.isWaitingForOtherAgents,lastToolUse:e.lastToolUse,activationState:e.activationState,status:e.status}}function br(e){if(!e)return null;const t=e.lastUserMessage||"";let s=e.lastAgentResponse||"",r;const n=e.digest||void 0,a=e.lastMessageRole==="user"||e.lastMessageRole==="assistant"?e.lastMessageRole:void 0;e.isStreaming&&e.lastToolUse?.name?(r={type:"tool_use",id:`live-tool:${e.id}`,name:e.lastToolUse.name,input:{}},s=""):!s&&!e.isStreaming&&e.lastToolUse?.name&&(r={type:"tool_use",id:`wire-tool:${e.id}`,name:e.lastToolUse.name,input:e.lastToolUse.input??{}});const c=e.metadata?.completionReport||void 0,o=Es(e)??void 0;return{id:e.id,name:e.name||l.chat_chatHeader_newChat_fallback(),status:e.status,lastUserMessage:t,lastResponse:s,lastToolUse:r,fileChanges:(e.fileChanges||[]).map(d=>({path:d.path,action:d.type||d.action||"modify",timestamp:d.timestamp||new Date().toISOString()})),messages:e.messages||[],completionReport:c,digest:n,parentAgentId:o,lastMessageRole:a}}function ec(e,t){if(!e)return"";const s=e.split(`
2
2
  `);for(;s.length>0&&s[s.length-1].trim()==="";)s.pop();return s.length===0?"":s.length<=t?s.join(`
3
3
  `):`${s.slice(-t).join(`
4
4
  `)}...`}const yr={prefix:"fas",iconName:"note-sticky",icon:[16,16,[],"e002","M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 3.75ZM2 8a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 8Zm0 4.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z"]},b={"file-read":Ys,"file-write":Qs,"file-delete":Vs,terminal:Ks,search:Us,"context-engine":Zs,api:Gs,workspace:zs,note:yr,meta:qs,agent:Bs,task:Hs,browser:Fs,generic:js},Sr=["workspace-mcp_","workspace_mcp_","filesystem_","browser-mcp_","browser_mcp_"],kr=["_workspace-mcp","-workspace-mcp","_playwright","_browser_mcp","_context_7","_svelte","_npx","_sequential_thinking","_figma","_slack","_sentry","_github","_linear","_notion","_jira"];function Nt(e){return!!e&&/^(mcp__|mcp\.)/i.test(e)}const Ze=/select:\s*mcp(__|\.)/i,Cr=/^select:\s*mcp(__|\.)/i;function wr(e,t={}){if(G(e).toLowerCase()==="toolsearch"||typeof t.query=="string"&&Cr.test(t.query))return!0;const s=typeof t._acpTitle=="string"?t._acpTitle:"";return Ze.test(e||"")||Ze.test(s)}function G(e){if(!e)return"";const t=e.match(/\/\/local\/mcp\/(.+)$/);t&&(e=t[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^mcp\.[^.]+\./,"");const s=e.toLowerCase();for(const n of Sr)if(s.startsWith(n)){e=e.slice(n.length);break}let r=!0;for(;r;){r=!1;const n=e.toLowerCase();for(const a of kr)if(n.endsWith(a)){e=e.slice(0,-a.length),r=!0;break}}return e}function $t(e){const t=e.trim();return/\s/.test(t)?/^[A-Za-z0-9._-]+:\s/.test(t)?!0:t.split(/\s+/).length>=3:!1}function Lt(e){const t=e.trim().match(/^List\s+directory\s+\x60([^\x60]+)\x60$/i);if(!t)return null;const s=t[1].trim();return s.length===0?null:{category:"file-read",icon:b["file-read"],verb:l.chat_toolClassifier_listContents_label(),subject:R(s)||s,path:N(s)||null,filePath:s||null,isDirectory:!0}}function Ot(e){const t=e.toLowerCase(),s=t.includes("agent")?"agent":t.includes("note")?"note":t.includes("workspace")?"workspace":"generic";return{category:s,icon:b[s],verb:p(e.trim(),120),subject:null,path:null}}const vr=[{suffix:"_workspace-mcp",source:"workspace-mcp"},{suffix:"-workspace-mcp",source:"workspace-mcp"},{suffix:"_browser_mcp",source:"browser-mcp"},{suffix:"_playwright",source:"playwright"},{suffix:"_sequential_thinking",source:"sequential-thinking"},{suffix:"_context_7",source:"context7"},{suffix:"_figma",source:"figma"},{suffix:"_sentry",source:"sentry"},{suffix:"_github",source:"github"},{suffix:"_linear",source:"linear"},{suffix:"_slack",source:"slack"},{suffix:"_notion",source:"notion"},{suffix:"_jira",source:"jira"},{suffix:"_svelte",source:"svelte"},{suffix:"_npx",source:"npx"}],Ar=[{prefix:"workspace-mcp_",source:"workspace-mcp"},{prefix:"workspace_mcp_",source:"workspace-mcp"},{prefix:"browser-mcp_",source:"browser-mcp"},{prefix:"browser_mcp_",source:"browser-mcp"},{prefix:"filesystem_",source:"filesystem"}],Ke={"github-api":"github",linear:"linear",glean:"glean"},Ir=new Set(["view","codebase-retrieval","codebase_retrieval","launch-process","launch_process","read-process","read_process","write-process","write_process","kill-process","kill_process","list-processes","list_processes","str-replace-editor","str_replace_editor","save-file","save_file","remove-files","remove_files","web-search","web_search","web-fetch","web_fetch","conversation-retrieval","conversation_retrieval","git-commit-retrieval","git_commit_retrieval","bash","read","edit","run","find","grep"]);function Tr(e){if(!e)return;const t=e.match(/\/\/local\/mcp\/(.+)$/);t&&(e=t[1]);const s=e.match(/^mcp__([^_]+)__/);if(s)return s[1].toLowerCase();const r=e.match(/^mcp\.([^.]+)\./);if(r)return r[1].toLowerCase();const n=e.toLowerCase();for(const{prefix:a,source:c}of Ar)if(n.startsWith(a))return c;for(const{suffix:a,source:c}of vr)if(n.endsWith(a))return c;if(Ke[n])return Ke[n];Ir.has(n)}function A(e){return typeof e=="string"?e:e==null?"":String(e)}function p(e,t=50){const s=A(e);return s.length>t?`${s.substring(0,t)}...`:s}function xe(e){if(e==null)return null;if(typeof e=="string")return e;if(Array.isArray(e)){const t=e.filter(s=>s&&typeof s=="object"&&s.type==="text"&&s.text).map(s=>s.text);return t.length>0?t.join(`
@@ -1 +1 @@
1
- import{aR as o,aP as l,a0 as v,l as y,bu as T,bT as b,bL as f,bM as i,r as m,aQ as p}from"./CJxGDkBm.js";import{B as R}from"./BfX15qhw.js";function E(d,_,e){var s;o&&(s=p,l());var r=new R(d);v(()=>{var a=_()??null;if(o){var h=T(s),u=h===m,c=a!==null;if(u!==c){var t=b();f(t),r.anchor=t,i(!1),r.ensure(a,a&&(n=>e(n,a))),i(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},y)}export{E as c};
1
+ import{aR as o,aP as l,a0 as v,l as y,bu as T,bT as b,bL as f,bM as i,r as m,aQ as p}from"./CJxGDkBm.js";import{B as R}from"./CDNiWmce.js";function E(d,_,e){var s;o&&(s=p,l());var r=new R(d);v(()=>{var a=_()??null;if(o){var h=T(s),u=h===m,c=a!==null;if(u!==c){var t=b();f(t),r.anchor=t,i(!1),r.ensure(a,a&&(n=>e(n,a))),i(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},y)}export{E as c};