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.
- package/README.md +249 -0
- package/dist/1.async.js +61 -0
- package/dist/1013.async.js +1 -0
- package/dist/123.async.js +258 -0
- package/dist/1387.async.js +321 -0
- package/dist/1481.async.js +1 -0
- package/dist/1548.async.js +2 -0
- package/dist/1815.async.js +3 -0
- package/dist/1819.async.js +1 -0
- package/dist/1851.async.js +1 -0
- package/dist/2491.async.js +132 -0
- package/dist/2517.async.js +247 -0
- package/dist/2678.async.js +1 -0
- package/dist/2856.async.js +267 -0
- package/dist/295.async.js +1 -0
- package/dist/3098.async.js +1 -0
- package/dist/3138.async.js +1 -0
- package/dist/34.async.js +137 -0
- package/dist/3472.async.js +1 -0
- package/dist/3614.async.js +25 -0
- package/dist/3959.async.js +69 -0
- package/dist/404.html +44 -0
- package/dist/4484.async.js +10 -0
- package/dist/4498.async.js +37 -0
- package/dist/4911.async.js +1 -0
- package/dist/4927.async.js +104 -0
- package/dist/5067.async.js +44 -0
- package/dist/5588.async.js +8 -0
- package/dist/5754.async.js +5 -0
- package/dist/6254.async.js +30286 -0
- package/dist/6355.async.js +10 -0
- package/dist/6662.async.js +177 -0
- package/dist/6680.async.js +2615 -0
- package/dist/6690.async.js +153 -0
- package/dist/7267.async.js +31 -0
- package/dist/7329.async.js +180 -0
- package/dist/7718.async.js +61 -0
- package/dist/7762.async.js +3 -0
- package/dist/7787.async.js +7 -0
- package/dist/7929.async.js +1 -0
- package/dist/8164.async.js +1 -0
- package/dist/834.async.js +221 -0
- package/dist/8456.async.js +146 -0
- package/dist/8542.async.js +25 -0
- package/dist/8749.async.js +1 -0
- package/dist/8914.async.js +66 -0
- package/dist/9570.async.js +65 -0
- package/dist/9725.async.js +18 -0
- package/dist/components/llm-trace-v2/index.html +44 -0
- package/dist/components/llm-trace-v3/index.html +44 -0
- package/dist/components/llm-trace-v3-advanced/index.html +44 -0
- package/dist/components/llm-trace-v3-examples/index.html +44 -0
- package/dist/components/llm-trace-v3-visual-demos/index.html +44 -0
- package/dist/demos.async.js +594 -0
- package/dist/demos__index.md.async.js +1 -0
- package/dist/demos__markdown-latex-mermaid__index.md.async.js +1 -0
- package/dist/demos__toolChatType__index.md.async.js +1 -0
- package/dist/docs/index.html +44 -0
- package/dist/docs__components__llm-trace-v2.md.async.js +1 -0
- package/dist/docs__components__llm-trace-v3-advanced.md.async.js +1 -0
- package/dist/docs__components__llm-trace-v3-examples.md.async.js +1 -0
- package/dist/docs__components__llm-trace-v3-visual-demos.md.async.js +1 -0
- package/dist/docs__components__llm-trace-v3.md.async.js +61 -0
- package/dist/docs__docs__index.md.async.js +108 -0
- package/dist/docs__index.md.async.js +1 -0
- package/dist/dumi__tmp-production__dumi__theme__ContextWrapper.async.js +1 -0
- package/dist/index.html +44 -0
- package/dist/markdown-latex-mermaid/index.html +44 -0
- package/dist/meta__demos.async.js +4272 -0
- package/dist/meta__docs.async.js +3416 -0
- package/dist/nm__dumi__dist__client__pages__404.async.js +29 -0
- package/dist/nm__dumi__dist__client__pages__Demo__index.async.js +5 -0
- package/dist/nm__dumi__theme-default__layouts__DocLayout__index.async.js +1 -0
- package/dist/preload_helper.js +1 -0
- package/dist/static/KaTeX_AMS-Regular.1608a09b.woff +0 -0
- package/dist/static/KaTeX_AMS-Regular.4aafdb68.ttf +0 -0
- package/dist/static/KaTeX_AMS-Regular.a79f1c31.woff2 +0 -0
- package/dist/static/KaTeX_Caligraphic-Bold.b6770918.woff +0 -0
- package/dist/static/KaTeX_Caligraphic-Bold.cce5b8ec.ttf +0 -0
- package/dist/static/KaTeX_Caligraphic-Bold.ec17d132.woff2 +0 -0
- package/dist/static/KaTeX_Caligraphic-Regular.07ef19e7.ttf +0 -0
- package/dist/static/KaTeX_Caligraphic-Regular.55fac258.woff2 +0 -0
- package/dist/static/KaTeX_Caligraphic-Regular.dad44a7f.woff +0 -0
- package/dist/static/KaTeX_Fraktur-Bold.9f256b85.woff +0 -0
- package/dist/static/KaTeX_Fraktur-Bold.b18f59e1.ttf +0 -0
- package/dist/static/KaTeX_Fraktur-Bold.d42a5579.woff2 +0 -0
- package/dist/static/KaTeX_Fraktur-Regular.7c187121.woff +0 -0
- package/dist/static/KaTeX_Fraktur-Regular.d3c882a6.woff2 +0 -0
- package/dist/static/KaTeX_Fraktur-Regular.ed38e79f.ttf +0 -0
- package/dist/static/KaTeX_Main-Bold.b74a1a8b.ttf +0 -0
- package/dist/static/KaTeX_Main-Bold.c3fb5ac2.woff2 +0 -0
- package/dist/static/KaTeX_Main-Bold.d181c465.woff +0 -0
- package/dist/static/KaTeX_Main-BoldItalic.6f2bb1df.woff2 +0 -0
- package/dist/static/KaTeX_Main-BoldItalic.70d8b0a5.ttf +0 -0
- package/dist/static/KaTeX_Main-BoldItalic.e3f82f9d.woff +0 -0
- package/dist/static/KaTeX_Main-Italic.47373d1e.ttf +0 -0
- package/dist/static/KaTeX_Main-Italic.8916142b.woff2 +0 -0
- package/dist/static/KaTeX_Main-Italic.9024d815.woff +0 -0
- package/dist/static/KaTeX_Main-Regular.0462f03b.woff2 +0 -0
- package/dist/static/KaTeX_Main-Regular.7f51fe03.woff +0 -0
- package/dist/static/KaTeX_Main-Regular.b7f8fe9b.ttf +0 -0
- package/dist/static/KaTeX_Math-BoldItalic.572d331f.woff2 +0 -0
- package/dist/static/KaTeX_Math-BoldItalic.a879cf83.ttf +0 -0
- package/dist/static/KaTeX_Math-BoldItalic.f1035d8d.woff +0 -0
- package/dist/static/KaTeX_Math-Italic.5295ba48.woff +0 -0
- package/dist/static/KaTeX_Math-Italic.939bc644.ttf +0 -0
- package/dist/static/KaTeX_Math-Italic.f28c23ac.woff2 +0 -0
- package/dist/static/KaTeX_SansSerif-Bold.8c5b5494.woff2 +0 -0
- package/dist/static/KaTeX_SansSerif-Bold.94e1e8dc.ttf +0 -0
- package/dist/static/KaTeX_SansSerif-Bold.bf59d231.woff +0 -0
- package/dist/static/KaTeX_SansSerif-Italic.3b1e59b3.woff2 +0 -0
- package/dist/static/KaTeX_SansSerif-Italic.7c9bc82b.woff +0 -0
- package/dist/static/KaTeX_SansSerif-Italic.b4c20c84.ttf +0 -0
- package/dist/static/KaTeX_SansSerif-Regular.74048478.woff +0 -0
- package/dist/static/KaTeX_SansSerif-Regular.ba21ed5f.woff2 +0 -0
- package/dist/static/KaTeX_SansSerif-Regular.d4d7ba48.ttf +0 -0
- package/dist/static/KaTeX_Script-Regular.03e9641d.woff2 +0 -0
- package/dist/static/KaTeX_Script-Regular.07505710.woff +0 -0
- package/dist/static/KaTeX_Script-Regular.fe9cbbe1.ttf +0 -0
- package/dist/static/KaTeX_Size1-Regular.e1e279cb.woff +0 -0
- package/dist/static/KaTeX_Size1-Regular.eae34984.woff2 +0 -0
- package/dist/static/KaTeX_Size1-Regular.fabc004a.ttf +0 -0
- package/dist/static/KaTeX_Size2-Regular.57727022.woff +0 -0
- package/dist/static/KaTeX_Size2-Regular.5916a24f.woff2 +0 -0
- package/dist/static/KaTeX_Size2-Regular.d6b476ec.ttf +0 -0
- package/dist/static/KaTeX_Size3-Regular.9acaf01c.woff +0 -0
- package/dist/static/KaTeX_Size3-Regular.a144ef58.ttf +0 -0
- package/dist/static/KaTeX_Size3-Regular.b4230e7e.woff2 +0 -0
- package/dist/static/KaTeX_Size4-Regular.10d95fd3.woff2 +0 -0
- package/dist/static/KaTeX_Size4-Regular.7a996c9d.woff +0 -0
- package/dist/static/KaTeX_Size4-Regular.fbccdabe.ttf +0 -0
- package/dist/static/KaTeX_Typewriter-Regular.6258592b.woff +0 -0
- package/dist/static/KaTeX_Typewriter-Regular.a8709e36.woff2 +0 -0
- package/dist/static/KaTeX_Typewriter-Regular.d97aaf4a.ttf +0 -0
- package/dist/tool-chat-type/index.html +44 -0
- package/dist/umi.js +1534 -0
- package/dist/~demos/:id/index.html +44 -0
- package/dist/~demos/demos-markdown-latex-mermaid-demo-markdown-latex-mermaid/index.html +44 -0
- package/dist/~demos/demos-tool-chat-type-demo-agentschemaformdemo/index.html +44 -0
- package/dist/~demos/demos-tool-chat-type-demo-assistant-drawer/index.html +44 -0
- package/dist/~demos/demos-tool-chat-type-demo-chat-input-demo/index.html +44 -0
- package/dist/~demos/demos-tool-chat-type-demo-chat-list-demo/index.html +44 -0
- package/dist/~demos/demos-tool-chat-type-demo-chat-scenario-demo/index.html +44 -0
- package/dist/~demos/demos-tool-chat-type-demo-schema-input/index.html +44 -0
- package/dist/~demos/demos-tool-chat-type-demo-toolchattype/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-2-demo-0/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-2-demo-1/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-2-demo-2/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-2-demo-3/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-2-demo-4/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-advanced-demo-0/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-advanced-demo-1/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-advanced-demo-2/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-advanced-demo-3/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-demo-0/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-demo-1/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-demo-2/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-demo-3/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-0/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-1/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-2/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-3/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-examples-demo-4/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-0/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-1/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-2/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-3/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-4/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-5/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-6/index.html +44 -0
- package/dist/~demos/docs-components-llm-trace-v-3-visual-demos-demo-7/index.html +44 -0
- package/es/AssistantChat/AssistantChatApp/CardMatchRender/index.d.ts +8 -0
- package/es/AssistantChat/AssistantChatApp/CardMatchRender/index.js +124 -0
- package/es/AssistantChat/AssistantChatApp/OperationMatchRender/index.d.ts +9 -0
- package/es/AssistantChat/AssistantChatApp/OperationMatchRender/index.js +64 -0
- package/es/AssistantChat/AssistantChatApp/const.d.ts +51 -0
- package/es/AssistantChat/AssistantChatApp/const.js +105 -0
- package/es/AssistantChat/AssistantChatApp/index.d.ts +4 -0
- package/es/AssistantChat/AssistantChatApp/index.js +281 -0
- package/es/AssistantChat/AssistantChatApp/index.scss +327 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/TemplateCard.d.ts +3 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/TemplateCard.js +125 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/common/types.d.ts +3 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/common/types.js +1 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateHeader.d.ts +5 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateHeader.js +24 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateHtml.d.ts +7 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateHtml.js +58 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateParagraph.d.ts +3 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateParagraph.js +8 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateTitle.d.ts +3 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TemplateTitle.js +9 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TraceComponent.d.ts +3 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/component/TraceComponent.js +47 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/context/index.d.ts +29 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/context/index.js +95 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/index.d.ts +4 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/index.js +100 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/index.scss +18 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/utils.d.ts +2 -0
- package/es/AssistantChat/AssistantChatCard/AgentCardRender/utils.js +36 -0
- package/es/AssistantChat/AssistantChatCard/AgentCommonCard/index.d.ts +4 -0
- package/es/AssistantChat/AssistantChatCard/AgentCommonCard/index.js +95 -0
- package/es/AssistantChat/AssistantChatCard/AgentCommonCard/index.scss +20 -0
- package/es/AssistantChat/AssistantChatCard/AgentExecutionCard/index.d.ts +16 -0
- package/es/AssistantChat/AssistantChatCard/AgentExecutionCard/index.js +17 -0
- package/es/AssistantChat/AssistantChatCard/AgentExecutionCard/index.scss +99 -0
- package/es/AssistantChat/AssistantChatCard/LlmGenerateCard/index.d.ts +14 -0
- package/es/AssistantChat/AssistantChatCard/LlmGenerateCard/index.js +273 -0
- package/es/AssistantChat/AssistantChatCard/LlmGenerateCard/index.scss +101 -0
- package/es/AssistantChat/AssistantChatCard/LlmGenerateCardV5/index.d.ts +78 -0
- package/es/AssistantChat/AssistantChatCard/LlmGenerateCardV5/index.js +123 -0
- package/es/AssistantChat/AssistantChatCard/LlmGenerateCardV5/index.scss +12 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/AigcTipsRender/index.d.ts +7 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/AigcTipsRender/index.js +29 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/Copy/index.d.ts +7 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/Copy/index.js +64 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/CopyRequestId/index.d.ts +3 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/CopyRequestId/index.js +19 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/FeedBack/index.d.ts +11 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/FeedBack/index.js +91 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/ShareButton/index.d.ts +3 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/ShareButton/index.js +26 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/index.d.ts +4 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/index.js +43 -0
- package/es/AssistantChat/AssistantChatCard/OperationCard/index.scss +14 -0
- package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/AttachmentsRender.d.ts +21 -0
- package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/AttachmentsRender.js +141 -0
- package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/ImageRender.d.ts +7 -0
- package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/ImageRender.js +74 -0
- package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/index.d.ts +8 -0
- package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/index.js +54 -0
- package/es/AssistantChat/AssistantChatCard/UserQueryCardRender/index.scss +98 -0
- package/es/AssistantChat/AssistantChatCard/index.d.ts +5 -0
- package/es/AssistantChat/AssistantChatCard/index.js +10 -0
- package/es/AssistantChat/AssistantChatInput/index.d.ts +5 -0
- package/es/AssistantChat/AssistantChatInput/index.js +172 -0
- package/es/AssistantChat/AssistantChatInput/index.scss +85 -0
- package/es/AssistantChat/AssistantToolApp/const.d.ts +12 -0
- package/es/AssistantChat/AssistantToolApp/const.js +22 -0
- package/es/AssistantChat/AssistantToolApp/index.d.ts +4 -0
- package/es/AssistantChat/AssistantToolApp/index.js +159 -0
- package/es/AssistantChat/AssistantToolApp/index.scss +76 -0
- package/es/AssistantChat/AssistantToolExecutionApp/const.d.ts +7 -0
- package/es/AssistantChat/AssistantToolExecutionApp/const.js +23 -0
- package/es/AssistantChat/AssistantToolExecutionApp/index.d.ts +4 -0
- package/es/AssistantChat/AssistantToolExecutionApp/index.js +66 -0
- package/es/AssistantChat/AssistantToolExecutionApp/index.scss +39 -0
- package/es/AssistantChat/AssistentError/index.d.ts +5 -0
- package/es/AssistantChat/AssistentError/index.js +138 -0
- package/es/AssistantChat/index.d.ts +6 -0
- package/es/AssistantChat/index.js +166 -0
- package/es/AssistantChat/index.scss +30 -0
- package/es/AssistantChat/logCallback/aTagLog.d.ts +1 -0
- package/es/AssistantChat/logCallback/aTagLog.js +23 -0
- package/es/AssistantChat/logCallback/copyLog.d.ts +3 -0
- package/es/AssistantChat/logCallback/copyLog.js +63 -0
- package/es/ErrorBoundary/ErrorBoundaryFallback/index.d.ts +5 -0
- package/es/ErrorBoundary/ErrorBoundaryFallback/index.js +134 -0
- package/es/ErrorBoundary/index.d.ts +22 -0
- package/es/ErrorBoundary/index.js +69 -0
- package/es/common/registerAssistChatForm.d.ts +2 -0
- package/es/common/registerAssistChatForm.js +14 -0
- package/es/components/AgentCardSubmit/index.d.ts +20 -0
- package/es/components/AgentCardSubmit/index.js +90 -0
- package/es/components/AgentResult/index.d.ts +8 -0
- package/es/components/AgentResult/index.js +77 -0
- package/es/components/AgentResult/index.scss +11 -0
- package/es/components/AgentSchemaForm/ScreenshotView.d.ts +12 -0
- package/es/components/AgentSchemaForm/ScreenshotView.js +194 -0
- package/es/components/AgentSchemaForm/ScreenshotView.scss +86 -0
- package/es/components/AgentSchemaForm/_interface.d.ts +37 -0
- package/es/components/AgentSchemaForm/_interface.js +13 -0
- package/es/components/AgentSchemaForm/index.d.ts +9 -0
- package/es/components/AgentSchemaForm/index.js +190 -0
- package/es/components/AgentSchemaForm/index.scss +37 -0
- package/es/components/AgentText/index.d.ts +4 -0
- package/es/components/AgentText/index.js +8 -0
- package/es/components/AgentText/index.scss +5 -0
- package/es/components/AigcTips/index.d.ts +9 -0
- package/es/components/AigcTips/index.js +17 -0
- package/es/components/AigcTips/index.scss +6 -0
- package/es/components/ArrayInput/index.d.ts +3 -0
- package/es/components/ArrayInput/index.js +36 -0
- package/es/components/AssistantDrawer/index.d.ts +22 -0
- package/es/components/AssistantDrawer/index.js +112 -0
- package/es/components/AssistantDrawer/index.scss +96 -0
- package/es/components/EmptyIcon/index.d.ts +3 -0
- package/es/components/EmptyIcon/index.js +124 -0
- package/es/components/HeaderSvgIcon/index.d.ts +3 -0
- package/es/components/HeaderSvgIcon/index.js +1 -0
- package/es/components/InspectionCard/index.d.ts +66 -0
- package/es/components/InspectionCard/index.js +246 -0
- package/es/components/InspectionCard/index.module.less +193 -0
- package/es/components/InspectionCard/result.d.ts +13 -0
- package/es/components/InspectionCard/result.js +26 -0
- package/es/components/InspectionCard/result.module.less +36 -0
- package/es/components/LlmMarkDown/MdAmarkGuess/index.d.ts +16 -0
- package/es/components/LlmMarkDown/MdAmarkGuess/index.js +41 -0
- package/es/components/LlmMarkDown/MdAmarkReference/index.d.ts +21 -0
- package/es/components/LlmMarkDown/MdAmarkReference/index.js +300 -0
- package/es/components/LlmMarkDown/MdAmarkReference/index.scss +122 -0
- package/es/components/LlmMarkDown/index.d.ts +30 -0
- package/es/components/LlmMarkDown/index.js +202 -0
- package/es/components/LlmMarkDown/index.scss +23 -0
- package/es/components/LlmModelChange/index.d.ts +57 -0
- package/es/components/LlmModelChange/index.js +138 -0
- package/es/components/LlmModelChange/index.scss +60 -0
- package/es/components/LlmReference/index.d.ts +25 -0
- package/es/components/LlmReference/index.js +147 -0
- package/es/components/LlmReference/index.scss +92 -0
- package/es/components/LlmTitle/index.d.ts +14 -0
- package/es/components/LlmTitle/index.js +26 -0
- package/es/components/LlmTitle/index.scss +20 -0
- package/es/components/LlmTrace/index.d.ts +17 -0
- package/es/components/LlmTrace/index.js +119 -0
- package/es/components/LlmTrace/index.scss +79 -0
- package/es/components/LlmTraceComponents/Disassemble/index.d.ts +24 -0
- package/es/components/LlmTraceComponents/Disassemble/index.js +89 -0
- package/es/components/LlmTraceComponents/Disassemble/index.scss +19 -0
- package/es/components/LlmTraceComponents/ReadResource/index.d.ts +24 -0
- package/es/components/LlmTraceComponents/ReadResource/index.js +19 -0
- package/es/components/LlmTraceComponents/ReadResource/index.scss +5 -0
- package/es/components/LlmTraceComponents/Rewrite/index.d.ts +23 -0
- package/es/components/LlmTraceComponents/Rewrite/index.js +49 -0
- package/es/components/LlmTraceComponents/Rewrite/index.scss +13 -0
- package/es/components/LlmTraceComponents/TraceMarkDown/index.d.ts +22 -0
- package/es/components/LlmTraceComponents/TraceMarkDown/index.js +44 -0
- package/es/components/LlmTraceComponents/TraceMarkDown/index.scss +18 -0
- package/es/components/LlmTraceComponents/const.d.ts +25 -0
- package/es/components/LlmTraceComponents/const.js +23 -0
- package/es/components/LlmTraceV2/index.d.ts +56 -0
- package/es/components/LlmTraceV2/index.js +384 -0
- package/es/components/LlmTraceV2/index.scss +115 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/BusinessFlow/index.d.ts +13 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/BusinessFlow/index.js +38 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/BusinessFlow/index.scss +56 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/CodeBlock/index.d.ts +18 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/CodeBlock/index.js +82 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/CodeBlock/index.scss +36 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/DeepThinking/index.d.ts +13 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/DeepThinking/index.js +26 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/DeepThinking/index.scss +54 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/InfoMissing/index.d.ts +13 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/InfoMissing/index.js +25 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/InfoMissing/index.scss +38 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/LinkList/index.d.ts +20 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/LinkList/index.js +49 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/LinkList/index.scss +37 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/SearchResults/index.d.ts +13 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/SearchResults/index.js +93 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/SearchResults/index.scss +151 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/TaskPlanning/index.d.ts +12 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/TaskPlanning/index.js +28 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/ToolCall/index.d.ts +13 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/ToolCall/index.js +46 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/ToolCall/index.scss +70 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/ToolResult/index.d.ts +13 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/ToolResult/index.js +72 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/ToolResult/index.scss +90 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/const.d.ts +32 -0
- package/es/components/LlmTraceV3/components/TraceContentComponents/const.js +27 -0
- package/es/components/LlmTraceV3/components/TraceGroup/index.d.ts +8 -0
- package/es/components/LlmTraceV3/components/TraceGroup/index.js +81 -0
- package/es/components/LlmTraceV3/components/TraceHeader/index.d.ts +8 -0
- package/es/components/LlmTraceV3/components/TraceHeader/index.js +64 -0
- package/es/components/LlmTraceV3/components/TraceItem/index.d.ts +8 -0
- package/es/components/LlmTraceV3/components/TraceItem/index.js +126 -0
- package/es/components/LlmTraceV3/components/TraceSlide/index.d.ts +30 -0
- package/es/components/LlmTraceV3/components/TraceSlide/index.js +278 -0
- package/es/components/LlmTraceV3/components/TraceSlide/index.scss +204 -0
- package/es/components/LlmTraceV3/components/TraceStatusIcon/index.d.ts +8 -0
- package/es/components/LlmTraceV3/components/TraceStatusIcon/index.js +41 -0
- package/es/components/LlmTraceV3/hooks/useGroupCollapse.d.ts +18 -0
- package/es/components/LlmTraceV3/hooks/useGroupCollapse.js +91 -0
- package/es/components/LlmTraceV3/hooks/useItemCollapse.d.ts +18 -0
- package/es/components/LlmTraceV3/hooks/useItemCollapse.js +61 -0
- package/es/components/LlmTraceV3/hooks/useTraceAnimation.d.ts +15 -0
- package/es/components/LlmTraceV3/hooks/useTraceAnimation.js +54 -0
- package/es/components/LlmTraceV3/hooks/useTraceCollapse.d.ts +17 -0
- package/es/components/LlmTraceV3/hooks/useTraceCollapse.js +80 -0
- package/es/components/LlmTraceV3/index.d.ts +11 -0
- package/es/components/LlmTraceV3/index.js +173 -0
- package/es/components/LlmTraceV3/index.scss +333 -0
- package/es/components/LlmTraceV3/types.d.ts +263 -0
- package/es/components/LlmTraceV3/types.js +108 -0
- package/es/components/LlmTraceV3/utils/collapseLogic.d.ts +26 -0
- package/es/components/LlmTraceV3/utils/collapseLogic.js +86 -0
- package/es/components/LlmTraceV3/utils/traceHelpers.d.ts +42 -0
- package/es/components/LlmTraceV3/utils/traceHelpers.js +94 -0
- package/es/components/MarkDown/index.d.ts +11 -0
- package/es/components/MarkDown/index.js +222 -0
- package/es/components/MarkDown/index.scss +179 -0
- package/es/components/ModelSelect/ModeDropdown.d.ts +8 -0
- package/es/components/ModelSelect/ModeDropdown.js +118 -0
- package/es/components/ModelSelect/const.d.ts +30 -0
- package/es/components/ModelSelect/const.js +61 -0
- package/es/components/ModelSelect/index.d.ts +4 -0
- package/es/components/ModelSelect/index.js +45 -0
- package/es/components/ModelSelect/index.scss +121 -0
- package/es/components/PaulButtonGroup/Select.d.ts +3 -0
- package/es/components/PaulButtonGroup/Select.js +109 -0
- package/es/components/PaulButtonGroup/index.d.ts +16 -0
- package/es/components/PaulButtonGroup/index.js +209 -0
- package/es/components/PaulButtonGroup/index.scss +19 -0
- package/es/components/PopAuth/index.d.ts +4 -0
- package/es/components/PopAuth/index.js +62 -0
- package/es/components/PopAuth/index.scss +16 -0
- package/es/components/ReferenceInfoItem/index.d.ts +49 -0
- package/es/components/ReferenceInfoItem/index.js +43 -0
- package/es/components/ReferenceInfoItem/index.scss +46 -0
- package/es/components/ReferenceTag/index.d.ts +11 -0
- package/es/components/ReferenceTag/index.js +27 -0
- package/es/components/ReferenceTag/index.scss +19 -0
- package/es/components/SchemaInput/SchemaInputCore/index.d.ts +4 -0
- package/es/components/SchemaInput/SchemaInputCore/index.js +113 -0
- package/es/components/SchemaInput/SchemaInputCore/index.scss +35 -0
- package/es/components/SchemaInput/SchemaInputCore/utils.d.ts +1 -0
- package/es/components/SchemaInput/SchemaInputCore/utils.js +77 -0
- package/es/components/SchemaInput/SimpleJSONEditor/index.d.ts +4 -0
- package/es/components/SchemaInput/SimpleJSONEditor/index.js +35 -0
- package/es/components/SchemaInput/SimpleJSONEditor/index.scss +7 -0
- package/es/components/SchemaInput/index.d.ts +8 -0
- package/es/components/SchemaInput/index.js +30 -0
- package/es/components/SelectBlurry/index.d.ts +3 -0
- package/es/components/SelectBlurry/index.js +74 -0
- package/es/components/SendMessageSvgIcon/index.d.ts +3 -0
- package/es/components/SendMessageSvgIcon/index.js +70 -0
- package/es/components/ShareContent/index.d.ts +21 -0
- package/es/components/ShareContent/index.js +176 -0
- package/es/components/ShareContent/index.scss +36 -0
- package/es/components/ShareModal/index.d.ts +15 -0
- package/es/components/ShareModal/index.js +185 -0
- package/es/components/ShareModal/index.scss +199 -0
- package/es/components/ShareOperationBar/index.d.ts +4 -0
- package/es/components/ShareOperationBar/index.js +152 -0
- package/es/components/ShareOperationBar/index.scss +47 -0
- package/es/components/TextContent/index.d.ts +14 -0
- package/es/components/TextContent/index.js +37 -0
- package/es/components/TextContent/index.scss +31 -0
- package/es/components/TraceMarkdownWithCard/index.d.ts +6 -0
- package/es/components/TraceMarkdownWithCard/index.js +21 -0
- package/es/components/TraceMarkdownWithCard/index.module.less +29 -0
- package/es/components/TraceWithAgent/index.d.ts +23 -0
- package/es/components/TraceWithAgent/index.js +93 -0
- package/es/components/TraceWithAgent/index.less +74 -0
- package/es/constants/assistChatEvent.d.ts +33 -0
- package/es/constants/assistChatEvent.js +33 -0
- package/es/constants/common.d.ts +71 -0
- package/es/constants/common.js +90 -0
- package/es/constants/logTrace.d.ts +3 -0
- package/es/constants/logTrace.js +4 -0
- package/es/constants/reference.d.ts +109 -0
- package/es/constants/reference.js +111 -0
- package/es/constants/traceDataStatus.d.ts +34 -0
- package/es/constants/traceDataStatus.js +37 -0
- package/es/context/index.d.ts +13 -0
- package/es/context/index.js +785 -0
- package/es/context/utils/messages.d.ts +33 -0
- package/es/context/utils/messages.js +194 -0
- package/es/context/utils/send.d.ts +29 -0
- package/es/context/utils/send.js +187 -0
- package/es/context/utils/tool.d.ts +19 -0
- package/es/context/utils/tool.js +89 -0
- package/es/index.d.ts +37 -0
- package/es/index.js +63 -0
- package/es/index.scss +39 -0
- package/es/interface/IAgent.d.ts +12 -0
- package/es/interface/IAgent.js +1 -0
- package/es/interface/IChatBottom.d.ts +69 -0
- package/es/interface/IChatBottom.js +1 -0
- package/es/interface/IChatCard.d.ts +40 -0
- package/es/interface/IChatCard.js +1 -0
- package/es/interface/IChatContext.d.ts +59 -0
- package/es/interface/IChatContext.js +1 -0
- package/es/interface/IChatRef.d.ts +75 -0
- package/es/interface/IChatRef.js +1 -0
- package/es/interface/IGuessQuestion.d.ts +43 -0
- package/es/interface/IGuessQuestion.js +15 -0
- package/es/interface/IMessage.d.ts +17 -0
- package/es/interface/IMessage.js +1 -0
- package/es/interface/ISend.d.ts +19 -0
- package/es/interface/ISend.js +1 -0
- package/es/interface/index.d.ts +272 -0
- package/es/interface/index.js +7 -0
- package/es/utils/CSEIconTool.d.ts +8 -0
- package/es/utils/CSEIconTool.js +6 -0
- package/es/utils/apushAssistant.d.ts +73 -0
- package/es/utils/apushAssistant.js +518 -0
- package/es/utils/clientPlugin.d.ts +3 -0
- package/es/utils/clientPlugin.js +73 -0
- package/es/utils/common.d.ts +10 -0
- package/es/utils/common.js +40 -0
- package/es/utils/copyToClipboard.d.ts +2 -0
- package/es/utils/copyToClipboard.js +70 -0
- package/es/utils/formDataFormat.d.ts +3 -0
- package/es/utils/formDataFormat.js +55 -0
- package/es/utils/formatData.d.ts +14 -0
- package/es/utils/formatData.js +104 -0
- package/es/utils/log.d.ts +18 -0
- package/es/utils/log.js +37 -0
- package/es/utils/parseUrl.d.ts +9 -0
- package/es/utils/parseUrl.js +48 -0
- package/es/utils/screenshot.d.ts +45 -0
- package/es/utils/screenshot.js +650 -0
- package/es/utils/send.d.ts +10 -0
- package/es/utils/send.js +8 -0
- package/es/utils/uploadImage.d.ts +9 -0
- package/es/utils/uploadImage.js +226 -0
- package/es/utils/websocketLogger.d.ts +176 -0
- package/es/utils/websocketLogger.js +267 -0
- package/package.json +166 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_alife_paul_ai_assistant=self.webpackChunk_alife_paul_ai_assistant||[]).push([[6690],{61392:function(ot,G,M){M.d(G,{G:function(){return I}});var B=M(35096),I=(0,B.eW)(()=>`
|
|
2
|
+
/* Font Awesome icon styling - consolidated */
|
|
3
|
+
.label-icon {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
height: 1em;
|
|
6
|
+
overflow: visible;
|
|
7
|
+
vertical-align: -0.125em;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.node .label-icon path {
|
|
11
|
+
fill: currentColor;
|
|
12
|
+
stroke: revert;
|
|
13
|
+
stroke-width: revert;
|
|
14
|
+
}
|
|
15
|
+
`,"getIconStyles")},29270:function(ot,G,M){M.d(G,{AD:function(){return U},AE:function(){return tt},Mu:function(){return i},O:function(){return N},kc:function(){return J},rB:function(){return V},yU:function(){return H}});var B=M(99970),I=M(35096),w=M(17967),i=(0,I.eW)((W,p)=>{const k=W.append("rect");if(k.attr("x",p.x),k.attr("y",p.y),k.attr("fill",p.fill),k.attr("stroke",p.stroke),k.attr("width",p.width),k.attr("height",p.height),p.name&&k.attr("name",p.name),p.rx&&k.attr("rx",p.rx),p.ry&&k.attr("ry",p.ry),p.attrs!==void 0)for(const E in p.attrs)k.attr(E,p.attrs[E]);return p.class&&k.attr("class",p.class),k},"drawRect"),N=(0,I.eW)((W,p)=>{const k={x:p.startx,y:p.starty,width:p.stopx-p.startx,height:p.stopy-p.starty,fill:p.fill,stroke:p.stroke,class:"rect"};i(W,k).lower()},"drawBackgroundRect"),H=(0,I.eW)((W,p)=>{const k=p.text.replace(B.Vw," "),E=W.append("text");E.attr("x",p.x),E.attr("y",p.y),E.attr("class","legend"),E.style("text-anchor",p.anchor),p.class&&E.attr("class",p.class);const C=E.append("tspan");return C.attr("x",p.x+p.textMargin*2),C.text(k),E},"drawText"),tt=(0,I.eW)((W,p,k,E)=>{const C=W.append("image");C.attr("x",p),C.attr("y",k);const Z=(0,w.N)(E);C.attr("xlink:href",Z)},"drawImage"),V=(0,I.eW)((W,p,k,E)=>{const C=W.append("use");C.attr("x",p),C.attr("y",k);const Z=(0,w.N)(E);C.attr("xlink:href",`#${Z}`)},"drawEmbeddedImage"),J=(0,I.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),U=(0,I.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")},46690:function(ot,G,M){M.d(G,{diagram:function(){return Lt}});var B=M(29270),I=M(61392),w=M(99970),i=M(35096),N=M(989),H=function(){var t=(0,i.eW)(function(h,r,a,l){for(a=a||{},l=h.length;l--;a[h[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],s=[1,9],c=[1,10],n=[1,11],f=[1,12],d=[1,13],y=[1,14],m={trace:(0,i.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:(0,i.eW)(function(r,a,l,u,g,o,S){var v=o.length-1;switch(g){case 1:return o[v-1];case 2:this.$=[];break;case 3:o[v-1].push(o[v]),this.$=o[v-1];break;case 4:case 5:this.$=o[v];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[v].substr(6)),this.$=o[v].substr(6);break;case 9:this.$=o[v].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[v].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[v].substr(8)),this.$=o[v].substr(8);break;case 13:u.addTask(o[v-1],o[v]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:s,12:c,14:n,16:f,17:d,18:y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:s,12:c,14:n,16:f,17:d,18:y},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:(0,i.eW)(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:(0,i.eW)(function(r){var a=this,l=[0],u=[],g=[null],o=[],S=this.table,v="",j=0,_t=0,xt=0,Vt=2,kt=1,Ot=o.slice.call(arguments,1),b=Object.create(this.lexer),z={yy:{}};for(var nt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,nt)&&(z.yy[nt]=this.yy[nt]);b.setInput(r,z.yy),z.yy.lexer=b,z.yy.parser=this,typeof b.yylloc=="undefined"&&(b.yylloc={});var it=b.yylloc;o.push(it);var jt=b.options&&b.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Nt(P){l.length=l.length-2*P,g.length=g.length-P,o.length=o.length-P}(0,i.eW)(Nt,"popStack");function vt(){var P;return P=u.pop()||b.lex()||kt,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=a.symbols_[P]||P),P}(0,i.eW)(vt,"lex");for(var T,st,K,A,Ut,at,Y={},D,L,bt,q;;){if(K=l[l.length-1],this.defaultActions[K]?A=this.defaultActions[K]:((T===null||typeof T=="undefined")&&(T=vt()),A=S[K]&&S[K][T]),typeof A=="undefined"||!A.length||!A[0]){var lt="";q=[];for(D in S[K])this.terminals_[D]&&D>Vt&&q.push("'"+this.terminals_[D]+"'");b.showPosition?lt="Parse error on line "+(j+1)+`:
|
|
16
|
+
`+b.showPosition()+`
|
|
17
|
+
Expecting `+q.join(", ")+", got '"+(this.terminals_[T]||T)+"'":lt="Parse error on line "+(j+1)+": Unexpected "+(T==kt?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(lt,{text:b.match,token:this.terminals_[T]||T,line:b.yylineno,loc:it,expected:q})}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+T);switch(A[0]){case 1:l.push(T),g.push(b.yytext),o.push(b.yylloc),l.push(A[1]),T=null,st?(T=st,st=null):(_t=b.yyleng,v=b.yytext,j=b.yylineno,it=b.yylloc,xt>0&&xt--);break;case 2:if(L=this.productions_[A[1]][1],Y.$=g[g.length-L],Y._$={first_line:o[o.length-(L||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(L||1)].first_column,last_column:o[o.length-1].last_column},jt&&(Y._$.range=[o[o.length-(L||1)].range[0],o[o.length-1].range[1]]),at=this.performAction.apply(Y,[v,_t,j,z.yy,A[1],g,o].concat(Ot)),typeof at!="undefined")return at;L&&(l=l.slice(0,-1*L*2),g=g.slice(0,-1*L),o=o.slice(0,-1*L)),l.push(this.productions_[A[1]][0]),g.push(Y.$),o.push(Y._$),bt=S[l[l.length-2]][l[l.length-1]],l.push(bt);break;case 3:return!0}}return!0},"parse")},_=function(){var h={EOF:1,parseError:(0,i.eW)(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:(0,i.eW)(function(r,a){return this.yy=a||this.yy||{},this._input=r,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,i.eW)(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:(0,i.eW)(function(r){var a=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=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 g=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===u.length?this.yylloc.first_column:0)+u[u.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:(0,i.eW)(function(){return this._more=!0,this},"more"),reject:(0,i.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).
|
|
18
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:(0,i.eW)(function(r){this.unput(this.match.slice(r))},"less"),pastInput:(0,i.eW)(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,i.eW)(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,i.eW)(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
19
|
+
`+a+"^"},"showPosition"),test_match:(0,i.eW)(function(r,a){var l,u,g;if(this.options.backtrack_lexer&&(g={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&&(g.yylloc.range=this.yylloc.range.slice(0))),u=r[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,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(r[0].length),this.matched+=r[0],l=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var o in g)this[o]=g[o];return!1}return!1},"test_match"),next:(0,i.eW)(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var r,a,l,u;this._more||(this.yytext="",this.match="");for(var g=this._currentRules(),o=0;o<g.length;o++)if(l=this._input.match(this.rules[g[o]]),l&&(!a||l[0].length>a[0].length)){if(a=l,u=o,this.options.backtrack_lexer){if(r=this.test_match(l,g[o]),r!==!1)return r;if(this._backtrack){a=!1;continue}else return!1}else if(!this.options.flex)break}return a?(r=this.test_match(a,g[u]),r!==!1?r:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
20
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.eW)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,i.eW)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,i.eW)(function(){var a=this.conditionStack.length-1;return a>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.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,i.eW)(function(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,i.eW)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,i.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.eW)(function(a,l,u,g){var o=g;switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.begin("acc_descr"),14;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};return h}();m.lexer=_;function x(){this.yy={}}return(0,i.eW)(x,"Parser"),x.prototype=m,m.Parser=x,new x}();H.parser=H;var tt=H,V="",J=[],U=[],W=[],p=(0,i.eW)(function(){J.length=0,U.length=0,V="",W.length=0,(0,w.ZH)()},"clear"),k=(0,i.eW)(function(t){V=t,J.push(t)},"addSection"),E=(0,i.eW)(function(){return J},"getSections"),C=(0,i.eW)(function(){let t=ct();const e=100;let s=0;for(;!t&&s<e;)t=ct(),s++;return U.push(...W),U},"getTasks"),Z=(0,i.eW)(function(){const t=[];return U.forEach(s=>{s.people&&t.push(...s.people)}),[...new Set(t)].sort()},"updateActors"),wt=(0,i.eW)(function(t,e){const s=e.substr(1).split(":");let c=0,n=[];s.length===1?(c=Number(s[0]),n=[]):(c=Number(s[0]),n=s[1].split(","));const f=n.map(y=>y.trim()),d={section:V,type:V,people:f,task:t,score:c};W.push(d)},"addTask"),Wt=(0,i.eW)(function(t){const e={section:V,type:V,description:t,task:t,classes:[]};U.push(e)},"addTaskOrg"),ct=(0,i.eW)(function(){const t=(0,i.eW)(function(s){return W[s].processed},"compileTask");let e=!0;for(const[s,c]of W.entries())t(s),e=e&&c.processed;return e},"compileTasks"),Et=(0,i.eW)(function(){return Z()},"getActors"),ht={getConfig:(0,i.eW)(()=>(0,w.nV)().journey,"getConfig"),clear:p,setDiagramTitle:w.g2,getDiagramTitle:w.Kr,setAccTitle:w.GN,getAccTitle:w.eu,setAccDescription:w.U$,getAccDescription:w.Mx,addSection:k,getSections:E,getTasks:C,addTask:wt,addTaskOrg:Wt,getActors:Et},Tt=(0,i.eW)(t=>`.label {
|
|
21
|
+
font-family: ${t.fontFamily};
|
|
22
|
+
color: ${t.textColor};
|
|
23
|
+
}
|
|
24
|
+
.mouth {
|
|
25
|
+
stroke: #666;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
line {
|
|
29
|
+
stroke: ${t.textColor}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.legend {
|
|
33
|
+
fill: ${t.textColor};
|
|
34
|
+
font-family: ${t.fontFamily};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.label text {
|
|
38
|
+
fill: #333;
|
|
39
|
+
}
|
|
40
|
+
.label {
|
|
41
|
+
color: ${t.textColor}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.face {
|
|
45
|
+
${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};
|
|
46
|
+
stroke: #999;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.node rect,
|
|
50
|
+
.node circle,
|
|
51
|
+
.node ellipse,
|
|
52
|
+
.node polygon,
|
|
53
|
+
.node path {
|
|
54
|
+
fill: ${t.mainBkg};
|
|
55
|
+
stroke: ${t.nodeBorder};
|
|
56
|
+
stroke-width: 1px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.node .label {
|
|
60
|
+
text-align: center;
|
|
61
|
+
}
|
|
62
|
+
.node.clickable {
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.arrowheadPath {
|
|
67
|
+
fill: ${t.arrowheadColor};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.edgePath .path {
|
|
71
|
+
stroke: ${t.lineColor};
|
|
72
|
+
stroke-width: 1.5px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.flowchart-link {
|
|
76
|
+
stroke: ${t.lineColor};
|
|
77
|
+
fill: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.edgeLabel {
|
|
81
|
+
background-color: ${t.edgeLabelBackground};
|
|
82
|
+
rect {
|
|
83
|
+
opacity: 0.5;
|
|
84
|
+
}
|
|
85
|
+
text-align: center;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.cluster rect {
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.cluster text {
|
|
92
|
+
fill: ${t.titleColor};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
div.mermaidTooltip {
|
|
96
|
+
position: absolute;
|
|
97
|
+
text-align: center;
|
|
98
|
+
max-width: 200px;
|
|
99
|
+
padding: 2px;
|
|
100
|
+
font-family: ${t.fontFamily};
|
|
101
|
+
font-size: 12px;
|
|
102
|
+
background: ${t.tertiaryColor};
|
|
103
|
+
border: 1px solid ${t.border2};
|
|
104
|
+
border-radius: 2px;
|
|
105
|
+
pointer-events: none;
|
|
106
|
+
z-index: 100;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.task-type-0, .section-type-0 {
|
|
110
|
+
${t.fillType0?`fill: ${t.fillType0}`:""};
|
|
111
|
+
}
|
|
112
|
+
.task-type-1, .section-type-1 {
|
|
113
|
+
${t.fillType0?`fill: ${t.fillType1}`:""};
|
|
114
|
+
}
|
|
115
|
+
.task-type-2, .section-type-2 {
|
|
116
|
+
${t.fillType0?`fill: ${t.fillType2}`:""};
|
|
117
|
+
}
|
|
118
|
+
.task-type-3, .section-type-3 {
|
|
119
|
+
${t.fillType0?`fill: ${t.fillType3}`:""};
|
|
120
|
+
}
|
|
121
|
+
.task-type-4, .section-type-4 {
|
|
122
|
+
${t.fillType0?`fill: ${t.fillType4}`:""};
|
|
123
|
+
}
|
|
124
|
+
.task-type-5, .section-type-5 {
|
|
125
|
+
${t.fillType0?`fill: ${t.fillType5}`:""};
|
|
126
|
+
}
|
|
127
|
+
.task-type-6, .section-type-6 {
|
|
128
|
+
${t.fillType0?`fill: ${t.fillType6}`:""};
|
|
129
|
+
}
|
|
130
|
+
.task-type-7, .section-type-7 {
|
|
131
|
+
${t.fillType0?`fill: ${t.fillType7}`:""};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.actor-0 {
|
|
135
|
+
${t.actor0?`fill: ${t.actor0}`:""};
|
|
136
|
+
}
|
|
137
|
+
.actor-1 {
|
|
138
|
+
${t.actor1?`fill: ${t.actor1}`:""};
|
|
139
|
+
}
|
|
140
|
+
.actor-2 {
|
|
141
|
+
${t.actor2?`fill: ${t.actor2}`:""};
|
|
142
|
+
}
|
|
143
|
+
.actor-3 {
|
|
144
|
+
${t.actor3?`fill: ${t.actor3}`:""};
|
|
145
|
+
}
|
|
146
|
+
.actor-4 {
|
|
147
|
+
${t.actor4?`fill: ${t.actor4}`:""};
|
|
148
|
+
}
|
|
149
|
+
.actor-5 {
|
|
150
|
+
${t.actor5?`fill: ${t.actor5}`:""};
|
|
151
|
+
}
|
|
152
|
+
${(0,I.G)()}
|
|
153
|
+
`,"getStyles"),Mt=Tt,et=(0,i.eW)(function(t,e){return(0,B.Mu)(t,e)},"drawRect"),St=(0,i.eW)(function(t,e){const c=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),n=t.append("g");n.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),n.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function f(m){const _=(0,N.Nb1)().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",_).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(0,i.eW)(f,"smile");function d(m){const _=(0,N.Nb1)().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",_).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(0,i.eW)(d,"sad");function y(m){m.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return(0,i.eW)(y,"ambivalent"),e.score>3?f(n):e.score<3?d(n):y(n),c},"drawFace"),ut=(0,i.eW)(function(t,e){const s=t.append("circle");return s.attr("cx",e.cx),s.attr("cy",e.cy),s.attr("class","actor-"+e.pos),s.attr("fill",e.fill),s.attr("stroke",e.stroke),s.attr("r",e.r),s.class!==void 0&&s.attr("class",s.class),e.title!==void 0&&s.append("title").text(e.title),s},"drawCircle"),dt=(0,i.eW)(function(t,e){return(0,B.yU)(t,e)},"drawText"),Pt=(0,i.eW)(function(t,e){function s(n,f,d,y,m){return n+","+f+" "+(n+d)+","+f+" "+(n+d)+","+(f+y-m)+" "+(n+d-m*1.2)+","+(f+y)+" "+n+","+(f+y)}(0,i.eW)(s,"genPoints");const c=t.append("polygon");c.attr("points",s(e.x,e.y,50,20,7)),c.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,dt(t,e)},"drawLabel"),Ct=(0,i.eW)(function(t,e,s){const c=t.append("g"),n=(0,B.kc)();n.x=e.x,n.y=e.y,n.fill=e.fill,n.width=s.width*e.taskCount+s.diagramMarginX*(e.taskCount-1),n.height=s.height,n.class="journey-section section-type-"+e.num,n.rx=3,n.ry=3,et(c,n),ft(s)(e.text,c,n.x,n.y,n.width,n.height,{class:"journey-section section-type-"+e.num},s,e.colour)},"drawSection"),yt=-1,$t=(0,i.eW)(function(t,e,s){const c=e.x+s.width/2,n=t.append("g");yt++;const f=300+5*30;n.append("line").attr("id","task"+yt).attr("x1",c).attr("y1",e.y).attr("x2",c).attr("y2",f).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),St(n,{cx:c,cy:300+(5-e.score)*30,score:e.score});const d=(0,B.kc)();d.x=e.x,d.y=e.y,d.fill=e.fill,d.width=s.width,d.height=s.height,d.class="task task-type-"+e.num,d.rx=3,d.ry=3,et(n,d);let y=e.x+14;e.people.forEach(m=>{const _=e.actors[m].color,x={cx:y,cy:e.y,r:7,fill:_,stroke:"#000",title:m,pos:e.actors[m].position};ut(n,x),y+=10}),ft(s)(e.task,n,d.x,d.y,d.width,d.height,{class:"task"},s,e.colour)},"drawTask"),At=(0,i.eW)(function(t,e){(0,B.O)(t,e)},"drawBackgroundRect"),ft=function(){function t(n,f,d,y,m,_,x,h){const r=f.append("text").attr("x",d+m/2).attr("y",y+_/2+5).style("font-color",h).style("text-anchor","middle").text(n);c(r,x)}(0,i.eW)(t,"byText");function e(n,f,d,y,m,_,x,h,r){const{taskFontSize:a,taskFontFamily:l}=h,u=n.split(/<br\s*\/?>/gi);for(let g=0;g<u.length;g++){const o=g*a-a*(u.length-1)/2,S=f.append("text").attr("x",d+m/2).attr("y",y).attr("fill",r).style("text-anchor","middle").style("font-size",a).style("font-family",l);S.append("tspan").attr("x",d+m/2).attr("dy",o).text(u[g]),S.attr("y",y+_/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),c(S,x)}}(0,i.eW)(e,"byTspan");function s(n,f,d,y,m,_,x,h){const r=f.append("switch"),l=r.append("foreignObject").attr("x",d).attr("y",y).attr("width",m).attr("height",_).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(n),e(n,r,d,y,m,_,x,h),c(l,x)}(0,i.eW)(s,"byFo");function c(n,f){for(const d in f)d in f&&n.attr(d,f[d])}return(0,i.eW)(c,"_setTextAttrs"),function(n){return n.textPlacement==="fo"?s:n.textPlacement==="old"?t:e}}(),It=(0,i.eW)(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics"),X={drawRect:et,drawCircle:ut,drawSection:Ct,drawText:dt,drawLabel:Pt,drawTask:$t,drawBackgroundRect:At,initGraphics:It},Rt=(0,i.eW)(function(t){Object.keys(t).forEach(function(s){R[s]=t[s]})},"setConf"),F={},Q=0;function pt(t){const e=(0,w.nV)().journey,s=e.maxLabelWidth;Q=0;let c=60;Object.keys(F).forEach(n=>{const f=F[n].color,d={cx:20,cy:c,r:7,fill:f,stroke:"#000",pos:F[n].position};X.drawCircle(t,d);let y=t.append("text").attr("visibility","hidden").text(n);const m=y.node().getBoundingClientRect().width;y.remove();let _=[];if(m<=s)_=[n];else{const x=n.split(" ");let h="";y=t.append("text").attr("visibility","hidden"),x.forEach(r=>{const a=h?`${h} ${r}`:r;if(y.text(a),y.node().getBoundingClientRect().width>s){if(h&&_.push(h),h=r,y.text(r),y.node().getBoundingClientRect().width>s){let u="";for(const g of r)u+=g,y.text(u+"-"),y.node().getBoundingClientRect().width>s&&(_.push(u.slice(0,-1)+"-"),u=g);h=u}}else h=a}),h&&_.push(h),y.remove()}_.forEach((x,h)=>{var u;const r={x:40,y:c+7+h*20,fill:"#666",text:x,textMargin:(u=e.boxTextMargin)!=null?u:5},l=X.drawText(t,r).node().getBoundingClientRect().width;l>Q&&l>e.leftMargin-l&&(Q=l)}),c+=Math.max(20,_.length*20)})}(0,i.eW)(pt,"drawActorLegend");var R=(0,w.nV)().journey,O=0,Bt=(0,i.eW)(function(t,e,s,c){const n=(0,w.nV)(),f=n.journey.titleColor,d=n.journey.titleFontSize,y=n.journey.titleFontFamily,m=n.securityLevel;let _;m==="sandbox"&&(_=(0,N.Ys)("#i"+e));const x=m==="sandbox"?(0,N.Ys)(_.nodes()[0].contentDocument.body):(0,N.Ys)("body");$.init();const h=x.select("#"+e);X.initGraphics(h);const r=c.db.getTasks(),a=c.db.getDiagramTitle(),l=c.db.getActors();for(const j in F)delete F[j];let u=0;l.forEach(j=>{F[j]={color:R.actorColours[u%R.actorColours.length],position:u},u++}),pt(h),O=R.leftMargin+Q,$.insert(0,0,O,Object.keys(F).length*50),Ft(h,r,0);const g=$.getBounds();a&&h.append("text").text(a).attr("x",O).attr("font-size",d).attr("font-weight","bold").attr("y",25).attr("fill",f).attr("font-family",y);const o=g.stopy-g.starty+2*R.diagramMarginY,S=O+g.stopx+2*R.diagramMarginX;(0,w.v2)(h,o,S,R.useMaxWidth),h.append("line").attr("x1",O).attr("y1",R.height*4).attr("x2",S-O-4).attr("y2",R.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const v=a?70:0;h.attr("viewBox",`${g.startx} -25 ${S} ${o+v}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",o+v+25)},"draw"),$={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:(0,i.eW)(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:(0,i.eW)(function(t,e,s,c){t[e]===void 0?t[e]=s:t[e]=c(s,t[e])},"updateVal"),updateBounds:(0,i.eW)(function(t,e,s,c){const n=(0,w.nV)().journey,f=this;let d=0;function y(m){return(0,i.eW)(function(x){d++;const h=f.sequenceItems.length-d+1;f.updateVal(x,"starty",e-h*n.boxMargin,Math.min),f.updateVal(x,"stopy",c+h*n.boxMargin,Math.max),f.updateVal($.data,"startx",t-h*n.boxMargin,Math.min),f.updateVal($.data,"stopx",s+h*n.boxMargin,Math.max),m!=="activation"&&(f.updateVal(x,"startx",t-h*n.boxMargin,Math.min),f.updateVal(x,"stopx",s+h*n.boxMargin,Math.max),f.updateVal($.data,"starty",e-h*n.boxMargin,Math.min),f.updateVal($.data,"stopy",c+h*n.boxMargin,Math.max))},"updateItemBounds")}(0,i.eW)(y,"updateFn"),this.sequenceItems.forEach(y())},"updateBounds"),insert:(0,i.eW)(function(t,e,s,c){const n=Math.min(t,s),f=Math.max(t,s),d=Math.min(e,c),y=Math.max(e,c);this.updateVal($.data,"startx",n,Math.min),this.updateVal($.data,"starty",d,Math.min),this.updateVal($.data,"stopx",f,Math.max),this.updateVal($.data,"stopy",y,Math.max),this.updateBounds(n,d,f,y)},"insert"),bumpVerticalPos:(0,i.eW)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:(0,i.eW)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,i.eW)(function(){return this.data},"getBounds")},rt=R.sectionFills,gt=R.sectionColours,Ft=(0,i.eW)(function(t,e,s){const c=(0,w.nV)().journey;let n="";const f=c.height*2+c.diagramMarginY,d=s+f;let y=0,m="#CCC",_="black",x=0;for(const[h,r]of e.entries()){if(n!==r.section){m=rt[y%rt.length],x=y%rt.length,_=gt[y%gt.length];let l=0;const u=r.section;for(let o=h;o<e.length&&e[o].section==u;o++)l=l+1;const g={x:h*c.taskMargin+h*c.width+O,y:50,text:r.section,fill:m,num:x,colour:_,taskCount:l};X.drawSection(t,g,c),n=r.section,y++}const a=r.people.reduce((l,u)=>(F[u]&&(l[u]=F[u]),l),{});r.x=h*c.taskMargin+h*c.width+O,r.y=d,r.width=c.diagramMarginX,r.height=c.diagramMarginY,r.colour=_,r.fill=m,r.num=x,r.actors=a,X.drawTask(t,r,c),$.insert(r.x,r.y,r.x+r.width+c.taskMargin,300+5*30)}},"drawTasks"),mt={setConf:Rt,draw:Bt},Lt={parser:tt,db:ht,renderer:mt,styles:Mt,init:(0,i.eW)(t=>{mt.setConf(t.journey),ht.clear()},"init")}}}]);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
!(function(){"use strict";var j=(A,D,r)=>new Promise((v,u)=>{var o=c=>{try{i(r.next(c))}catch(_){u(_)}},a=c=>{try{i(r.throw(c))}catch(_){u(_)}},i=c=>c.done?v(c.value):Promise.resolve(c.value).then(o,a);i((r=r.apply(A,D)).next())});(self.webpackChunk_alife_paul_ai_assistant=self.webpackChunk_alife_paul_ai_assistant||[]).push([[7267],{25925:function(A,D,r){r.d(D,{A:function(){return u}});var v=r(35096);function u(o,a){var i,c,_;o.accDescr&&((i=a.setAccDescription)==null||i.call(a,o.accDescr)),o.accTitle&&((c=a.setAccTitle)==null||c.call(a,o.accTitle)),o.title&&((_=a.setDiagramTitle)==null||_.call(a,o.title))}(0,v.eW)(u,"populateCommonDb")},87267:function(A,D,r){r.d(D,{diagram:function(){return re}});var v=r(88674),u=r(25925),o=r(4284),a=r(99970),i=r(35096),c=r(12491),_=r(989),y=a.vZ.pie,x={sections:new Map,showData:!1,config:y},m=x.sections,S=x.showData,z=structuredClone(y),J=(0,i.eW)(()=>structuredClone(z),"getConfig"),V=(0,i.eW)(()=>{m=new Map,S=x.showData,(0,a.ZH)()},"clear"),Z=(0,i.eW)(({label:e,value:n})=>{if(n<0)throw new Error(`"${e}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);m.has(e)||(m.set(e,n),i.cM.debug(`added new section: ${e}, with value: ${n}`))},"addSection"),H=(0,i.eW)(()=>m,"getSections"),X=(0,i.eW)(e=>{S=e},"setShowData"),Y=(0,i.eW)(()=>S,"getShowData"),R={getConfig:J,clear:V,setDiagramTitle:a.g2,getDiagramTitle:a.Kr,setAccTitle:a.GN,getAccTitle:a.eu,setAccDescription:a.U$,getAccDescription:a.Mx,addSection:Z,getSections:H,setShowData:X,getShowData:Y},b=(0,i.eW)((e,n)=>{(0,u.A)(e,n),n.setShowData(e.showData),e.sections.map(n.addSection)},"populateDb"),Q={parse:(0,i.eW)(e=>j(this,null,function*(){const n=yield(0,c.Qc)("pie",e);i.cM.debug(n),b(n,R)}),"parse")},q=(0,i.eW)(e=>`
|
|
2
|
+
.pieCircle{
|
|
3
|
+
stroke: ${e.pieStrokeColor};
|
|
4
|
+
stroke-width : ${e.pieStrokeWidth};
|
|
5
|
+
opacity : ${e.pieOpacity};
|
|
6
|
+
}
|
|
7
|
+
.pieOuterCircle{
|
|
8
|
+
stroke: ${e.pieOuterStrokeColor};
|
|
9
|
+
stroke-width: ${e.pieOuterStrokeWidth};
|
|
10
|
+
fill: none;
|
|
11
|
+
}
|
|
12
|
+
.pieTitleText {
|
|
13
|
+
text-anchor: middle;
|
|
14
|
+
font-size: ${e.pieTitleTextSize};
|
|
15
|
+
fill: ${e.pieTitleTextColor};
|
|
16
|
+
font-family: ${e.fontFamily};
|
|
17
|
+
}
|
|
18
|
+
.slice {
|
|
19
|
+
font-family: ${e.fontFamily};
|
|
20
|
+
fill: ${e.pieSectionTextColor};
|
|
21
|
+
font-size:${e.pieSectionTextSize};
|
|
22
|
+
// fill: white;
|
|
23
|
+
}
|
|
24
|
+
.legend text {
|
|
25
|
+
fill: ${e.pieLegendTextColor};
|
|
26
|
+
font-family: ${e.fontFamily};
|
|
27
|
+
font-size: ${e.pieLegendTextSize};
|
|
28
|
+
}
|
|
29
|
+
`,"getStyles"),ee=q,te=(0,i.eW)(e=>{const n=[...e.values()].reduce((s,p)=>s+p,0),B=[...e.entries()].map(([s,p])=>({label:s,value:p})).filter(s=>s.value/n*100>=1).sort((s,p)=>p.value-s.value);return(0,_.ve8)().value(s=>s.value)(B)},"createPieArcs"),ae=(0,i.eW)((e,n,B,k)=>{i.cM.debug(`rendering pie chart
|
|
30
|
+
`+e);const s=k.db,p=(0,a.nV)(),I=(0,o.Rb)(s.getConfig(),p.pie),L=40,d=18,E=4,g=450,W=g,M=(0,v.P)(n),f=M.append("g");f.attr("transform","translate("+W/2+","+g/2+")");const{themeVariables:l}=p;let[C]=(0,o.VG)(l.pieOuterStrokeWidth);C!=null||(C=2);const U=I.textPosition,T=Math.min(W,g)/2-L,ne=(0,_.Nb1)().innerRadius(0).outerRadius(T),se=(0,_.Nb1)().innerRadius(T*U).outerRadius(T*U);f.append("circle").attr("cx",0).attr("cy",0).attr("r",T+C/2).attr("class","pieOuterCircle");const w=s.getSections(),le=te(w),ce=[l.pie1,l.pie2,l.pie3,l.pie4,l.pie5,l.pie6,l.pie7,l.pie8,l.pie9,l.pie10,l.pie11,l.pie12];let P=0;w.forEach(t=>{P+=t});const G=le.filter(t=>(t.data.value/P*100).toFixed(0)!=="0"),O=(0,_.PKp)(ce);f.selectAll("mySlices").data(G).enter().append("path").attr("d",ne).attr("fill",t=>O(t.data.label)).attr("class","pieCircle"),f.selectAll("mySlices").data(G).enter().append("text").text(t=>(t.data.value/P*100).toFixed(0)+"%").attr("transform",t=>"translate("+se.centroid(t)+")").style("text-anchor","middle").attr("class","slice"),f.append("text").text(s.getDiagramTitle()).attr("x",0).attr("y",-(g-50)/2).attr("class","pieTitleText");const K=[...w.entries()].map(([t,h])=>({label:t,value:h})),$=f.selectAll(".legend").data(K).enter().append("g").attr("class","legend").attr("transform",(t,h)=>{const N=d+E,_e=N*K.length/2,pe=12*d,ue=h*N-_e;return"translate("+pe+","+ue+")"});$.append("rect").attr("width",d).attr("height",d).style("fill",t=>O(t.label)).style("stroke",t=>O(t.label)),$.append("text").attr("x",d+E).attr("y",d-E).text(t=>s.getShowData()?`${t.label} [${t.value}]`:t.label);const oe=Math.max(...$.selectAll("text").nodes().map(t=>{var h;return(h=t==null?void 0:t.getBoundingClientRect().width)!=null?h:0})),F=W+L+d+E+oe;M.attr("viewBox",`0 0 ${F} ${g}`),(0,a.v2)(M,g,F,I.useMaxWidth)},"draw"),ie={draw:ae},re={parser:Q,db:R,renderer:ie,styles:ee}}}]);
|
|
31
|
+
}());
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
!(function(){"use strict";var st=(q,M,m)=>new Promise((V,S)=>{var G=o=>{try{x(m.next(o))}catch(h){S(h)}},R=o=>{try{x(m.throw(o))}catch(h){S(h)}},x=o=>o.done?V(o.value):Promise.resolve(o.value).then(G,R);x((m=m.apply(q,M)).next())});(self.webpackChunk_alife_paul_ai_assistant=self.webpackChunk_alife_paul_ai_assistant||[]).push([[7329],{26620:function(q,M,m){m.d(M,{q:function(){return G}});var V=m(35096),S=m(989),G=(0,V.eW)((R,x)=>{let o;return x==="sandbox"&&(o=(0,S.Ys)("#i"+R)),(x==="sandbox"?(0,S.Ys)(o.nodes()[0].contentDocument.body):(0,S.Ys)("body")).select(`[id="${R}"]`)},"getDiagramElement")},7329:function(q,M,m){var Q,J;m.d(M,{Ee:function(){return nt},P0:function(){return Y},b0:function(){return ot},dR:function(){return it}});var V=m(61392),S=m(26620),G=m(43663),R=m(23386),x=m(4284),o=m(99970),h=m(35096),v=m(989),w=function(){var s=(0,h.eW)(function(U,c,d,A){for(d=d||{},A=U.length;A--;d[U[A]]=c);return d},"o"),i=[1,18],a=[1,19],u=[1,20],l=[1,41],r=[1,42],f=[1,26],k=[1,24],g=[1,25],b=[1,32],C=[1,33],N=[1,34],_=[1,45],Be=[1,35],Fe=[1,36],Se=[1,37],ve=[1,38],Ne=[1,27],Le=[1,28],xe=[1,29],Oe=[1,30],Ie=[1,31],y=[1,44],T=[1,46],D=[1,43],B=[1,47],Pe=[1,9],p=[1,8,9],Ae=[1,58],be=[1,59],fe=[1,60],ke=[1,61],Ce=[1,62],we=[1,63],Me=[1,64],te=[1,8,9,41],ze=[1,76],X=[1,8,9,12,13,22,39,41,44,68,69,70,71,72,73,74,79,81],Ee=[1,8,9,12,13,18,20,22,39,41,44,50,60,68,69,70,71,72,73,74,79,81,86,100,102,103],me=[13,60,86,100,102,103],se=[13,60,73,74,86,100,102,103],He=[13,60,68,69,70,71,72,86,100,102,103],Ve=[1,100],ie=[1,117],ae=[1,113],ne=[1,109],re=[1,115],ue=[1,110],le=[1,111],oe=[1,112],ce=[1,114],he=[1,116],Qe=[22,48,60,61,82,86,87,88,89,90],Re=[1,8,9,39,41,44],ge=[1,8,9,22],Je=[1,145],Xe=[1,8,9,61],P=[1,8,9,22,48,60,61,82,86,87,88,89,90],We={trace:(0,h.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,emptyBody:47,SPACE:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",48:"SPACE",49:"ANNOTATION_START",50:"ANNOTATION_END",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[43,2],[43,3],[47,0],[47,2],[47,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:(0,h.eW)(function(c,d,A,n,E,e,de){var t=e.length-1;switch(E){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:n.addRelation(e[t]);break;case 20:e[t-1].title=n.cleanupLabel(e[t]),n.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),n.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),n.setAccDescription(this.$);break;case 34:n.addClassesToNamespace(e[t-3],e[t-1]);break;case 35:n.addClassesToNamespace(e[t-4],e[t-1]);break;case 36:this.$=e[t],n.addNamespace(e[t]);break;case 37:this.$=[e[t]];break;case 38:this.$=[e[t-1]];break;case 39:e[t].unshift(e[t-2]),this.$=e[t];break;case 41:n.setCssClass(e[t-2],e[t]);break;case 42:n.addMembers(e[t-3],e[t-1]);break;case 44:n.setCssClass(e[t-5],e[t-3]),n.addMembers(e[t-5],e[t-1]);break;case 45:this.$=e[t],n.addClass(e[t]);break;case 46:this.$=e[t-1],n.addClass(e[t-1]),n.setClassLabel(e[t-1],e[t]);break;case 50:n.addAnnotation(e[t],e[t-2]);break;case 51:case 64:this.$=[e[t]];break;case 52:e[t].push(e[t-1]),this.$=e[t];break;case 53:break;case 54:n.addMember(e[t-1],n.cleanupLabel(e[t]));break;case 55:break;case 56:break;case 57:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 58:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 59:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 60:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 61:n.addNote(e[t],e[t-1]);break;case 62:n.addNote(e[t]);break;case 63:this.$=e[t-2],n.defineClass(e[t-1],e[t]);break;case 65:this.$=e[t-2].concat([e[t]]);break;case 66:n.setDirection("TB");break;case 67:n.setDirection("BT");break;case 68:n.setDirection("RL");break;case 69:n.setDirection("LR");break;case 70:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 71:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 72:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 73:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 74:this.$=n.relationType.AGGREGATION;break;case 75:this.$=n.relationType.EXTENSION;break;case 76:this.$=n.relationType.COMPOSITION;break;case 77:this.$=n.relationType.DEPENDENCY;break;case 78:this.$=n.relationType.LOLLIPOP;break;case 79:this.$=n.lineType.LINE;break;case 80:this.$=n.lineType.DOTTED_LINE;break;case 81:case 87:this.$=e[t-2],n.setClickEvent(e[t-1],e[t]);break;case 82:case 88:this.$=e[t-3],n.setClickEvent(e[t-2],e[t-1]),n.setTooltip(e[t-2],e[t]);break;case 83:this.$=e[t-2],n.setLink(e[t-1],e[t]);break;case 84:this.$=e[t-3],n.setLink(e[t-2],e[t-1],e[t]);break;case 85:this.$=e[t-3],n.setLink(e[t-2],e[t-1]),n.setTooltip(e[t-2],e[t]);break;case 86:this.$=e[t-4],n.setLink(e[t-3],e[t-2],e[t]),n.setTooltip(e[t-3],e[t-1]);break;case 89:this.$=e[t-3],n.setClickEvent(e[t-2],e[t-1],e[t]);break;case 90:this.$=e[t-4],n.setClickEvent(e[t-3],e[t-2],e[t-1]),n.setTooltip(e[t-3],e[t]);break;case 91:this.$=e[t-3],n.setLink(e[t-2],e[t]);break;case 92:this.$=e[t-4],n.setLink(e[t-3],e[t-1],e[t]);break;case 93:this.$=e[t-4],n.setLink(e[t-3],e[t-1]),n.setTooltip(e[t-3],e[t]);break;case 94:this.$=e[t-5],n.setLink(e[t-4],e[t-2],e[t]),n.setTooltip(e[t-4],e[t-1]);break;case 95:this.$=e[t-2],n.setCssStyle(e[t-1],e[t]);break;case 96:n.setCssClass(e[t-1],e[t]);break;case 97:this.$=[e[t]];break;case 98:e[t-2].push(e[t]),this.$=e[t-2];break;case 100:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:u,38:22,42:l,43:23,46:r,49:f,51:k,52:g,54:b,56:C,57:N,60:_,62:Be,63:Fe,64:Se,65:ve,75:Ne,76:Le,78:xe,82:Oe,83:Ie,86:y,100:T,102:D,103:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Pe,[2,5],{8:[1,48]}),{8:[1,49]},s(p,[2,19],{22:[1,50]}),s(p,[2,21]),s(p,[2,22]),s(p,[2,23]),s(p,[2,24]),s(p,[2,25]),s(p,[2,26]),s(p,[2,27]),s(p,[2,28]),s(p,[2,29]),s(p,[2,30]),{34:[1,51]},{36:[1,52]},s(p,[2,33]),s(p,[2,53],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:Ae,69:be,70:fe,71:ke,72:Ce,73:we,74:Me}),{39:[1,65]},s(te,[2,40],{39:[1,67],44:[1,66]}),s(p,[2,55]),s(p,[2,56]),{16:68,60:_,86:y,100:T,102:D},{16:39,17:40,19:69,60:_,86:y,100:T,102:D,103:B},{16:39,17:40,19:70,60:_,86:y,100:T,102:D,103:B},{16:39,17:40,19:71,60:_,86:y,100:T,102:D,103:B},{60:[1,72]},{13:[1,73]},{16:39,17:40,19:74,60:_,86:y,100:T,102:D,103:B},{13:ze,55:75},{58:77,60:[1,78]},s(p,[2,66]),s(p,[2,67]),s(p,[2,68]),s(p,[2,69]),s(X,[2,13],{16:39,17:40,19:80,18:[1,79],20:[1,81],60:_,86:y,100:T,102:D,103:B}),s(X,[2,15],{20:[1,82]}),{15:83,16:84,17:85,60:_,86:y,100:T,102:D,103:B},{16:39,17:40,19:86,60:_,86:y,100:T,102:D,103:B},s(Ee,[2,123]),s(Ee,[2,124]),s(Ee,[2,125]),s(Ee,[2,126]),s([1,8,9,12,13,20,22,39,41,44,68,69,70,71,72,73,74,79,81],[2,127]),s(Pe,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:87,33:i,35:a,37:u,42:l,46:r,49:f,51:k,52:g,54:b,56:C,57:N,60:_,62:Be,63:Fe,64:Se,65:ve,75:Ne,76:Le,78:xe,82:Oe,83:Ie,86:y,100:T,102:D,103:B}),{5:88,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:u,38:22,42:l,43:23,46:r,49:f,51:k,52:g,54:b,56:C,57:N,60:_,62:Be,63:Fe,64:Se,65:ve,75:Ne,76:Le,78:xe,82:Oe,83:Ie,86:y,100:T,102:D,103:B},s(p,[2,20]),s(p,[2,31]),s(p,[2,32]),{13:[1,90],16:39,17:40,19:89,60:_,86:y,100:T,102:D,103:B},{53:91,66:56,67:57,68:Ae,69:be,70:fe,71:ke,72:Ce,73:we,74:Me},s(p,[2,54]),{67:92,73:we,74:Me},s(me,[2,73],{66:93,68:Ae,69:be,70:fe,71:ke,72:Ce}),s(se,[2,74]),s(se,[2,75]),s(se,[2,76]),s(se,[2,77]),s(se,[2,78]),s(He,[2,79]),s(He,[2,80]),{8:[1,95],24:96,40:94,43:23,46:r},{16:97,60:_,86:y,100:T,102:D},{41:[1,99],45:98,51:Ve},{50:[1,101]},{13:[1,102]},{13:[1,103]},{79:[1,104],81:[1,105]},{22:ie,48:ae,59:106,60:ne,82:re,84:107,85:108,86:ue,87:le,88:oe,89:ce,90:he},{60:[1,118]},{13:ze,55:119},s(p,[2,62]),s(p,[2,128]),{22:ie,48:ae,59:120,60:ne,61:[1,121],82:re,84:107,85:108,86:ue,87:le,88:oe,89:ce,90:he},s(Qe,[2,64]),{16:39,17:40,19:122,60:_,86:y,100:T,102:D,103:B},s(X,[2,16]),s(X,[2,17]),s(X,[2,18]),{39:[2,36]},{15:124,16:84,17:85,18:[1,123],39:[2,9],60:_,86:y,100:T,102:D,103:B},{39:[2,10]},s(Re,[2,45],{11:125,12:[1,126]}),s(Pe,[2,7]),{9:[1,127]},s(ge,[2,57]),{16:39,17:40,19:128,60:_,86:y,100:T,102:D,103:B},{13:[1,130],16:39,17:40,19:129,60:_,86:y,100:T,102:D,103:B},s(me,[2,72],{66:131,68:Ae,69:be,70:fe,71:ke,72:Ce}),s(me,[2,71]),{41:[1,132]},{24:96,40:133,43:23,46:r},{8:[1,134],41:[2,37]},s(te,[2,41],{39:[1,135]}),{41:[1,136]},s(te,[2,43]),{41:[2,51],45:137,51:Ve},{16:39,17:40,19:138,60:_,86:y,100:T,102:D,103:B},s(p,[2,81],{13:[1,139]}),s(p,[2,83],{13:[1,141],77:[1,140]}),s(p,[2,87],{13:[1,142],80:[1,143]}),{13:[1,144]},s(p,[2,95],{61:Je}),s(Xe,[2,97],{85:146,22:ie,48:ae,60:ne,82:re,86:ue,87:le,88:oe,89:ce,90:he}),s(P,[2,99]),s(P,[2,101]),s(P,[2,102]),s(P,[2,103]),s(P,[2,104]),s(P,[2,105]),s(P,[2,106]),s(P,[2,107]),s(P,[2,108]),s(P,[2,109]),s(p,[2,96]),s(p,[2,61]),s(p,[2,63],{61:Je}),{60:[1,147]},s(X,[2,14]),{15:148,16:84,17:85,60:_,86:y,100:T,102:D,103:B},{39:[2,12]},s(Re,[2,46]),{13:[1,149]},{1:[2,4]},s(ge,[2,59]),s(ge,[2,58]),{16:39,17:40,19:150,60:_,86:y,100:T,102:D,103:B},s(me,[2,70]),s(p,[2,34]),{41:[1,151]},{24:96,40:152,41:[2,38],43:23,46:r},{45:153,51:Ve},s(te,[2,42]),{41:[2,52]},s(p,[2,50]),s(p,[2,82]),s(p,[2,84]),s(p,[2,85],{77:[1,154]}),s(p,[2,88]),s(p,[2,89],{13:[1,155]}),s(p,[2,91],{13:[1,157],77:[1,156]}),{22:ie,48:ae,60:ne,82:re,84:158,85:108,86:ue,87:le,88:oe,89:ce,90:he},s(P,[2,100]),s(Qe,[2,65]),{39:[2,11]},{14:[1,159]},s(ge,[2,60]),s(p,[2,35]),{41:[2,39]},{41:[1,160]},s(p,[2,86]),s(p,[2,90]),s(p,[2,92]),s(p,[2,93],{77:[1,161]}),s(Xe,[2,98],{85:146,22:ie,48:ae,60:ne,82:re,86:ue,87:le,88:oe,89:ce,90:he}),s(Re,[2,8]),s(te,[2,44]),s(p,[2,94])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,36],85:[2,10],124:[2,12],127:[2,4],137:[2,52],148:[2,11],152:[2,39]},parseError:(0,h.eW)(function(c,d){if(d.recoverable)this.trace(c);else{var A=new Error(c);throw A.hash=d,A}},"parseError"),parse:(0,h.eW)(function(c){var d=this,A=[0],n=[],E=[null],e=[],de=this.table,t="",ye=0,Ze=0,qe=0,ht=2,$e=1,dt=e.slice.call(arguments,1),F=Object.create(this.lexer),j={yy:{}};for(var Ue in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ue)&&(j.yy[Ue]=this.yy[Ue]);F.setInput(c,j.yy),j.yy.lexer=F,j.yy.parser=this,typeof F.yylloc=="undefined"&&(F.yylloc={});var Ge=F.yylloc;e.push(Ge);var pt=F.options&&F.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function At(O){A.length=A.length-2*O,E.length=E.length-O,e.length=e.length-O}(0,h.eW)(At,"popStack");function et(){var O;return O=n.pop()||F.lex()||$e,typeof O!="number"&&(O instanceof Array&&(n=O,O=n.pop()),O=d.symbols_[O]||O),O}(0,h.eW)(et,"lex");for(var L,Ye,z,I,bt,Ke,Z={},Te,W,tt,De;;){if(z=A[A.length-1],this.defaultActions[z]?I=this.defaultActions[z]:((L===null||typeof L=="undefined")&&(L=et()),I=de[z]&&de[z][L]),typeof I=="undefined"||!I.length||!I[0]){var je="";De=[];for(Te in de[z])this.terminals_[Te]&&Te>ht&&De.push("'"+this.terminals_[Te]+"'");F.showPosition?je="Parse error on line "+(ye+1)+`:
|
|
2
|
+
`+F.showPosition()+`
|
|
3
|
+
Expecting `+De.join(", ")+", got '"+(this.terminals_[L]||L)+"'":je="Parse error on line "+(ye+1)+": Unexpected "+(L==$e?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(je,{text:F.match,token:this.terminals_[L]||L,line:F.yylineno,loc:Ge,expected:De})}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+L);switch(I[0]){case 1:A.push(L),E.push(F.yytext),e.push(F.yylloc),A.push(I[1]),L=null,Ye?(L=Ye,Ye=null):(Ze=F.yyleng,t=F.yytext,ye=F.yylineno,Ge=F.yylloc,qe>0&&qe--);break;case 2:if(W=this.productions_[I[1]][1],Z.$=E[E.length-W],Z._$={first_line:e[e.length-(W||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(W||1)].first_column,last_column:e[e.length-1].last_column},pt&&(Z._$.range=[e[e.length-(W||1)].range[0],e[e.length-1].range[1]]),Ke=this.performAction.apply(Z,[t,Ze,ye,j.yy,I[1],E,e].concat(dt)),typeof Ke!="undefined")return Ke;W&&(A=A.slice(0,-1*W*2),E=E.slice(0,-1*W),e=e.slice(0,-1*W)),A.push(this.productions_[I[1]][0]),E.push(Z.$),e.push(Z._$),tt=de[A[A.length-2]][A[A.length-1]],A.push(tt);break;case 3:return!0}}return!0},"parse")},ct=function(){var U={EOF:1,parseError:(0,h.eW)(function(d,A){if(this.yy.parser)this.yy.parser.parseError(d,A);else throw new Error(d)},"parseError"),setInput:(0,h.eW)(function(c,d){return this.yy=d||this.yy||{},this._input=c,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,h.eW)(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var d=c.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:(0,h.eW)(function(c){var d=c.length,A=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var n=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),A.length-1&&(this.yylineno-=A.length-1);var E=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:A?(A.length===n.length?this.yylloc.first_column:0)+n[n.length-A.length].length-A[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:(0,h.eW)(function(){return this._more=!0,this},"more"),reject:(0,h.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,h.eW)(function(c){this.unput(this.match.slice(c))},"less"),pastInput:(0,h.eW)(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,h.eW)(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,h.eW)(function(){var c=this.pastInput(),d=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
|
|
5
|
+
`+d+"^"},"showPosition"),test_match:(0,h.eW)(function(c,d){var A,n,E;if(this.options.backtrack_lexer&&(E={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&&(E.yylloc.range=this.yylloc.range.slice(0))),n=c[0].match(/(?:\r\n?|\n).*/g),n&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,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(c[0].length),this.matched+=c[0],A=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),A)return A;if(this._backtrack){for(var e in E)this[e]=E[e];return!1}return!1},"test_match"),next:(0,h.eW)(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var c,d,A,n;this._more||(this.yytext="",this.match="");for(var E=this._currentRules(),e=0;e<E.length;e++)if(A=this._input.match(this.rules[E[e]]),A&&(!d||A[0].length>d[0].length)){if(d=A,n=e,this.options.backtrack_lexer){if(c=this.test_match(A,E[e]),c!==!1)return c;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(c=this.test_match(d,E[n]),c!==!1?c:!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,h.eW)(function(){var d=this.next();return d||this.lex()},"lex"),begin:(0,h.eW)(function(d){this.conditionStack.push(d)},"begin"),popState:(0,h.eW)(function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,h.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,h.eW)(function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},"topState"),pushState:(0,h.eW)(function(d){this.begin(d)},"pushState"),stateStackSize:(0,h.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,h.eW)(function(d,A,n,E){var e=E;switch(n){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:break;case 5:break;case 6:return this.begin("acc_title"),33;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),35;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 79;case 22:this.popState();break;case 23:return 80;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 82;case 28:return 57;case 29:return this.begin("namespace"),42;break;case 30:return this.popState(),8;break;case 31:break;case 32:return this.begin("namespace-body"),39;break;case 33:return this.popState(),41;break;case 34:return"EOF_IN_STRUCT";case 35:return 8;case 36:break;case 37:return"EDGE_STATE";case 38:return this.begin("class"),46;break;case 39:return this.popState(),8;break;case 40:break;case 41:return this.popState(),this.popState(),41;break;case 42:return this.begin("class-body"),39;break;case 43:return this.popState(),41;break;case 44:return"EOF_IN_STRUCT";case 45:return"EDGE_STATE";case 46:return"OPEN_IN_STRUCT";case 47:break;case 48:return"MEMBER";case 49:return 83;case 50:return 75;case 51:return 76;case 52:return 78;case 53:return 54;case 54:return 56;case 55:return 49;case 56:return 50;case 57:return 81;case 58:this.popState();break;case 59:return"GENERICTYPE";case 60:this.begin("generic");break;case 61:this.popState();break;case 62:return"BQUOTE_STR";case 63:this.begin("bqstring");break;case 64:return 77;case 65:return 77;case 66:return 77;case 67:return 77;case 68:return 69;case 69:return 69;case 70:return 71;case 71:return 71;case 72:return 70;case 73:return 68;case 74:return 72;case 75:return 73;case 76:return 74;case 77:return 22;case 78:return 44;case 79:return 100;case 80:return 18;case 81:return"PLUS";case 82:return 87;case 83:return 61;case 84:return 89;case 85:return 89;case 86:return 90;case 87:return"EQUALS";case 88:return"EQUALS";case 89:return 60;case 90:return 12;case 91:return 14;case 92:return"PUNCTUATION";case 93:return 86;case 94:return 102;case 95:return 48;case 96:return 48;case 97:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,33,34,35,36,37,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},namespace:{rules:[26,29,30,31,32,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},"class-body":{rules:[26,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},class:{rules:[26,39,40,41,42,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr:{rules:[9,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_title:{rules:[7,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_args:{rules:[22,23,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_name:{rules:[19,20,21,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},href:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},struct:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},generic:{rules:[26,49,50,51,52,53,54,55,56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},bqstring:{rules:[26,49,50,51,52,53,54,55,56,57,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},string:{rules:[24,25,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}};return U}();We.lexer=ct;function _e(){this.yy={}}return(0,h.eW)(_e,"Parser"),_e.prototype=We,We.Parser=_e,new _e}();w.parser=w;var Y=w,$=["#","+","~","-",""],pe=(Q=class{constructor(i,a){this.memberType=a,this.visibility="",this.classifier="",this.text="";const u=(0,o.oO)(i,(0,o.nV)());this.parseMember(u)}getDisplayDetails(){let i=this.visibility+(0,o.UO)(this.id);this.memberType==="method"&&(i+=`(${(0,o.UO)(this.parameters.trim())})`,this.returnType&&(i+=" : "+(0,o.UO)(this.returnType))),i=i.trim();const a=this.parseClassifier();return{displayText:i,cssStyle:a}}parseMember(i){let a="";if(this.memberType==="method"){const r=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(i);if(r){const f=r[1]?r[1].trim():"";if($.includes(f)&&(this.visibility=f),this.id=r[2],this.parameters=r[3]?r[3].trim():"",a=r[4]?r[4].trim():"",this.returnType=r[5]?r[5].trim():"",a===""){const k=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(k)&&(a=k,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const l=i.length,r=i.substring(0,1),f=i.substring(l-1);$.includes(r)&&(this.visibility=r),/[$*]/.exec(f)&&(a=f),this.id=i.substring(this.visibility===""?0:1,a===""?l:l-1)}this.classifier=a,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();const u=`${this.visibility?"\\"+this.visibility:""}${(0,o.UO)(this.id)}${this.memberType==="method"?`(${(0,o.UO)(this.parameters)})${this.returnType?" : "+(0,o.UO)(this.returnType):""}`:""}`;this.text=u.replaceAll("<","<").replaceAll(">",">"),this.text.startsWith("\\<")&&(this.text=this.text.replace("\\<","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},(0,h.eW)(Q,"ClassMember"),Q),H="classId-",ee=0,K=(0,h.eW)(s=>o.SY.sanitizeText(s,(0,o.nV)()),"sanitizeText"),it=(J=class{constructor(){this.relations=[],this.classes=new Map,this.styleClasses=new Map,this.notes=[],this.interfaces=[],this.namespaces=new Map,this.namespaceCounter=0,this.functions=[],this.lineType={LINE:0,DOTTED_LINE:1},this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},this.setupToolTips=(0,h.eW)(i=>{let a=(0,v.Ys)(".mermaidTooltip");(a._groups||a)[0][0]===null&&(a=(0,v.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,v.Ys)(i).select("svg").selectAll("g.node").on("mouseover",r=>{const f=(0,v.Ys)(r.currentTarget);if(f.attr("title")===null)return;const g=this.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.text(f.attr("title")).style("left",window.scrollX+g.left+(g.right-g.left)/2+"px").style("top",window.scrollY+g.top-14+document.body.scrollTop+"px"),a.html(a.html().replace(/<br\/>/g,"<br/>")),f.classed("hover",!0)}).on("mouseout",r=>{a.transition().duration(500).style("opacity",0),(0,v.Ys)(r.currentTarget).classed("hover",!1)})},"setupToolTips"),this.direction="TB",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,h.eW)(()=>(0,o.nV)().class,"getConfig"),this.functions.push(this.setupToolTips.bind(this)),this.clear(),this.addRelation=this.addRelation.bind(this),this.addClassesToNamespace=this.addClassesToNamespace.bind(this),this.addNamespace=this.addNamespace.bind(this),this.setCssClass=this.setCssClass.bind(this),this.addMembers=this.addMembers.bind(this),this.addClass=this.addClass.bind(this),this.setClassLabel=this.setClassLabel.bind(this),this.addAnnotation=this.addAnnotation.bind(this),this.addMember=this.addMember.bind(this),this.cleanupLabel=this.cleanupLabel.bind(this),this.addNote=this.addNote.bind(this),this.defineClass=this.defineClass.bind(this),this.setDirection=this.setDirection.bind(this),this.setLink=this.setLink.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.clear=this.clear.bind(this),this.setTooltip=this.setTooltip.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setCssStyle=this.setCssStyle.bind(this)}splitClassNameAndType(i){const a=o.SY.sanitizeText(i,(0,o.nV)());let u="",l=a;if(a.indexOf("~")>0){const r=a.split("~");l=K(r[0]),u=K(r[1])}return{className:l,type:u}}setClassLabel(i,a){const u=o.SY.sanitizeText(i,(0,o.nV)());a&&(a=K(a));const{className:l}=this.splitClassNameAndType(u);this.classes.get(l).label=a,this.classes.get(l).text=`${a}${this.classes.get(l).type?`<${this.classes.get(l).type}>`:""}`}addClass(i){const a=o.SY.sanitizeText(i,(0,o.nV)()),{className:u,type:l}=this.splitClassNameAndType(a);if(this.classes.has(u))return;const r=o.SY.sanitizeText(u,(0,o.nV)());this.classes.set(r,{id:r,type:l,label:r,text:`${r}${l?`<${l}>`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:H+r+"-"+ee}),ee++}addInterface(i,a){const u={id:`interface${this.interfaces.length}`,label:i,classId:a};this.interfaces.push(u)}lookUpDomId(i){const a=o.SY.sanitizeText(i,(0,o.nV)());if(this.classes.has(a))return this.classes.get(a).domId;throw new Error("Class not found: "+a)}clear(){this.relations=[],this.classes=new Map,this.notes=[],this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.direction="TB",(0,o.ZH)()}getClass(i){return this.classes.get(i)}getClasses(){return this.classes}getRelations(){return this.relations}getNotes(){return this.notes}addRelation(i){h.cM.debug("Adding relation: "+JSON.stringify(i));const a=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];i.relation.type1===this.relationType.LOLLIPOP&&!a.includes(i.relation.type2)?(this.addClass(i.id2),this.addInterface(i.id1,i.id2),i.id1=`interface${this.interfaces.length-1}`):i.relation.type2===this.relationType.LOLLIPOP&&!a.includes(i.relation.type1)?(this.addClass(i.id1),this.addInterface(i.id2,i.id1),i.id2=`interface${this.interfaces.length-1}`):(this.addClass(i.id1),this.addClass(i.id2)),i.id1=this.splitClassNameAndType(i.id1).className,i.id2=this.splitClassNameAndType(i.id2).className,i.relationTitle1=o.SY.sanitizeText(i.relationTitle1.trim(),(0,o.nV)()),i.relationTitle2=o.SY.sanitizeText(i.relationTitle2.trim(),(0,o.nV)()),this.relations.push(i)}addAnnotation(i,a){const u=this.splitClassNameAndType(i).className;this.classes.get(u).annotations.push(a)}addMember(i,a){this.addClass(i);const u=this.splitClassNameAndType(i).className,l=this.classes.get(u);if(typeof a=="string"){const r=a.trim();r.startsWith("<<")&&r.endsWith(">>")?l.annotations.push(K(r.substring(2,r.length-2))):r.indexOf(")")>0?l.methods.push(new pe(r,"method")):r&&l.members.push(new pe(r,"attribute"))}}addMembers(i,a){Array.isArray(a)&&(a.reverse(),a.forEach(u=>this.addMember(i,u)))}addNote(i,a){const u={id:`note${this.notes.length}`,class:a,text:i};this.notes.push(u)}cleanupLabel(i){return i.startsWith(":")&&(i=i.substring(1)),K(i.trim())}setCssClass(i,a){i.split(",").forEach(u=>{let l=u;/\d/.exec(u[0])&&(l=H+l);const r=this.classes.get(l);r&&(r.cssClasses+=" "+a)})}defineClass(i,a){for(const u of i){let l=this.styleClasses.get(u);l===void 0&&(l={id:u,styles:[],textStyles:[]},this.styleClasses.set(u,l)),a&&a.forEach(r=>{if(/color/.exec(r)){const f=r.replace("fill","bgFill");l.textStyles.push(f)}l.styles.push(r)}),this.classes.forEach(r=>{r.cssClasses.includes(u)&&r.styles.push(...a.flatMap(f=>f.split(",")))})}}setTooltip(i,a){i.split(",").forEach(u=>{a!==void 0&&(this.classes.get(u).tooltip=K(a))})}getTooltip(i,a){return a&&this.namespaces.has(a)?this.namespaces.get(a).classes.get(i).tooltip:this.classes.get(i).tooltip}setLink(i,a,u){const l=(0,o.nV)();i.split(",").forEach(r=>{let f=r;/\d/.exec(r[0])&&(f=H+f);const k=this.classes.get(f);k&&(k.link=x.w8.formatUrl(a,l),l.securityLevel==="sandbox"?k.linkTarget="_top":typeof u=="string"?k.linkTarget=K(u):k.linkTarget="_blank")}),this.setCssClass(i,"clickable")}setClickEvent(i,a,u){i.split(",").forEach(l=>{this.setClickFunc(l,a,u),this.classes.get(l).haveCallback=!0}),this.setCssClass(i,"clickable")}setClickFunc(i,a,u){const l=o.SY.sanitizeText(i,(0,o.nV)());if((0,o.nV)().securityLevel!=="loose"||a===void 0)return;const f=l;if(this.classes.has(f)){const k=this.lookUpDomId(f);let g=[];if(typeof u=="string"){g=u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let b=0;b<g.length;b++){let C=g[b].trim();C.startsWith('"')&&C.endsWith('"')&&(C=C.substr(1,C.length-2)),g[b]=C}}g.length===0&&g.push(k),this.functions.push(()=>{const b=document.querySelector(`[id="${k}"]`);b!==null&&b.addEventListener("click",()=>{x.w8.runFunc(a,...g)},!1)})}}bindFunctions(i){this.functions.forEach(a=>{a(i)})}getDirection(){return this.direction}setDirection(i){this.direction=i}addNamespace(i){this.namespaces.has(i)||(this.namespaces.set(i,{id:i,classes:new Map,children:{},domId:H+i+"-"+this.namespaceCounter}),this.namespaceCounter++)}getNamespace(i){return this.namespaces.get(i)}getNamespaces(){return this.namespaces}addClassesToNamespace(i,a){if(this.namespaces.has(i))for(const u of a){const{className:l}=this.splitClassNameAndType(u);this.classes.get(l).parent=i,this.namespaces.get(i).classes.set(l,this.classes.get(l))}}setCssStyle(i,a){const u=this.classes.get(i);if(!(!a||!u))for(const l of a)l.includes(",")?u.styles.push(...l.split(",")):u.styles.push(l)}getArrowMarker(i){let a;switch(i){case 0:a="aggregation";break;case 1:a="extension";break;case 2:a="composition";break;case 3:a="dependency";break;case 4:a="lollipop";break;default:a="none"}return a}getData(){var r,f,k,g;const i=[],a=[],u=(0,o.nV)();for(const b of this.namespaces.keys()){const C=this.namespaces.get(b);if(C){const N={id:C.id,label:C.id,isGroup:!0,padding:(r=u.class.padding)!=null?r:16,shape:"rect",cssStyles:["fill: none","stroke: black"],look:u.look};i.push(N)}}for(const b of this.classes.keys()){const C=this.classes.get(b);if(C){const N=C;N.parentId=C.parent,N.look=u.look,i.push(N)}}let l=0;for(const b of this.notes){l++;const C={id:b.id,label:b.text,isGroup:!1,shape:"note",padding:(f=u.class.padding)!=null?f:6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${u.themeVariables.noteBkgColor}`,`stroke: ${u.themeVariables.noteBorderColor}`],look:u.look};i.push(C);const N=(g=(k=this.classes.get(b.class))==null?void 0:k.id)!=null?g:"";if(N){const _={id:`edgeNote${l}`,start:b.id,end:N,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:u.look};a.push(_)}}for(const b of this.interfaces){const C={id:b.id,label:b.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:u.look};i.push(C)}l=0;for(const b of this.relations){l++;const C={id:(0,x.Ln)(b.id1,b.id2,{prefix:"id",counter:l}),start:b.id1,end:b.id2,type:"normal",label:b.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(b.relation.type1),arrowTypeEnd:this.getArrowMarker(b.relation.type2),startLabelRight:b.relationTitle1==="none"?"":b.relationTitle1,endLabelLeft:b.relationTitle2==="none"?"":b.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:b.style||"",pattern:b.relation.lineType==1?"dashed":"solid",look:u.look};a.push(C)}return{nodes:i,edges:a,other:{},config:u,direction:this.getDirection()}}},(0,h.eW)(J,"ClassDB"),J),at=(0,h.eW)(s=>`g.classGroup text {
|
|
7
|
+
fill: ${s.nodeBorder||s.classText};
|
|
8
|
+
stroke: none;
|
|
9
|
+
font-family: ${s.fontFamily};
|
|
10
|
+
font-size: 10px;
|
|
11
|
+
|
|
12
|
+
.title {
|
|
13
|
+
font-weight: bolder;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.nodeLabel, .edgeLabel {
|
|
19
|
+
color: ${s.classText};
|
|
20
|
+
}
|
|
21
|
+
.edgeLabel .label rect {
|
|
22
|
+
fill: ${s.mainBkg};
|
|
23
|
+
}
|
|
24
|
+
.label text {
|
|
25
|
+
fill: ${s.classText};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.labelBkg {
|
|
29
|
+
background: ${s.mainBkg};
|
|
30
|
+
}
|
|
31
|
+
.edgeLabel .label span {
|
|
32
|
+
background: ${s.mainBkg};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.classTitle {
|
|
36
|
+
font-weight: bolder;
|
|
37
|
+
}
|
|
38
|
+
.node rect,
|
|
39
|
+
.node circle,
|
|
40
|
+
.node ellipse,
|
|
41
|
+
.node polygon,
|
|
42
|
+
.node path {
|
|
43
|
+
fill: ${s.mainBkg};
|
|
44
|
+
stroke: ${s.nodeBorder};
|
|
45
|
+
stroke-width: 1px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
.divider {
|
|
50
|
+
stroke: ${s.nodeBorder};
|
|
51
|
+
stroke-width: 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
g.clickable {
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
g.classGroup rect {
|
|
59
|
+
fill: ${s.mainBkg};
|
|
60
|
+
stroke: ${s.nodeBorder};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
g.classGroup line {
|
|
64
|
+
stroke: ${s.nodeBorder};
|
|
65
|
+
stroke-width: 1;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.classLabel .box {
|
|
69
|
+
stroke: none;
|
|
70
|
+
stroke-width: 0;
|
|
71
|
+
fill: ${s.mainBkg};
|
|
72
|
+
opacity: 0.5;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.classLabel .label {
|
|
76
|
+
fill: ${s.nodeBorder};
|
|
77
|
+
font-size: 10px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.relation {
|
|
81
|
+
stroke: ${s.lineColor};
|
|
82
|
+
stroke-width: 1;
|
|
83
|
+
fill: none;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.dashed-line{
|
|
87
|
+
stroke-dasharray: 3;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.dotted-line{
|
|
91
|
+
stroke-dasharray: 1 2;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
#compositionStart, .composition {
|
|
95
|
+
fill: ${s.lineColor} !important;
|
|
96
|
+
stroke: ${s.lineColor} !important;
|
|
97
|
+
stroke-width: 1;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
#compositionEnd, .composition {
|
|
101
|
+
fill: ${s.lineColor} !important;
|
|
102
|
+
stroke: ${s.lineColor} !important;
|
|
103
|
+
stroke-width: 1;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
#dependencyStart, .dependency {
|
|
107
|
+
fill: ${s.lineColor} !important;
|
|
108
|
+
stroke: ${s.lineColor} !important;
|
|
109
|
+
stroke-width: 1;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
#dependencyStart, .dependency {
|
|
113
|
+
fill: ${s.lineColor} !important;
|
|
114
|
+
stroke: ${s.lineColor} !important;
|
|
115
|
+
stroke-width: 1;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
#extensionStart, .extension {
|
|
119
|
+
fill: transparent !important;
|
|
120
|
+
stroke: ${s.lineColor} !important;
|
|
121
|
+
stroke-width: 1;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
#extensionEnd, .extension {
|
|
125
|
+
fill: transparent !important;
|
|
126
|
+
stroke: ${s.lineColor} !important;
|
|
127
|
+
stroke-width: 1;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
#aggregationStart, .aggregation {
|
|
131
|
+
fill: transparent !important;
|
|
132
|
+
stroke: ${s.lineColor} !important;
|
|
133
|
+
stroke-width: 1;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
#aggregationEnd, .aggregation {
|
|
137
|
+
fill: transparent !important;
|
|
138
|
+
stroke: ${s.lineColor} !important;
|
|
139
|
+
stroke-width: 1;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
#lollipopStart, .lollipop {
|
|
143
|
+
fill: ${s.mainBkg} !important;
|
|
144
|
+
stroke: ${s.lineColor} !important;
|
|
145
|
+
stroke-width: 1;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
#lollipopEnd, .lollipop {
|
|
149
|
+
fill: ${s.mainBkg} !important;
|
|
150
|
+
stroke: ${s.lineColor} !important;
|
|
151
|
+
stroke-width: 1;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.edgeTerminals {
|
|
155
|
+
font-size: 11px;
|
|
156
|
+
line-height: initial;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.classTitleText {
|
|
160
|
+
text-anchor: middle;
|
|
161
|
+
font-size: 18px;
|
|
162
|
+
fill: ${s.textColor};
|
|
163
|
+
}
|
|
164
|
+
${(0,V.G)()}
|
|
165
|
+
`,"getStyles"),nt=at,rt=(0,h.eW)((s,i="TB")=>{if(!s.doc)return i;let a=i;for(const u of s.doc)u.stmt==="dir"&&(a=u.value);return a},"getDir"),ut=(0,h.eW)(function(s,i){return i.db.getClasses()},"getClasses"),lt=(0,h.eW)(function(s,i,a,u){return st(this,null,function*(){var C,N;h.cM.info("REF0:"),h.cM.info("Drawing class diagram (v3)",i);const{securityLevel:l,state:r,layout:f}=(0,o.nV)(),k=u.db.getData(),g=(0,S.q)(i,l);k.type=u.type,k.layoutAlgorithm=(0,R._b)(f),k.nodeSpacing=(r==null?void 0:r.nodeSpacing)||50,k.rankSpacing=(r==null?void 0:r.rankSpacing)||50,k.markers=["aggregation","extension","composition","dependency","lollipop"],k.diagramId=i,yield(0,R.sY)(k,g);const b=8;x.w8.insertTitle(g,"classDiagramTitleText",(C=r==null?void 0:r.titleTopMargin)!=null?C:25,u.db.getDiagramTitle()),(0,G.j)(g,b,"classDiagram",(N=r==null?void 0:r.useMaxWidth)!=null?N:!0)})},"draw"),ot={getClasses:ut,draw:lt,getDir:rt}},61392:function(q,M,m){m.d(M,{G:function(){return S}});var V=m(35096),S=(0,V.eW)(()=>`
|
|
166
|
+
/* Font Awesome icon styling - consolidated */
|
|
167
|
+
.label-icon {
|
|
168
|
+
display: inline-block;
|
|
169
|
+
height: 1em;
|
|
170
|
+
overflow: visible;
|
|
171
|
+
vertical-align: -0.125em;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.node .label-icon path {
|
|
175
|
+
fill: currentColor;
|
|
176
|
+
stroke: revert;
|
|
177
|
+
stroke-width: revert;
|
|
178
|
+
}
|
|
179
|
+
`,"getIconStyles")},43663:function(q,M,m){m.d(M,{j:function(){return G}});var V=m(99970),S=m(35096),G=(0,S.eW)((o,h,v,w)=>{o.attr("class",v);const{width:Y,height:$,x:pe,y:H}=R(o,h);(0,V.v2)(o,$,Y,w);const ee=x(pe,H,Y,$,h);o.attr("viewBox",ee),S.cM.debug(`viewBox configured: ${ee} with padding: ${h}`)},"setupViewPortForSVG"),R=(0,S.eW)((o,h)=>{var w;const v=((w=o.node())==null?void 0:w.getBBox())||{width:0,height:0,x:0,y:0};return{width:v.width+h*2,height:v.height+h*2,x:v.x,y:v.y}},"calculateDimensionsWithPadding"),x=(0,S.eW)((o,h,v,w,Y)=>`${o-Y} ${h-Y} ${v} ${w}`,"createViewBox")}}]);
|
|
180
|
+
}());
|