@intent-hq/web 2.327.2 → 2.327.3

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 (242) hide show
  1. package/bin/intent-web.mjs +2 -0
  2. package/package.json +1 -1
  3. package/web/app/immutable/assets/{14.HorMMNG4.css → 14.CU62PBbE.css} +1 -1
  4. package/web/app/immutable/assets/16.DdJIHg9f.css +1 -0
  5. package/web/app/immutable/assets/ChatPanel.B73KM22O.css +1 -0
  6. package/web/app/immutable/assets/{16.CQiMfhJh.css → DockRecordingEditor.Cpd07eyT.css} +1 -1
  7. package/web/app/immutable/assets/conversation-turns.BHHyRLdd.css +1 -0
  8. package/web/app/immutable/chunks/{7k5ozo9c.js → -DqWFMjY.js} +1 -1
  9. package/web/app/immutable/chunks/{DeQzn7pT.js → -nlL-11J.js} +7 -7
  10. package/web/app/immutable/chunks/{BV4AHhCq.js → 13JKYtK_.js} +1 -1
  11. package/web/app/immutable/chunks/{BclymnXe.js → 35D9vOc6.js} +1 -1
  12. package/web/app/immutable/chunks/{Ca3Yads8.js → 3JpWDI-M.js} +4 -4
  13. package/web/app/immutable/chunks/{_tv07_-D.js → 3MiSzwO_.js} +1 -1
  14. package/web/app/immutable/chunks/{2bCqOBlF.js → 3t4RuxC6.js} +2 -2
  15. package/web/app/immutable/chunks/{CAL5qbag.js → 4IYHA49l.js} +1 -1
  16. package/web/app/immutable/chunks/{C1TwLTiC.js → 4Zskc9_e.js} +1 -1
  17. package/web/app/immutable/chunks/{BK3YE2GB.js → 5fWnBOdu.js} +1 -1
  18. package/web/app/immutable/chunks/{BYCQnKWG.js → 7ZTbeFDr.js} +1 -1
  19. package/web/app/immutable/chunks/{fSndiqme.js → 9jHc2HrQ.js} +1 -1
  20. package/web/app/immutable/chunks/{CKjldRop.js → 9o72bVmU.js} +1 -1
  21. package/web/app/immutable/chunks/{Ou2B083h.js → 9xAB6iEw.js} +3 -3
  22. package/web/app/immutable/chunks/{C_4hXDel.js → AfJdOpGJ.js} +1 -1
  23. package/web/app/immutable/chunks/{RgXiUiyX.js → AjPbGUJ_.js} +1 -1
  24. package/web/app/immutable/chunks/{B4Qf0RS5.js → B-lZ23N5.js} +1 -1
  25. package/web/app/immutable/chunks/{Ph7T0qF8.js → B01nzMRs.js} +1 -1
  26. package/web/app/immutable/chunks/B08wwvKU.js +5 -0
  27. package/web/app/immutable/chunks/{7rjdCDDK.js → B0J8YEPJ.js} +1 -1
  28. package/web/app/immutable/chunks/{C9-oKvmU.js → B4Un96Br.js} +1 -1
  29. package/web/app/immutable/chunks/{BbEZgkca.js → B6EWkrDE.js} +2 -2
  30. package/web/app/immutable/chunks/{C-am1GTe.js → B6X5Wi93.js} +1 -1
  31. package/web/app/immutable/chunks/{D1ynivqZ.js → B798GHK3.js} +1 -1
  32. package/web/app/immutable/chunks/{DkPB5Gyi.js → B7Mop_jC.js} +1 -1
  33. package/web/app/immutable/chunks/B7dOkBeu.js +1 -0
  34. package/web/app/immutable/chunks/{DkcUxSHK.js → B7gQ_nlj.js} +1 -1
  35. package/web/app/immutable/chunks/{D4fSLYwV.js → B8AHyIcJ.js} +1 -1
  36. package/web/app/immutable/chunks/{CTMsT2IU.js → B9dGZuHJ.js} +3 -3
  37. package/web/app/immutable/chunks/{Bhff3giG.js → B9k9ipWN.js} +1 -1
  38. package/web/app/immutable/chunks/{HpcR9-ZP.js → B9xeURWe.js} +1 -1
  39. package/web/app/immutable/chunks/{DAXKoZjm.js → BAcNJnHM.js} +1 -1
  40. package/web/app/immutable/chunks/{Gh0Bk6WC.js → BBy57-xG.js} +1 -1
  41. package/web/app/immutable/chunks/{CLDLGPLG.js → BDj_hFdE.js} +1 -1
  42. package/web/app/immutable/chunks/{CypQ6Hrf.js → BEOwcfbQ.js} +1 -1
  43. package/web/app/immutable/chunks/{CpPVAOg5.js → BFK7BFQt.js} +1 -1
  44. package/web/app/immutable/chunks/{2Yr7qZy-.js → BJptJeKO.js} +1 -1
  45. package/web/app/immutable/chunks/{BxRFeUGV.js → BJyBc51V.js} +1 -1
  46. package/web/app/immutable/chunks/{B6ZEHAgn.js → BLqcY2WP.js} +1 -1
  47. package/web/app/immutable/chunks/{CqnfptVg.js → BOR1_TRO.js} +1 -1
  48. package/web/app/immutable/chunks/{BBYPPwon.js → BOvycfTx.js} +1 -1
  49. package/web/app/immutable/chunks/{XKfxOi0c.js → BRpgL-_J.js} +1 -1
  50. package/web/app/immutable/chunks/{DTOenBGo.js → BY3-E0yy.js} +1 -1
  51. package/web/app/immutable/chunks/{DZzTUgIA.js → BY8Jls8O.js} +1 -1
  52. package/web/app/immutable/chunks/{jgNaB-mi.js → BZ9svoQk.js} +1 -1
  53. package/web/app/immutable/chunks/{DvnDAxdo.js → BZprW35U.js} +1 -1
  54. package/web/app/immutable/chunks/{DGuIJztL.js → BcyJoTHB.js} +1 -1
  55. package/web/app/immutable/chunks/{M0UFWl_S.js → BdQCA_Nv.js} +1 -1
  56. package/web/app/immutable/chunks/BdWqymET.js +1 -0
  57. package/web/app/immutable/chunks/{CIno4eJd.js → Bf7TqJG_.js} +1 -1
  58. package/web/app/immutable/chunks/{Bq9BF2kT.js → BfIdeT8L.js} +1 -1
  59. package/web/app/immutable/chunks/{Dd-c6aT7.js → BfWiwhpc.js} +1 -1
  60. package/web/app/immutable/chunks/{wOsjtdPJ.js → Bg-m0Nfi.js} +1 -1
  61. package/web/app/immutable/chunks/{B4Rscrf6.js → BgfnWFwk.js} +1 -1
  62. package/web/app/immutable/chunks/{Dp0wSsDS.js → Bggzn0XP.js} +2 -2
  63. package/web/app/immutable/chunks/{BerYBtY0.js → BgxXTSJ6.js} +1 -1
  64. package/web/app/immutable/chunks/{D7NWkz7l.js → BhbOznM0.js} +1 -1
  65. package/web/app/immutable/chunks/{BTxVcBTE.js → BjtjqFpR.js} +1 -1
  66. package/web/app/immutable/chunks/{B_oexMWu.js → Bm0frbxK.js} +1 -1
  67. package/web/app/immutable/chunks/{CuimWTUN.js → BneSomYW.js} +1 -1
  68. package/web/app/immutable/chunks/{BJpbRkma.js → BoIGV7s7.js} +1 -1
  69. package/web/app/immutable/chunks/{D-YrUZis.js → Br_KUH7F.js} +1 -1
  70. package/web/app/immutable/chunks/{DoV4Ngwf.js → BtY5FIF5.js} +1 -1
  71. package/web/app/immutable/chunks/{C6LN2Lq-.js → Bv_0taxh.js} +1 -1
  72. package/web/app/immutable/chunks/{C5bHHEee.js → BveUtPGK.js} +1 -1
  73. package/web/app/immutable/chunks/{D9E32u14.js → Bx_Kd6Zj.js} +1 -1
  74. package/web/app/immutable/chunks/BzV5CowC.js +1 -0
  75. package/web/app/immutable/chunks/{gnxdhh79.js → C0k-qPFA.js} +1 -1
  76. package/web/app/immutable/chunks/{DQfuBwT8.js → C1_2Nvwd.js} +1 -1
  77. package/web/app/immutable/chunks/{Q-FVgluz.js → C1pMbnE7.js} +1 -1
  78. package/web/app/immutable/chunks/{dinOFH6z.js → C4Tw7-py.js} +1 -1
  79. package/web/app/immutable/chunks/{CPzusSaQ.js → C58HgKcj.js} +1 -1
  80. package/web/app/immutable/chunks/{BbiJIN_E.js → C6DXM5lO.js} +1 -1
  81. package/web/app/immutable/chunks/{qB-JaQGy.js → C6tQk-Lg.js} +1 -1
  82. package/web/app/immutable/chunks/{uxNvmxnz.js → C9Oy0LtB.js} +1 -1
  83. package/web/app/immutable/chunks/{DhJNH_hq.js → C9ruBEtx.js} +1 -1
  84. package/web/app/immutable/chunks/C9vpFXDp.js +190 -0
  85. package/web/app/immutable/chunks/{BgiA9PsC.js → CDQiwfpS.js} +2 -2
  86. package/web/app/immutable/chunks/{ffjPpoAP.js → CGpqxwcV.js} +1 -1
  87. package/web/app/immutable/chunks/{CpOX1cm0.js → CI3k0XZh.js} +4 -4
  88. package/web/app/immutable/chunks/{BaUvfuFA.js → CKGr2YTz.js} +1 -1
  89. package/web/app/immutable/chunks/{CW9PUdij.js → CKlsIlGI.js} +1 -1
  90. package/web/app/immutable/chunks/{C7eFRIGF.js → CMmbfhfC.js} +1 -1
  91. package/web/app/immutable/chunks/{CLbcqiJX.js → CNynWE_u.js} +1 -1
  92. package/web/app/immutable/chunks/{D4wVqBkS.js → COsr-D4q.js} +1 -1
  93. package/web/app/immutable/chunks/{D_kdhP8o.js → CP38gzl0.js} +1 -1
  94. package/web/app/immutable/chunks/{BwVx_Xm9.js → CR1VVB-y.js} +1 -1
  95. package/web/app/immutable/chunks/{marbulK7.js → CRWxVPtt.js} +1 -1
  96. package/web/app/immutable/chunks/{D8dE5NKO.js → CSiaiLHL.js} +1 -1
  97. package/web/app/immutable/chunks/{CNZwPZBB.js → CViHflT5.js} +1 -1
  98. package/web/app/immutable/chunks/{C1vc2ZF2.js → CYjbCKOB.js} +1 -1
  99. package/web/app/immutable/chunks/{Dr-K85Pz.js → CZe-BIqB.js} +1 -1
  100. package/web/app/immutable/chunks/C_fXhDsq.js +408 -0
  101. package/web/app/immutable/chunks/{BGUHg5o_.js → Cb0R6qJM.js} +1 -1
  102. package/web/app/immutable/chunks/{CoZ28bOB.js → CcNhqKh5.js} +1 -1
  103. package/web/app/immutable/chunks/{Cwdoe-yo.js → CcurICQ5.js} +1 -1
  104. package/web/app/immutable/chunks/CdVR7Ll7.js +1 -0
  105. package/web/app/immutable/chunks/{COyObFie.js → Cds8-CeJ.js} +1 -1
  106. package/web/app/immutable/chunks/CjREz2UM.js +1 -0
  107. package/web/app/immutable/chunks/{Dmq2MLxr.js → CjjnLU79.js} +1 -1
  108. package/web/app/immutable/chunks/{DeB-Py0k.js → CjqwEdIV.js} +1 -1
  109. package/web/app/immutable/chunks/{Cy1SRgRj.js → CqajeRKF.js} +1 -1
  110. package/web/app/immutable/chunks/{C7VjZ5I1.js → Cr2ds2GX.js} +1 -1
  111. package/web/app/immutable/chunks/{DCo2M5nt.js → CrKwVRvT.js} +1 -1
  112. package/web/app/immutable/chunks/{95PmebfY.js → CroauewU.js} +1 -1
  113. package/web/app/immutable/chunks/{-ntpqjUQ.js → Cs3K9au3.js} +1 -1
  114. package/web/app/immutable/chunks/{D4wUHJ-V.js → CuacBn4U.js} +1 -1
  115. package/web/app/immutable/chunks/{l7AMrk83.js → Cue9ti62.js} +1 -1
  116. package/web/app/immutable/chunks/{B-LxAE4l.js → CwBEqZZ_.js} +1 -1
  117. package/web/app/immutable/chunks/{b8_D7H9k.js → CwBXGgp6.js} +1 -1
  118. package/web/app/immutable/chunks/{ColHxoku.js → CyLGGlF1.js} +4 -4
  119. package/web/app/immutable/chunks/CziMjc6R.js +11 -0
  120. package/web/app/immutable/chunks/D1Wd8yWC.js +12 -0
  121. package/web/app/immutable/chunks/{C5SMJxa0.js → D1zY3q4_.js} +2 -2
  122. package/web/app/immutable/chunks/{ClBnJ15C.js → D2bUbzxj.js} +1 -1
  123. package/web/app/immutable/chunks/{BvULLTwA.js → D39ODeMy.js} +2 -2
  124. package/web/app/immutable/chunks/{DwkxcWNI.js → D3glRUn0.js} +2 -2
  125. package/web/app/immutable/chunks/{B1nmZwVF.js → D3kn1fgc.js} +1 -1
  126. package/web/app/immutable/chunks/{Do9PiZ5P.js → D3pYGmsv.js} +2 -2
  127. package/web/app/immutable/chunks/{Cw26kBCe.js → D6G_--ry.js} +1 -1
  128. package/web/app/immutable/chunks/{HdOtmFfs.js → DAB4KDZf.js} +1 -1
  129. package/web/app/immutable/chunks/{Byv1V5rF.js → DBMurqmQ.js} +1 -1
  130. package/web/app/immutable/chunks/{BUU84hQY.js → DFXVbPZk.js} +1 -1
  131. package/web/app/immutable/chunks/{ChyK3c5O.js → DLFNuh8k.js} +1 -1
  132. package/web/app/immutable/chunks/{C5mH9Vrl.js → DLgg2y1C.js} +1 -1
  133. package/web/app/immutable/chunks/DLrur9eT.js +271 -0
  134. package/web/app/immutable/chunks/{CYgFtonv.js → DOuKhcDi.js} +1 -1
  135. package/web/app/immutable/chunks/{BOod2-vo.js → DPWvmlFQ.js} +1 -1
  136. package/web/app/immutable/chunks/{D7jA8MQK.js → DPXmbcdl.js} +1 -1
  137. package/web/app/immutable/chunks/{Bw8BPAST.js → DSjgIWnH.js} +1 -1
  138. package/web/app/immutable/chunks/{BJFbczXI.js → DTKsxP_g.js} +1 -1
  139. package/web/app/immutable/chunks/{DVnJa0eT.js → DVAV2MG2.js} +1 -1
  140. package/web/app/immutable/chunks/{Fb6bTqJy.js → DVEpt846.js} +1 -1
  141. package/web/app/immutable/chunks/{Ciht8P3-.js → DXmYCfpj.js} +1 -1
  142. package/web/app/immutable/chunks/{ClHpwdNk.js → DZt8Gjbk.js} +1 -1
  143. package/web/app/immutable/chunks/{jxb5pgpW.js → D_YJY_Ty.js} +1 -1
  144. package/web/app/immutable/chunks/{CBEZBV7x.js → DagQHAoe.js} +1 -1
  145. package/web/app/immutable/chunks/{DFxg8FPE.js → Dc2Hdtlu.js} +1 -1
  146. package/web/app/immutable/chunks/{D19QPbvx.js → DcQP1f_r.js} +3 -3
  147. package/web/app/immutable/chunks/{BsesepNZ.js → De3HYtL6.js} +1 -1
  148. package/web/app/immutable/chunks/{DgtgAyRj.js → DeH8i2FV.js} +1 -1
  149. package/web/app/immutable/chunks/{C2vxCrLD.js → DfURqgI9.js} +1 -1
  150. package/web/app/immutable/chunks/{7nLxl2IJ.js → DfxmKh09.js} +1 -1
  151. package/web/app/immutable/chunks/{BwY7DKzU.js → DgFSF7Q3.js} +1 -1
  152. package/web/app/immutable/chunks/{YcWsBw0J.js → DhFS-yhc.js} +1 -1
  153. package/web/app/immutable/chunks/{BmnlV2jU.js → Dhbliv-K.js} +1 -1
  154. package/web/app/immutable/chunks/{CdhZKdub.js → DkVStA3d.js} +1 -1
  155. package/web/app/immutable/chunks/{C4ih-xND.js → DkZU9zgp.js} +2 -2
  156. package/web/app/immutable/chunks/{CvG8wNT6.js → DlL4i-_c.js} +1 -1
  157. package/web/app/immutable/chunks/{DFghII67.js → Dmz-4iVB.js} +1 -1
  158. package/web/app/immutable/chunks/{9taqgPH1.js → DnkVLfZ3.js} +1 -1
  159. package/web/app/immutable/chunks/DreRgY6W.js +1 -0
  160. package/web/app/immutable/chunks/{C0AexULD.js → DvJIE9F0.js} +1 -1
  161. package/web/app/immutable/chunks/{DF5OSHTI.js → E96eL6xW.js} +1 -1
  162. package/web/app/immutable/chunks/{CcSZNfbk.js → EotFP58O.js} +1 -1
  163. package/web/app/immutable/chunks/{CB-J-0bJ.js → FrlwlE8V.js} +1 -1
  164. package/web/app/immutable/chunks/{BFQmpH-Y.js → GbJiak62.js} +1 -1
  165. package/web/app/immutable/chunks/{DqLpc8uk.js → KOIbPY1T.js} +1 -1
  166. package/web/app/immutable/chunks/PpSNoAPM.js +1 -0
  167. package/web/app/immutable/chunks/{COPJQClu.js → Q9zhiNlv.js} +1 -1
  168. package/web/app/immutable/chunks/{CDFRtA1F.js → TP_FEuf4.js} +1 -1
  169. package/web/app/immutable/chunks/{D_TIL4Xc.js → TWLYZedM.js} +1 -1
  170. package/web/app/immutable/chunks/{n9Db8fQb.js → U3vyCaVU.js} +1 -1
  171. package/web/app/immutable/chunks/{Bil-5-Mv.js → UeWiMZOF.js} +1 -1
  172. package/web/app/immutable/chunks/VCguIe99.js +1 -0
  173. package/web/app/immutable/chunks/{IsBHRTqp.js → VxpSEzE0.js} +1 -1
  174. package/web/app/immutable/chunks/{Aw3-65IC.js → WCqnCI0Y.js} +1 -1
  175. package/web/app/immutable/chunks/{B-B22ZmQ.js → X9_JIY5I.js} +1 -1
  176. package/web/app/immutable/chunks/{CpW6JN4X.js → YqTahsxp.js} +1 -1
  177. package/web/app/immutable/chunks/{BDUVRWqe.js → ZNzwzylD.js} +3 -3
  178. package/web/app/immutable/chunks/{CaaDYQm4.js → ZOCUfPRu.js} +6 -6
  179. package/web/app/immutable/chunks/{DoKuqfYA.js → ZWp2d2r6.js} +1 -1
  180. package/web/app/immutable/chunks/{X6OEIYik.js → cSZBj2H1.js} +1 -1
  181. package/web/app/immutable/chunks/{DguixOqZ.js → ckA-QIlc.js} +1 -1
  182. package/web/app/immutable/chunks/{DbYMKWAI.js → dD52HyjL.js} +2 -2
  183. package/web/app/immutable/chunks/{BOY33UBS.js → eq-q_IQg.js} +4 -4
  184. package/web/app/immutable/chunks/{1JDc8gDP.js → evMM8bqV.js} +1 -1
  185. package/web/app/immutable/chunks/{CdlZ8r5v.js → fDvN4TBM.js} +1 -1
  186. package/web/app/immutable/chunks/{B-mVY4KG.js → hwMB9Jx_.js} +1 -1
  187. package/web/app/immutable/chunks/{D6NxvjAo.js → iFTOUkOI.js} +2 -2
  188. package/web/app/immutable/chunks/{DT-w4ZA3.js → iXIypZcP.js} +1 -1
  189. package/web/app/immutable/chunks/{ewlOsRgS.js → k0Eu5yMT.js} +1 -1
  190. package/web/app/immutable/chunks/{CXCbFJ1d.js → mo2YzLEW.js} +1 -1
  191. package/web/app/immutable/chunks/{DacYbmEF.js → myjILdXe.js} +1 -1
  192. package/web/app/immutable/chunks/{DhAAH4rU.js → r2-n1eEu.js} +1 -1
  193. package/web/app/immutable/chunks/{Es_LZ_6E.js → r_aV6a4U.js} +1 -1
  194. package/web/app/immutable/chunks/{BXo80d0I.js → rr-r2USw.js} +1 -1
  195. package/web/app/immutable/chunks/{DpJ6ItFS.js → rz5fXBI2.js} +1 -1
  196. package/web/app/immutable/chunks/{BedviAdk.js → s4jPNyw8.js} +1 -1
  197. package/web/app/immutable/chunks/{CzSCQAr8.js → sAd9qIlC.js} +1 -1
  198. package/web/app/immutable/chunks/{LknVBIaq.js → tNRnW6ie.js} +1 -1
  199. package/web/app/immutable/chunks/{CTc1mqQ1.js → uZRrd2pm.js} +1 -1
  200. package/web/app/immutable/chunks/{MgRcWC-F.js → zWlUYLxQ.js} +1 -1
  201. package/web/app/immutable/entry/app.DoEJogUG.js +4 -0
  202. package/web/app/immutable/entry/start.C_iz1en-.js +1 -0
  203. package/web/app/immutable/nodes/{0.D4UmpUyl.js → 0.BtuyckLI.js} +1 -1
  204. package/web/app/immutable/nodes/{1.DTuLvyGe.js → 1.BlE22l2r.js} +1 -1
  205. package/web/app/immutable/nodes/{10.yW5YYZcV.js → 10.BZLSu1t9.js} +1 -1
  206. package/web/app/immutable/nodes/{12.B-WFagfi.js → 12.CZF6J8V0.js} +1 -1
  207. package/web/app/immutable/nodes/{13.knDmuG_H.js → 13.CmgBwUCN.js} +1 -1
  208. package/web/app/immutable/nodes/14.CP4eEnwP.js +3 -0
  209. package/web/app/immutable/nodes/{15.5d-87wXx.js → 15.D8X9TwUZ.js} +1 -1
  210. package/web/app/immutable/nodes/16.DDUlFhjD.js +2 -0
  211. package/web/app/immutable/nodes/{17.S_DWC10F.js → 17.DtGxkuYO.js} +2 -2
  212. package/web/app/immutable/nodes/{2.D-iQ8fmd.js → 2.C6nyC7hb.js} +4 -4
  213. package/web/app/immutable/nodes/{3.CQKvVdrW.js → 3.1uPqjsRC.js} +1 -1
  214. package/web/app/immutable/nodes/{4.Dq9WSzj3.js → 4.BjOowzuW.js} +1 -1
  215. package/web/app/immutable/nodes/{5.C2b8MeJP.js → 5.Dy-YkbU6.js} +1 -1
  216. package/web/app/immutable/nodes/{6.DZyVWynY.js → 6.DR9-o0Dc.js} +1 -1
  217. package/web/app/immutable/nodes/{7.BNPj2Hjb.js → 7.BR2qXozN.js} +1 -1
  218. package/web/app/immutable/nodes/{8.CYaF3iZ7.js → 8.DxHPj0Oq.js} +4 -4
  219. package/web/app/immutable/nodes/{9.D9yeuWg6.js → 9.BHHxehGk.js} +5 -5
  220. package/web/app/version.json +1 -1
  221. package/web/index.html +14 -14
  222. package/web/app/immutable/assets/ChatPanel.CbI83JII.css +0 -1
  223. package/web/app/immutable/assets/conversation-turns.uwdl8ht7.css +0 -1
  224. package/web/app/immutable/chunks/BJzHxIyr.js +0 -1
  225. package/web/app/immutable/chunks/BQKilZql.js +0 -190
  226. package/web/app/immutable/chunks/Bdee7uP3.js +0 -1
  227. package/web/app/immutable/chunks/C3g8Ux-E.js +0 -408
  228. package/web/app/immutable/chunks/CJvik4ry.js +0 -1
  229. package/web/app/immutable/chunks/D0OfnhNR.js +0 -11
  230. package/web/app/immutable/chunks/D3NOBSUZ.js +0 -271
  231. package/web/app/immutable/chunks/DLrZLCmS.js +0 -1
  232. package/web/app/immutable/chunks/DSwaqM2D.js +0 -1
  233. package/web/app/immutable/chunks/Debl1LJu.js +0 -1
  234. package/web/app/immutable/chunks/DqIdPWw6.js +0 -1
  235. package/web/app/immutable/chunks/DsvlGcLM.js +0 -9
  236. package/web/app/immutable/chunks/DuXpPbhO.js +0 -5
  237. package/web/app/immutable/chunks/tVWh__3e.js +0 -1
  238. package/web/app/immutable/chunks/xNaKu_mj.js +0 -1
  239. package/web/app/immutable/entry/app.CUk63TN3.js +0 -4
  240. package/web/app/immutable/entry/start.ByRHyT3-.js +0 -1
  241. package/web/app/immutable/nodes/14.CtAbrlVb.js +0 -3
  242. package/web/app/immutable/nodes/16.BcAEiIYy.js +0 -2
@@ -1,4 +1,4 @@
1
- import{p as Mt}from"./DacYbmEF.js";import{aZ as Nt,U as zt,Y as Lt,b0 as Tt,V as Xt,a_ as At,b as u,a6 as Et,W as Yt,q as J,ay as Q,aX as It,B as Bt,r as Ft,X as V}from"./BOY33UBS.js";import{p as Rt}from"./CFXA-WTd.js";var G=u((o,r)=>{const e=o<=1?o*100:o;if(e<0||e>100)throw new Error(`${r} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${o}`);return e},"toPercent"),X=u((o,r,e)=>({x:G(r,`${e} evolution`),y:G(o,`${e} visibility`)}),"toCoordinates"),K=u(o=>{if(o){if(o==="+<>")return"bidirectional";if(o==="+<")return"backward";if(o==="+>")return"forward"}},"getFlowFromPort"),Ot=u(o=>{if(!o?.startsWith("+"))return{};const e=/^\+'([^']*)'/.exec(o)?.[1];return o.includes("<>")?{flow:"bidirectional",label:e}:o.includes("<")?{flow:"backward",label:e}:o.includes(">")?{flow:"forward",label:e}:{label:e}},"extractFlowFromArrow"),Wt=u((o,r)=>{if(Mt(o,r),o.size&&r.setSize(o.size.width,o.size.height),o.evolution){const e=o.evolution.stages.map(a=>a.secondName?`${a.name.trim()} / ${a.secondName.trim()}`:a.name.trim()),h=o.evolution.stages.filter(a=>a.boundary!==void 0).map(a=>a.boundary);r.updateAxes({stages:e,stageBoundaries:h})}if(o.anchors.forEach(e=>{const h=X(e.visibility,e.evolution,`Anchor "${e.name}"`);r.addNode(e.name,e.name,h.x,h.y,"anchor")}),o.components.forEach(e=>{const h=X(e.visibility,e.evolution,`Component "${e.name}"`),a=e.label?(e.label.negX?-1:1)*e.label.offsetX:void 0,d=e.label?(e.label.negY?-1:1)*e.label.offsetY:void 0,w=e.decorator?.strategy;r.addNode(e.name,e.name,h.x,h.y,"component",a,d,e.inertia,w)}),o.notes.forEach(e=>{const h=X(e.visibility,e.evolution,`Note "${e.text}"`);r.addNote(e.text,h.x,h.y)}),o.pipelines.forEach(e=>{const h=r.getNode(e.parent);if(!h||typeof h.y!="number")throw new Error(`Pipeline "${e.parent}" must reference an existing component with coordinates.`);const a=h.y;r.startPipeline(e.parent),e.components.forEach(d=>{const w=`${e.parent}_${d.name}`,C=d.label?(d.label.negX?-1:1)*d.label.offsetX:void 0,g=d.label?(d.label.negY?-1:1)*d.label.offsetY:void 0,R=G(d.evolution,`Pipeline component "${d.name}" evolution`);r.addNode(w,d.name,R,a,"pipeline-component",C,g),r.addPipelineComponent(e.parent,w)})}),o.links.forEach(e=>{const h=!!e.arrow&&(e.arrow.includes("-.->")||e.arrow.includes(".-."));let a=K(e.fromPort)??K(e.toPort);const{flow:d,label:w}=Ot(e.arrow);!a&&d&&(a=d);const C=e.linkLabel,g=w??C;r.addLink(r.resolveNodeId(e.from),r.resolveNodeId(e.to),h,g,a)}),o.evolves.forEach(e=>{const h=r.getNode(e.component);if(h?.y!==void 0){const a=G(e.target,`Evolve target for "${e.component}"`);r.addTrend(e.component,a,h.y)}}),o.annotations.length>0){const e=o.annotations[0],h=X(e.x,e.y,"Annotations box");r.setAnnotationsBox(h.x,h.y)}o.annotation.forEach(e=>{const h=X(e.x,e.y,`Annotation ${e.number}`);r.addAnnotation(e.number,[{x:h.x,y:h.y}],e.text)}),o.accelerators.forEach(e=>{const h=X(e.x,e.y,`Accelerator "${e.name}"`);r.addAccelerator(e.name,h.x,h.y)}),o.deaccelerators.forEach(e=>{const h=X(e.x,e.y,`Deaccelerator "${e.name}"`);r.addDeaccelerator(e.name,h.x,h.y)})},"populateDb"),tt={parser:{yy:void 0},parse:u(async o=>{const r=await Rt("wardley",o);Q.debug(r);const e=tt.parser?.yy;if(!e||typeof e.addNode!="function")throw new Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Wt(r,e)},"parse")},E,Dt=(E=class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}addNode(r){const e=this.nodes.get(r.id)??{id:r.id,label:r.label},h={...e,...r,className:r.className??e.className,labelOffsetX:r.labelOffsetX??e.labelOffsetX,labelOffsetY:r.labelOffsetY??e.labelOffsetY};this.nodes.set(r.id,h)}addLink(r){this.links.push(r)}addTrend(r){this.trends.set(r.nodeId,r)}startPipeline(r){this.pipelines.set(r,{nodeId:r,componentIds:[]});const e=this.nodes.get(r);e&&(e.isPipelineParent=!0)}addPipelineComponent(r,e){const h=this.pipelines.get(r);h&&h.componentIds.push(e);const a=this.nodes.get(e);a&&(a.inPipeline=!0)}addAnnotation(r){this.annotations.push(r)}addNote(r){this.notes.push(r)}addAccelerator(r){this.accelerators.push(r)}addDeaccelerator(r){this.deaccelerators.push(r)}setAnnotationsBox(r,e){this.annotationsBox={x:r,y:e}}setAxes(r){this.axes={...this.axes,...r}}setSize(r,e){this.size={width:r,height:e}}getNode(r){return this.nodes.get(r)}resolveNodeId(r){if(this.nodes.has(r))return r;for(const[e,h]of this.nodes)if(h.label===r)return e;return r}build(){const r=[];for(const e of this.nodes.values()){if(typeof e.x!="number"||typeof e.y!="number")throw new Error(`Node "${e.label}" is missing coordinates`);r.push(e)}return{nodes:r,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}},u(E,"WardleyBuilder"),E),k=new Dt;function et(){return V()["wardley-beta"]}u(et,"getConfig");function at(o,r,e,h,a,d,w,C,g){k.addNode({id:o,label:r,x:e,y:h,className:a,labelOffsetX:d,labelOffsetY:w,inertia:C,sourceStrategy:g})}u(at,"addNode");function rt(o,r,e=!1,h,a){k.addLink({source:o,target:r,dashed:e,label:h,flow:a})}u(rt,"addLink");function ot(o,r,e){k.addTrend({nodeId:o,targetX:r,targetY:e})}u(ot,"addTrend");function nt(o,r,e){k.addAnnotation({number:o,coordinates:r,text:e})}u(nt,"addAnnotation");function st(o,r,e){k.addNote({text:o,x:r,y:e})}u(st,"addNote");function it(o,r,e){k.addAccelerator({name:o,x:r,y:e})}u(it,"addAccelerator");function dt(o,r,e){k.addDeaccelerator({name:o,x:r,y:e})}u(dt,"addDeaccelerator");function lt(o,r){k.setAnnotationsBox(o,r)}u(lt,"setAnnotationsBox");function ct(o,r){k.setSize(o,r)}u(ct,"setSize");function pt(o){k.startPipeline(o)}u(pt,"startPipeline");function ft(o,r){k.addPipelineComponent(o,r)}u(ft,"addPipelineComponent");function ht(o){k.setAxes(o)}u(ht,"updateAxes");function xt(o){return k.getNode(o)}u(xt,"getNode");function gt(o){return k.resolveNodeId(o)}u(gt,"resolveNodeId");function yt(){return k.build()}u(yt,"getWardleyData");function ut(){k.clear(),Ft()}u(ut,"clear");var Gt={getConfig:et,addNode:at,addLink:rt,addTrend:ot,addAnnotation:nt,addNote:st,addAccelerator:it,addDeaccelerator:dt,setAnnotationsBox:lt,setSize:ct,startPipeline:pt,addPipelineComponent:ft,updateAxes:ht,getNode:xt,resolveNodeId:gt,getWardleyData:yt,clear:ut,setAccTitle:At,getAccTitle:Xt,setDiagramTitle:Tt,getDiagramTitle:Lt,getAccDescription:zt,setAccDescription:Nt},qt=["Genesis","Custom Built","Product","Commodity"],Ht=u(()=>{const{themeVariables:o}=V();return{backgroundColor:o.wardley?.backgroundColor??o.background??"#fff",axisColor:o.wardley?.axisColor??"#000",axisTextColor:o.wardley?.axisTextColor??o.primaryTextColor??"#222",gridColor:o.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:o.wardley?.componentFill??"#fff",componentStroke:o.wardley?.componentStroke??"#000",componentLabelColor:o.wardley?.componentLabelColor??o.primaryTextColor??"#222",linkStroke:o.wardley?.linkStroke??"#000",evolutionStroke:o.wardley?.evolutionStroke??"#dc3545",annotationStroke:o.wardley?.annotationStroke??"#000",annotationTextColor:o.wardley?.annotationTextColor??o.primaryTextColor??"#222",annotationFill:o.wardley?.annotationFill??o.background??"#fff"}},"getTheme"),jt=u(()=>{const o=V()["wardley-beta"];return{width:o?.width??900,height:o?.height??600,padding:o?.padding??48,nodeRadius:o?.nodeRadius??6,nodeLabelOffset:o?.nodeLabelOffset??8,axisFontSize:o?.axisFontSize??12,labelFontSize:o?.labelFontSize??10,showGrid:o?.showGrid??!1,useMaxWidth:o?.useMaxWidth??!0}},"getConfigValues"),Vt=u((o,r,e,h)=>{Q.debug(`Rendering Wardley map
1
+ import{p as Mt}from"./myjILdXe.js";import{aZ as Nt,U as zt,Y as Lt,b0 as Tt,V as Xt,a_ as At,b as u,a6 as Et,W as Yt,q as J,ay as Q,aX as It,B as Bt,r as Ft,X as V}from"./eq-q_IQg.js";import{p as Rt}from"./CFXA-WTd.js";var G=u((o,r)=>{const e=o<=1?o*100:o;if(e<0||e>100)throw new Error(`${r} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${o}`);return e},"toPercent"),X=u((o,r,e)=>({x:G(r,`${e} evolution`),y:G(o,`${e} visibility`)}),"toCoordinates"),K=u(o=>{if(o){if(o==="+<>")return"bidirectional";if(o==="+<")return"backward";if(o==="+>")return"forward"}},"getFlowFromPort"),Ot=u(o=>{if(!o?.startsWith("+"))return{};const e=/^\+'([^']*)'/.exec(o)?.[1];return o.includes("<>")?{flow:"bidirectional",label:e}:o.includes("<")?{flow:"backward",label:e}:o.includes(">")?{flow:"forward",label:e}:{label:e}},"extractFlowFromArrow"),Wt=u((o,r)=>{if(Mt(o,r),o.size&&r.setSize(o.size.width,o.size.height),o.evolution){const e=o.evolution.stages.map(a=>a.secondName?`${a.name.trim()} / ${a.secondName.trim()}`:a.name.trim()),h=o.evolution.stages.filter(a=>a.boundary!==void 0).map(a=>a.boundary);r.updateAxes({stages:e,stageBoundaries:h})}if(o.anchors.forEach(e=>{const h=X(e.visibility,e.evolution,`Anchor "${e.name}"`);r.addNode(e.name,e.name,h.x,h.y,"anchor")}),o.components.forEach(e=>{const h=X(e.visibility,e.evolution,`Component "${e.name}"`),a=e.label?(e.label.negX?-1:1)*e.label.offsetX:void 0,d=e.label?(e.label.negY?-1:1)*e.label.offsetY:void 0,w=e.decorator?.strategy;r.addNode(e.name,e.name,h.x,h.y,"component",a,d,e.inertia,w)}),o.notes.forEach(e=>{const h=X(e.visibility,e.evolution,`Note "${e.text}"`);r.addNote(e.text,h.x,h.y)}),o.pipelines.forEach(e=>{const h=r.getNode(e.parent);if(!h||typeof h.y!="number")throw new Error(`Pipeline "${e.parent}" must reference an existing component with coordinates.`);const a=h.y;r.startPipeline(e.parent),e.components.forEach(d=>{const w=`${e.parent}_${d.name}`,C=d.label?(d.label.negX?-1:1)*d.label.offsetX:void 0,g=d.label?(d.label.negY?-1:1)*d.label.offsetY:void 0,R=G(d.evolution,`Pipeline component "${d.name}" evolution`);r.addNode(w,d.name,R,a,"pipeline-component",C,g),r.addPipelineComponent(e.parent,w)})}),o.links.forEach(e=>{const h=!!e.arrow&&(e.arrow.includes("-.->")||e.arrow.includes(".-."));let a=K(e.fromPort)??K(e.toPort);const{flow:d,label:w}=Ot(e.arrow);!a&&d&&(a=d);const C=e.linkLabel,g=w??C;r.addLink(r.resolveNodeId(e.from),r.resolveNodeId(e.to),h,g,a)}),o.evolves.forEach(e=>{const h=r.getNode(e.component);if(h?.y!==void 0){const a=G(e.target,`Evolve target for "${e.component}"`);r.addTrend(e.component,a,h.y)}}),o.annotations.length>0){const e=o.annotations[0],h=X(e.x,e.y,"Annotations box");r.setAnnotationsBox(h.x,h.y)}o.annotation.forEach(e=>{const h=X(e.x,e.y,`Annotation ${e.number}`);r.addAnnotation(e.number,[{x:h.x,y:h.y}],e.text)}),o.accelerators.forEach(e=>{const h=X(e.x,e.y,`Accelerator "${e.name}"`);r.addAccelerator(e.name,h.x,h.y)}),o.deaccelerators.forEach(e=>{const h=X(e.x,e.y,`Deaccelerator "${e.name}"`);r.addDeaccelerator(e.name,h.x,h.y)})},"populateDb"),tt={parser:{yy:void 0},parse:u(async o=>{const r=await Rt("wardley",o);Q.debug(r);const e=tt.parser?.yy;if(!e||typeof e.addNode!="function")throw new Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Wt(r,e)},"parse")},E,Dt=(E=class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}addNode(r){const e=this.nodes.get(r.id)??{id:r.id,label:r.label},h={...e,...r,className:r.className??e.className,labelOffsetX:r.labelOffsetX??e.labelOffsetX,labelOffsetY:r.labelOffsetY??e.labelOffsetY};this.nodes.set(r.id,h)}addLink(r){this.links.push(r)}addTrend(r){this.trends.set(r.nodeId,r)}startPipeline(r){this.pipelines.set(r,{nodeId:r,componentIds:[]});const e=this.nodes.get(r);e&&(e.isPipelineParent=!0)}addPipelineComponent(r,e){const h=this.pipelines.get(r);h&&h.componentIds.push(e);const a=this.nodes.get(e);a&&(a.inPipeline=!0)}addAnnotation(r){this.annotations.push(r)}addNote(r){this.notes.push(r)}addAccelerator(r){this.accelerators.push(r)}addDeaccelerator(r){this.deaccelerators.push(r)}setAnnotationsBox(r,e){this.annotationsBox={x:r,y:e}}setAxes(r){this.axes={...this.axes,...r}}setSize(r,e){this.size={width:r,height:e}}getNode(r){return this.nodes.get(r)}resolveNodeId(r){if(this.nodes.has(r))return r;for(const[e,h]of this.nodes)if(h.label===r)return e;return r}build(){const r=[];for(const e of this.nodes.values()){if(typeof e.x!="number"||typeof e.y!="number")throw new Error(`Node "${e.label}" is missing coordinates`);r.push(e)}return{nodes:r,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}},u(E,"WardleyBuilder"),E),k=new Dt;function et(){return V()["wardley-beta"]}u(et,"getConfig");function at(o,r,e,h,a,d,w,C,g){k.addNode({id:o,label:r,x:e,y:h,className:a,labelOffsetX:d,labelOffsetY:w,inertia:C,sourceStrategy:g})}u(at,"addNode");function rt(o,r,e=!1,h,a){k.addLink({source:o,target:r,dashed:e,label:h,flow:a})}u(rt,"addLink");function ot(o,r,e){k.addTrend({nodeId:o,targetX:r,targetY:e})}u(ot,"addTrend");function nt(o,r,e){k.addAnnotation({number:o,coordinates:r,text:e})}u(nt,"addAnnotation");function st(o,r,e){k.addNote({text:o,x:r,y:e})}u(st,"addNote");function it(o,r,e){k.addAccelerator({name:o,x:r,y:e})}u(it,"addAccelerator");function dt(o,r,e){k.addDeaccelerator({name:o,x:r,y:e})}u(dt,"addDeaccelerator");function lt(o,r){k.setAnnotationsBox(o,r)}u(lt,"setAnnotationsBox");function ct(o,r){k.setSize(o,r)}u(ct,"setSize");function pt(o){k.startPipeline(o)}u(pt,"startPipeline");function ft(o,r){k.addPipelineComponent(o,r)}u(ft,"addPipelineComponent");function ht(o){k.setAxes(o)}u(ht,"updateAxes");function xt(o){return k.getNode(o)}u(xt,"getNode");function gt(o){return k.resolveNodeId(o)}u(gt,"resolveNodeId");function yt(){return k.build()}u(yt,"getWardleyData");function ut(){k.clear(),Ft()}u(ut,"clear");var Gt={getConfig:et,addNode:at,addLink:rt,addTrend:ot,addAnnotation:nt,addNote:st,addAccelerator:it,addDeaccelerator:dt,setAnnotationsBox:lt,setSize:ct,startPipeline:pt,addPipelineComponent:ft,updateAxes:ht,getNode:xt,resolveNodeId:gt,getWardleyData:yt,clear:ut,setAccTitle:At,getAccTitle:Xt,setDiagramTitle:Tt,getDiagramTitle:Lt,getAccDescription:zt,setAccDescription:Nt},qt=["Genesis","Custom Built","Product","Commodity"],Ht=u(()=>{const{themeVariables:o}=V();return{backgroundColor:o.wardley?.backgroundColor??o.background??"#fff",axisColor:o.wardley?.axisColor??"#000",axisTextColor:o.wardley?.axisTextColor??o.primaryTextColor??"#222",gridColor:o.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:o.wardley?.componentFill??"#fff",componentStroke:o.wardley?.componentStroke??"#000",componentLabelColor:o.wardley?.componentLabelColor??o.primaryTextColor??"#222",linkStroke:o.wardley?.linkStroke??"#000",evolutionStroke:o.wardley?.evolutionStroke??"#dc3545",annotationStroke:o.wardley?.annotationStroke??"#000",annotationTextColor:o.wardley?.annotationTextColor??o.primaryTextColor??"#222",annotationFill:o.wardley?.annotationFill??o.background??"#fff"}},"getTheme"),jt=u(()=>{const o=V()["wardley-beta"];return{width:o?.width??900,height:o?.height??600,padding:o?.padding??48,nodeRadius:o?.nodeRadius??6,nodeLabelOffset:o?.nodeLabelOffset??8,axisFontSize:o?.axisFontSize??12,labelFontSize:o?.labelFontSize??10,showGrid:o?.showGrid??!1,useMaxWidth:o?.useMaxWidth??!0}},"getConfigValues"),Vt=u((o,r,e,h)=>{Q.debug(`Rendering Wardley map
2
2
  `+o);const a=jt(),d=Ht(),w=a.nodeRadius*1.6,C=h.db,g=C.getWardleyData(),R=C.getDiagramTitle(),S=g.size?.width??a.width,b=g.size?.height??a.height,Y=It(r);Y.selectAll("*").remove(),Bt(Y,b,S,a.useMaxWidth),Y.attr("viewBox",`0 0 ${S} ${b}`);const v=Y.append("g").attr("class","wardley-map"),q=Y.append("defs");q.append("marker").attr("id",`arrow-${r}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",d.evolutionStroke).attr("stroke","none"),q.append("marker").attr("id",`link-arrow-end-${r}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",d.linkStroke).attr("stroke","none"),q.append("marker").attr("id",`link-arrow-start-${r}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",d.linkStroke).attr("stroke","none"),v.append("rect").attr("class","wardley-background").attr("width",S).attr("height",b).attr("fill",d.backgroundColor);const I=S-a.padding*2,B=b-a.padding*2;R&&v.append("text").attr("class","wardley-title").attr("x",S/2).attr("y",a.padding/2).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize*1.05).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(R);const z=u(t=>a.padding+t/100*I,"projectX"),L=u(t=>b-a.padding-t/100*B,"projectY"),O=v.append("g").attr("class","wardley-axes");O.append("line").attr("x1",a.padding).attr("x2",S-a.padding).attr("y1",b-a.padding).attr("y2",b-a.padding).attr("stroke",d.axisColor).attr("stroke-width",1),O.append("line").attr("x1",a.padding).attr("x2",a.padding).attr("y1",a.padding).attr("y2",b-a.padding).attr("stroke",d.axisColor).attr("stroke-width",1);const wt=g.axes.xLabel??"Evolution",mt=g.axes.yLabel??"Visibility";O.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",a.padding+I/2).attr("y",b-a.padding/4).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(wt),O.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",a.padding/3).attr("y",a.padding+B/2).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${a.padding/3} ${a.padding+B/2})`).text(mt);const F=g.axes.stages&&g.axes.stages.length>0?g.axes.stages:qt;if(F.length>0){const t=v.append("g").attr("class","wardley-stages"),s=g.axes.stageBoundaries,n=[];if(s&&s.length===F.length){let i=0;s.forEach(p=>{n.push({start:i,end:p}),i=p})}else{const i=1/F.length;F.forEach((p,l)=>{n.push({start:l*i,end:(l+1)*i})})}F.forEach((i,p)=>{const l=n[p],f=a.padding+l.start*I,x=a.padding+l.end*I,y=(f+x)/2;p>0&&t.append("line").attr("x1",f).attr("x2",f).attr("y1",a.padding).attr("y2",b-a.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",.8),t.append("text").attr("class","wardley-stage-label").attr("x",y).attr("y",b-a.padding/1.5).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize-2).attr("text-anchor","middle").text(i)})}if(a.showGrid){const t=v.append("g").attr("class","wardley-grid");for(let s=1;s<4;s++){const n=s/4,i=a.padding+I*n;t.append("line").attr("x1",i).attr("x2",i).attr("y1",a.padding).attr("y2",b-a.padding).attr("stroke",d.gridColor).attr("stroke-dasharray","2 6"),t.append("line").attr("x1",a.padding).attr("x2",S-a.padding).attr("y1",b-a.padding-B*n).attr("y2",b-a.padding-B*n).attr("stroke",d.gridColor).attr("stroke-dasharray","2 6")}}const c=new Map;if(g.nodes.forEach(t=>{c.set(t.id,{x:z(t.x),y:L(t.y),node:t})}),g.pipelines.length>0){const t=v.append("g").attr("class","wardley-pipelines"),s=v.append("g").attr("class","wardley-pipeline-links");g.pipelines.forEach(n=>{if(n.componentIds.length===0)return;const i=n.componentIds.map(x=>({id:x,pos:c.get(x),node:g.nodes.find(y=>y.id===x)})).filter(x=>x.pos&&x.node).sort((x,y)=>x.node.x-y.node.x);for(let x=0;x<i.length-1;x++){const y=i[x],m=i[x+1];s.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",y.pos.x).attr("y1",y.pos.y).attr("x2",m.pos.x).attr("y2",m.pos.y).attr("stroke",d.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let p=1/0,l=-1/0,f=0;if(n.componentIds.forEach(x=>{const y=c.get(x);y&&(p=Math.min(p,y.x),l=Math.max(l,y.x),f=y.y)}),p!==1/0&&l!==-1/0){const y=a.nodeRadius*4,m=f-y/2,P=c.get(n.nodeId);if(P){const N=(p+l)/2;P.x=N,P.y=m-w/6}t.append("rect").attr("class","wardley-pipeline-box").attr("x",p-15).attr("y",m).attr("width",l-p+30).attr("height",y).attr("fill","none").attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}const _=v.append("g").attr("class","wardley-links"),Z=new Map;g.pipelines.forEach(t=>{Z.set(t.nodeId,new Set(t.componentIds))});const U=g.links.filter(t=>!(!c.has(t.source)||!c.has(t.target)||Z.get(t.target)?.has(t.source)));_.selectAll("line").data(U).enter().append("line").attr("class",t=>`wardley-link${t.dashed?" wardley-link--dashed":""}`).attr("x1",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.source).isPipelineParent?w/Math.sqrt(2):a.nodeRadius,l=n.x-s.x,f=n.y-s.y,x=Math.sqrt(l*l+f*f);return s.x+l/x*p}).attr("y1",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.source).isPipelineParent?w/Math.sqrt(2):a.nodeRadius,l=n.x-s.x,f=n.y-s.y,x=Math.sqrt(l*l+f*f);return s.y+f/x*p}).attr("x2",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.target).isPipelineParent?w/Math.sqrt(2):a.nodeRadius,l=s.x-n.x,f=s.y-n.y,x=Math.sqrt(l*l+f*f);return n.x+l/x*p}).attr("y2",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.target).isPipelineParent?w/Math.sqrt(2):a.nodeRadius,l=s.x-n.x,f=s.y-n.y,x=Math.sqrt(l*l+f*f);return n.y+f/x*p}).attr("stroke",d.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",t=>t.dashed?"6 6":null).attr("marker-end",t=>t.flow==="forward"||t.flow==="bidirectional"?`url(#link-arrow-end-${r})`:null).attr("marker-start",t=>t.flow==="backward"||t.flow==="bidirectional"?`url(#link-arrow-start-${r})`:null),_.selectAll("text").data(U.filter(t=>t.label)).enter().append("text").attr("class","wardley-link-label").attr("x",t=>{const s=c.get(t.source),n=c.get(t.target),i=(s.x+n.x)/2,p=n.y-s.y,l=n.x-s.x,f=Math.sqrt(l*l+p*p),x=8,y=p/f;return i+y*x}).attr("y",t=>{const s=c.get(t.source),n=c.get(t.target),i=(s.y+n.y)/2,p=n.x-s.x,l=n.y-s.y,f=Math.sqrt(p*p+l*l),x=8,y=-p/f;return i+y*x}).attr("fill",d.axisTextColor).attr("font-size",a.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",t=>{const s=c.get(t.source),n=c.get(t.target),i=(s.x+n.x)/2,p=(s.y+n.y)/2,l=n.x-s.x,f=n.y-s.y,x=Math.sqrt(l*l+f*f),y=8,m=f/x,P=-l/x,N=i+m*y,W=p+P*y;let A=Math.atan2(f,l)*180/Math.PI;return(A>90||A<-90)&&(A+=180),`rotate(${A} ${N} ${W})`}).text(t=>t.label);const kt=v.append("g").attr("class","wardley-trends"),bt=g.trends.map(t=>{const s=c.get(t.nodeId);if(!s)return null;const n=z(t.targetX),i=L(t.targetY),p=n-s.x,l=i-s.y,f=Math.sqrt(p*p+l*l),x=a.nodeRadius+2,y=f>x?n-p/f*x:n,m=f>x?i-l/f*x:i;return{origin:s,targetX:n,targetY:i,adjustedX2:y,adjustedY2:m}}).filter(t=>t!==null);kt.selectAll("line").data(bt).enter().append("line").attr("class","wardley-trend").attr("x1",t=>t.origin.x).attr("y1",t=>t.origin.y).attr("x2",t=>t.adjustedX2).attr("y2",t=>t.adjustedY2).attr("stroke",d.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${r})`);const M=v.append("g").attr("class","wardley-nodes").selectAll("g").data(g.nodes).enter().append("g").attr("class",t=>["wardley-node",t.className?`wardley-node--${t.className}`:""].filter(Boolean).join(" "));M.filter(t=>t.sourceStrategy==="outsource").append("circle").attr("class","wardley-outsource-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","#666").attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>t.sourceStrategy==="buy").append("circle").attr("class","wardley-buy-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","#ccc").attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>t.sourceStrategy==="build").append("circle").attr("class","wardley-build-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);const T=M.filter(t=>t.sourceStrategy==="market");T.append("circle").attr("class","wardley-market-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>!t.isPipelineParent&&t.sourceStrategy!=="market"&&t.className!=="anchor").append("circle").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius).attr("fill",d.componentFill).attr("stroke",d.componentStroke).attr("stroke-width",1);const H=a.nodeRadius*.7,$=a.nodeRadius*1.2;if(T.append("line").attr("class","wardley-market-line").attr("x1",t=>c.get(t.id).x).attr("y1",t=>c.get(t.id).y-$).attr("x2",t=>c.get(t.id).x-$*Math.cos(Math.PI/6)).attr("y2",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("stroke",d.componentStroke).attr("stroke-width",1),T.append("line").attr("class","wardley-market-line").attr("x1",t=>c.get(t.id).x-$*Math.cos(Math.PI/6)).attr("y1",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("x2",t=>c.get(t.id).x+$*Math.cos(Math.PI/6)).attr("y2",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("stroke",d.componentStroke).attr("stroke-width",1),T.append("line").attr("class","wardley-market-line").attr("x1",t=>c.get(t.id).x+$*Math.cos(Math.PI/6)).attr("y1",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("x2",t=>c.get(t.id).x).attr("y2",t=>c.get(t.id).y-$).attr("stroke",d.componentStroke).attr("stroke-width",1),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y-$).attr("r",H).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>c.get(t.id).x-$*Math.cos(Math.PI/6)).attr("cy",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("r",H).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>c.get(t.id).x+$*Math.cos(Math.PI/6)).attr("cy",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("r",H).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),M.filter(t=>t.isPipelineParent===!0).append("rect").attr("x",t=>c.get(t.id).x-w/2).attr("y",t=>c.get(t.id).y-w/2).attr("width",w).attr("height",w).attr("fill",d.componentFill).attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>t.inertia===!0).append("line").attr("class","wardley-inertia").attr("x1",t=>{const s=c.get(t.id);let n=t.isPipelineParent?w/2+15:a.nodeRadius+15;return t.sourceStrategy&&(n+=a.nodeRadius+10),s.x+n}).attr("y1",t=>{const s=c.get(t.id),n=t.isPipelineParent?w:a.nodeRadius*2;return s.y-n/2}).attr("x2",t=>{const s=c.get(t.id);let n=t.isPipelineParent?w/2+15:a.nodeRadius+15;return t.sourceStrategy&&(n+=a.nodeRadius+10),s.x+n}).attr("y2",t=>{const s=c.get(t.id),n=t.isPipelineParent?w:a.nodeRadius*2;return s.y+n/2}).attr("stroke",d.componentStroke).attr("stroke-width",6),M.append("text").attr("x",t=>{const s=c.get(t.id);if(t.className==="anchor")return t.labelOffsetX!==void 0?s.x+t.labelOffsetX:s.x;let n=a.nodeLabelOffset;t.sourceStrategy&&t.labelOffsetX===void 0&&(n+=10);const i=t.labelOffsetX??n;return s.x+i}).attr("y",t=>{const s=c.get(t.id);if(t.className==="anchor")return t.labelOffsetY!==void 0?s.y+t.labelOffsetY:s.y-3;let n=-a.nodeLabelOffset;t.sourceStrategy&&t.labelOffsetY===void 0&&(n-=10);const i=t.labelOffsetY??n;return s.y+i}).attr("class","wardley-node-label").attr("fill",t=>t.className==="evolved"?d.evolutionStroke:t.className==="anchor"?"#000":d.componentLabelColor).attr("font-size",a.labelFontSize).attr("font-weight",t=>t.className==="anchor"?"bold":"normal").attr("text-anchor",t=>t.className==="anchor"?"middle":"start").attr("dominant-baseline",t=>t.className==="anchor"?"middle":"auto").text(t=>t.label),g.annotations.length>0){const t=v.append("g").attr("class","wardley-annotations");if(g.annotations.forEach(s=>{const n=s.coordinates.map(i=>({x:z(i.x),y:L(i.y)}));if(n.length>1)for(let i=0;i<n.length-1;i++)t.append("line").attr("class","wardley-annotation-line").attr("x1",n[i].x).attr("y1",n[i].y).attr("x2",n[i+1].x).attr("y2",n[i+1].y).attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");n.forEach(i=>{const p=t.append("g").attr("class","wardley-annotation");p.append("circle").attr("cx",i.x).attr("cy",i.y).attr("r",10).attr("fill","white").attr("stroke",d.axisColor).attr("stroke-width",1.5),p.append("text").attr("x",i.x).attr("y",i.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",d.axisTextColor).attr("font-weight","bold").text(s.number)})}),g.annotationsBox){let s=z(g.annotationsBox.x),n=L(g.annotationsBox.y);const i=10,p=16,l=11,f=t.append("g").attr("class","wardley-annotations-box"),x=[...g.annotations].filter(m=>m.text).sort((m,P)=>m.number-P.number),y=[];if(x.forEach((m,P)=>{const N=f.append("text").attr("x",s+i).attr("y",n+i+(P+1)*p).attr("font-size",l).attr("fill",d.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${m.number}. ${m.text}`);y.push(N)}),y.length>0){let m=0,P=0;y.forEach(j=>{const D=j.node(),Ct=D.getComputedTextLength();m=Math.max(m,Ct);const St=D.getBBox();P=Math.max(P,St.height)});const N=m+i*2+105,W=x.length*p+i*2+P/2,A=a.padding,$t=S-a.padding-N,vt=a.padding,Pt=b-a.padding-W;s=Math.max(A,Math.min(s,$t)),n=Math.max(vt,Math.min(n,Pt)),y.forEach((j,D)=>{j.attr("x",s+i).attr("y",n+i+(D+1)*p)}),f.insert("rect","text").attr("x",s).attr("y",n).attr("width",N).attr("height",W).attr("fill","white").attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(g.notes.length>0){const t=v.append("g").attr("class","wardley-notes");g.notes.forEach(s=>{const n=z(s.x),i=L(s.y);t.append("text").attr("x",n).attr("y",i).attr("text-anchor","start").attr("font-size",11).attr("fill",d.axisTextColor).attr("font-weight","bold").text(s.text)})}if(g.accelerators.length>0){const t=v.append("g").attr("class","wardley-accelerators");g.accelerators.forEach(s=>{const n=z(s.x),i=L(s.y),p=60,l=30,f=20,x=`
3
3
  M ${n} ${i-l/2}
4
4
  L ${n+p-f} ${i-l/2}
@@ -1,4 +1,4 @@
1
- import{I as W}from"./Cw26kBCe.js";import{p as X}from"./DacYbmEF.js";import{b0 as z,a_ as G,aZ as Y,Y as P,U as F,V as Z,b as g,q as N,ay as A,aX as q,B as U,W as E,r as j,aV as J,a0 as K,O as Q,aO as ee}from"./BOY33UBS.js";import{p as te}from"./CFXA-WTd.js";var L=/[─━│┃└┗├┣]/,D=/[└┗├┣]/,ne=/[─━]/,V=/^[\s│┃]+$/,T=/^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/,$=/^\s*%%/,re=" ";function _(n){return n.some(t=>L.test(t))}g(_,"isBoxDrawingFormat");function M(n){for(const t of n){const e=D.exec(t);if(e?.index&&e.index>0)return e.index}return 4}g(M,"inferSegmentWidth");function S(n,t){return n.replace(/\bline\s+(\d+)\b/gi,(e,r)=>{const s=parseInt(r,10),i=t.get(s);return i?`line ${i}`:e})}g(S,"remapErrorLines");function R(n){const t=n.split(`
1
+ import{I as W}from"./D6G_--ry.js";import{p as X}from"./myjILdXe.js";import{b0 as z,a_ as G,aZ as Y,Y as P,U as F,V as Z,b as g,q as N,ay as A,aX as q,B as U,W as E,r as j,aV as J,a0 as K,O as Q,aO as ee}from"./eq-q_IQg.js";import{p as te}from"./CFXA-WTd.js";var L=/[─━│┃└┗├┣]/,D=/[└┗├┣]/,ne=/[─━]/,V=/^[\s│┃]+$/,T=/^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/,$=/^\s*%%/,re=" ";function _(n){return n.some(t=>L.test(t))}g(_,"isBoxDrawingFormat");function M(n){for(const t of n){const e=D.exec(t);if(e?.index&&e.index>0)return e.index}return 4}g(M,"inferSegmentWidth");function S(n,t){return n.replace(/\bline\s+(\d+)\b/gi,(e,r)=>{const s=parseInt(r,10),i=t.get(s);return i?`line ${i}`:e})}g(S,"remapErrorLines");function R(n){const t=n.split(`
2
2
  `),e=new Map;let r=-1;for(const[p,c]of t.entries())if(c.trim()==="treeView-beta"){r=p;break}if(r===-1)return{text:n,lineMap:e};const s=[];for(let p=r+1;p<t.length;p++){const c=t[p];c.trim()===""||$.test(c)||T.test(c)||V.test(c)||s.push(c.replace(/\t/g," "))}if(!_(s))return{text:n,lineMap:e};const i=M(s),o=[];let a=0;for(let p=0;p<=r;p++)o.push(t[p]),a++,e.set(a,p+1);for(let p=r+1;p<t.length;p++){const c=t[p],d=c.trim(),h=p+1;if(d===""){o.push(c),a++,e.set(a,h);continue}if($.test(c)){o.push(c),a++,e.set(a,h);continue}if(T.test(c)){o.push(c),a++,e.set(a,h);continue}if(V.test(c))continue;const l=c.replace(/\t/g," "),w=D.exec(l);if(w?.index!==void 0){const f=w.index,m=Math.round(f/i)+1;let u=f+1;for(;u<l.length&&ne.test(l[u]);)u++;for(;u<l.length&&l[u]===" ";)u++;const v=l.slice(u).trimEnd();if(!v)throw new Error(`Line ${h}: Empty node — expected a filename or directory name after the box-drawing prefix`);const O=re.repeat(m);o.push(O+v),a++,e.set(a,h)}else{if(/^[\s─━│┃└┗├┣]+$/.test(l))continue;if(L.test(l))o.push(c),a++,e.set(a,h);else{if(/^\s+/.test(l))throw new Error(`Line ${h}: Unexpected indentation without box-drawing characters. In box-drawing format, use ├── or └── prefixes for indented nodes.`);o.push(c),a++,e.set(a,h)}}}return{text:o.join(`
3
3
  `),lineMap:e}}g(R,"preprocessBoxDrawing");var x=new W(()=>({cnt:1,stack:[{id:0,level:-1,name:"/",nodeType:"directory",children:[]}]})),ie=g(()=>{x.reset(),j()},"clear"),oe=g(()=>x.records.stack[0],"getRoot"),se=g(()=>x.records.cnt,"getCount"),ae=Q.treeView,ce=g(()=>N(ae,E().treeView),"getConfig"),le=g((n,t,e,r,s,i)=>{for(;n<=x.records.stack[x.records.stack.length-1].level;)x.records.stack.pop();const o={id:x.records.cnt++,level:n,name:t,nodeType:e,icon:s,cssClass:r,description:i,children:[]};x.records.stack[x.records.stack.length-1].children.push(o),x.records.stack.push(o)},"addNode"),de={clear:ie,addNode:le,getRoot:oe,getCount:se,getConfig:ce,getAccTitle:Z,getAccDescription:F,getDiagramTitle:P,setAccDescription:Y,setAccTitle:G,setDiagramTitle:z},I=de,he=g(n=>{X(n,I);for(const t of n.nodes){const e=typeof t.indent=="number"?t.indent:0;let r=t.name;const s=r.endsWith("/");s&&(r=r.slice(0,-1));const i=s?"directory":"file",o=t.classAnnotation||void 0,a=t.iconAnnotation,p=a!==void 0?a||"none":void 0,c=t.descAnnotation||void 0,d=c?J(c,E()):void 0;I.addNode(e,r,i,o,p,d)}},"populate"),pe={parse:g(async n=>{const{text:t,lineMap:e}=R(n);try{const r=await te("treeView",t);A.debug(r),he(r)}catch(r){throw e.size>0&&r instanceof Error&&(r.message=S(r.message,e)),r}},"parse")},b={prefix:"mermaid-treeview",height:24,width:24,icons:{folder:{body:'<path fill="currentColor" d="M10.59 4.59A2 2 0 0 0 9.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.17z"/>'},file:{body:'<path fill="currentColor" fill-rule="evenodd" d="M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.83a2 2 0 0 0-.59-1.42l-4.82-4.82A2 2 0 0 0 13.17 2H6Zm7.5 1.9l4.6 4.6h-3.6a1 1 0 0 1-1-1V3.9Z" clip-rule="evenodd"/>'}}};function H(n,t){const e=t?.filenameIcons?.[n];if(e)return e;const r=n.lastIndexOf(".");if(r>0){const s=n.substring(r).toLowerCase(),i=t?.extensionIcons;return i?.[s]??i?.[s.slice(1)]}}g(H,"detectIcon");function C(n,t){return n.includes(":")?n:n in b.icons||!t?`${b.prefix}:${n}`:`${t}:${n}`}g(C,"qualifyIcon");function B(n,t){if(n.icon!=="none"){if(n.icon)return C(n.icon,t.defaultIconPack);if(t.showIcons){if(n.nodeType==="file"){const e=H(n.name,t);if(e==="none")return;if(e)return C(e,t.defaultIconPack)}return`${b.prefix}:${n.nodeType==="directory"?"folder":"file"}`}}}g(B,"getNodeIcon");ee([{name:b.prefix,icons:b}]);var y=14,ge=4,fe=16,ue=g(async(n,t)=>{const e=[],r=g(i=>{const o=B(i,t);o&&e.push({icon:o,node:i}),i.children.forEach(r)},"collect");r(n);const s=await Promise.all(e.map(async({icon:i,node:o})=>({id:o.id,svg:await K(i,{height:y,width:y})})));return new Map(s.map(({id:i,svg:o})=>[i,o]))},"resolveNodeIcons"),we=g((n,t,e,r,s,i)=>{const o=r.append("g");let a="treeView-node-label";e.nodeType==="directory"&&(a+=" treeView-node-dir"),e.cssClass&&(a+=` ${e.cssClass}`);const p=y+ge,c=B(e,s),d=c!==void 0;c&&o.append("g").attr("class","treeView-node-icon").attr("transform",`translate(${n+s.paddingX}, ${t+s.paddingY})`).html(i.get(e.id)??"");const h=o.append("text").text(e.name).attr("dominant-baseline","middle").attr("class",a),{height:l,width:w}=h.node().getBBox(),f=l+s.paddingY*2,m=n+s.paddingX+(d?p:0);h.attr("x",m),h.attr("y",t+f/2);const u=m+w,v=w+s.paddingX*2+(d?p:0);return e.BBox={x:n,y:t,width:v,height:f},e.cssClass?.split(/\s+/).includes("highlight")&&o.insert("rect",":first-child").attr("x",n).attr("y",t+1).attr("width",0).attr("height",f-2).attr("rx",3).attr("class","treeView-highlight-bg"),{node:e,nodeGroup:o,labelRightEdge:u,centerY:t+f/2}},"positionLabel"),k=g((n,t,e,r,s,i)=>n.append("line").attr("x1",t).attr("y1",e).attr("x2",r).attr("y2",s).attr("stroke-width",i).attr("class","treeView-node-line"),"positionLine"),me=g((n,t,e,r)=>{let s=0,i=0;const o=[],a=g((d,h,l,w)=>{const f=w*(l.rowIndent+l.paddingX),m=we(f,s,h,d,l,r);o.push(m);const{height:u,width:v}=h.BBox;k(d,f-l.rowIndent,s+u/2,f,s+u/2,l.lineThickness),i=Math.max(i,f+v),s+=u},"drawNode"),p=g((d,h=0)=>{a(n,d,e,h),d.children.forEach(m=>{p(m,h+1)});const{x:l,y:w,height:f}=d.BBox;if(d.children.length){const{y:m,height:u}=d.children[d.children.length-1].BBox;k(n,l+e.paddingX,w+f,l+e.paddingX,m+u/2+e.lineThickness/2,e.lineThickness)}},"processNode");p(t);const c=o.filter(d=>d.node.description);if(c.length>0){const h=Math.max(...o.map(l=>l.labelRightEdge))+fe;for(const l of c){const f=l.nodeGroup.append("text").text(l.node.description).attr("dominant-baseline","middle").attr("class","treeView-node-description").attr("x",h).attr("y",l.centerY).node().getBBox();i=Math.max(i,h+f.width+e.paddingX)}}for(const d of o)if(d.node.cssClass?.split(/\s+/).includes("highlight")){const h=d.nodeGroup.select(".treeView-highlight-bg");if(!h.empty()){const l=i-d.node.BBox.x+8;h.attr("width",l),i=Math.max(i,d.node.BBox.x+l+2)}}return{totalHeight:s,totalWidth:i}},"drawTree"),xe=g(async(n,t,e,r)=>{A.debug(`Rendering treeView diagram
4
4
  `+n);const s=r.db,i=s.getRoot(),o=s.getConfig(),a=q(t),p=a.append("g");p.attr("class","tree-view");const c=await ue(i,o),{totalHeight:d,totalWidth:h}=me(p,i,o,c);a.attr("viewBox",`-${o.lineThickness/2} 0 ${h} ${d}`),U(a,d,h,o.useMaxWidth)},"draw"),ve={draw:xe},be=ve,Ie={labelFontSize:"16px",labelColor:"black",lineColor:"black",iconColor:"#546e7a",descriptionColor:"#6a9955",highlightBg:"rgba(255, 193, 7, 0.15)",highlightStroke:"#ffc107"},Ce=g(({treeView:n})=>{const{labelFontSize:t,labelColor:e,lineColor:r,iconColor:s,descriptionColor:i,highlightBg:o,highlightStroke:a}=N(Ie,n);return`