paul-ai-assistant 0.1.16

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 (512) hide show
  1. package/README.md +249 -0
  2. package/dist/1.async.js +61 -0
  3. package/dist/1013.async.js +1 -0
  4. package/dist/123.async.js +258 -0
  5. package/dist/1387.async.js +321 -0
  6. package/dist/1481.async.js +1 -0
  7. package/dist/1548.async.js +2 -0
  8. package/dist/1815.async.js +3 -0
  9. package/dist/1819.async.js +1 -0
  10. package/dist/1851.async.js +1 -0
  11. package/dist/2491.async.js +132 -0
  12. package/dist/2517.async.js +247 -0
  13. package/dist/2678.async.js +1 -0
  14. package/dist/2856.async.js +267 -0
  15. package/dist/295.async.js +1 -0
  16. package/dist/3098.async.js +1 -0
  17. package/dist/3138.async.js +1 -0
  18. package/dist/34.async.js +137 -0
  19. package/dist/3472.async.js +1 -0
  20. package/dist/3614.async.js +25 -0
  21. package/dist/3959.async.js +69 -0
  22. package/dist/404.html +44 -0
  23. package/dist/4484.async.js +10 -0
  24. package/dist/4498.async.js +37 -0
  25. package/dist/4911.async.js +1 -0
  26. package/dist/4927.async.js +104 -0
  27. package/dist/5067.async.js +44 -0
  28. package/dist/5588.async.js +8 -0
  29. package/dist/5754.async.js +5 -0
  30. package/dist/6254.async.js +30286 -0
  31. package/dist/6355.async.js +10 -0
  32. package/dist/6662.async.js +177 -0
  33. package/dist/6680.async.js +2615 -0
  34. package/dist/6690.async.js +153 -0
  35. package/dist/7267.async.js +31 -0
  36. package/dist/7329.async.js +180 -0
  37. package/dist/7718.async.js +61 -0
  38. package/dist/7762.async.js +3 -0
  39. package/dist/7787.async.js +7 -0
  40. package/dist/7929.async.js +1 -0
  41. package/dist/8164.async.js +1 -0
  42. package/dist/834.async.js +221 -0
  43. package/dist/8456.async.js +146 -0
  44. package/dist/8542.async.js +25 -0
  45. package/dist/8749.async.js +1 -0
  46. package/dist/8914.async.js +66 -0
  47. package/dist/9570.async.js +65 -0
  48. package/dist/9725.async.js +18 -0
  49. package/dist/components/llm-trace-v2/index.html +44 -0
  50. package/dist/components/llm-trace-v3/index.html +44 -0
  51. package/dist/components/llm-trace-v3-advanced/index.html +44 -0
  52. package/dist/components/llm-trace-v3-examples/index.html +44 -0
  53. package/dist/components/llm-trace-v3-visual-demos/index.html +44 -0
  54. package/dist/demos.async.js +594 -0
  55. package/dist/demos__index.md.async.js +1 -0
  56. package/dist/demos__markdown-latex-mermaid__index.md.async.js +1 -0
  57. package/dist/demos__toolChatType__index.md.async.js +1 -0
  58. package/dist/docs/index.html +44 -0
  59. package/dist/docs__components__llm-trace-v2.md.async.js +1 -0
  60. package/dist/docs__components__llm-trace-v3-advanced.md.async.js +1 -0
  61. package/dist/docs__components__llm-trace-v3-examples.md.async.js +1 -0
  62. package/dist/docs__components__llm-trace-v3-visual-demos.md.async.js +1 -0
  63. package/dist/docs__components__llm-trace-v3.md.async.js +61 -0
  64. package/dist/docs__docs__index.md.async.js +108 -0
  65. package/dist/docs__index.md.async.js +1 -0
  66. package/dist/dumi__tmp-production__dumi__theme__ContextWrapper.async.js +1 -0
  67. package/dist/index.html +44 -0
  68. package/dist/markdown-latex-mermaid/index.html +44 -0
  69. package/dist/meta__demos.async.js +4272 -0
  70. package/dist/meta__docs.async.js +3416 -0
  71. package/dist/nm__dumi__dist__client__pages__404.async.js +29 -0
  72. package/dist/nm__dumi__dist__client__pages__Demo__index.async.js +5 -0
  73. package/dist/nm__dumi__theme-default__layouts__DocLayout__index.async.js +1 -0
  74. package/dist/preload_helper.js +1 -0
  75. package/dist/static/KaTeX_AMS-Regular.1608a09b.woff +0 -0
  76. package/dist/static/KaTeX_AMS-Regular.4aafdb68.ttf +0 -0
  77. package/dist/static/KaTeX_AMS-Regular.a79f1c31.woff2 +0 -0
  78. package/dist/static/KaTeX_Caligraphic-Bold.b6770918.woff +0 -0
  79. package/dist/static/KaTeX_Caligraphic-Bold.cce5b8ec.ttf +0 -0
  80. package/dist/static/KaTeX_Caligraphic-Bold.ec17d132.woff2 +0 -0
  81. package/dist/static/KaTeX_Caligraphic-Regular.07ef19e7.ttf +0 -0
  82. package/dist/static/KaTeX_Caligraphic-Regular.55fac258.woff2 +0 -0
  83. package/dist/static/KaTeX_Caligraphic-Regular.dad44a7f.woff +0 -0
  84. package/dist/static/KaTeX_Fraktur-Bold.9f256b85.woff +0 -0
  85. package/dist/static/KaTeX_Fraktur-Bold.b18f59e1.ttf +0 -0
  86. package/dist/static/KaTeX_Fraktur-Bold.d42a5579.woff2 +0 -0
  87. package/dist/static/KaTeX_Fraktur-Regular.7c187121.woff +0 -0
  88. package/dist/static/KaTeX_Fraktur-Regular.d3c882a6.woff2 +0 -0
  89. package/dist/static/KaTeX_Fraktur-Regular.ed38e79f.ttf +0 -0
  90. package/dist/static/KaTeX_Main-Bold.b74a1a8b.ttf +0 -0
  91. package/dist/static/KaTeX_Main-Bold.c3fb5ac2.woff2 +0 -0
  92. package/dist/static/KaTeX_Main-Bold.d181c465.woff +0 -0
  93. package/dist/static/KaTeX_Main-BoldItalic.6f2bb1df.woff2 +0 -0
  94. package/dist/static/KaTeX_Main-BoldItalic.70d8b0a5.ttf +0 -0
  95. package/dist/static/KaTeX_Main-BoldItalic.e3f82f9d.woff +0 -0
  96. package/dist/static/KaTeX_Main-Italic.47373d1e.ttf +0 -0
  97. package/dist/static/KaTeX_Main-Italic.8916142b.woff2 +0 -0
  98. package/dist/static/KaTeX_Main-Italic.9024d815.woff +0 -0
  99. package/dist/static/KaTeX_Main-Regular.0462f03b.woff2 +0 -0
  100. package/dist/static/KaTeX_Main-Regular.7f51fe03.woff +0 -0
  101. package/dist/static/KaTeX_Main-Regular.b7f8fe9b.ttf +0 -0
  102. package/dist/static/KaTeX_Math-BoldItalic.572d331f.woff2 +0 -0
  103. package/dist/static/KaTeX_Math-BoldItalic.a879cf83.ttf +0 -0
  104. package/dist/static/KaTeX_Math-BoldItalic.f1035d8d.woff +0 -0
  105. package/dist/static/KaTeX_Math-Italic.5295ba48.woff +0 -0
  106. package/dist/static/KaTeX_Math-Italic.939bc644.ttf +0 -0
  107. package/dist/static/KaTeX_Math-Italic.f28c23ac.woff2 +0 -0
  108. package/dist/static/KaTeX_SansSerif-Bold.8c5b5494.woff2 +0 -0
  109. package/dist/static/KaTeX_SansSerif-Bold.94e1e8dc.ttf +0 -0
  110. package/dist/static/KaTeX_SansSerif-Bold.bf59d231.woff +0 -0
  111. package/dist/static/KaTeX_SansSerif-Italic.3b1e59b3.woff2 +0 -0
  112. package/dist/static/KaTeX_SansSerif-Italic.7c9bc82b.woff +0 -0
  113. package/dist/static/KaTeX_SansSerif-Italic.b4c20c84.ttf +0 -0
  114. package/dist/static/KaTeX_SansSerif-Regular.74048478.woff +0 -0
  115. package/dist/static/KaTeX_SansSerif-Regular.ba21ed5f.woff2 +0 -0
  116. package/dist/static/KaTeX_SansSerif-Regular.d4d7ba48.ttf +0 -0
  117. package/dist/static/KaTeX_Script-Regular.03e9641d.woff2 +0 -0
  118. package/dist/static/KaTeX_Script-Regular.07505710.woff +0 -0
  119. package/dist/static/KaTeX_Script-Regular.fe9cbbe1.ttf +0 -0
  120. package/dist/static/KaTeX_Size1-Regular.e1e279cb.woff +0 -0
  121. package/dist/static/KaTeX_Size1-Regular.eae34984.woff2 +0 -0
  122. package/dist/static/KaTeX_Size1-Regular.fabc004a.ttf +0 -0
  123. package/dist/static/KaTeX_Size2-Regular.57727022.woff +0 -0
  124. package/dist/static/KaTeX_Size2-Regular.5916a24f.woff2 +0 -0
  125. package/dist/static/KaTeX_Size2-Regular.d6b476ec.ttf +0 -0
  126. package/dist/static/KaTeX_Size3-Regular.9acaf01c.woff +0 -0
  127. package/dist/static/KaTeX_Size3-Regular.a144ef58.ttf +0 -0
  128. package/dist/static/KaTeX_Size3-Regular.b4230e7e.woff2 +0 -0
  129. package/dist/static/KaTeX_Size4-Regular.10d95fd3.woff2 +0 -0
  130. package/dist/static/KaTeX_Size4-Regular.7a996c9d.woff +0 -0
  131. package/dist/static/KaTeX_Size4-Regular.fbccdabe.ttf +0 -0
  132. package/dist/static/KaTeX_Typewriter-Regular.6258592b.woff +0 -0
  133. package/dist/static/KaTeX_Typewriter-Regular.a8709e36.woff2 +0 -0
  134. package/dist/static/KaTeX_Typewriter-Regular.d97aaf4a.ttf +0 -0
  135. package/dist/tool-chat-type/index.html +44 -0
  136. package/dist/umi.js +1534 -0
  137. package/dist/~demos/:id/index.html +44 -0
  138. package/dist/~demos/demos-markdown-latex-mermaid-demo-markdown-latex-mermaid/index.html +44 -0
  139. package/dist/~demos/demos-tool-chat-type-demo-agentschemaformdemo/index.html +44 -0
  140. package/dist/~demos/demos-tool-chat-type-demo-assistant-drawer/index.html +44 -0
  141. package/dist/~demos/demos-tool-chat-type-demo-chat-input-demo/index.html +44 -0
  142. package/dist/~demos/demos-tool-chat-type-demo-chat-list-demo/index.html +44 -0
  143. package/dist/~demos/demos-tool-chat-type-demo-chat-scenario-demo/index.html +44 -0
  144. package/dist/~demos/demos-tool-chat-type-demo-schema-input/index.html +44 -0
  145. package/dist/~demos/demos-tool-chat-type-demo-toolchattype/index.html +44 -0
  146. package/dist/~demos/docs-components-llm-trace-v-2-demo-0/index.html +44 -0
  147. package/dist/~demos/docs-components-llm-trace-v-2-demo-1/index.html +44 -0
  148. package/dist/~demos/docs-components-llm-trace-v-2-demo-2/index.html +44 -0
  149. package/dist/~demos/docs-components-llm-trace-v-2-demo-3/index.html +44 -0
  150. package/dist/~demos/docs-components-llm-trace-v-2-demo-4/index.html +44 -0
  151. package/dist/~demos/docs-components-llm-trace-v-3-advanced-demo-0/index.html +44 -0
  152. package/dist/~demos/docs-components-llm-trace-v-3-advanced-demo-1/index.html +44 -0
  153. package/dist/~demos/docs-components-llm-trace-v-3-advanced-demo-2/index.html +44 -0
  154. package/dist/~demos/docs-components-llm-trace-v-3-advanced-demo-3/index.html +44 -0
  155. package/dist/~demos/docs-components-llm-trace-v-3-demo-0/index.html +44 -0
  156. package/dist/~demos/docs-components-llm-trace-v-3-demo-1/index.html +44 -0
  157. package/dist/~demos/docs-components-llm-trace-v-3-demo-2/index.html +44 -0
  158. package/dist/~demos/docs-components-llm-trace-v-3-demo-3/index.html +44 -0
  159. package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-0/index.html +44 -0
  160. package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-1/index.html +44 -0
  161. package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-2/index.html +44 -0
  162. package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-3/index.html +44 -0
  163. package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-4/index.html +44 -0
  164. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-0/index.html +44 -0
  165. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-1/index.html +44 -0
  166. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-2/index.html +44 -0
  167. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-3/index.html +44 -0
  168. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-4/index.html +44 -0
  169. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-5/index.html +44 -0
  170. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-6/index.html +44 -0
  171. package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-7/index.html +44 -0
  172. package/es/AssistantChat/AssistantChatApp/CardMatchRender/index.d.ts +8 -0
  173. package/es/AssistantChat/AssistantChatApp/CardMatchRender/index.js +124 -0
  174. package/es/AssistantChat/AssistantChatApp/OperationMatchRender/index.d.ts +9 -0
  175. package/es/AssistantChat/AssistantChatApp/OperationMatchRender/index.js +64 -0
  176. package/es/AssistantChat/AssistantChatApp/const.d.ts +51 -0
  177. package/es/AssistantChat/AssistantChatApp/const.js +105 -0
  178. package/es/AssistantChat/AssistantChatApp/index.d.ts +4 -0
  179. package/es/AssistantChat/AssistantChatApp/index.js +281 -0
  180. package/es/AssistantChat/AssistantChatApp/index.scss +327 -0
  181. package/es/AssistantChat/AssistantChatCard/AgentCardRender/TemplateCard.d.ts +3 -0
  182. package/es/AssistantChat/AssistantChatCard/AgentCardRender/TemplateCard.js +125 -0
  183. package/es/AssistantChat/AssistantChatCard/AgentCardRender/common/types.d.ts +3 -0
  184. package/es/AssistantChat/AssistantChatCard/AgentCardRender/common/types.js +1 -0
  185. package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateHeader.d.ts +5 -0
  186. package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateHeader.js +24 -0
  187. package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateHtml.d.ts +7 -0
  188. package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateHtml.js +58 -0
  189. package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateParagraph.d.ts +3 -0
  190. package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateParagraph.js +8 -0
  191. package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateTitle.d.ts +3 -0
  192. package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateTitle.js +9 -0
  193. package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TraceComponent.d.ts +3 -0
  194. package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TraceComponent.js +47 -0
  195. package/es/AssistantChat/AssistantChatCard/AgentCardRender/context/index.d.ts +29 -0
  196. package/es/AssistantChat/AssistantChatCard/AgentCardRender/context/index.js +95 -0
  197. package/es/AssistantChat/AssistantChatCard/AgentCardRender/index.d.ts +4 -0
  198. package/es/AssistantChat/AssistantChatCard/AgentCardRender/index.js +100 -0
  199. package/es/AssistantChat/AssistantChatCard/AgentCardRender/index.scss +18 -0
  200. package/es/AssistantChat/AssistantChatCard/AgentCardRender/utils.d.ts +2 -0
  201. package/es/AssistantChat/AssistantChatCard/AgentCardRender/utils.js +36 -0
  202. package/es/AssistantChat/AssistantChatCard/AgentCommonCard/index.d.ts +4 -0
  203. package/es/AssistantChat/AssistantChatCard/AgentCommonCard/index.js +95 -0
  204. package/es/AssistantChat/AssistantChatCard/AgentCommonCard/index.scss +20 -0
  205. package/es/AssistantChat/AssistantChatCard/AgentExecutionCard/index.d.ts +16 -0
  206. package/es/AssistantChat/AssistantChatCard/AgentExecutionCard/index.js +17 -0
  207. package/es/AssistantChat/AssistantChatCard/AgentExecutionCard/index.scss +99 -0
  208. package/es/AssistantChat/AssistantChatCard/LlmGenerateCard/index.d.ts +14 -0
  209. package/es/AssistantChat/AssistantChatCard/LlmGenerateCard/index.js +273 -0
  210. package/es/AssistantChat/AssistantChatCard/LlmGenerateCard/index.scss +101 -0
  211. package/es/AssistantChat/AssistantChatCard/LlmGenerateCardV5/index.d.ts +78 -0
  212. package/es/AssistantChat/AssistantChatCard/LlmGenerateCardV5/index.js +123 -0
  213. package/es/AssistantChat/AssistantChatCard/LlmGenerateCardV5/index.scss +12 -0
  214. package/es/AssistantChat/AssistantChatCard/OperationCard/AigcTipsRender/index.d.ts +7 -0
  215. package/es/AssistantChat/AssistantChatCard/OperationCard/AigcTipsRender/index.js +29 -0
  216. package/es/AssistantChat/AssistantChatCard/OperationCard/Copy/index.d.ts +7 -0
  217. package/es/AssistantChat/AssistantChatCard/OperationCard/Copy/index.js +64 -0
  218. package/es/AssistantChat/AssistantChatCard/OperationCard/CopyRequestId/index.d.ts +3 -0
  219. package/es/AssistantChat/AssistantChatCard/OperationCard/CopyRequestId/index.js +19 -0
  220. package/es/AssistantChat/AssistantChatCard/OperationCard/FeedBack/index.d.ts +11 -0
  221. package/es/AssistantChat/AssistantChatCard/OperationCard/FeedBack/index.js +91 -0
  222. package/es/AssistantChat/AssistantChatCard/OperationCard/ShareButton/index.d.ts +3 -0
  223. package/es/AssistantChat/AssistantChatCard/OperationCard/ShareButton/index.js +26 -0
  224. package/es/AssistantChat/AssistantChatCard/OperationCard/index.d.ts +4 -0
  225. package/es/AssistantChat/AssistantChatCard/OperationCard/index.js +43 -0
  226. package/es/AssistantChat/AssistantChatCard/OperationCard/index.scss +14 -0
  227. package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/AttachmentsRender.d.ts +21 -0
  228. package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/AttachmentsRender.js +141 -0
  229. package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/ImageRender.d.ts +7 -0
  230. package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/ImageRender.js +74 -0
  231. package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/index.d.ts +8 -0
  232. package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/index.js +54 -0
  233. package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/index.scss +98 -0
  234. package/es/AssistantChat/AssistantChatCard/index.d.ts +5 -0
  235. package/es/AssistantChat/AssistantChatCard/index.js +10 -0
  236. package/es/AssistantChat/AssistantChatInput/index.d.ts +5 -0
  237. package/es/AssistantChat/AssistantChatInput/index.js +172 -0
  238. package/es/AssistantChat/AssistantChatInput/index.scss +85 -0
  239. package/es/AssistantChat/AssistantToolApp/const.d.ts +12 -0
  240. package/es/AssistantChat/AssistantToolApp/const.js +22 -0
  241. package/es/AssistantChat/AssistantToolApp/index.d.ts +4 -0
  242. package/es/AssistantChat/AssistantToolApp/index.js +159 -0
  243. package/es/AssistantChat/AssistantToolApp/index.scss +76 -0
  244. package/es/AssistantChat/AssistantToolExecutionApp/const.d.ts +7 -0
  245. package/es/AssistantChat/AssistantToolExecutionApp/const.js +23 -0
  246. package/es/AssistantChat/AssistantToolExecutionApp/index.d.ts +4 -0
  247. package/es/AssistantChat/AssistantToolExecutionApp/index.js +66 -0
  248. package/es/AssistantChat/AssistantToolExecutionApp/index.scss +39 -0
  249. package/es/AssistantChat/AssistentError/index.d.ts +5 -0
  250. package/es/AssistantChat/AssistentError/index.js +138 -0
  251. package/es/AssistantChat/index.d.ts +6 -0
  252. package/es/AssistantChat/index.js +166 -0
  253. package/es/AssistantChat/index.scss +30 -0
  254. package/es/AssistantChat/logCallback/aTagLog.d.ts +1 -0
  255. package/es/AssistantChat/logCallback/aTagLog.js +23 -0
  256. package/es/AssistantChat/logCallback/copyLog.d.ts +3 -0
  257. package/es/AssistantChat/logCallback/copyLog.js +63 -0
  258. package/es/ErrorBoundary/ErrorBoundaryFallback/index.d.ts +5 -0
  259. package/es/ErrorBoundary/ErrorBoundaryFallback/index.js +134 -0
  260. package/es/ErrorBoundary/index.d.ts +22 -0
  261. package/es/ErrorBoundary/index.js +69 -0
  262. package/es/common/registerAssistChatForm.d.ts +2 -0
  263. package/es/common/registerAssistChatForm.js +14 -0
  264. package/es/components/AgentCardSubmit/index.d.ts +20 -0
  265. package/es/components/AgentCardSubmit/index.js +90 -0
  266. package/es/components/AgentResult/index.d.ts +8 -0
  267. package/es/components/AgentResult/index.js +77 -0
  268. package/es/components/AgentResult/index.scss +11 -0
  269. package/es/components/AgentSchemaForm/ScreenshotView.d.ts +12 -0
  270. package/es/components/AgentSchemaForm/ScreenshotView.js +194 -0
  271. package/es/components/AgentSchemaForm/ScreenshotView.scss +86 -0
  272. package/es/components/AgentSchemaForm/_interface.d.ts +37 -0
  273. package/es/components/AgentSchemaForm/_interface.js +13 -0
  274. package/es/components/AgentSchemaForm/index.d.ts +9 -0
  275. package/es/components/AgentSchemaForm/index.js +190 -0
  276. package/es/components/AgentSchemaForm/index.scss +37 -0
  277. package/es/components/AgentText/index.d.ts +4 -0
  278. package/es/components/AgentText/index.js +8 -0
  279. package/es/components/AgentText/index.scss +5 -0
  280. package/es/components/AigcTips/index.d.ts +9 -0
  281. package/es/components/AigcTips/index.js +17 -0
  282. package/es/components/AigcTips/index.scss +6 -0
  283. package/es/components/ArrayInput/index.d.ts +3 -0
  284. package/es/components/ArrayInput/index.js +36 -0
  285. package/es/components/AssistantDrawer/index.d.ts +22 -0
  286. package/es/components/AssistantDrawer/index.js +112 -0
  287. package/es/components/AssistantDrawer/index.scss +96 -0
  288. package/es/components/EmptyIcon/index.d.ts +3 -0
  289. package/es/components/EmptyIcon/index.js +124 -0
  290. package/es/components/HeaderSvgIcon/index.d.ts +3 -0
  291. package/es/components/HeaderSvgIcon/index.js +1 -0
  292. package/es/components/InspectionCard/index.d.ts +66 -0
  293. package/es/components/InspectionCard/index.js +246 -0
  294. package/es/components/InspectionCard/index.module.less +193 -0
  295. package/es/components/InspectionCard/result.d.ts +13 -0
  296. package/es/components/InspectionCard/result.js +26 -0
  297. package/es/components/InspectionCard/result.module.less +36 -0
  298. package/es/components/LlmMarkDown/MdAmarkGuess/index.d.ts +16 -0
  299. package/es/components/LlmMarkDown/MdAmarkGuess/index.js +41 -0
  300. package/es/components/LlmMarkDown/MdAmarkReference/index.d.ts +21 -0
  301. package/es/components/LlmMarkDown/MdAmarkReference/index.js +300 -0
  302. package/es/components/LlmMarkDown/MdAmarkReference/index.scss +122 -0
  303. package/es/components/LlmMarkDown/index.d.ts +30 -0
  304. package/es/components/LlmMarkDown/index.js +202 -0
  305. package/es/components/LlmMarkDown/index.scss +23 -0
  306. package/es/components/LlmModelChange/index.d.ts +57 -0
  307. package/es/components/LlmModelChange/index.js +138 -0
  308. package/es/components/LlmModelChange/index.scss +60 -0
  309. package/es/components/LlmReference/index.d.ts +25 -0
  310. package/es/components/LlmReference/index.js +147 -0
  311. package/es/components/LlmReference/index.scss +92 -0
  312. package/es/components/LlmTitle/index.d.ts +14 -0
  313. package/es/components/LlmTitle/index.js +26 -0
  314. package/es/components/LlmTitle/index.scss +20 -0
  315. package/es/components/LlmTrace/index.d.ts +17 -0
  316. package/es/components/LlmTrace/index.js +119 -0
  317. package/es/components/LlmTrace/index.scss +79 -0
  318. package/es/components/LlmTraceComponents/Disassemble/index.d.ts +24 -0
  319. package/es/components/LlmTraceComponents/Disassemble/index.js +89 -0
  320. package/es/components/LlmTraceComponents/Disassemble/index.scss +19 -0
  321. package/es/components/LlmTraceComponents/ReadResource/index.d.ts +24 -0
  322. package/es/components/LlmTraceComponents/ReadResource/index.js +19 -0
  323. package/es/components/LlmTraceComponents/ReadResource/index.scss +5 -0
  324. package/es/components/LlmTraceComponents/Rewrite/index.d.ts +23 -0
  325. package/es/components/LlmTraceComponents/Rewrite/index.js +49 -0
  326. package/es/components/LlmTraceComponents/Rewrite/index.scss +13 -0
  327. package/es/components/LlmTraceComponents/TraceMarkDown/index.d.ts +22 -0
  328. package/es/components/LlmTraceComponents/TraceMarkDown/index.js +44 -0
  329. package/es/components/LlmTraceComponents/TraceMarkDown/index.scss +18 -0
  330. package/es/components/LlmTraceComponents/const.d.ts +25 -0
  331. package/es/components/LlmTraceComponents/const.js +23 -0
  332. package/es/components/LlmTraceV2/index.d.ts +56 -0
  333. package/es/components/LlmTraceV2/index.js +384 -0
  334. package/es/components/LlmTraceV2/index.scss +115 -0
  335. package/es/components/LlmTraceV3/components/TraceContentComponents/BusinessFlow/index.d.ts +13 -0
  336. package/es/components/LlmTraceV3/components/TraceContentComponents/BusinessFlow/index.js +38 -0
  337. package/es/components/LlmTraceV3/components/TraceContentComponents/BusinessFlow/index.scss +56 -0
  338. package/es/components/LlmTraceV3/components/TraceContentComponents/CodeBlock/index.d.ts +18 -0
  339. package/es/components/LlmTraceV3/components/TraceContentComponents/CodeBlock/index.js +82 -0
  340. package/es/components/LlmTraceV3/components/TraceContentComponents/CodeBlock/index.scss +36 -0
  341. package/es/components/LlmTraceV3/components/TraceContentComponents/DeepThinking/index.d.ts +13 -0
  342. package/es/components/LlmTraceV3/components/TraceContentComponents/DeepThinking/index.js +26 -0
  343. package/es/components/LlmTraceV3/components/TraceContentComponents/DeepThinking/index.scss +54 -0
  344. package/es/components/LlmTraceV3/components/TraceContentComponents/InfoMissing/index.d.ts +13 -0
  345. package/es/components/LlmTraceV3/components/TraceContentComponents/InfoMissing/index.js +25 -0
  346. package/es/components/LlmTraceV3/components/TraceContentComponents/InfoMissing/index.scss +38 -0
  347. package/es/components/LlmTraceV3/components/TraceContentComponents/LinkList/index.d.ts +20 -0
  348. package/es/components/LlmTraceV3/components/TraceContentComponents/LinkList/index.js +49 -0
  349. package/es/components/LlmTraceV3/components/TraceContentComponents/LinkList/index.scss +37 -0
  350. package/es/components/LlmTraceV3/components/TraceContentComponents/SearchResults/index.d.ts +13 -0
  351. package/es/components/LlmTraceV3/components/TraceContentComponents/SearchResults/index.js +93 -0
  352. package/es/components/LlmTraceV3/components/TraceContentComponents/SearchResults/index.scss +151 -0
  353. package/es/components/LlmTraceV3/components/TraceContentComponents/TaskPlanning/index.d.ts +12 -0
  354. package/es/components/LlmTraceV3/components/TraceContentComponents/TaskPlanning/index.js +28 -0
  355. package/es/components/LlmTraceV3/components/TraceContentComponents/ToolCall/index.d.ts +13 -0
  356. package/es/components/LlmTraceV3/components/TraceContentComponents/ToolCall/index.js +46 -0
  357. package/es/components/LlmTraceV3/components/TraceContentComponents/ToolCall/index.scss +70 -0
  358. package/es/components/LlmTraceV3/components/TraceContentComponents/ToolResult/index.d.ts +13 -0
  359. package/es/components/LlmTraceV3/components/TraceContentComponents/ToolResult/index.js +72 -0
  360. package/es/components/LlmTraceV3/components/TraceContentComponents/ToolResult/index.scss +90 -0
  361. package/es/components/LlmTraceV3/components/TraceContentComponents/const.d.ts +32 -0
  362. package/es/components/LlmTraceV3/components/TraceContentComponents/const.js +27 -0
  363. package/es/components/LlmTraceV3/components/TraceGroup/index.d.ts +8 -0
  364. package/es/components/LlmTraceV3/components/TraceGroup/index.js +81 -0
  365. package/es/components/LlmTraceV3/components/TraceHeader/index.d.ts +8 -0
  366. package/es/components/LlmTraceV3/components/TraceHeader/index.js +64 -0
  367. package/es/components/LlmTraceV3/components/TraceItem/index.d.ts +8 -0
  368. package/es/components/LlmTraceV3/components/TraceItem/index.js +126 -0
  369. package/es/components/LlmTraceV3/components/TraceSlide/index.d.ts +30 -0
  370. package/es/components/LlmTraceV3/components/TraceSlide/index.js +278 -0
  371. package/es/components/LlmTraceV3/components/TraceSlide/index.scss +204 -0
  372. package/es/components/LlmTraceV3/components/TraceStatusIcon/index.d.ts +8 -0
  373. package/es/components/LlmTraceV3/components/TraceStatusIcon/index.js +41 -0
  374. package/es/components/LlmTraceV3/hooks/useGroupCollapse.d.ts +18 -0
  375. package/es/components/LlmTraceV3/hooks/useGroupCollapse.js +91 -0
  376. package/es/components/LlmTraceV3/hooks/useItemCollapse.d.ts +18 -0
  377. package/es/components/LlmTraceV3/hooks/useItemCollapse.js +61 -0
  378. package/es/components/LlmTraceV3/hooks/useTraceAnimation.d.ts +15 -0
  379. package/es/components/LlmTraceV3/hooks/useTraceAnimation.js +54 -0
  380. package/es/components/LlmTraceV3/hooks/useTraceCollapse.d.ts +17 -0
  381. package/es/components/LlmTraceV3/hooks/useTraceCollapse.js +80 -0
  382. package/es/components/LlmTraceV3/index.d.ts +11 -0
  383. package/es/components/LlmTraceV3/index.js +173 -0
  384. package/es/components/LlmTraceV3/index.scss +333 -0
  385. package/es/components/LlmTraceV3/types.d.ts +263 -0
  386. package/es/components/LlmTraceV3/types.js +108 -0
  387. package/es/components/LlmTraceV3/utils/collapseLogic.d.ts +26 -0
  388. package/es/components/LlmTraceV3/utils/collapseLogic.js +86 -0
  389. package/es/components/LlmTraceV3/utils/traceHelpers.d.ts +42 -0
  390. package/es/components/LlmTraceV3/utils/traceHelpers.js +94 -0
  391. package/es/components/MarkDown/index.d.ts +11 -0
  392. package/es/components/MarkDown/index.js +222 -0
  393. package/es/components/MarkDown/index.scss +179 -0
  394. package/es/components/ModelSelect/ModeDropdown.d.ts +8 -0
  395. package/es/components/ModelSelect/ModeDropdown.js +118 -0
  396. package/es/components/ModelSelect/const.d.ts +30 -0
  397. package/es/components/ModelSelect/const.js +61 -0
  398. package/es/components/ModelSelect/index.d.ts +4 -0
  399. package/es/components/ModelSelect/index.js +45 -0
  400. package/es/components/ModelSelect/index.scss +121 -0
  401. package/es/components/PaulButtonGroup/Select.d.ts +3 -0
  402. package/es/components/PaulButtonGroup/Select.js +109 -0
  403. package/es/components/PaulButtonGroup/index.d.ts +16 -0
  404. package/es/components/PaulButtonGroup/index.js +209 -0
  405. package/es/components/PaulButtonGroup/index.scss +19 -0
  406. package/es/components/PopAuth/index.d.ts +4 -0
  407. package/es/components/PopAuth/index.js +62 -0
  408. package/es/components/PopAuth/index.scss +16 -0
  409. package/es/components/ReferenceInfoItem/index.d.ts +49 -0
  410. package/es/components/ReferenceInfoItem/index.js +43 -0
  411. package/es/components/ReferenceInfoItem/index.scss +46 -0
  412. package/es/components/ReferenceTag/index.d.ts +11 -0
  413. package/es/components/ReferenceTag/index.js +27 -0
  414. package/es/components/ReferenceTag/index.scss +19 -0
  415. package/es/components/SchemaInput/SchemaInputCore/index.d.ts +4 -0
  416. package/es/components/SchemaInput/SchemaInputCore/index.js +113 -0
  417. package/es/components/SchemaInput/SchemaInputCore/index.scss +35 -0
  418. package/es/components/SchemaInput/SchemaInputCore/utils.d.ts +1 -0
  419. package/es/components/SchemaInput/SchemaInputCore/utils.js +77 -0
  420. package/es/components/SchemaInput/SimpleJSONEditor/index.d.ts +4 -0
  421. package/es/components/SchemaInput/SimpleJSONEditor/index.js +35 -0
  422. package/es/components/SchemaInput/SimpleJSONEditor/index.scss +7 -0
  423. package/es/components/SchemaInput/index.d.ts +8 -0
  424. package/es/components/SchemaInput/index.js +30 -0
  425. package/es/components/SelectBlurry/index.d.ts +3 -0
  426. package/es/components/SelectBlurry/index.js +74 -0
  427. package/es/components/SendMessageSvgIcon/index.d.ts +3 -0
  428. package/es/components/SendMessageSvgIcon/index.js +70 -0
  429. package/es/components/ShareContent/index.d.ts +21 -0
  430. package/es/components/ShareContent/index.js +176 -0
  431. package/es/components/ShareContent/index.scss +36 -0
  432. package/es/components/ShareModal/index.d.ts +15 -0
  433. package/es/components/ShareModal/index.js +185 -0
  434. package/es/components/ShareModal/index.scss +199 -0
  435. package/es/components/ShareOperationBar/index.d.ts +4 -0
  436. package/es/components/ShareOperationBar/index.js +152 -0
  437. package/es/components/ShareOperationBar/index.scss +47 -0
  438. package/es/components/TextContent/index.d.ts +14 -0
  439. package/es/components/TextContent/index.js +37 -0
  440. package/es/components/TextContent/index.scss +31 -0
  441. package/es/components/TraceMarkdownWithCard/index.d.ts +6 -0
  442. package/es/components/TraceMarkdownWithCard/index.js +21 -0
  443. package/es/components/TraceMarkdownWithCard/index.module.less +29 -0
  444. package/es/components/TraceWithAgent/index.d.ts +23 -0
  445. package/es/components/TraceWithAgent/index.js +93 -0
  446. package/es/components/TraceWithAgent/index.less +74 -0
  447. package/es/constants/assistChatEvent.d.ts +33 -0
  448. package/es/constants/assistChatEvent.js +33 -0
  449. package/es/constants/common.d.ts +71 -0
  450. package/es/constants/common.js +90 -0
  451. package/es/constants/logTrace.d.ts +3 -0
  452. package/es/constants/logTrace.js +4 -0
  453. package/es/constants/reference.d.ts +109 -0
  454. package/es/constants/reference.js +111 -0
  455. package/es/constants/traceDataStatus.d.ts +34 -0
  456. package/es/constants/traceDataStatus.js +37 -0
  457. package/es/context/index.d.ts +13 -0
  458. package/es/context/index.js +785 -0
  459. package/es/context/utils/messages.d.ts +33 -0
  460. package/es/context/utils/messages.js +194 -0
  461. package/es/context/utils/send.d.ts +29 -0
  462. package/es/context/utils/send.js +187 -0
  463. package/es/context/utils/tool.d.ts +19 -0
  464. package/es/context/utils/tool.js +89 -0
  465. package/es/index.d.ts +37 -0
  466. package/es/index.js +63 -0
  467. package/es/index.scss +39 -0
  468. package/es/interface/IAgent.d.ts +12 -0
  469. package/es/interface/IAgent.js +1 -0
  470. package/es/interface/IChatBottom.d.ts +69 -0
  471. package/es/interface/IChatBottom.js +1 -0
  472. package/es/interface/IChatCard.d.ts +40 -0
  473. package/es/interface/IChatCard.js +1 -0
  474. package/es/interface/IChatContext.d.ts +59 -0
  475. package/es/interface/IChatContext.js +1 -0
  476. package/es/interface/IChatRef.d.ts +75 -0
  477. package/es/interface/IChatRef.js +1 -0
  478. package/es/interface/IGuessQuestion.d.ts +43 -0
  479. package/es/interface/IGuessQuestion.js +15 -0
  480. package/es/interface/IMessage.d.ts +17 -0
  481. package/es/interface/IMessage.js +1 -0
  482. package/es/interface/ISend.d.ts +19 -0
  483. package/es/interface/ISend.js +1 -0
  484. package/es/interface/index.d.ts +272 -0
  485. package/es/interface/index.js +7 -0
  486. package/es/utils/CSEIconTool.d.ts +8 -0
  487. package/es/utils/CSEIconTool.js +6 -0
  488. package/es/utils/apushAssistant.d.ts +73 -0
  489. package/es/utils/apushAssistant.js +518 -0
  490. package/es/utils/clientPlugin.d.ts +3 -0
  491. package/es/utils/clientPlugin.js +73 -0
  492. package/es/utils/common.d.ts +10 -0
  493. package/es/utils/common.js +40 -0
  494. package/es/utils/copyToClipboard.d.ts +2 -0
  495. package/es/utils/copyToClipboard.js +70 -0
  496. package/es/utils/formDataFormat.d.ts +3 -0
  497. package/es/utils/formDataFormat.js +55 -0
  498. package/es/utils/formatData.d.ts +14 -0
  499. package/es/utils/formatData.js +104 -0
  500. package/es/utils/log.d.ts +18 -0
  501. package/es/utils/log.js +37 -0
  502. package/es/utils/parseUrl.d.ts +9 -0
  503. package/es/utils/parseUrl.js +48 -0
  504. package/es/utils/screenshot.d.ts +45 -0
  505. package/es/utils/screenshot.js +650 -0
  506. package/es/utils/send.d.ts +10 -0
  507. package/es/utils/send.js +8 -0
  508. package/es/utils/uploadImage.d.ts +9 -0
  509. package/es/utils/uploadImage.js +226 -0
  510. package/es/utils/websocketLogger.d.ts +176 -0
  511. package/es/utils/websocketLogger.js +267 -0
  512. package/package.json +166 -0
@@ -0,0 +1,66 @@
1
+ !(function(){"use strict";var rt=Object.defineProperty,at=Object.defineProperties;var st=Object.getOwnPropertyDescriptors;var oe=Object.getOwnPropertySymbols;var ot=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable;var ce=(k,B,x)=>B in k?rt(k,B,{enumerable:!0,configurable:!0,writable:!0,value:x}):k[B]=x,U=(k,B)=>{for(var x in B||(B={}))ot.call(B,x)&&ce(k,x,B[x]);if(oe)for(var x of oe(B))ct.call(B,x)&&ce(k,x,B[x]);return k},ne=(k,B)=>at(k,st(B));var ie=(k,B,x)=>new Promise((G,R)=>{var C=L=>{try{n(x.next(L))}catch(D){R(D)}},y=L=>{try{n(x.throw(L))}catch(D){R(D)}},n=L=>L.done?G(L.value):Promise.resolve(L.value).then(C,y);n((x=x.apply(k,B)).next())});(self.webpackChunk_alife_paul_ai_assistant=self.webpackChunk_alife_paul_ai_assistant||[]).push([[8914],{25925:function(k,B,x){x.d(B,{A:function(){return R}});var G=x(35096);function R(C,y){var n,L,D;C.accDescr&&((n=y.setAccDescription)==null||n.call(y,C.accDescr)),C.accTitle&&((L=y.setAccTitle)==null||L.call(y,C.accTitle)),C.title&&((D=y.setDiagramTitle)==null||D.call(y,C.title))}(0,G.eW)(R,"populateCommonDb")},6095:function(k,B,x){var C;x.d(B,{A:function(){return R}});var G=x(35096),R=(C=class{constructor(n){this.init=n,this.records=this.init()}reset(){this.records=this.init()}},(0,G.eW)(C,"ImperativeState"),C)},88914:function(k,B,x){x.d(B,{diagram:function(){return tt}});var G=x(25925),R=x(6095),C=x(4284),y=x(99970),n=x(35096),L=x(12491),D=x(989),u={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},de=y.vZ.gitGraph,H=(0,n.eW)(()=>(0,C.Rb)(U(U({},de),(0,y.iE)().gitGraph)),"getConfig"),d=new R.A(()=>{const a=H(),t=a.mainBranchName,r=a.mainBranchOrder;return{mainBranchName:t,commits:new Map,head:null,branchConfig:new Map([[t,{name:t,order:r}]]),branches:new Map([[t,null]]),currBranch:t,direction:"LR",seq:0,options:{}}});function j(){return(0,C.MX)({length:7})}(0,n.eW)(j,"getID");function X(a,t){const r=Object.create(null);return a.reduce((o,e)=>{const s=t(e);return r[s]||(r[s]=!0,o.push(e)),o},[])}(0,n.eW)(X,"uniqBy");var he=(0,n.eW)(function(a){d.records.direction=a},"setDirection"),le=(0,n.eW)(function(a){n.cM.debug("options str",a),a=a==null?void 0:a.trim(),a=a||"{}";try{d.records.options=JSON.parse(a)}catch(t){n.cM.error("error while parsing gitGraph options",t.message)}},"setOptions"),me=(0,n.eW)(function(){return d.records.options},"getOptions"),pe=(0,n.eW)(function(a){let t=a.msg,r=a.id;const o=a.type;let e=a.tags;n.cM.info("commit",t,r,o,e),n.cM.debug("Entering commit:",t,r,o,e);const s=H();r=y.SY.sanitizeText(r,s),t=y.SY.sanitizeText(t,s),e=e==null?void 0:e.map(c=>y.SY.sanitizeText(c,s));const i={id:r||d.records.seq+"-"+j(),message:t,seq:d.records.seq++,type:o!=null?o:u.NORMAL,tags:e!=null?e:[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=i,n.cM.info("main branch",s.mainBranchName),d.records.commits.has(i.id)&&n.cM.warn(`Commit ID ${i.id} already exists`),d.records.commits.set(i.id,i),d.records.branches.set(d.records.currBranch,i.id),n.cM.debug("in pushCommit "+i.id)},"commit"),fe=(0,n.eW)(function(a){let t=a.name;const r=a.order;if(t=y.SY.sanitizeText(t,H()),d.records.branches.has(t))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${t}")`);d.records.branches.set(t,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(t,{name:t,order:r}),Q(t),n.cM.debug("in createBranch")},"branch"),ge=(0,n.eW)(a=>{let t=a.branch,r=a.id;const o=a.type,e=a.tags,s=H();t=y.SY.sanitizeText(t,s),r&&(r=y.SY.sanitizeText(r,s));const i=d.records.branches.get(d.records.currBranch),c=d.records.branches.get(t),m=i?d.records.commits.get(i):void 0,l=c?d.records.commits.get(c):void 0;if(m&&l&&m.branch===t)throw new Error(`Cannot merge branch '${t}' into itself.`);if(d.records.currBranch===t){const h=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:["branch abc"]},h}if(m===void 0||!m){const h=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:["commit"]},h}if(!d.records.branches.has(t)){const h=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist");throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`branch ${t}`]},h}if(l===void 0||!l){const h=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits");throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:['"commit"']},h}if(m===l){const h=new Error('Incorrect usage of "merge". Both branches have same head');throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:["branch abc"]},h}if(r&&d.records.commits.has(r)){const h=new Error('Incorrect usage of "merge". Commit with id:'+r+" already exists, use different custom id");throw h.hash={text:`merge ${t} ${r} ${o} ${e==null?void 0:e.join(" ")}`,token:`merge ${t} ${r} ${o} ${e==null?void 0:e.join(" ")}`,expected:[`merge ${t} ${r}_UNIQUE ${o} ${e==null?void 0:e.join(" ")}`]},h}const p=c||"",$={id:r||`${d.records.seq}-${j()}`,message:`merged branch ${t} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,p],branch:d.records.currBranch,type:u.MERGE,customType:o,customId:!!r,tags:e!=null?e:[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),n.cM.debug(d.records.branches),n.cM.debug("in mergeBranch")},"merge"),ye=(0,n.eW)(function(a){let t=a.id,r=a.targetId,o=a.tags,e=a.parent;n.cM.debug("Entering cherryPick:",t,r,o);const s=H();if(t=y.SY.sanitizeText(t,s),r=y.SY.sanitizeText(r,s),o=o==null?void 0:o.map(m=>y.SY.sanitizeText(m,s)),e=y.SY.sanitizeText(e,s),!t||!d.records.commits.has(t)){const m=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw m.hash={text:`cherryPick ${t} ${r}`,token:`cherryPick ${t} ${r}`,expected:["cherry-pick abc"]},m}const i=d.records.commits.get(t);if(i===void 0||!i)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(e&&!(Array.isArray(i.parents)&&i.parents.includes(e)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const c=i.branch;if(i.type===u.MERGE&&!e)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!r||!d.records.commits.has(r)){if(c===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${t} ${r}`,token:`cherryPick ${t} ${r}`,expected:["cherry-pick abc"]},$}const m=d.records.branches.get(d.records.currBranch);if(m===void 0||!m){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${t} ${r}`,token:`cherryPick ${t} ${r}`,expected:["cherry-pick abc"]},$}const l=d.records.commits.get(m);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${t} ${r}`,token:`cherryPick ${t} ${r}`,expected:["cherry-pick abc"]},$}const p={id:d.records.seq+"-"+j(),message:`cherry-picked ${i==null?void 0:i.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,i.id],branch:d.records.currBranch,type:u.CHERRY_PICK,tags:o?o.filter(Boolean):[`cherry-pick:${i.id}${i.type===u.MERGE?`|parent:${e}`:""}`]};d.records.head=p,d.records.commits.set(p.id,p),d.records.branches.set(d.records.currBranch,p.id),n.cM.debug(d.records.branches),n.cM.debug("in cherryPick")}},"cherryPick"),Q=(0,n.eW)(function(a){var t;if(a=y.SY.sanitizeText(a,H()),d.records.branches.has(a)){d.records.currBranch=a;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=(t=d.records.commits.get(r))!=null?t:null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${a}")`);throw r.hash={text:`checkout ${a}`,token:`checkout ${a}`,expected:[`branch ${a}`]},r}},"checkout");function J(a,t,r){const o=a.indexOf(t);o===-1?a.push(r):a.splice(o,1,r)}(0,n.eW)(J,"upsert");function F(a){const t=a.reduce((e,s)=>e.seq>s.seq?e:s,a[0]);let r="";a.forEach(function(e){e===t?r+=" *":r+=" |"});const o=[r,t.id,t.seq];for(const e in d.records.branches)d.records.branches.get(e)===t.id&&o.push(e);if(n.cM.debug(o.join(" ")),t.parents&&t.parents.length==2&&t.parents[0]&&t.parents[1]){const e=d.records.commits.get(t.parents[0]);J(a,t,e),t.parents[1]&&a.push(d.records.commits.get(t.parents[1]))}else{if(t.parents.length==0)return;if(t.parents[0]){const e=d.records.commits.get(t.parents[0]);J(a,t,e)}}a=X(a,e=>e.id),F(a)}(0,n.eW)(F,"prettyPrintCommitHistory");var $e=(0,n.eW)(function(){n.cM.debug(d.records.commits);const a=ee()[0];F([a])},"prettyPrint"),xe=(0,n.eW)(function(){d.reset(),(0,y.ZH)()},"clear"),ue=(0,n.eW)(function(){return[...d.records.branchConfig.values()].map((t,r)=>t.order!==null&&t.order!==void 0?t:ne(U({},t),{order:parseFloat(`0.${r}`)})).sort((t,r)=>{var o,e;return((o=t.order)!=null?o:0)-((e=r.order)!=null?e:0)}).map(({name:t})=>({name:t}))},"getBranchesAsObjArray"),be=(0,n.eW)(function(){return d.records.branches},"getBranches"),Be=(0,n.eW)(function(){return d.records.commits},"getCommits"),ee=(0,n.eW)(function(){const a=[...d.records.commits.values()];return a.forEach(function(t){n.cM.debug(t.id)}),a.sort((t,r)=>t.seq-r.seq),a},"getCommitsArray"),we=(0,n.eW)(function(){return d.records.currBranch},"getCurrentBranch"),ve=(0,n.eW)(function(){return d.records.direction},"getDirection"),Ce=(0,n.eW)(function(){return d.records.head},"getHead"),te={commitType:u,getConfig:H,setDirection:he,setOptions:le,getOptions:me,commit:pe,branch:fe,merge:ge,cherryPick:ye,checkout:Q,prettyPrint:$e,clear:xe,getBranchesAsObjArray:ue,getBranches:be,getCommits:Be,getCommitsArray:ee,getCurrentBranch:we,getDirection:ve,getHead:Ce,setAccTitle:y.GN,getAccTitle:y.eu,getAccDescription:y.Mx,setAccDescription:y.U$,setDiagramTitle:y.g2,getDiagramTitle:y.Kr},Ee=(0,n.eW)((a,t)=>{(0,G.A)(a,t),a.dir&&t.setDirection(a.dir);for(const r of a.statements)ke(r,t)},"populate"),ke=(0,n.eW)((a,t)=>{const o={Commit:(0,n.eW)(e=>t.commit(Me(e)),"Commit"),Branch:(0,n.eW)(e=>t.branch(Te(e)),"Branch"),Merge:(0,n.eW)(e=>t.merge(We(e)),"Merge"),Checkout:(0,n.eW)(e=>t.checkout(Le(e)),"Checkout"),CherryPicking:(0,n.eW)(e=>t.cherryPick(Pe(e)),"CherryPicking")}[a.$type];o?o(a):n.cM.error(`Unknown statement type: ${a.$type}`)},"parseStatement"),Me=(0,n.eW)(a=>{var r,o;return{id:a.id,msg:(r=a.message)!=null?r:"",type:a.type!==void 0?u[a.type]:u.NORMAL,tags:(o=a.tags)!=null?o:void 0}},"parseCommit"),Te=(0,n.eW)(a=>{var r;return{name:a.name,order:(r=a.order)!=null?r:0}},"parseBranch"),We=(0,n.eW)(a=>{var r,o;return{branch:a.branch,id:(r=a.id)!=null?r:"",type:a.type!==void 0?u[a.type]:void 0,tags:(o=a.tags)!=null?o:void 0}},"parseMerge"),Le=(0,n.eW)(a=>a.branch,"parseCheckout"),Pe=(0,n.eW)(a=>{var r;return{id:a.id,targetId:"",tags:((r=a.tags)==null?void 0:r.length)===0?void 0:a.tags,parent:a.parent}},"parseCherryPicking"),_e={parse:(0,n.eW)(a=>ie(this,null,function*(){const t=yield(0,L.Qc)("gitGraph",a);n.cM.debug(t),Ee(t,te)}),"parse")},V=(0,y.nV)(),w=V==null?void 0:V.gitGraph,A=10,I=40,_=4,O=2,S=8,M=new Map,T=new Map,z=30,K=new Map,Z=[],q=0,g="LR",Re=(0,n.eW)(()=>{M.clear(),T.clear(),K.clear(),q=0,Z=[],g="LR"},"clear"),re=(0,n.eW)(a=>{const t=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof a=="string"?a.split(/\\n|\n|<br\s*\/?>/gi):a).forEach(o=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=o.trim(),t.appendChild(e)}),t},"drawText"),ae=(0,n.eW)(a=>{let t,r,o;return g==="BT"?(r=(0,n.eW)((e,s)=>e<=s,"comparisonFunc"),o=1/0):(r=(0,n.eW)((e,s)=>e>=s,"comparisonFunc"),o=0),a.forEach(e=>{var i,c;const s=g==="TB"||g=="BT"?(i=T.get(e))==null?void 0:i.y:(c=T.get(e))==null?void 0:c.x;s!==void 0&&r(s,o)&&(t=e,o=s)}),t},"findClosestParent"),Oe=(0,n.eW)(a=>{let t="",r=1/0;return a.forEach(o=>{const e=T.get(o).y;e<=r&&(t=o,r=e)}),t||void 0},"findClosestParentBT"),De=(0,n.eW)((a,t,r)=>{let o=r,e=r;const s=[];a.forEach(i=>{const c=t.get(i);if(!c)throw new Error(`Commit not found for key ${i}`);c.parents.length?(o=Ie(c),e=Math.max(o,e)):s.push(c),qe(c,o)}),o=e,s.forEach(i=>{Ge(i,o,r)}),a.forEach(i=>{const c=t.get(i);if(c!=null&&c.parents.length){const m=Oe(c.parents);o=T.get(m).y-I,o<=e&&(e=o);const l=M.get(c.branch).pos,p=o-A;T.set(c.id,{x:l,y:p})}})},"setParallelBTPos"),Ae=(0,n.eW)(a=>{var o;const t=ae(a.parents.filter(e=>e!==null));if(!t)throw new Error(`Closest parent not found for commit ${a.id}`);const r=(o=T.get(t))==null?void 0:o.y;if(r===void 0)throw new Error(`Closest parent position not found for commit ${a.id}`);return r},"findClosestParentPos"),Ie=(0,n.eW)(a=>Ae(a)+I,"calculateCommitPosition"),qe=(0,n.eW)((a,t)=>{const r=M.get(a.branch);if(!r)throw new Error(`Branch not found for commit ${a.id}`);const o=r.pos,e=t+A;return T.set(a.id,{x:o,y:e}),{x:o,y:e}},"setCommitPosition"),Ge=(0,n.eW)((a,t,r)=>{const o=M.get(a.branch);if(!o)throw new Error(`Branch not found for commit ${a.id}`);const e=t+r,s=o.pos;T.set(a.id,{x:s,y:e})},"setRootPosition"),He=(0,n.eW)((a,t,r,o,e,s)=>{if(s===u.HIGHLIGHT)a.append("rect").attr("x",r.x-10).attr("y",r.y-10).attr("width",20).attr("height",20).attr("class",`commit ${t.id} commit-highlight${e%S} ${o}-outer`),a.append("rect").attr("x",r.x-6).attr("y",r.y-6).attr("width",12).attr("height",12).attr("class",`commit ${t.id} commit${e%S} ${o}-inner`);else if(s===u.CHERRY_PICK)a.append("circle").attr("cx",r.x).attr("cy",r.y).attr("r",10).attr("class",`commit ${t.id} ${o}`),a.append("circle").attr("cx",r.x-3).attr("cy",r.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${t.id} ${o}`),a.append("circle").attr("cx",r.x+3).attr("cy",r.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${t.id} ${o}`),a.append("line").attr("x1",r.x+3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke","#fff").attr("class",`commit ${t.id} ${o}`),a.append("line").attr("x1",r.x-3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke","#fff").attr("class",`commit ${t.id} ${o}`);else{const i=a.append("circle");if(i.attr("cx",r.x),i.attr("cy",r.y),i.attr("r",t.type===u.MERGE?9:10),i.attr("class",`commit ${t.id} commit${e%S}`),s===u.MERGE){const c=a.append("circle");c.attr("cx",r.x),c.attr("cy",r.y),c.attr("r",6),c.attr("class",`commit ${o} ${t.id} commit${e%S}`)}s===u.REVERSE&&a.append("path").attr("d",`M ${r.x-5},${r.y-5}L${r.x+5},${r.y+5}M${r.x-5},${r.y+5}L${r.x+5},${r.y-5}`).attr("class",`commit ${o} ${t.id} commit${e%S}`)}},"drawCommitBullet"),Se=(0,n.eW)((a,t,r,o)=>{var e;if(t.type!==u.CHERRY_PICK&&(t.customId&&t.type===u.MERGE||t.type!==u.MERGE)&&(w!=null&&w.showCommitLabel)){const s=a.append("g"),i=s.insert("rect").attr("class","commit-label-bkg"),c=s.append("text").attr("x",o).attr("y",r.y+25).attr("class","commit-label").text(t.id),m=(e=c.node())==null?void 0:e.getBBox();if(m&&(i.attr("x",r.posWithOffset-m.width/2-O).attr("y",r.y+13.5).attr("width",m.width+2*O).attr("height",m.height+2*O),g==="TB"||g==="BT"?(i.attr("x",r.x-(m.width+4*_+5)).attr("y",r.y-12),c.attr("x",r.x-(m.width+4*_)).attr("y",r.y+m.height-12)):c.attr("x",r.posWithOffset-m.width/2),w.rotateCommitLabel))if(g==="TB"||g==="BT")c.attr("transform","rotate(-45, "+r.x+", "+r.y+")"),i.attr("transform","rotate(-45, "+r.x+", "+r.y+")");else{const l=-7.5-(m.width+10)/25*9.5,p=10+m.width/25*8.5;s.attr("transform","translate("+l+", "+p+") rotate(-45, "+o+", "+r.y+")")}}},"drawCommitLabel"),Ne=(0,n.eW)((a,t,r,o)=>{var e;if(t.tags.length>0){let s=0,i=0,c=0;const m=[];for(const l of t.tags.reverse()){const p=a.insert("polygon"),$=a.append("circle"),h=a.append("text").attr("y",r.y-16-s).attr("class","tag-label").text(l),f=(e=h.node())==null?void 0:e.getBBox();if(!f)throw new Error("Tag bbox not found");i=Math.max(i,f.width),c=Math.max(c,f.height),h.attr("x",r.posWithOffset-f.width/2),m.push({tag:h,hole:$,rect:p,yOffset:s}),s+=20}for(const{tag:l,hole:p,rect:$,yOffset:h}of m){const f=c/2,b=r.y-19.2-h;if($.attr("class","tag-label-bkg").attr("points",`
2
+ ${o-i/2-_/2},${b+O}
3
+ ${o-i/2-_/2},${b-O}
4
+ ${r.posWithOffset-i/2-_},${b-f-O}
5
+ ${r.posWithOffset+i/2+_},${b-f-O}
6
+ ${r.posWithOffset+i/2+_},${b+f+O}
7
+ ${r.posWithOffset-i/2-_},${b+f+O}`),p.attr("cy",b).attr("cx",o-i/2+_/2).attr("r",1.5).attr("class","tag-hole"),g==="TB"||g==="BT"){const v=o+h;$.attr("class","tag-label-bkg").attr("points",`
8
+ ${r.x},${v+2}
9
+ ${r.x},${v-2}
10
+ ${r.x+A},${v-f-2}
11
+ ${r.x+A+i+4},${v-f-2}
12
+ ${r.x+A+i+4},${v+f+2}
13
+ ${r.x+A},${v+f+2}`).attr("transform","translate(12,12) rotate(45, "+r.x+","+o+")"),p.attr("cx",r.x+_/2).attr("cy",v).attr("transform","translate(12,12) rotate(45, "+r.x+","+o+")"),l.attr("x",r.x+5).attr("y",v+3).attr("transform","translate(14,14) rotate(45, "+r.x+","+o+")")}}}},"drawCommitTags"),Ke=(0,n.eW)(a=>{var r;switch((r=a.customType)!=null?r:a.type){case u.NORMAL:return"commit-normal";case u.REVERSE:return"commit-reverse";case u.HIGHLIGHT:return"commit-highlight";case u.MERGE:return"commit-merge";case u.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),Ye=(0,n.eW)((a,t,r,o)=>{var s,i,c;const e={x:0,y:0};if(a.parents.length>0){const m=ae(a.parents);if(m){const l=(s=o.get(m))!=null?s:e;return t==="TB"?l.y+I:t==="BT"?((i=o.get(a.id))!=null?i:e).y-I:l.x+I}}else return t==="TB"?z:t==="BT"?((c=o.get(a.id))!=null?c:e).y-I:0;return 0},"calculatePosition"),je=(0,n.eW)((a,t,r)=>{var i,c;const o=g==="BT"&&r?t:t+A,e=g==="TB"||g==="BT"?o:(i=M.get(a.branch))==null?void 0:i.pos,s=g==="TB"||g==="BT"?(c=M.get(a.branch))==null?void 0:c.pos:o;if(s===void 0||e===void 0)throw new Error(`Position were undefined for commit ${a.id}`);return{x:s,y:e,posWithOffset:o}},"getCommitPosition"),se=(0,n.eW)((a,t,r)=>{var p;if(!w)throw new Error("GitGraph config not found");const o=a.append("g").attr("class","commit-bullets"),e=a.append("g").attr("class","commit-labels");let s=g==="TB"||g==="BT"?z:0;const i=[...t.keys()],c=(p=w==null?void 0:w.parallelCommits)!=null?p:!1,m=(0,n.eW)(($,h)=>{var v,P;const f=(v=t.get($))==null?void 0:v.seq,b=(P=t.get(h))==null?void 0:P.seq;return f!==void 0&&b!==void 0?f-b:0},"sortKeys");let l=i.sort(m);g==="BT"&&(c&&De(l,t,s),l=l.reverse()),l.forEach($=>{var b,v,P;const h=t.get($);if(!h)throw new Error(`Commit not found for key ${$}`);c&&(s=Ye(h,g,s,T));const f=je(h,s,c);if(r){const N=Ke(h),W=(b=h.customType)!=null?b:h.type,E=(P=(v=M.get(h.branch))==null?void 0:v.index)!=null?P:0;He(o,h,f,N,E,W),Se(e,h,f,s),Ne(e,h,f,s)}g==="TB"||g==="BT"?T.set(h.id,{x:f.x,y:f.posWithOffset}):T.set(h.id,{x:f.posWithOffset,y:f.y}),s=g==="BT"&&c?s+I:s+I+A,s>q&&(q=s)})},"drawCommits"),ze=(0,n.eW)((a,t,r,o,e)=>{const i=(g==="TB"||g==="BT"?r.x<o.x:r.y<o.y)?t.branch:a.branch,c=(0,n.eW)(l=>l.branch===i,"isOnBranchToGetCurve"),m=(0,n.eW)(l=>l.seq>a.seq&&l.seq<t.seq,"isBetweenCommits");return[...e.values()].some(l=>m(l)&&c(l))},"shouldRerouteArrow"),Y=(0,n.eW)((a,t,r=0)=>{const o=a+Math.abs(a-t)/2;if(r>5)return o;if(Z.every(i=>Math.abs(i-o)>=10))return Z.push(o),o;const s=Math.abs(a-t);return Y(a,t-s/5,r+1)},"findLane"),Ze=(0,n.eW)((a,t,r,o)=>{var f,b,v,P,N;const e=T.get(t.id),s=T.get(r.id);if(e===void 0||s===void 0)throw new Error(`Commit positions not found for commits ${t.id} and ${r.id}`);const i=ze(t,r,e,s,o);let c="",m="",l=0,p=0,$=(f=M.get(r.branch))==null?void 0:f.index;r.type===u.MERGE&&t.id!==r.parents[0]&&($=(b=M.get(t.branch))==null?void 0:b.index);let h;if(i){c="A 10 10, 0, 0, 0,",m="A 10 10, 0, 0, 1,",l=10,p=10;const W=e.y<s.y?Y(e.y,s.y):Y(s.y,e.y),E=e.x<s.x?Y(e.x,s.x):Y(s.x,e.x);g==="TB"?e.x<s.x?h=`M ${e.x} ${e.y} L ${E-l} ${e.y} ${m} ${E} ${e.y+p} L ${E} ${s.y-l} ${c} ${E+p} ${s.y} L ${s.x} ${s.y}`:($=(v=M.get(t.branch))==null?void 0:v.index,h=`M ${e.x} ${e.y} L ${E+l} ${e.y} ${c} ${E} ${e.y+p} L ${E} ${s.y-l} ${m} ${E-p} ${s.y} L ${s.x} ${s.y}`):g==="BT"?e.x<s.x?h=`M ${e.x} ${e.y} L ${E-l} ${e.y} ${c} ${E} ${e.y-p} L ${E} ${s.y+l} ${m} ${E+p} ${s.y} L ${s.x} ${s.y}`:($=(P=M.get(t.branch))==null?void 0:P.index,h=`M ${e.x} ${e.y} L ${E+l} ${e.y} ${m} ${E} ${e.y-p} L ${E} ${s.y+l} ${c} ${E-p} ${s.y} L ${s.x} ${s.y}`):e.y<s.y?h=`M ${e.x} ${e.y} L ${e.x} ${W-l} ${c} ${e.x+p} ${W} L ${s.x-l} ${W} ${m} ${s.x} ${W+p} L ${s.x} ${s.y}`:($=(N=M.get(t.branch))==null?void 0:N.index,h=`M ${e.x} ${e.y} L ${e.x} ${W+l} ${m} ${e.x+p} ${W} L ${s.x-l} ${W} ${c} ${s.x} ${W-p} L ${s.x} ${s.y}`)}else c="A 20 20, 0, 0, 0,",m="A 20 20, 0, 0, 1,",l=20,p=20,g==="TB"?(e.x<s.x&&(r.type===u.MERGE&&t.id!==r.parents[0]?h=`M ${e.x} ${e.y} L ${e.x} ${s.y-l} ${c} ${e.x+p} ${s.y} L ${s.x} ${s.y}`:h=`M ${e.x} ${e.y} L ${s.x-l} ${e.y} ${m} ${s.x} ${e.y+p} L ${s.x} ${s.y}`),e.x>s.x&&(c="A 20 20, 0, 0, 0,",m="A 20 20, 0, 0, 1,",l=20,p=20,r.type===u.MERGE&&t.id!==r.parents[0]?h=`M ${e.x} ${e.y} L ${e.x} ${s.y-l} ${m} ${e.x-p} ${s.y} L ${s.x} ${s.y}`:h=`M ${e.x} ${e.y} L ${s.x+l} ${e.y} ${c} ${s.x} ${e.y+p} L ${s.x} ${s.y}`),e.x===s.x&&(h=`M ${e.x} ${e.y} L ${s.x} ${s.y}`)):g==="BT"?(e.x<s.x&&(r.type===u.MERGE&&t.id!==r.parents[0]?h=`M ${e.x} ${e.y} L ${e.x} ${s.y+l} ${m} ${e.x+p} ${s.y} L ${s.x} ${s.y}`:h=`M ${e.x} ${e.y} L ${s.x-l} ${e.y} ${c} ${s.x} ${e.y-p} L ${s.x} ${s.y}`),e.x>s.x&&(c="A 20 20, 0, 0, 0,",m="A 20 20, 0, 0, 1,",l=20,p=20,r.type===u.MERGE&&t.id!==r.parents[0]?h=`M ${e.x} ${e.y} L ${e.x} ${s.y+l} ${c} ${e.x-p} ${s.y} L ${s.x} ${s.y}`:h=`M ${e.x} ${e.y} L ${s.x-l} ${e.y} ${c} ${s.x} ${e.y-p} L ${s.x} ${s.y}`),e.x===s.x&&(h=`M ${e.x} ${e.y} L ${s.x} ${s.y}`)):(e.y<s.y&&(r.type===u.MERGE&&t.id!==r.parents[0]?h=`M ${e.x} ${e.y} L ${s.x-l} ${e.y} ${m} ${s.x} ${e.y+p} L ${s.x} ${s.y}`:h=`M ${e.x} ${e.y} L ${e.x} ${s.y-l} ${c} ${e.x+p} ${s.y} L ${s.x} ${s.y}`),e.y>s.y&&(r.type===u.MERGE&&t.id!==r.parents[0]?h=`M ${e.x} ${e.y} L ${s.x-l} ${e.y} ${c} ${s.x} ${e.y-p} L ${s.x} ${s.y}`:h=`M ${e.x} ${e.y} L ${e.x} ${s.y+l} ${m} ${e.x+p} ${s.y} L ${s.x} ${s.y}`),e.y===s.y&&(h=`M ${e.x} ${e.y} L ${s.x} ${s.y}`));if(h===void 0)throw new Error("Line definition not found");a.append("path").attr("d",h).attr("class","arrow arrow"+$%S)},"drawArrow"),Ue=(0,n.eW)((a,t)=>{const r=a.append("g").attr("class","commit-arrows");[...t.keys()].forEach(o=>{const e=t.get(o);e.parents&&e.parents.length>0&&e.parents.forEach(s=>{Ze(r,t.get(s),e,t)})})},"drawArrows"),Je=(0,n.eW)((a,t)=>{const r=a.append("g");t.forEach((o,e)=>{var b;const s=e%S,i=(b=M.get(o.name))==null?void 0:b.pos;if(i===void 0)throw new Error(`Position not found for branch ${o.name}`);const c=r.append("line");c.attr("x1",0),c.attr("y1",i),c.attr("x2",q),c.attr("y2",i),c.attr("class","branch branch"+s),g==="TB"?(c.attr("y1",z),c.attr("x1",i),c.attr("y2",q),c.attr("x2",i)):g==="BT"&&(c.attr("y1",q),c.attr("x1",i),c.attr("y2",z),c.attr("x2",i)),Z.push(i);const m=o.name,l=re(m),p=r.insert("rect"),h=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+s);h.node().appendChild(l);const f=l.getBBox();p.attr("class","branchLabelBkg label"+s).attr("rx",4).attr("ry",4).attr("x",-f.width-4-((w==null?void 0:w.rotateCommitLabel)===!0?30:0)).attr("y",-f.height/2+8).attr("width",f.width+18).attr("height",f.height+4),h.attr("transform","translate("+(-f.width-14-((w==null?void 0:w.rotateCommitLabel)===!0?30:0))+", "+(i-f.height/2-1)+")"),g==="TB"?(p.attr("x",i-f.width/2-10).attr("y",0),h.attr("transform","translate("+(i-f.width/2-5)+", 0)")):g==="BT"?(p.attr("x",i-f.width/2-10).attr("y",q),h.attr("transform","translate("+(i-f.width/2-5)+", "+q+")")):p.attr("transform","translate(-19, "+(i-f.height/2)+")")})},"drawBranches"),Fe=(0,n.eW)(function(a,t,r,o,e){return M.set(a,{pos:t,index:r}),t+=50+(e?40:0)+(g==="TB"||g==="BT"?o.width/2:0),t},"setBranchPosition"),Ve=(0,n.eW)(function(a,t,r,o){var l,p;if(Re(),n.cM.debug("in gitgraph renderer",a+`
14
+ `,"id:",t,r),!w)throw new Error("GitGraph config not found");const e=(l=w.rotateCommitLabel)!=null?l:!1,s=o.db;K=s.getCommits();const i=s.getBranchesAsObjArray();g=s.getDirection();const c=(0,D.Ys)(`[id="${t}"]`);let m=0;i.forEach(($,h)=>{var W;const f=re($.name),b=c.append("g"),v=b.insert("g").attr("class","branchLabel"),P=v.insert("g").attr("class","label branch-label");(W=P.node())==null||W.appendChild(f);const N=f.getBBox();m=Fe($.name,m,h,N,e),P.remove(),v.remove(),b.remove()}),se(c,K,!1),w.showBranches&&Je(c,i),Ue(c,K),se(c,K,!0),C.w8.insertTitle(c,"gitTitleText",(p=w.titleTopMargin)!=null?p:0,s.getDiagramTitle()),(0,y.Rw)(void 0,c,w.diagramPadding,w.useMaxWidth)},"draw"),Xe={draw:Ve},Qe=(0,n.eW)(a=>`
15
+ .commit-id,
16
+ .commit-msg,
17
+ .branch-label {
18
+ fill: lightgrey;
19
+ color: lightgrey;
20
+ font-family: 'trebuchet ms', verdana, arial, sans-serif;
21
+ font-family: var(--mermaid-font-family);
22
+ }
23
+ ${[0,1,2,3,4,5,6,7].map(t=>`
24
+ .branch-label${t} { fill: ${a["gitBranchLabel"+t]}; }
25
+ .commit${t} { stroke: ${a["git"+t]}; fill: ${a["git"+t]}; }
26
+ .commit-highlight${t} { stroke: ${a["gitInv"+t]}; fill: ${a["gitInv"+t]}; }
27
+ .label${t} { fill: ${a["git"+t]}; }
28
+ .arrow${t} { stroke: ${a["git"+t]}; }
29
+ `).join(`
30
+ `)}
31
+
32
+ .branch {
33
+ stroke-width: 1;
34
+ stroke: ${a.lineColor};
35
+ stroke-dasharray: 2;
36
+ }
37
+ .commit-label { font-size: ${a.commitLabelFontSize}; fill: ${a.commitLabelColor};}
38
+ .commit-label-bkg { font-size: ${a.commitLabelFontSize}; fill: ${a.commitLabelBackground}; opacity: 0.5; }
39
+ .tag-label { font-size: ${a.tagLabelFontSize}; fill: ${a.tagLabelColor};}
40
+ .tag-label-bkg { fill: ${a.tagLabelBackground}; stroke: ${a.tagLabelBorder}; }
41
+ .tag-hole { fill: ${a.textColor}; }
42
+
43
+ .commit-merge {
44
+ stroke: ${a.primaryColor};
45
+ fill: ${a.primaryColor};
46
+ }
47
+ .commit-reverse {
48
+ stroke: ${a.primaryColor};
49
+ fill: ${a.primaryColor};
50
+ stroke-width: 3;
51
+ }
52
+ .commit-highlight-outer {
53
+ }
54
+ .commit-highlight-inner {
55
+ stroke: ${a.primaryColor};
56
+ fill: ${a.primaryColor};
57
+ }
58
+
59
+ .arrow { stroke-width: 8; stroke-linecap: round; fill: none}
60
+ .gitTitleText {
61
+ text-anchor: middle;
62
+ font-size: 18px;
63
+ fill: ${a.textColor};
64
+ }
65
+ `,"getStyles"),et=Qe,tt={parser:_e,db:te,renderer:Xe,styles:et}}}]);
66
+ }());
@@ -0,0 +1,65 @@
1
+ !(function(){"use strict";var nt=(ve,Q,d)=>new Promise((G,D)=>{var j=g=>{try{Y(d.next(g))}catch(v){D(v)}},J=g=>{try{Y(d.throw(g))}catch(v){D(v)}},Y=g=>g.done?G(g.value):Promise.resolve(g.value).then(j,J);Y((d=d.apply(ve,Q)).next())});(self.webpackChunk_alife_paul_ai_assistant=self.webpackChunk_alife_paul_ai_assistant||[]).push([[9570],{26620:function(ve,Q,d){d.d(Q,{q:function(){return j}});var G=d(35096),D=d(989),j=(0,G.eW)((J,Y)=>{let g;return Y==="sandbox"&&(g=(0,D.Ys)("#i"+J)),(Y==="sandbox"?(0,D.Ys)(g.nodes()[0].contentDocument.body):(0,D.Ys)("body")).select(`[id="${J}"]`)},"getDiagramElement")},43663:function(ve,Q,d){d.d(Q,{j:function(){return j}});var G=d(99970),D=d(35096),j=(0,D.eW)((g,v,L,z)=>{g.attr("class",L);const{width:X,height:O,x:c,y:Ee}=J(g,v);(0,G.v2)(g,O,X,z);const De=Y(c,Ee,X,O,v);g.attr("viewBox",De),D.cM.debug(`viewBox configured: ${De} with padding: ${v}`)},"setupViewPortForSVG"),J=(0,D.eW)((g,v)=>{var z;const L=((z=g.node())==null?void 0:z.getBBox())||{width:0,height:0,x:0,y:0};return{width:L.width+v*2,height:L.height+v*2,x:L.x,y:L.y}},"calculateDimensionsWithPadding"),Y=(0,D.eW)((g,v,L,z,X)=>`${g-X} ${v-X} ${L} ${z}`,"createViewBox")},19570:function(ve,Q,d){var he;d.d(Q,{diagram:function(){return ht}});var G=d(26620),D=d(43663),j=d(23386),J=d(28659),Y=d(84593),g=d(31792),v=d(5016),L=d(2831),z=d(21347),X=d(4284),O=d(99970),c=d(35096),Ee=function(){var e=(0,c.eW)(function(H,i,r,l){for(r=r||{},l=H.length;l--;r[H[l]]=i);return r},"o"),a=[1,3],u=[1,4],h=[1,5],E=[1,6],o=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],f=[1,22],b=[2,7],S=[1,26],N=[1,27],_=[1,28],m=[1,29],I=[1,33],A=[1,34],x=[1,35],P=[1,36],w=[1,37],W=[1,38],F=[1,24],B=[1,31],U=[1,32],$=[1,30],y=[1,39],k=[1,40],p=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],Z=[1,61],ue=[89,90],Ye=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Oe=[27,29],Ke=[1,70],je=[1,71],He=[1,72],Qe=[1,73],Ge=[1,74],Je=[1,75],ze=[1,76],me=[1,83],ee=[1,80],fe=[1,84],de=[1,85],Re=[1,86],be=[1,87],pe=[1,88],ye=[1,89],ke=[1,90],ge=[1,91],Se=[1,92],Ve=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],te=[63,64],Xe=[1,101],Ze=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],M=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],se=[1,110],ie=[1,106],re=[1,107],ne=[1,108],ae=[1,109],le=[1,111],Ie=[1,116],Te=[1,117],Ne=[1,114],Ae=[1,115],Pe={trace:(0,c.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:(0,c.eW)(function(i,r,l,s,R,t,Ce){var n=t.length-1;switch(R){case 4:this.$=t[n].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[n].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[n-3],t[n-4]);break;case 22:s.addRequirement(t[n-5],t[n-6]),s.setClass([t[n-5]],t[n-3]);break;case 23:s.setNewReqId(t[n-2]);break;case 24:s.setNewReqText(t[n-2]);break;case 25:s.setNewReqRisk(t[n-2]);break;case 26:s.setNewReqVerifyMethod(t[n-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[n-3]);break;case 43:s.addElement(t[n-5]),s.setClass([t[n-5]],t[n-3]);break;case 44:s.setNewElementType(t[n-2]);break;case 45:s.setNewElementDocRef(t[n-2]);break;case 48:s.addRelationship(t[n-2],t[n],t[n-4]);break;case 49:s.addRelationship(t[n-2],t[n-4],t[n]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[n-2],s.defineClass(t[n-1],t[n]);break;case 58:s.setClass(t[n-1],t[n]);break;case 59:s.setClass([t[n-2]],t[n]);break;case 60:case 62:this.$=[t[n]];break;case 61:case 63:this.$=t[n-2].concat([t[n]]);break;case 64:this.$=t[n-2],s.setCssStyle(t[n-1],t[n]);break;case 65:this.$=[t[n]];break;case 66:t[n-2].push(t[n]),this.$=t[n-2];break;case 68:this.$=t[n-1]+t[n];break}},"anonymous"),table:[{3:1,4:2,6:a,9:u,11:h,13:E},{1:[3]},{3:8,4:2,5:[1,7],6:a,9:u,11:h,13:E},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(o,[2,6]),{3:12,4:2,6:a,9:u,11:h,13:E},{1:[2,2]},{4:17,5:f,7:13,8:b,9:u,11:h,13:E,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:S,22:N,23:_,24:m,25:23,33:25,41:I,42:A,43:x,44:P,45:w,46:W,54:F,72:B,74:U,77:$,89:y,90:k},e(o,[2,4]),e(o,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:f,7:42,8:b,9:u,11:h,13:E,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:S,22:N,23:_,24:m,25:23,33:25,41:I,42:A,43:x,44:P,45:w,46:W,54:F,72:B,74:U,77:$,89:y,90:k},{4:17,5:f,7:43,8:b,9:u,11:h,13:E,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:S,22:N,23:_,24:m,25:23,33:25,41:I,42:A,43:x,44:P,45:w,46:W,54:F,72:B,74:U,77:$,89:y,90:k},{4:17,5:f,7:44,8:b,9:u,11:h,13:E,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:S,22:N,23:_,24:m,25:23,33:25,41:I,42:A,43:x,44:P,45:w,46:W,54:F,72:B,74:U,77:$,89:y,90:k},{4:17,5:f,7:45,8:b,9:u,11:h,13:E,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:S,22:N,23:_,24:m,25:23,33:25,41:I,42:A,43:x,44:P,45:w,46:W,54:F,72:B,74:U,77:$,89:y,90:k},{4:17,5:f,7:46,8:b,9:u,11:h,13:E,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:S,22:N,23:_,24:m,25:23,33:25,41:I,42:A,43:x,44:P,45:w,46:W,54:F,72:B,74:U,77:$,89:y,90:k},{4:17,5:f,7:47,8:b,9:u,11:h,13:E,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:S,22:N,23:_,24:m,25:23,33:25,41:I,42:A,43:x,44:P,45:w,46:W,54:F,72:B,74:U,77:$,89:y,90:k},{4:17,5:f,7:48,8:b,9:u,11:h,13:E,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:S,22:N,23:_,24:m,25:23,33:25,41:I,42:A,43:x,44:P,45:w,46:W,54:F,72:B,74:U,77:$,89:y,90:k},{4:17,5:f,7:49,8:b,9:u,11:h,13:E,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:S,22:N,23:_,24:m,25:23,33:25,41:I,42:A,43:x,44:P,45:w,46:W,54:F,72:B,74:U,77:$,89:y,90:k},{4:17,5:f,7:50,8:b,9:u,11:h,13:E,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:S,22:N,23:_,24:m,25:23,33:25,41:I,42:A,43:x,44:P,45:w,46:W,54:F,72:B,74:U,77:$,89:y,90:k},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(p,[2,17]),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),{30:60,33:62,75:Z,89:y,90:k},{30:63,33:62,75:Z,89:y,90:k},{30:64,33:62,75:Z,89:y,90:k},e(ue,[2,29]),e(ue,[2,30]),e(ue,[2,31]),e(ue,[2,32]),e(ue,[2,33]),e(ue,[2,34]),e(Ye,[2,81]),e(Ye,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Oe,[2,79]),e(Oe,[2,80]),{27:[1,67],29:[1,68]},e(Oe,[2,85]),e(Oe,[2,86]),{62:69,65:Ke,66:je,67:He,68:Qe,69:Ge,70:Je,71:ze},{62:77,65:Ke,66:je,67:He,68:Qe,69:Ge,70:Je,71:ze},{30:78,33:62,75:Z,89:y,90:k},{73:79,75:me,76:ee,78:81,79:82,80:fe,81:de,82:Re,83:be,84:pe,85:ye,86:ke,87:ge,88:Se},e(Ve,[2,60]),e(Ve,[2,62]),{73:93,75:me,76:ee,78:81,79:82,80:fe,81:de,82:Re,83:be,84:pe,85:ye,86:ke,87:ge,88:Se},{30:94,33:62,75:Z,76:ee,89:y,90:k},{5:[1,95]},{30:96,33:62,75:Z,89:y,90:k},{5:[1,97]},{30:98,33:62,75:Z,89:y,90:k},{63:[1,99]},e(te,[2,50]),e(te,[2,51]),e(te,[2,52]),e(te,[2,53]),e(te,[2,54]),e(te,[2,55]),e(te,[2,56]),{64:[1,100]},e(p,[2,59],{76:ee}),e(p,[2,64],{76:Xe}),{33:103,75:[1,102],89:y,90:k},e(Ze,[2,65],{79:104,75:me,80:fe,81:de,82:Re,83:be,84:pe,85:ye,86:ke,87:ge,88:Se}),e(M,[2,67]),e(M,[2,69]),e(M,[2,70]),e(M,[2,71]),e(M,[2,72]),e(M,[2,73]),e(M,[2,74]),e(M,[2,75]),e(M,[2,76]),e(M,[2,77]),e(M,[2,78]),e(p,[2,57],{76:Xe}),e(p,[2,58],{76:ee}),{5:se,28:105,31:ie,34:re,36:ne,38:ae,40:le},{27:[1,112],76:ee},{5:Ie,40:Te,56:113,57:Ne,59:Ae},{27:[1,118],76:ee},{33:119,89:y,90:k},{33:120,89:y,90:k},{75:me,78:121,79:82,80:fe,81:de,82:Re,83:be,84:pe,85:ye,86:ke,87:ge,88:Se},e(Ve,[2,61]),e(Ve,[2,63]),e(M,[2,68]),e(p,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:se,28:126,31:ie,34:re,36:ne,38:ae,40:le},e(p,[2,28]),{5:[1,127]},e(p,[2,42]),{32:[1,128]},{32:[1,129]},{5:Ie,40:Te,56:130,57:Ne,59:Ae},e(p,[2,47]),{5:[1,131]},e(p,[2,48]),e(p,[2,49]),e(Ze,[2,66],{79:104,75:me,80:fe,81:de,82:Re,83:be,84:pe,85:ye,86:ke,87:ge,88:Se}),{33:132,89:y,90:k},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(p,[2,27]),{5:se,28:145,31:ie,34:re,36:ne,38:ae,40:le},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(p,[2,46]),{5:Ie,40:Te,56:152,57:Ne,59:Ae},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(p,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(p,[2,43]),{5:se,28:159,31:ie,34:re,36:ne,38:ae,40:le},{5:se,28:160,31:ie,34:re,36:ne,38:ae,40:le},{5:se,28:161,31:ie,34:re,36:ne,38:ae,40:le},{5:se,28:162,31:ie,34:re,36:ne,38:ae,40:le},{5:Ie,40:Te,56:163,57:Ne,59:Ae},{5:Ie,40:Te,56:164,57:Ne,59:Ae},e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,44]),e(p,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:(0,c.eW)(function(i,r){if(r.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=r,l}},"parseError"),parse:(0,c.eW)(function(i){var r=this,l=[0],s=[],R=[null],t=[],Ce=this.table,n="",qe=0,et=0,tt=0,_t=2,st=1,Et=t.slice.call(arguments,1),T=Object.create(this.lexer),ce={yy:{}};for(var we in this.yy)Object.prototype.hasOwnProperty.call(this.yy,we)&&(ce.yy[we]=this.yy[we]);T.setInput(i,ce.yy),ce.yy.lexer=T,ce.yy.parser=this,typeof T.yylloc=="undefined"&&(T.yylloc={});var We=T.yylloc;t.push(We);var mt=T.options&&T.options.ranges;typeof ce.yy.parseError=="function"?this.parseError=ce.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(V){l.length=l.length-2*V,R.length=R.length-V,t.length=t.length-V}(0,c.eW)(ft,"popStack");function it(){var V;return V=s.pop()||T.lex()||st,typeof V!="number"&&(V instanceof Array&&(s=V,V=s.pop()),V=r.symbols_[V]||V),V}(0,c.eW)(it,"lex");for(var C,Fe,oe,q,dt,Be,_e={},Le,K,rt,xe;;){if(oe=l[l.length-1],this.defaultActions[oe]?q=this.defaultActions[oe]:((C===null||typeof C=="undefined")&&(C=it()),q=Ce[oe]&&Ce[oe][C]),typeof q=="undefined"||!q.length||!q[0]){var Ue="";xe=[];for(Le in Ce[oe])this.terminals_[Le]&&Le>_t&&xe.push("'"+this.terminals_[Le]+"'");T.showPosition?Ue="Parse error on line "+(qe+1)+`:
2
+ `+T.showPosition()+`
3
+ Expecting `+xe.join(", ")+", got '"+(this.terminals_[C]||C)+"'":Ue="Parse error on line "+(qe+1)+": Unexpected "+(C==st?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError(Ue,{text:T.match,token:this.terminals_[C]||C,line:T.yylineno,loc:We,expected:xe})}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+oe+", token: "+C);switch(q[0]){case 1:l.push(C),R.push(T.yytext),t.push(T.yylloc),l.push(q[1]),C=null,Fe?(C=Fe,Fe=null):(et=T.yyleng,n=T.yytext,qe=T.yylineno,We=T.yylloc,tt>0&&tt--);break;case 2:if(K=this.productions_[q[1]][1],_e.$=R[R.length-K],_e._$={first_line:t[t.length-(K||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(K||1)].first_column,last_column:t[t.length-1].last_column},mt&&(_e._$.range=[t[t.length-(K||1)].range[0],t[t.length-1].range[1]]),Be=this.performAction.apply(_e,[n,et,qe,ce.yy,q[1],R,t].concat(Et)),typeof Be!="undefined")return Be;K&&(l=l.slice(0,-1*K*2),R=R.slice(0,-1*K),t=t.slice(0,-1*K)),l.push(this.productions_[q[1]][0]),R.push(_e.$),t.push(_e._$),rt=Ce[l[l.length-2]][l[l.length-1]],l.push(rt);break;case 3:return!0}}return!0},"parse")},ut=function(){var H={EOF:1,parseError:(0,c.eW)(function(r,l){if(this.yy.parser)this.yy.parser.parseError(r,l);else throw new Error(r)},"parseError"),setInput:(0,c.eW)(function(i,r){return this.yy=r||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,c.eW)(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var r=i.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:(0,c.eW)(function(i){var r=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var R=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===s.length?this.yylloc.first_column:0)+s[s.length-l.length].length-l[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},"unput"),more:(0,c.eW)(function(){return this._more=!0,this},"more"),reject:(0,c.eW)(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:(0,c.eW)(function(i){this.unput(this.match.slice(i))},"less"),pastInput:(0,c.eW)(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,c.eW)(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,c.eW)(function(){var i=this.pastInput(),r=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
5
+ `+r+"^"},"showPosition"),test_match:(0,c.eW)(function(i,r){var l,s,R;if(this.options.backtrack_lexer&&(R={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(R.yylloc.range=this.yylloc.range.slice(0))),s=i[0].match(/(?:\r\n?|\n).*/g),s&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(i[0].length),this.matched+=i[0],l=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var t in R)this[t]=R[t];return!1}return!1},"test_match"),next:(0,c.eW)(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,r,l,s;this._more||(this.yytext="",this.match="");for(var R=this._currentRules(),t=0;t<R.length;t++)if(l=this._input.match(this.rules[R[t]]),l&&(!r||l[0].length>r[0].length)){if(r=l,s=t,this.options.backtrack_lexer){if(i=this.test_match(l,R[t]),i!==!1)return i;if(this._backtrack){r=!1;continue}else return!1}else if(!this.options.flex)break}return r?(i=this.test_match(r,R[s]),i!==!1?i:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,c.eW)(function(){var r=this.next();return r||this.lex()},"lex"),begin:(0,c.eW)(function(r){this.conditionStack.push(r)},"begin"),popState:(0,c.eW)(function(){var r=this.conditionStack.length-1;return r>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,c.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,c.eW)(function(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},"topState"),pushState:(0,c.eW)(function(r){this.begin(r)},"pushState"),stateStackSize:(0,c.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,c.eW)(function(r,l,s,R){var t=R;switch(s){case 0:return"title";case 1:return this.begin("acc_title"),9;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),11;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;break;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;break;case 60:return this.begin("style"),74;break;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return l.yytext=l.yytext.trim(),89;break;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,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,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return H}();Pe.lexer=ut;function Me(){this.yy={}}return(0,c.eW)(Me,"Parser"),Me.prototype=Pe,Pe.Parser=Me,new Me}();Ee.parser=Ee;var De=Ee,at=(he=class{constructor(){this.relations=[],this.latestRequirement=this.getInitialRequirement(),this.requirements=new Map,this.latestElement=this.getInitialElement(),this.elements=new Map,this.classes=new Map,this.direction="TB",this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},this.setAccTitle=O.GN,this.getAccTitle=O.eu,this.setAccDescription=O.U$,this.getAccDescription=O.Mx,this.setDiagramTitle=O.g2,this.getDiagramTitle=O.Kr,this.getConfig=(0,c.eW)(()=>(0,O.nV)().requirement,"getConfig"),this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}getDirection(){return this.direction}setDirection(a){this.direction=a}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(a,u){return this.requirements.has(a)||this.requirements.set(a,{name:a,type:u,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]}),this.resetLatestRequirement(),this.requirements.get(a)}getRequirements(){return this.requirements}setNewReqId(a){this.latestRequirement!==void 0&&(this.latestRequirement.requirementId=a)}setNewReqText(a){this.latestRequirement!==void 0&&(this.latestRequirement.text=a)}setNewReqRisk(a){this.latestRequirement!==void 0&&(this.latestRequirement.risk=a)}setNewReqVerifyMethod(a){this.latestRequirement!==void 0&&(this.latestRequirement.verifyMethod=a)}addElement(a){return this.elements.has(a)||(this.elements.set(a,{name:a,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),c.cM.info("Added new element: ",a)),this.resetLatestElement(),this.elements.get(a)}getElements(){return this.elements}setNewElementType(a){this.latestElement!==void 0&&(this.latestElement.type=a)}setNewElementDocRef(a){this.latestElement!==void 0&&(this.latestElement.docRef=a)}addRelationship(a,u,h){this.relations.push({type:a,src:u,dst:h})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,(0,O.ZH)()}setCssStyle(a,u){var h;for(const E of a){const o=(h=this.requirements.get(E))!=null?h:this.elements.get(E);if(!u||!o)return;for(const f of u)f.includes(",")?o.cssStyles.push(...f.split(",")):o.cssStyles.push(f)}}setClass(a,u){var h,E;for(const o of a){const f=(h=this.requirements.get(o))!=null?h:this.elements.get(o);if(f)for(const b of u){f.classes.push(b);const S=(E=this.classes.get(b))==null?void 0:E.styles;S&&f.cssStyles.push(...S)}}}defineClass(a,u){for(const h of a){let E=this.classes.get(h);E===void 0&&(E={id:h,styles:[],textStyles:[]},this.classes.set(h,E)),u&&u.forEach(function(o){if(/color/.exec(o)){const f=o.replace("fill","bgFill");E.textStyles.push(f)}E.styles.push(o)}),this.requirements.forEach(o=>{o.classes.includes(h)&&o.cssStyles.push(...u.flatMap(f=>f.split(",")))}),this.elements.forEach(o=>{o.classes.includes(h)&&o.cssStyles.push(...u.flatMap(f=>f.split(",")))})}}getClasses(){return this.classes}getData(){var E,o,f,b,S,N;const a=(0,O.nV)(),u=[],h=[];for(const _ of this.requirements.values()){const m=_;m.id=_.name,m.cssStyles=_.cssStyles,m.cssClasses=_.classes.join(" "),m.shape="requirementBox",m.look=a.look,u.push(m)}for(const _ of this.elements.values()){const m=_;m.shape="requirementBox",m.look=a.look,m.id=_.name,m.cssStyles=_.cssStyles,m.cssClasses=_.classes.join(" "),u.push(m)}for(const _ of this.relations){let m=0;const I=_.type===this.Relationships.CONTAINS,A={id:`${_.src}-${_.dst}-${m}`,start:(f=(E=this.requirements.get(_.src))==null?void 0:E.name)!=null?f:(o=this.elements.get(_.src))==null?void 0:o.name,end:(N=(b=this.requirements.get(_.dst))==null?void 0:b.name)!=null?N:(S=this.elements.get(_.dst))==null?void 0:S.name,label:`&lt;&lt;${_.type}&gt;&gt;`,classes:"relationshipLine",style:["fill:none",I?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:I?"normal":"dashed",arrowTypeStart:I?"requirement_contains":"",arrowTypeEnd:I?"":"requirement_arrow",look:a.look};h.push(A),m++}return{nodes:u,edges:h,other:{},config:a,direction:this.getDirection()}}},(0,c.eW)(he,"RequirementDB"),he),lt=(0,c.eW)(e=>`
7
+
8
+ marker {
9
+ fill: ${e.relationColor};
10
+ stroke: ${e.relationColor};
11
+ }
12
+
13
+ marker.cross {
14
+ stroke: ${e.lineColor};
15
+ }
16
+
17
+ svg {
18
+ font-family: ${e.fontFamily};
19
+ font-size: ${e.fontSize};
20
+ }
21
+
22
+ .reqBox {
23
+ fill: ${e.requirementBackground};
24
+ fill-opacity: 1.0;
25
+ stroke: ${e.requirementBorderColor};
26
+ stroke-width: ${e.requirementBorderSize};
27
+ }
28
+
29
+ .reqTitle, .reqLabel{
30
+ fill: ${e.requirementTextColor};
31
+ }
32
+ .reqLabelBox {
33
+ fill: ${e.relationLabelBackground};
34
+ fill-opacity: 1.0;
35
+ }
36
+
37
+ .req-title-line {
38
+ stroke: ${e.requirementBorderColor};
39
+ stroke-width: ${e.requirementBorderSize};
40
+ }
41
+ .relationshipLine {
42
+ stroke: ${e.relationColor};
43
+ stroke-width: 1;
44
+ }
45
+ .relationshipLabel {
46
+ fill: ${e.relationLabelColor};
47
+ }
48
+ .divider {
49
+ stroke: ${e.nodeBorder};
50
+ stroke-width: 1;
51
+ }
52
+ .label {
53
+ font-family: ${e.fontFamily};
54
+ color: ${e.nodeTextColor||e.textColor};
55
+ }
56
+ .label text,span {
57
+ fill: ${e.nodeTextColor||e.textColor};
58
+ color: ${e.nodeTextColor||e.textColor};
59
+ }
60
+ .labelBkg {
61
+ background-color: ${e.edgeLabelBackground};
62
+ }
63
+
64
+ `,"getStyles"),ct=lt,$e={};(0,c.r2)($e,{draw:()=>ot});var ot=(0,c.eW)(function(e,a,u,h){return nt(this,null,function*(){var _,m,I,A;c.cM.info("REF0:"),c.cM.info("Drawing requirement diagram (unified)",a);const{securityLevel:E,state:o,layout:f}=(0,O.nV)(),b=h.db.getData(),S=(0,G.q)(a,E);b.type=h.type,b.layoutAlgorithm=(0,j._b)(f),b.nodeSpacing=(_=o==null?void 0:o.nodeSpacing)!=null?_:50,b.rankSpacing=(m=o==null?void 0:o.rankSpacing)!=null?m:50,b.markers=["requirement_contains","requirement_arrow"],b.diagramId=a,yield(0,j.sY)(b,S);const N=8;X.w8.insertTitle(S,"requirementDiagramTitleText",(I=o==null?void 0:o.titleTopMargin)!=null?I:25,h.db.getDiagramTitle()),(0,D.j)(S,N,"requirementDiagram",(A=o==null?void 0:o.useMaxWidth)!=null?A:!0)})},"draw"),ht={parser:De,get db(){return new at},renderer:$e,styles:ct}}}]);
65
+ }());
@@ -0,0 +1,18 @@
1
+ (self.webpackChunk_alife_paul_ai_assistant=self.webpackChunk_alife_paul_ai_assistant||[]).push([[9725],{64217:function(z,$,M){"use strict";M.d($,{Z:function(){return Se}});var N=M(1413),G=`accept acceptCharset accessKey action allowFullScreen allowTransparency
2
+ alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
3
+ charSet checked classID className colSpan cols content contentEditable contextMenu
4
+ controls coords crossOrigin data dateTime default defer dir disabled download draggable
5
+ encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
6
+ headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
7
+ is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
8
+ mediaGroup method min minLength multiple muted name noValidate nonce open
9
+ optimum pattern placeholder poster preload radioGroup readOnly rel required
10
+ reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
11
+ shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
12
+ summary tabIndex target title type useMap value width wmode wrap`,D=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
13
+ onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
14
+ onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
15
+ onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
16
+ onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
17
+ onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
18
+ onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,T="".concat(G," ").concat(D).split(/[\s\n]+/),L="aria-",Ee="data-";function J(le,ie){return le.indexOf(ie)===0}function Se(le){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,A;ie===!1?A={aria:!0,data:!0,attr:!0}:ie===!0?A={aria:!0}:A=(0,N.Z)({},ie);var t={};return Object.keys(le).forEach(function(re){(A.aria&&(re==="role"||J(re,L))||A.data&&J(re,Ee)||A.attr&&T.includes(re))&&(t[re]=le[re])}),t}},86165:function(z,$,M){"use strict";var N=M(64836).default;Object.defineProperty($,"__esModule",{value:!0}),$.default=Ee;var G=N(M(18698)),D=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),L=Symbol.for("react.fragment");function Ee(J){return J&&(0,G.default)(J)==="object"&&(J.$$typeof===D||J.$$typeof===T)&&J.type===L}},87718:function(z,$,M){"use strict";M.d($,{Z:function(){return Xt}});var N=M(87462),G=M(71002),D=M(1413),T=M(4942),L=M(97685),Ee=M(45987),J=M(93967),Se=M.n(J),le=M(48555),ie=M(56790),A=M(8410),t=M(1024),re=M(30314),Qe=t.forwardRef(function(e,s){var n=e.height,a=e.offsetY,f=e.offsetX,d=e.children,c=e.prefixCls,o=e.onInnerResize,y=e.innerProps,h=e.rtl,p=e.extra,i={},S={display:"flex",flexDirection:"column"};return a!==void 0&&(i={height:n,position:"relative",overflow:"hidden"},S=(0,D.Z)((0,D.Z)({},S),{},(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({transform:"translateY(".concat(a,"px)")},h?"marginRight":"marginLeft",-f),"position","absolute"),"left",0),"right",0),"top",0))),t.createElement("div",{style:i},t.createElement(le.Z,{onResize:function(m){var v=m.offsetHeight;v&&o&&o()}},t.createElement("div",(0,N.Z)({style:S,className:Se()((0,T.Z)({},"".concat(c,"-holder-inner"),c)),ref:s},y),d,p)))});Qe.displayName="Filler";var yt=Qe;function Mt(e){var s=e.children,n=e.setRef,a=t.useCallback(function(f){n(f)},[]);return t.cloneElement(s,{ref:a})}function bt(e,s,n,a,f,d,c,o){var y=o.getKey;return e.slice(s,n+1).map(function(h,p){var i=s+p,S=c(h,i,{style:{width:a},offsetX:f}),u=y(h);return t.createElement(Mt,{key:u,setRef:function(v){return d(h,v)}},S)})}function or(e,s,n,a){var f=n-e,d=s-n,c=Math.min(f,d)*2;if(a<=c){var o=Math.floor(a/2);return a%2?n+o+1:n-o}return f>d?n-(a-d):n+(a-f)}function Et(e,s,n){var a=e.length,f=s.length,d,c;if(a===0&&f===0)return null;a<f?(d=e,c=s):(d=s,c=e);var o={__EMPTY_ITEM__:!0};function y(m){return m!==void 0?n(m):o}for(var h=null,p=Math.abs(a-f)!==1,i=0;i<c.length;i+=1){var S=y(d[i]),u=y(c[i]);if(S!==u){h=i,p=p||S!==y(c[i+1]);break}}return h===null?null:{index:h,multiple:p}}function xt(e,s,n){var a=t.useState(e),f=(0,L.Z)(a,2),d=f[0],c=f[1],o=t.useState(null),y=(0,L.Z)(o,2),h=y[0],p=y[1];return t.useEffect(function(){var i=Et(d||[],e||[],s);(i==null?void 0:i.index)!==void 0&&(n==null||n(i.index),p(e[i.index])),c(e)},[e]),[h]}var Q=M(75164),Zt=(typeof navigator=="undefined"?"undefined":(0,G.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),qe=Zt,et=function(e,s,n,a){var f=(0,t.useRef)(!1),d=(0,t.useRef)(null);function c(){clearTimeout(d.current),f.current=!0,d.current=setTimeout(function(){f.current=!1},50)}var o=(0,t.useRef)({top:e,bottom:s,left:n,right:a});return o.current.top=e,o.current.bottom=s,o.current.left=n,o.current.right=a,function(y,h){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=y?h<0&&o.current.left||h>0&&o.current.right:h<0&&o.current.top||h>0&&o.current.bottom;return p&&i?(clearTimeout(d.current),f.current=!1):(!i||f.current)&&c(),!f.current&&i}};function wt(e,s,n,a,f,d,c){var o=(0,t.useRef)(0),y=(0,t.useRef)(null),h=(0,t.useRef)(null),p=(0,t.useRef)(!1),i=et(s,n,a,f);function S(g,x){if(Q.Z.cancel(y.current),!i(!1,x)){var Z=g;if(!Z._virtualHandled)Z._virtualHandled=!0;else return;o.current+=x,h.current=x,qe||Z.preventDefault(),y.current=(0,Q.Z)(function(){var F=p.current?10:1;c(o.current*F,!1),o.current=0})}}function u(g,x){c(x,!0),qe||g.preventDefault()}var m=(0,t.useRef)(null),v=(0,t.useRef)(null);function b(g){if(e){Q.Z.cancel(v.current),v.current=(0,Q.Z)(function(){m.current=null},2);var x=g.deltaX,Z=g.deltaY,F=g.shiftKey,_=x,w=Z;(m.current==="sx"||!m.current&&F&&Z&&!x)&&(_=Z,w=0,m.current="sx");var Y=Math.abs(_),j=Math.abs(w);m.current===null&&(m.current=d&&Y>j?"x":"y"),m.current==="y"?S(g,w):u(g,_)}}function E(g){e&&(p.current=g.detail===h.current)}return[b,E]}function Ct(e,s,n,a){var f=t.useMemo(function(){return[new Map,[]]},[e,n.id,a]),d=(0,L.Z)(f,2),c=d[0],o=d[1],y=function(p){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p,S=c.get(p),u=c.get(i);if(S===void 0||u===void 0)for(var m=e.length,v=o.length;v<m;v+=1){var b,E=e[v],g=s(E);c.set(g,v);var x=(b=n.get(g))!==null&&b!==void 0?b:a;if(o[v]=(o[v-1]||0)+x,g===p&&(S=v),g===i&&(u=v),S!==void 0&&u!==void 0)break}return{top:o[S-1]||0,bottom:o[u]}};return y}var Tt=M(15671),Lt=M(43144),Dt=function(){function e(){(0,Tt.Z)(this,e),(0,T.Z)(this,"maps",void 0),(0,T.Z)(this,"id",0),(0,T.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,Lt.Z)(e,[{key:"set",value:function(n,a){this.diffRecords.set(n,this.maps[n]),this.maps[n]=a,this.id+=1}},{key:"get",value:function(n){return this.maps[n]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),e}(),Pt=Dt;function tt(e){var s=parseFloat(e);return isNaN(s)?0:s}function zt(e,s,n){var a=t.useState(0),f=(0,L.Z)(a,2),d=f[0],c=f[1],o=(0,t.useRef)(new Map),y=(0,t.useRef)(new Pt),h=(0,t.useRef)(0);function p(){h.current+=1}function i(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;p();var m=function(){var E=!1;o.current.forEach(function(g,x){if(g&&g.offsetParent){var Z=g.offsetHeight,F=getComputedStyle(g),_=F.marginTop,w=F.marginBottom,Y=tt(_),j=tt(w),q=Z+Y+j;y.current.get(x)!==q&&(y.current.set(x,q),E=!0)}}),E&&c(function(g){return g+1})};if(u)m();else{h.current+=1;var v=h.current;Promise.resolve().then(function(){v===h.current&&m()})}}function S(u,m){var v=e(u),b=o.current.get(v);m?(o.current.set(v,m),i()):o.current.delete(v),!b!=!m&&(m?s==null||s(u):n==null||n(u))}return(0,t.useEffect)(function(){return p},[]),[S,i,y.current,d]}var rt=14/15;function Ot(e,s,n){var a=(0,t.useRef)(!1),f=(0,t.useRef)(0),d=(0,t.useRef)(0),c=(0,t.useRef)(null),o=(0,t.useRef)(null),y,h=function(u){if(a.current){var m=Math.ceil(u.touches[0].pageX),v=Math.ceil(u.touches[0].pageY),b=f.current-m,E=d.current-v,g=Math.abs(b)>Math.abs(E);g?f.current=m:d.current=v;var x=n(g,g?b:E,!1,u);x&&u.preventDefault(),clearInterval(o.current),x&&(o.current=setInterval(function(){g?b*=rt:E*=rt;var Z=Math.floor(g?b:E);(!n(g,Z,!0)||Math.abs(Z)<=.1)&&clearInterval(o.current)},16))}},p=function(){a.current=!1,y()},i=function(u){y(),u.touches.length===1&&!a.current&&(a.current=!0,f.current=Math.ceil(u.touches[0].pageX),d.current=Math.ceil(u.touches[0].pageY),c.current=u.target,c.current.addEventListener("touchmove",h,{passive:!1}),c.current.addEventListener("touchend",p,{passive:!0}))};y=function(){c.current&&(c.current.removeEventListener("touchmove",h),c.current.removeEventListener("touchend",p))},(0,A.Z)(function(){return e&&s.current.addEventListener("touchstart",i,{passive:!0}),function(){var S;(S=s.current)===null||S===void 0||S.removeEventListener("touchstart",i),y(),clearInterval(o.current)}},[e])}function nt(e){return Math.floor(Math.pow(e,.5))}function _e(e,s){var n="touches"in e?e.touches[0]:e;return n[s?"pageX":"pageY"]-window[s?"scrollX":"scrollY"]}function Ht(e,s,n){t.useEffect(function(){var a=s.current;if(e&&a){var f=!1,d,c,o=function(){Q.Z.cancel(d)},y=function S(){o(),d=(0,Q.Z)(function(){n(c),S()})},h=function(){f=!1,o()},p=function(u){if(!(u.target.draggable||u.button!==0)){var m=u;m._virtualHandled||(m._virtualHandled=!0,f=!0)}},i=function(u){if(f){var m=_e(u,!1),v=a.getBoundingClientRect(),b=v.top,E=v.bottom;if(m<=b){var g=b-m;c=-nt(g),y()}else if(m>=E){var x=m-E;c=nt(x),y()}else o()}};return a.addEventListener("mousedown",p),a.ownerDocument.addEventListener("mouseup",h),a.ownerDocument.addEventListener("mousemove",i),a.ownerDocument.addEventListener("dragend",h),function(){a.removeEventListener("mousedown",p),a.ownerDocument.removeEventListener("mouseup",h),a.ownerDocument.removeEventListener("mousemove",i),a.ownerDocument.removeEventListener("dragend",h),o()}}},[e])}var It=10;function Nt(e,s,n,a,f,d,c,o){var y=t.useRef(),h=t.useState(null),p=(0,L.Z)(h,2),i=p[0],S=p[1];return(0,A.Z)(function(){if(i&&i.times<It){if(!e.current){S(function(ve){return(0,D.Z)({},ve)});return}d();var u=i.targetAlign,m=i.originAlign,v=i.index,b=i.offset,E=e.current.clientHeight,g=!1,x=u,Z=null;if(E){for(var F=u||m,_=0,w=0,Y=0,j=Math.min(s.length-1,v),q=0;q<=j;q+=1){var W=f(s[q]);w=_;var ue=n.get(W);Y=w+(ue===void 0?a:ue),_=Y}for(var ee=F==="top"?b:E-b,se=j;se>=0;se-=1){var ce=f(s[se]),B=n.get(ce);if(B===void 0){g=!0;break}if(ee-=B,ee<=0)break}switch(F){case"top":Z=w-b;break;case"bottom":Z=Y-E+b;break;default:{var fe=e.current.scrollTop,k=fe+E;w<fe?x="top":Y>k&&(x="bottom")}}Z!==null&&c(Z),Z!==i.lastTop&&(g=!0)}g&&S((0,D.Z)((0,D.Z)({},i),{},{times:i.times+1,targetAlign:x,lastTop:Z}))}},[i,e.current]),function(u){if(u==null){o();return}if(Q.Z.cancel(y.current),typeof u=="number")c(u);else if(u&&(0,G.Z)(u)==="object"){var m,v=u.align;"index"in u?m=u.index:m=s.findIndex(function(g){return f(g)===u.key});var b=u.offset,E=b===void 0?0:b;S({times:0,index:m,offset:E,originAlign:v})}}}var Bt=t.forwardRef(function(e,s){var n=e.prefixCls,a=e.rtl,f=e.scrollOffset,d=e.scrollRange,c=e.onStartMove,o=e.onStopMove,y=e.onScroll,h=e.horizontal,p=e.spinSize,i=e.containerSize,S=e.style,u=e.thumbStyle,m=e.showScrollBar,v=t.useState(!1),b=(0,L.Z)(v,2),E=b[0],g=b[1],x=t.useState(null),Z=(0,L.Z)(x,2),F=Z[0],_=Z[1],w=t.useState(null),Y=(0,L.Z)(w,2),j=Y[0],q=Y[1],W=!a,ue=t.useRef(),ee=t.useRef(),se=t.useState(m),ce=(0,L.Z)(se,2),B=ce[0],fe=ce[1],k=t.useRef(),ve=function(){m===!0||m===!1||(clearTimeout(k.current),fe(!0),k.current=setTimeout(function(){fe(!1)},3e3))},U=d-i||0,V=i-p||0,pe=t.useMemo(function(){if(f===0||U===0)return 0;var X=f/U;return X*V},[f,U,V]),P=function(O){O.stopPropagation(),O.preventDefault()},te=t.useRef({top:pe,dragging:E,pageY:F,startTop:j});te.current={top:pe,dragging:E,pageY:F,startTop:j};var Re=function(O){g(!0),_(_e(O,h)),q(te.current.top),c(),O.stopPropagation(),O.preventDefault()};t.useEffect(function(){var X=function(we){we.preventDefault()},O=ue.current,H=ee.current;return O.addEventListener("touchstart",X,{passive:!1}),H.addEventListener("touchstart",Re,{passive:!1}),function(){O.removeEventListener("touchstart",X),H.removeEventListener("touchstart",Re)}},[]);var xe=t.useRef();xe.current=U;var De=t.useRef();De.current=V,t.useEffect(function(){if(E){var X,O=function(we){var ye=te.current,Ye=ye.dragging,Pe=ye.pageY,ze=ye.startTop;Q.Z.cancel(X);var Ce=ue.current.getBoundingClientRect(),ke=i/(h?Ce.width:Ce.height);if(Ye){var ae=(_e(we,h)-Pe)*ke,Me=ze;!W&&h?Me-=ae:Me+=ae;var Oe=xe.current,He=De.current,We=He?Me/He:0,he=Math.ceil(We*Oe);he=Math.max(he,0),he=Math.min(he,Oe),X=(0,Q.Z)(function(){y(he,h)})}},H=function(){g(!1),o()};return window.addEventListener("mousemove",O,{passive:!0}),window.addEventListener("touchmove",O,{passive:!0}),window.addEventListener("mouseup",H,{passive:!0}),window.addEventListener("touchend",H,{passive:!0}),function(){window.removeEventListener("mousemove",O),window.removeEventListener("touchmove",O),window.removeEventListener("mouseup",H),window.removeEventListener("touchend",H),Q.Z.cancel(X)}}},[E]),t.useEffect(function(){return ve(),function(){clearTimeout(k.current)}},[f]),t.useImperativeHandle(s,function(){return{delayHidden:ve}});var ne="".concat(n,"-scrollbar"),K={position:"absolute",visibility:B?null:"hidden"},Ze={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return h?(Object.assign(K,{height:8,left:0,right:0,bottom:0}),Object.assign(Ze,(0,T.Z)({height:"100%",width:p},W?"left":"right",pe))):(Object.assign(K,(0,T.Z)({width:8,top:0,bottom:0},W?"right":"left",0)),Object.assign(Ze,{width:"100%",height:p,top:pe})),t.createElement("div",{ref:ue,className:Se()(ne,(0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(ne,"-horizontal"),h),"".concat(ne,"-vertical"),!h),"".concat(ne,"-visible"),B)),style:(0,D.Z)((0,D.Z)({},K),S),onMouseDown:P,onMouseMove:ve},t.createElement("div",{ref:ee,className:Se()("".concat(ne,"-thumb"),(0,T.Z)({},"".concat(ne,"-thumb-moving"),E)),style:(0,D.Z)((0,D.Z)({},Ze),u),onMouseDown:Re}))}),at=Bt,$t=20;function ot(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/s*e;return isNaN(n)&&(n=0),n=Math.max(n,$t),Math.floor(n)}var Ft=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],_t=[],Yt={overflowY:"auto",overflowAnchor:"none"};function kt(e,s){var n=e.prefixCls,a=n===void 0?"rc-virtual-list":n,f=e.className,d=e.height,c=e.itemHeight,o=e.fullHeight,y=o===void 0?!0:o,h=e.style,p=e.data,i=e.children,S=e.itemKey,u=e.virtual,m=e.direction,v=e.scrollWidth,b=e.component,E=b===void 0?"div":b,g=e.onScroll,x=e.onVirtualScroll,Z=e.onVisibleChange,F=e.innerProps,_=e.extraRender,w=e.styles,Y=e.showScrollBar,j=Y===void 0?"optional":Y,q=(0,Ee.Z)(e,Ft),W=t.useCallback(function(l){return typeof S=="function"?S(l):l==null?void 0:l[S]},[S]),ue=zt(W,null,null),ee=(0,L.Z)(ue,4),se=ee[0],ce=ee[1],B=ee[2],fe=ee[3],k=!!(u!==!1&&d&&c),ve=t.useMemo(function(){return Object.values(B.maps).reduce(function(l,r){return l+r},0)},[B.id,B.maps]),U=k&&p&&(Math.max(c*p.length,ve)>d||!!v),V=m==="rtl",pe=Se()(a,(0,T.Z)({},"".concat(a,"-rtl"),V),f),P=p||_t,te=(0,t.useRef)(),Re=(0,t.useRef)(),xe=(0,t.useRef)(),De=(0,t.useState)(0),ne=(0,L.Z)(De,2),K=ne[0],Ze=ne[1],X=(0,t.useState)(0),O=(0,L.Z)(X,2),H=O[0],de=O[1],we=(0,t.useState)(!1),ye=(0,L.Z)(we,2),Ye=ye[0],Pe=ye[1],ze=function(){Pe(!0)},Ce=function(){Pe(!1)},ke={getKey:W};function ae(l){Ze(function(r){var R;typeof l=="function"?R=l(r):R=l;var C=Gt(R);return te.current.scrollTop=C,C})}var Me=(0,t.useRef)({start:0,end:P.length}),Oe=(0,t.useRef)(),He=xt(P,W),We=(0,L.Z)(He,1),he=We[0];Oe.current=he;var Ie=t.useMemo(function(){if(!k)return{scrollHeight:void 0,start:0,end:P.length-1,offset:void 0};if(!U){var l;return{scrollHeight:((l=Re.current)===null||l===void 0?void 0:l.offsetHeight)||0,start:0,end:P.length-1,offset:void 0}}for(var r=0,R,C,I,Fe=P.length,ge=0;ge<Fe;ge+=1){var Ge=P[ge],ar=W(Ge),Rt=B.get(ar),Je=r+(Rt===void 0?c:Rt);Je>=K&&R===void 0&&(R=ge,C=r),Je>K+d&&I===void 0&&(I=ge),r=Je}return R===void 0&&(R=0,C=0,I=Math.ceil(d/c)),I===void 0&&(I=P.length-1),I=Math.min(I+1,P.length-1),{scrollHeight:r,start:R,end:I,offset:C}},[U,k,K,P,fe,d]),me=Ie.scrollHeight,be=Ie.start,Te=Ie.end,ut=Ie.offset;Me.current.start=be,Me.current.end=Te,t.useLayoutEffect(function(){var l=B.getRecord();if(l.size===1){var r=Array.from(l.keys())[0],R=l.get(r),C=P[be];if(C&&R===void 0){var I=W(C);if(I===r){var Fe=B.get(r),ge=Fe-c;ae(function(Ge){return Ge+ge})}}}B.resetRecord()},[me]);var At=t.useState({width:0,height:d}),lt=(0,L.Z)(At,2),oe=lt[0],jt=lt[1],Vt=function(r){jt({width:r.offsetWidth,height:r.offsetHeight})},st=(0,t.useRef)(),ct=(0,t.useRef)(),Kt=t.useMemo(function(){return ot(oe.width,v)},[oe.width,v]),Ut=t.useMemo(function(){return ot(oe.height,me)},[oe.height,me]),Xe=me-d,Ae=(0,t.useRef)(Xe);Ae.current=Xe;function Gt(l){var r=l;return Number.isNaN(Ae.current)||(r=Math.min(r,Ae.current)),r=Math.max(r,0),r}var Ne=K<=0,Be=K>=Xe,ft=H<=0,vt=H>=v,Jt=et(Ne,Be,ft,vt),je=function(){return{x:V?-H:H,y:K}},Ve=(0,t.useRef)(je()),$e=(0,ie.zX)(function(l){if(x){var r=(0,D.Z)((0,D.Z)({},je()),l);(Ve.current.x!==r.x||Ve.current.y!==r.y)&&(x(r),Ve.current=r)}});function dt(l,r){var R=l;r?((0,re.flushSync)(function(){de(R)}),$e()):ae(R)}function Qt(l){var r=l.currentTarget.scrollTop;r!==K&&ae(r),g==null||g(l),$e()}var Ke=function(r){var R=r,C=v?v-oe.width:0;return R=Math.max(R,0),R=Math.min(R,C),R},qt=(0,ie.zX)(function(l,r){r?((0,re.flushSync)(function(){de(function(R){var C=R+(V?-l:l);return Ke(C)})}),$e()):ae(function(R){var C=R+l;return C})}),er=wt(k,Ne,Be,ft,vt,!!v,qt),ht=(0,L.Z)(er,2),Ue=ht[0],mt=ht[1];Ot(k,te,function(l,r,R,C){var I=C;return Jt(l,r,R)?!1:!I||!I._virtualHandled?(I&&(I._virtualHandled=!0),Ue({preventDefault:function(){},deltaX:l?r:0,deltaY:l?0:r}),!0):!1}),Ht(U,te,function(l){ae(function(r){return r+l})}),(0,A.Z)(function(){function l(R){var C=Ne&&R.detail<0,I=Be&&R.detail>0;k&&!C&&!I&&R.preventDefault()}var r=te.current;return r.addEventListener("wheel",Ue,{passive:!1}),r.addEventListener("DOMMouseScroll",mt,{passive:!0}),r.addEventListener("MozMousePixelScroll",l,{passive:!1}),function(){r.removeEventListener("wheel",Ue),r.removeEventListener("DOMMouseScroll",mt),r.removeEventListener("MozMousePixelScroll",l)}},[k,Ne,Be]),(0,A.Z)(function(){if(v){var l=Ke(H);de(l),$e({x:l})}},[oe.width,v]);var gt=function(){var r,R;(r=st.current)===null||r===void 0||r.delayHidden(),(R=ct.current)===null||R===void 0||R.delayHidden()},St=Nt(te,P,B,c,W,function(){return ce(!0)},ae,gt);t.useImperativeHandle(s,function(){return{nativeElement:xe.current,getScrollInfo:je,scrollTo:function(r){function R(C){return C&&(0,G.Z)(C)==="object"&&("left"in C||"top"in C)}R(r)?(r.left!==void 0&&de(Ke(r.left)),St(r.top)):St(r)}}}),(0,A.Z)(function(){if(Z){var l=P.slice(be,Te+1);Z(l,P)}},[be,Te,P]);var tr=Ct(P,W,B,c),rr=_==null?void 0:_({start:be,end:Te,virtual:U,offsetX:H,offsetY:ut,rtl:V,getSize:tr}),nr=bt(P,be,Te,v,H,se,i,ke),Le=null;d&&(Le=(0,D.Z)((0,T.Z)({},y?"height":"maxHeight",d),Yt),k&&(Le.overflowY="hidden",v&&(Le.overflowX="hidden"),Ye&&(Le.pointerEvents="none")));var pt={};return V&&(pt.dir="rtl"),t.createElement("div",(0,N.Z)({ref:xe,style:(0,D.Z)((0,D.Z)({},h),{},{position:"relative"}),className:pe},pt,q),t.createElement(le.Z,{onResize:Vt},t.createElement(E,{className:"".concat(a,"-holder"),style:Le,ref:te,onScroll:Qt,onMouseEnter:gt},t.createElement(yt,{prefixCls:a,height:me,offsetX:H,offsetY:ut,scrollWidth:v,onInnerResize:ce,ref:Re,innerProps:F,rtl:V,extra:rr},nr))),U&&me>d&&t.createElement(at,{ref:st,prefixCls:a,scrollOffset:K,scrollRange:me,rtl:V,onScroll:dt,onStartMove:ze,onStopMove:Ce,spinSize:Ut,containerSize:oe.height,style:w==null?void 0:w.verticalScrollBar,thumbStyle:w==null?void 0:w.verticalScrollBarThumb,showScrollBar:j}),U&&v>oe.width&&t.createElement(at,{ref:ct,prefixCls:a,scrollOffset:H,scrollRange:v,rtl:V,onScroll:dt,onStartMove:ze,onStopMove:Ce,spinSize:Kt,containerSize:oe.width,horizontal:!0,style:w==null?void 0:w.horizontalScrollBar,thumbStyle:w==null?void 0:w.horizontalScrollBarThumb,showScrollBar:j}))}var it=t.forwardRef(kt);it.displayName="List";var Wt=it,Xt=Wt},64836:function(z){function $(M){return M&&M.__esModule?M:{default:M}}z.exports=$,z.exports.__esModule=!0,z.exports.default=z.exports},18698:function(z){function $(M){"@babel/helpers - typeof";return z.exports=$=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(N){return typeof N}:function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},z.exports.__esModule=!0,z.exports.default=z.exports,$(M)}z.exports=$,z.exports.__esModule=!0,z.exports.default=z.exports},36459:function(z,$,M){"use strict";M.d($,{Z:function(){return N}});function N(G){if(G==null)throw new TypeError("Cannot destructure "+G)}}}]);
@@ -0,0 +1,44 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <meta name="description" content="Paul AI 智能辅助组件">
8
+ <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i3/O1CN01nkhAfJ1G04B40Ux1h_!!6000000000559-2-tps-300-300.png">
9
+ <title>Paul AI Assistant</title>
10
+ <link rel="stylesheet" href="//alifd.alicdn.com/npm/@alife/theme-135688/0.3.11/next.var.min.css">
11
+ <style>
12
+ .dumi-default-header-left {
13
+ padding-right: 16px;
14
+ white-space: nowrap;
15
+ width: unset !important;
16
+ }
17
+ .dumi-default-hero-title {
18
+ font-size: 120px !important;
19
+ }
20
+ .dumi-default-source-code > pre.prism-code {
21
+ max-height: 300px;
22
+ }
23
+ .dumi-default-previewer .dumi-default-previewer-demo {
24
+ background: #FFF;
25
+ padding: 16px;
26
+ a {
27
+ color: #0064c8;
28
+ }
29
+ a:hover {
30
+ color: #0586fe;
31
+ }
32
+ }
33
+
34
+ </style>
35
+ <script src="//gw.alipayobjects.com/os/lib/??react/16.14.0/umd/react.development.js,react-dom/16.14.0/umd/react-dom.development.js,moment/2.29.1/moment.js,moment/2.29.1/locale/zh-cn.js"></script>
36
+ <script src="//gw.alipayobjects.com/os/lib/bizcharts/4.1.20/umd/BizCharts.min.js"></script>
37
+ <script>window.publicPath = window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__ || "./";</script>
38
+ <script src="../../preload_helper.js"></script>
39
+ </head>
40
+ <body>
41
+ <div id="root" data-reactroot></div>
42
+ <script src="../../umi.js" entry></script>
43
+ </body>
44
+ </html>
@@ -0,0 +1,44 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <meta name="description" content="Paul AI 智能辅助组件">
8
+ <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i3/O1CN01nkhAfJ1G04B40Ux1h_!!6000000000559-2-tps-300-300.png">
9
+ <title>Paul AI Assistant</title>
10
+ <link rel="stylesheet" href="//alifd.alicdn.com/npm/@alife/theme-135688/0.3.11/next.var.min.css">
11
+ <style>
12
+ .dumi-default-header-left {
13
+ padding-right: 16px;
14
+ white-space: nowrap;
15
+ width: unset !important;
16
+ }
17
+ .dumi-default-hero-title {
18
+ font-size: 120px !important;
19
+ }
20
+ .dumi-default-source-code > pre.prism-code {
21
+ max-height: 300px;
22
+ }
23
+ .dumi-default-previewer .dumi-default-previewer-demo {
24
+ background: #FFF;
25
+ padding: 16px;
26
+ a {
27
+ color: #0064c8;
28
+ }
29
+ a:hover {
30
+ color: #0586fe;
31
+ }
32
+ }
33
+
34
+ </style>
35
+ <script src="//gw.alipayobjects.com/os/lib/??react/16.14.0/umd/react.development.js,react-dom/16.14.0/umd/react-dom.development.js,moment/2.29.1/moment.js,moment/2.29.1/locale/zh-cn.js"></script>
36
+ <script src="//gw.alipayobjects.com/os/lib/bizcharts/4.1.20/umd/BizCharts.min.js"></script>
37
+ <script>window.publicPath = window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__ || "./";</script>
38
+ <script src="../../preload_helper.js"></script>
39
+ </head>
40
+ <body>
41
+ <div id="root" data-reactroot></div>
42
+ <script src="../../umi.js" entry></script>
43
+ </body>
44
+ </html>
@@ -0,0 +1,44 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <meta name="description" content="Paul AI 智能辅助组件">
8
+ <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i3/O1CN01nkhAfJ1G04B40Ux1h_!!6000000000559-2-tps-300-300.png">
9
+ <title>Paul AI Assistant</title>
10
+ <link rel="stylesheet" href="//alifd.alicdn.com/npm/@alife/theme-135688/0.3.11/next.var.min.css">
11
+ <style>
12
+ .dumi-default-header-left {
13
+ padding-right: 16px;
14
+ white-space: nowrap;
15
+ width: unset !important;
16
+ }
17
+ .dumi-default-hero-title {
18
+ font-size: 120px !important;
19
+ }
20
+ .dumi-default-source-code > pre.prism-code {
21
+ max-height: 300px;
22
+ }
23
+ .dumi-default-previewer .dumi-default-previewer-demo {
24
+ background: #FFF;
25
+ padding: 16px;
26
+ a {
27
+ color: #0064c8;
28
+ }
29
+ a:hover {
30
+ color: #0586fe;
31
+ }
32
+ }
33
+
34
+ </style>
35
+ <script src="//gw.alipayobjects.com/os/lib/??react/16.14.0/umd/react.development.js,react-dom/16.14.0/umd/react-dom.development.js,moment/2.29.1/moment.js,moment/2.29.1/locale/zh-cn.js"></script>
36
+ <script src="//gw.alipayobjects.com/os/lib/bizcharts/4.1.20/umd/BizCharts.min.js"></script>
37
+ <script>window.publicPath = window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__ || "./";</script>
38
+ <script src="../../preload_helper.js"></script>
39
+ </head>
40
+ <body>
41
+ <div id="root" data-reactroot></div>
42
+ <script src="../../umi.js" entry></script>
43
+ </body>
44
+ </html>
@@ -0,0 +1,44 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <meta name="description" content="Paul AI 智能辅助组件">
8
+ <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i3/O1CN01nkhAfJ1G04B40Ux1h_!!6000000000559-2-tps-300-300.png">
9
+ <title>Paul AI Assistant</title>
10
+ <link rel="stylesheet" href="//alifd.alicdn.com/npm/@alife/theme-135688/0.3.11/next.var.min.css">
11
+ <style>
12
+ .dumi-default-header-left {
13
+ padding-right: 16px;
14
+ white-space: nowrap;
15
+ width: unset !important;
16
+ }
17
+ .dumi-default-hero-title {
18
+ font-size: 120px !important;
19
+ }
20
+ .dumi-default-source-code > pre.prism-code {
21
+ max-height: 300px;
22
+ }
23
+ .dumi-default-previewer .dumi-default-previewer-demo {
24
+ background: #FFF;
25
+ padding: 16px;
26
+ a {
27
+ color: #0064c8;
28
+ }
29
+ a:hover {
30
+ color: #0586fe;
31
+ }
32
+ }
33
+
34
+ </style>
35
+ <script src="//gw.alipayobjects.com/os/lib/??react/16.14.0/umd/react.development.js,react-dom/16.14.0/umd/react-dom.development.js,moment/2.29.1/moment.js,moment/2.29.1/locale/zh-cn.js"></script>
36
+ <script src="//gw.alipayobjects.com/os/lib/bizcharts/4.1.20/umd/BizCharts.min.js"></script>
37
+ <script>window.publicPath = window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__ || "./";</script>
38
+ <script src="../../preload_helper.js"></script>
39
+ </head>
40
+ <body>
41
+ <div id="root" data-reactroot></div>
42
+ <script src="../../umi.js" entry></script>
43
+ </body>
44
+ </html>
@@ -0,0 +1,44 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <meta name="description" content="Paul AI 智能辅助组件">
8
+ <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i3/O1CN01nkhAfJ1G04B40Ux1h_!!6000000000559-2-tps-300-300.png">
9
+ <title>Paul AI Assistant</title>
10
+ <link rel="stylesheet" href="//alifd.alicdn.com/npm/@alife/theme-135688/0.3.11/next.var.min.css">
11
+ <style>
12
+ .dumi-default-header-left {
13
+ padding-right: 16px;
14
+ white-space: nowrap;
15
+ width: unset !important;
16
+ }
17
+ .dumi-default-hero-title {
18
+ font-size: 120px !important;
19
+ }
20
+ .dumi-default-source-code > pre.prism-code {
21
+ max-height: 300px;
22
+ }
23
+ .dumi-default-previewer .dumi-default-previewer-demo {
24
+ background: #FFF;
25
+ padding: 16px;
26
+ a {
27
+ color: #0064c8;
28
+ }
29
+ a:hover {
30
+ color: #0586fe;
31
+ }
32
+ }
33
+
34
+ </style>
35
+ <script src="//gw.alipayobjects.com/os/lib/??react/16.14.0/umd/react.development.js,react-dom/16.14.0/umd/react-dom.development.js,moment/2.29.1/moment.js,moment/2.29.1/locale/zh-cn.js"></script>
36
+ <script src="//gw.alipayobjects.com/os/lib/bizcharts/4.1.20/umd/BizCharts.min.js"></script>
37
+ <script>window.publicPath = window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__ || "./";</script>
38
+ <script src="../../preload_helper.js"></script>
39
+ </head>
40
+ <body>
41
+ <div id="root" data-reactroot></div>
42
+ <script src="../../umi.js" entry></script>
43
+ </body>
44
+ </html>