chore: update CountBot domain references

This commit is contained in:
w
2026-08-11 16:26:28 +08:00
parent 723167d3c5
commit f2d9e44245
65 changed files with 222 additions and 218 deletions
+20 -20
View File
@@ -48,22 +48,22 @@ CountBot was born from natural language. Its vision is not to require more peopl
- Added API Key rotation with automatic failover and multi-key support
- Improved send_media tool compatibility for web mode, supports image preview and file download in Web UI
- Optimized model preset interface and updated build artifacts
- Release notes: [https://654321.ai/docs/releases/v0.9.0](https://654321.ai/docs/releases/v0.9.0)
- Release notes: [https://countbot.cn/docs/releases/v0.9.0](https://countbot.cn/docs/releases/v0.9.0)
- **v0.8.3**
- Improved model preset interface and updated build artifacts
- Release notes: [https://654321.ai/docs/releases/v0.8.3](https://654321.ai/docs/releases/v0.8.3)
- Release notes: [https://countbot.cn/docs/releases/v0.8.3](https://countbot.cn/docs/releases/v0.8.3)
- **v0.8.2**
- Added API Key rotation and failover capability with automatic key switching on 401/429 errors
- Improved send_media tool web-mode compatibility
- Release notes: [https://654321.ai/docs/releases/v0.8.2](https://654321.ai/docs/releases/v0.8.2)
- Release notes: [https://countbot.cn/docs/releases/v0.8.2](https://countbot.cn/docs/releases/v0.8.2)
- **v0.8.1**
- Fixed DeepSeek multi-turn reasoning_content loss issue
- Added knowledge base module with BM25 search
- Updated documentation and build artifacts
- Release notes: [https://654321.ai/docs/releases/v0.8.1](https://654321.ai/docs/releases/v0.8.1)
- Release notes: [https://countbot.cn/docs/releases/v0.8.1](https://countbot.cn/docs/releases/v0.8.1)
- **v0.8.0**
- Addressed multiple issues and user-reported problems, fixing a batch of known bugs in high-frequency usage scenarios
@@ -74,7 +74,7 @@ CountBot was born from natural language. Its vision is not to require more peopl
- Optimized heartbeat and scheduled execution logic to avoid counting messages before successful delivery and to support schedule refresh after config changes
- Improved reasoning switches and runtime config resolution with provider-specific thinking field mapping and persona merge rules
- Unified bind host and port environment variables and added documentation for `COUNTBOT_HOST` / `COUNTBOT_PORT`
- Release notes: [https://654321.ai/docs/releases/v0.8.0](https://654321.ai/docs/releases/v0.8.0)
- Release notes: [https://countbot.cn/docs/releases/v0.8.0](https://countbot.cn/docs/releases/v0.8.0)
- **v0.7.0**
- Addressed multiple issue reports, fixed a batch of known bugs, and improved overall stability
@@ -84,7 +84,7 @@ CountBot was born from natural language. Its vision is not to require more peopl
- Added a model thinking control switch so you can adjust reasoning intensity by scenario and get faster perceived responses
- Added `find-skills` with full Tencent Cloud SkillsHub integration, enabling conversational search, install, enable, disable, and delete for skills
- Added `ima-knowledge-base` and `ima-notes` with full IMA knowledge-base and note capabilities, including search, upload, web import, reading, creation, and append
- Release notes: [https://654321.ai/docs/releases/v0.7.0](https://654321.ai/docs/releases/v0.7.0)
- Release notes: [https://countbot.cn/docs/releases/v0.7.0](https://countbot.cn/docs/releases/v0.7.0)
- **v0.6.0**
- Added WeChat ClawBot integration with support for binding multiple accounts
@@ -92,25 +92,25 @@ CountBot was born from natural language. Its vision is not to require more peopl
- Added the secure first-time remote initialization entry `/setup/<random>`
- Added `REMOTE_SETUP_SECRET_TTL_MINUTES` so the validity period of the remote setup entry can be controlled
- Strengthened remote authentication boundaries, covering `/api/*` and `/ws/chat`
- Release notes: [https://654321.ai/docs/releases/v0.6.0](https://654321.ai/docs/releases/v0.6.0)
- Release notes: [https://countbot.cn/docs/releases/v0.6.0](https://countbot.cn/docs/releases/v0.6.0)
- **v0.5.0**
- Agent Teams became a first-class capability, supporting multi-role collaboration, context handoff, and team-level orchestration
- The configuration system evolved from session-level configuration to role-level, team-level, and multi-bot coordination
- The channel system was further strengthened to support more enterprise and social entry points
- Frontend panels for chat, configuration, skills, teams, and tools were upgraded as a whole
- Release notes: [https://654321.ai/docs/releases/v0.5.0](https://654321.ai/docs/releases/v0.5.0)
- Release notes: [https://countbot.cn/docs/releases/v0.5.0](https://countbot.cn/docs/releases/v0.5.0)
- **v0.4.0**
- Introduced session-level configuration so different sessions can use different models and prompts
- Expanded channel support for Lark, WeCom, Weibo, Xiaozhi AI, and more
- Improved multi-agent collaboration and added usage entry points such as `/help`
- Release notes: [https://654321.ai/docs/releases/v0.4.0](https://654321.ai/docs/releases/v0.4.0)
- Release notes: [https://countbot.cn/docs/releases/v0.4.0](https://countbot.cn/docs/releases/v0.4.0)
- **v0.3.0**
- Multi-agent collaboration modes (`pipeline` / `graph` / `council`) were first systematized
- Scheduled tasks, skill configuration, and workspace management were significantly enhanced
- Release notes: [https://654321.ai/docs/releases/v0.3.0](https://654321.ai/docs/releases/v0.3.0)
- Release notes: [https://countbot.cn/docs/releases/v0.3.0](https://countbot.cn/docs/releases/v0.3.0)
- **v0.2.0 · 2026-02-26**
- Focused on bug fixes, interaction improvements, and cleanup of the build workflow
@@ -217,15 +217,15 @@ git clone https://gitee.com/countbot-ai/CountBot.git
| Document | Description | Link |
|------|------|------|
| Quick Start | Installation, configuration, and startup | [https://654321.ai/docs/getting-started/quick-start-guide](https://654321.ai/docs/getting-started/quick-start-guide) |
| Configuration Manual | Full configuration reference | [https://654321.ai/docs/getting-started/configuration-manual](https://654321.ai/docs/getting-started/configuration-manual) |
| Deployment and Operations | Startup, deployment, and troubleshooting | [https://654321.ai/docs/advanced/deployment](https://654321.ai/docs/advanced/deployment) |
| Remote Access Guide | Remote initialization, authentication, and troubleshooting | [https://654321.ai/docs/advanced/remote-access](https://654321.ai/docs/advanced/remote-access) |
| Authentication | Password setup and access boundaries | [https://654321.ai/docs/advanced/auth](https://654321.ai/docs/advanced/auth) |
| API Reference | REST API and WebSocket | [https://654321.ai/docs/api-reference](https://654321.ai/docs/api-reference) |
| Release Notes | Version history and release changes | [https://654321.ai/docs/releases/v0.8.0](https://654321.ai/docs/releases/v0.8.0) |
| Quick Start | Installation, configuration, and startup | [https://countbot.cn/docs/getting-started/quick-start-guide](https://countbot.cn/docs/getting-started/quick-start-guide) |
| Configuration Manual | Full configuration reference | [https://countbot.cn/docs/getting-started/configuration-manual](https://countbot.cn/docs/getting-started/configuration-manual) |
| Deployment and Operations | Startup, deployment, and troubleshooting | [https://countbot.cn/docs/advanced/deployment](https://countbot.cn/docs/advanced/deployment) |
| Remote Access Guide | Remote initialization, authentication, and troubleshooting | [https://countbot.cn/docs/advanced/remote-access](https://countbot.cn/docs/advanced/remote-access) |
| Authentication | Password setup and access boundaries | [https://countbot.cn/docs/advanced/auth](https://countbot.cn/docs/advanced/auth) |
| API Reference | REST API and WebSocket | [https://countbot.cn/docs/api-reference](https://countbot.cn/docs/api-reference) |
| Release Notes | Version history and release changes | [https://countbot.cn/docs/releases/v0.8.0](https://countbot.cn/docs/releases/v0.8.0) |
For the full documentation site, see: [https://654321.ai/docs](https://654321.ai/docs)
For the full documentation site, see: [https://countbot.cn/docs](https://countbot.cn/docs)
---
@@ -270,9 +270,9 @@ Thanks to FastAPI, Vue.js, SQLAlchemy, Pydantic, LiteLLM, and other open-source
<div align="center">
<p>An AI agent runtime hub that connects models, channels, teams, and tools</p>
<p>
<a href="https://654321.ai">Official Website</a> ·
<a href="https://countbot.cn">Official Website</a> ·
<a href="https://github.com/countbot-ai/countbot">GitHub</a> ·
<a href="https://gitee.com/countbot-ai/CountBot">Gitee</a> ·
<a href="https://654321.ai/docs">Full Documentation</a>
<a href="https://countbot.cn/docs">Full Documentation</a>
</p>
</div>
+79 -79
View File
@@ -1,102 +1,102 @@
# 文档索引
根目录这个 `docs/` 只保留导航入口,完整文档请直接访问 `654321.ai`
根目录这个 `docs/` 只保留导航入口,完整文档请直接访问 `countbot.cn`
## 文档首页
- [文档首页](https://654321.ai/docs)
- [API 参考](https://654321.ai/docs/api-reference)
- [关于项目](https://654321.ai/docs/about)
- [文档首页](https://countbot.cn/docs)
- [API 参考](https://countbot.cn/docs/api-reference)
- [关于项目](https://countbot.cn/docs/about)
## 快速开始
- [安装与启动](https://654321.ai/docs/getting-started/installation)
- [配置系统](https://654321.ai/docs/getting-started/configuration)
- [频道配置](https://654321.ai/docs/getting-started/ChannelConfig)
- [快速开始](https://654321.ai/docs/getting-started/quick-start-guide)
- [配置手册](https://654321.ai/docs/getting-started/configuration-manual)
- [常见问题排查](https://654321.ai/docs/getting-started/troubleshooting)
- [快速参考](https://654321.ai/docs/getting-started/quick-reference)
- [使用场景](https://654321.ai/docs/getting-started/use-cases)
- [安装与启动](https://countbot.cn/docs/getting-started/installation)
- [配置系统](https://countbot.cn/docs/getting-started/configuration)
- [频道配置](https://countbot.cn/docs/getting-started/ChannelConfig)
- [快速开始](https://countbot.cn/docs/getting-started/quick-start-guide)
- [配置手册](https://countbot.cn/docs/getting-started/configuration-manual)
- [常见问题排查](https://countbot.cn/docs/getting-started/troubleshooting)
- [快速参考](https://countbot.cn/docs/getting-started/quick-reference)
- [使用场景](https://countbot.cn/docs/getting-started/use-cases)
## 核心能力
- [Agent Loop](https://654321.ai/docs/core/agent-loop)
- [智能体团队](https://654321.ai/docs/core/agent-teams)
- [团队管理器](https://654321.ai/docs/core/agent-team-manager)
- [模型提供商](https://654321.ai/docs/core/providers)
- [工具系统](https://654321.ai/docs/core/tools)
- [外部编程工具](https://654321.ai/docs/core/external-coding-tools)
- [记忆系统](https://654321.ai/docs/core/memory)
- [技能系统](https://654321.ai/docs/core/skills)
- [技能创建](https://654321.ai/docs/core/skills-creation)
- [IM 命令](https://654321.ai/docs/core/im-commands)
- [渠道系统](https://654321.ai/docs/core/channels)
- [定时任务](https://654321.ai/docs/core/cron)
- [子代理](https://654321.ai/docs/core/subagent)
- [Agent Loop](https://countbot.cn/docs/core/agent-loop)
- [智能体团队](https://countbot.cn/docs/core/agent-teams)
- [团队管理器](https://countbot.cn/docs/core/agent-team-manager)
- [模型提供商](https://countbot.cn/docs/core/providers)
- [工具系统](https://countbot.cn/docs/core/tools)
- [外部编程工具](https://countbot.cn/docs/core/external-coding-tools)
- [记忆系统](https://countbot.cn/docs/core/memory)
- [技能系统](https://countbot.cn/docs/core/skills)
- [技能创建](https://countbot.cn/docs/core/skills-creation)
- [IM 命令](https://countbot.cn/docs/core/im-commands)
- [渠道系统](https://countbot.cn/docs/core/channels)
- [定时任务](https://countbot.cn/docs/core/cron)
- [子代理](https://countbot.cn/docs/core/subagent)
## 实战场景
- [一句话清空收件箱AI邮件分拣的场景拆解与提示词技巧](https://654321.ai/docs/scenarios/一句话清空收件箱AI邮件分拣的场景拆解与提示词技巧)
- [每天早上一条消息搞定全天AI早报自动生成的场景与调度技巧](https://654321.ai/docs/scenarios/每天早上一条消息搞定全天AI早报自动生成的场景与调度技巧)
- [帮我做个网页然后上线:从需求描述到生产部署的完整话术](https://654321.ai/docs/scenarios/帮我做个网页然后上线:从需求描述到生产部署的完整话术)
- [帮我搜一下最近AI有什么新动态多源信息聚合的场景与检索技巧](https://654321.ai/docs/scenarios/帮我搜一下最近AI有什么新动态多源信息聚合的场景与检索技巧)
- [帮我规划一趟旅行:多技能联动的复合任务拆解与编排技巧](https://654321.ai/docs/scenarios/帮我规划一趟旅行:多技能联动的复合任务拆解与编排技巧)
- [帮我盯着这件事:定时监控与主动提醒的场景设计与自动化技巧](https://654321.ai/docs/scenarios/帮我盯着这件事:定时监控与主动提醒的场景设计与自动化技巧)
- [一句话清空收件箱AI邮件分拣的场景拆解与提示词技巧](https://countbot.cn/docs/scenarios/一句话清空收件箱AI邮件分拣的场景拆解与提示词技巧)
- [每天早上一条消息搞定全天AI早报自动生成的场景与调度技巧](https://countbot.cn/docs/scenarios/每天早上一条消息搞定全天AI早报自动生成的场景与调度技巧)
- [帮我做个网页然后上线:从需求描述到生产部署的完整话术](https://countbot.cn/docs/scenarios/帮我做个网页然后上线:从需求描述到生产部署的完整话术)
- [帮我搜一下最近AI有什么新动态多源信息聚合的场景与检索技巧](https://countbot.cn/docs/scenarios/帮我搜一下最近AI有什么新动态多源信息聚合的场景与检索技巧)
- [帮我规划一趟旅行:多技能联动的复合任务拆解与编排技巧](https://countbot.cn/docs/scenarios/帮我规划一趟旅行:多技能联动的复合任务拆解与编排技巧)
- [帮我盯着这件事:定时监控与主动提醒的场景设计与自动化技巧](https://countbot.cn/docs/scenarios/帮我盯着这件事:定时监控与主动提醒的场景设计与自动化技巧)
## 进阶文档
- [智能体系统设计指南](https://654321.ai/docs/advanced/agent-system-design-guide)
- [HTTP API 流程总览](https://654321.ai/docs/advanced/http-flows)
- [基础聊天 HTTP 流程](https://654321.ai/docs/advanced/http-flows/basic-chat-http-flow)
- [工具调用 HTTP 流程](https://654321.ai/docs/advanced/http-flows/tool-call-http-flow)
- [系统提示词构建流程](https://654321.ai/docs/advanced/http-flows/system-prompt-construction)
- [多轮对话流程](https://654321.ai/docs/advanced/http-flows/multi-turn-conversation)
- [SSE 流式响应格式](https://654321.ai/docs/advanced/http-flows/sse-streaming-format)
- [WebSocket 通知格式](https://654321.ai/docs/advanced/http-flows/websocket-notifications)
- [HTTP API 深度解析](https://654321.ai/docs/advanced/http-api-deep-dive)
- [WebSocket 实时通信](https://654321.ai/docs/advanced/websocket)
- [部署与运维](https://654321.ai/docs/advanced/deployment)
- [远程访问](https://654321.ai/docs/advanced/remote-access)
- [安全体系](https://654321.ai/docs/advanced/security)
- [认证配置](https://654321.ai/docs/advanced/auth)
- [提示词优化指南](https://654321.ai/docs/advanced/prompt-optimization-guide)
- [专业提示词工程](https://654321.ai/docs/advanced/professional-prompt-engineering)
- [智能体系统设计指南](https://countbot.cn/docs/advanced/agent-system-design-guide)
- [HTTP API 流程总览](https://countbot.cn/docs/advanced/http-flows)
- [基础聊天 HTTP 流程](https://countbot.cn/docs/advanced/http-flows/basic-chat-http-flow)
- [工具调用 HTTP 流程](https://countbot.cn/docs/advanced/http-flows/tool-call-http-flow)
- [系统提示词构建流程](https://countbot.cn/docs/advanced/http-flows/system-prompt-construction)
- [多轮对话流程](https://countbot.cn/docs/advanced/http-flows/multi-turn-conversation)
- [SSE 流式响应格式](https://countbot.cn/docs/advanced/http-flows/sse-streaming-format)
- [WebSocket 通知格式](https://countbot.cn/docs/advanced/http-flows/websocket-notifications)
- [HTTP API 深度解析](https://countbot.cn/docs/advanced/http-api-deep-dive)
- [WebSocket 实时通信](https://countbot.cn/docs/advanced/websocket)
- [部署与运维](https://countbot.cn/docs/advanced/deployment)
- [远程访问](https://countbot.cn/docs/advanced/remote-access)
- [安全体系](https://countbot.cn/docs/advanced/security)
- [认证配置](https://countbot.cn/docs/advanced/auth)
- [提示词优化指南](https://countbot.cn/docs/advanced/prompt-optimization-guide)
- [专业提示词工程](https://countbot.cn/docs/advanced/professional-prompt-engineering)
## 技术文章
- [系统架构全景countbot多层模块化设计解析](https://654321.ai/docs/articles/系统架构全景countbot多层模块化设计解析)
- [Agent Loop深度剖析ReAct循环的工程实现](https://654321.ai/docs/articles/Agent%20Loop深度剖析ReAct循环的工程实现)
- [多LLM提供商统一接入Provider模式与兼容接口实践](https://654321.ai/docs/articles/多LLM提供商统一接入Provider模式与兼容接口实践)
- [工具系统设计从抽象基类到JSON Schema的完整实现](https://654321.ai/docs/articles/工具系统设计从抽象基类到JSON%20Schema的完整实现)
- [多渠道消息接入:统一抽象与消息路由机制](https://654321.ai/docs/articles/多渠道消息接入:统一抽象与消息路由机制)
- [WebSocket实时通信流式响应与工具调用通知](https://654321.ai/docs/articles/WebSocket实时通信流式响应与工具调用通知)
- [记忆系统:基于文件的行式记忆存储与自动总结](https://654321.ai/docs/articles/记忆系统:基于文件的行式记忆存储与自动总结)
- [技能插件系统热插拔的Skills扩展机制](https://654321.ai/docs/articles/技能插件系统热插拔的Skills扩展机制)
- [上下文工程:系统提示词构建与对话历史管理](https://654321.ai/docs/articles/上下文工程:系统提示词构建与对话历史管理)
- [安全体系从API密钥加密到Shell命令沙箱](https://654321.ai/docs/articles/安全体系从API密钥加密到Shell命令沙箱)
- [定时任务系统Cron调度器的精确按需唤醒设计](https://654321.ai/docs/articles/定时任务系统Cron调度器的精确按需唤醒设计)
- [子代理系统:后台异步任务的创建与管理](https://654321.ai/docs/articles/子代理系统:后台异步任务的创建与管理)
- [Heartbeat主动问候让AI助手具备情感温度](https://654321.ai/docs/articles/Heartbeat主动问候让AI助手具备情感温度)
- [配置管理:数据库驱动的动态配置系统](https://654321.ai/docs/articles/配置管理:数据库驱动的动态配置系统)
- [前端架构Vue3+TypeScript+Pinia的现代化实践](https://654321.ai/docs/articles/前端架构Vue3+TypeScript+Pinia的现代化实践)
- [会话管理:多轮对话的持久化与生命周期](https://654321.ai/docs/articles/会话管理:多轮对话的持久化与生命周期)
- [企业级消息队列:优先级调度与死信处理](https://654321.ai/docs/articles/企业级消息队列:优先级调度与死信处理)
- [Web搜索与网页抓取AI Agent的互联网触角](https://654321.ai/docs/articles/Web搜索与网页抓取AI%20Agent的互联网触角)
- [令牌桶限流算法保护AI服务的流量控制实践](https://654321.ai/docs/articles/令牌桶限流算法保护AI服务的流量控制实践)
- [从桌面到生产CountBot的部署架构与运维实践](https://654321.ai/docs/articles/从桌面到生产CountBot的部署架构与运维实践)
- [深度解析AgentLoop状态机从流式chunk到多轮工具编排的完整生命周期](https://654321.ai/docs/articles/深度解析AgentLoop状态机从流式chunk到多轮工具编排的完整生命周期)
- [Shell命令沙箱的攻防博弈路径穿越检测与编码陷阱](https://654321.ai/docs/articles/Shell命令沙箱的攻防博弈路径穿越检测与编码陷阱)
- [WebSocket连接管理器深度剖析会话绑定、流式缓冲与并发安全](https://654321.ai/docs/articles/WebSocket连接管理器深度剖析会话绑定、流式缓冲与并发安全)
- [上下文工程的精密手术:系统提示词组装、多模态注入与记忆融合](https://654321.ai/docs/articles/上下文工程的精密手术:系统提示词组装、多模态注入与记忆融合)
- [渠道消息处理全链路从入站消息到Agent响应的九个关键阶段](https://654321.ai/docs/articles/渠道消息处理全链路从入站消息到Agent响应的九个关键阶段)
- [AI Agent实战应用场景全景从自动整理邮件到设计网页并部署上线](https://654321.ai/docs/articles/AI%20Agent实战应用场景全景从自动整理邮件到设计网页并部署上线)
- [中国大模型厂商CodingPlan接入指南](https://654321.ai/docs/articles/中国大模型厂商CodingPlan接入指南)
- [为什么 CountBot 需要当前架构](https://654321.ai/docs/articles/为什么-countbot-需要-0-5-0-架构)
- [系统架构全景countbot多层模块化设计解析](https://countbot.cn/docs/articles/系统架构全景countbot多层模块化设计解析)
- [Agent Loop深度剖析ReAct循环的工程实现](https://countbot.cn/docs/articles/Agent%20Loop深度剖析ReAct循环的工程实现)
- [多LLM提供商统一接入Provider模式与兼容接口实践](https://countbot.cn/docs/articles/多LLM提供商统一接入Provider模式与兼容接口实践)
- [工具系统设计从抽象基类到JSON Schema的完整实现](https://countbot.cn/docs/articles/工具系统设计从抽象基类到JSON%20Schema的完整实现)
- [多渠道消息接入:统一抽象与消息路由机制](https://countbot.cn/docs/articles/多渠道消息接入:统一抽象与消息路由机制)
- [WebSocket实时通信流式响应与工具调用通知](https://countbot.cn/docs/articles/WebSocket实时通信流式响应与工具调用通知)
- [记忆系统:基于文件的行式记忆存储与自动总结](https://countbot.cn/docs/articles/记忆系统:基于文件的行式记忆存储与自动总结)
- [技能插件系统热插拔的Skills扩展机制](https://countbot.cn/docs/articles/技能插件系统热插拔的Skills扩展机制)
- [上下文工程:系统提示词构建与对话历史管理](https://countbot.cn/docs/articles/上下文工程:系统提示词构建与对话历史管理)
- [安全体系从API密钥加密到Shell命令沙箱](https://countbot.cn/docs/articles/安全体系从API密钥加密到Shell命令沙箱)
- [定时任务系统Cron调度器的精确按需唤醒设计](https://countbot.cn/docs/articles/定时任务系统Cron调度器的精确按需唤醒设计)
- [子代理系统:后台异步任务的创建与管理](https://countbot.cn/docs/articles/子代理系统:后台异步任务的创建与管理)
- [Heartbeat主动问候让AI助手具备情感温度](https://countbot.cn/docs/articles/Heartbeat主动问候让AI助手具备情感温度)
- [配置管理:数据库驱动的动态配置系统](https://countbot.cn/docs/articles/配置管理:数据库驱动的动态配置系统)
- [前端架构Vue3+TypeScript+Pinia的现代化实践](https://countbot.cn/docs/articles/前端架构Vue3+TypeScript+Pinia的现代化实践)
- [会话管理:多轮对话的持久化与生命周期](https://countbot.cn/docs/articles/会话管理:多轮对话的持久化与生命周期)
- [企业级消息队列:优先级调度与死信处理](https://countbot.cn/docs/articles/企业级消息队列:优先级调度与死信处理)
- [Web搜索与网页抓取AI Agent的互联网触角](https://countbot.cn/docs/articles/Web搜索与网页抓取AI%20Agent的互联网触角)
- [令牌桶限流算法保护AI服务的流量控制实践](https://countbot.cn/docs/articles/令牌桶限流算法保护AI服务的流量控制实践)
- [从桌面到生产CountBot的部署架构与运维实践](https://countbot.cn/docs/articles/从桌面到生产CountBot的部署架构与运维实践)
- [深度解析AgentLoop状态机从流式chunk到多轮工具编排的完整生命周期](https://countbot.cn/docs/articles/深度解析AgentLoop状态机从流式chunk到多轮工具编排的完整生命周期)
- [Shell命令沙箱的攻防博弈路径穿越检测与编码陷阱](https://countbot.cn/docs/articles/Shell命令沙箱的攻防博弈路径穿越检测与编码陷阱)
- [WebSocket连接管理器深度剖析会话绑定、流式缓冲与并发安全](https://countbot.cn/docs/articles/WebSocket连接管理器深度剖析会话绑定、流式缓冲与并发安全)
- [上下文工程的精密手术:系统提示词组装、多模态注入与记忆融合](https://countbot.cn/docs/articles/上下文工程的精密手术:系统提示词组装、多模态注入与记忆融合)
- [渠道消息处理全链路从入站消息到Agent响应的九个关键阶段](https://countbot.cn/docs/articles/渠道消息处理全链路从入站消息到Agent响应的九个关键阶段)
- [AI Agent实战应用场景全景从自动整理邮件到设计网页并部署上线](https://countbot.cn/docs/articles/AI%20Agent实战应用场景全景从自动整理邮件到设计网页并部署上线)
- [中国大模型厂商CodingPlan接入指南](https://countbot.cn/docs/articles/中国大模型厂商CodingPlan接入指南)
- [为什么 CountBot 需要当前架构](https://countbot.cn/docs/articles/为什么-countbot-需要-0-5-0-架构)
## 版本发布
- [v0.6.0](https://654321.ai/docs/releases/v0.6.0)
- [v0.5.0](https://654321.ai/docs/releases/v0.5.0)
- [v0.4.0](https://654321.ai/docs/releases/v0.4.0)
- [v0.3.0](https://654321.ai/docs/releases/v0.3.0)
- [v0.6.0](https://countbot.cn/docs/releases/v0.6.0)
- [v0.5.0](https://countbot.cn/docs/releases/v0.5.0)
- [v0.4.0](https://countbot.cn/docs/releases/v0.4.0)
- [v0.3.0](https://countbot.cn/docs/releases/v0.3.0)
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
var h=(x,_,v)=>new Promise((o,i)=>{var c=t=>{try{n(v.next(t))}catch(r){i(r)}},f=t=>{try{n(v.throw(t))}catch(r){i(r)}},n=t=>t.done?o(t.value):Promise.resolve(t.value).then(c,f);n((v=v.apply(x,_)).next())});import{d as M,o as N,a as b,c as u,b as s,e as T,t as g,w as q,f as y,v as k,g as m,h as D,u as P,r as p,i as S,j as U,k as d,_ as R}from"./index-AC8USqNB.js";import{_ as j}from"./countbot-logo-CNglRKg-.js";const A={class:"login-page"},E={class:"login-card"},H={class:"login-hint"},X={class:"field"},z=["placeholder"],F={class:"field"},G=["placeholder","autocomplete"],J={key:0,class:"field"},K={key:1,class:"password-rules"},O={key:2,class:"error-box",role:"alert"},Q={key:3,class:"error-box",role:"alert"},W=["disabled"],Y={key:0,class:"spinner"},Z={class:"login-footer"},$={key:0},ee={key:1},ae=M({__name:"LoginView",setup(x){const _=P(),v=U(),o=p(!1),i=p(""),c=p(""),f=p(""),n=p(""),t=p(!1),r=p(!1),w=S(()=>{const l=v.params.setupSecret;return typeof l=="string"?l:""}),V=S(()=>w.value?"初始化入口无效、已过期,或系统已经完成初始化":"远程初始化需要专用入口,请查看本机控制台输出的初始化路径"),C=S(()=>r.value?w.value?"初始化入口不可用":"远程初始化需要专用入口":o.value?"首次初始化,请设置管理员账号和密码":"远程访问需要身份验证");function B(){return w.value?{"X-Setup-Secret":w.value}:void 0}N(()=>h(this,null,function*(){try{const{data:l}=yield b.get("/api/auth/status",{headers:B()});if(l.authenticated){_.replace("/");return}o.value=!!l.setup_allowed,r.value=!l.auth_enabled&&!l.setup_allowed}catch(l){}}));function I(){return h(this,null,function*(){var l,e;if(n.value="",r.value){n.value=V.value;return}t.value=!0;try{if(o.value){if(c.value!==f.value){n.value="两次输入的密码不一致";return}const{data:a}=yield b.post("/api/auth/setup",{username:i.value,password:c.value},{headers:B()});a.token&&localStorage.setItem("CountBot_token",a.token)}else{const{data:a}=yield b.post("/api/auth/login",{username:i.value,password:c.value});a.token&&localStorage.setItem("CountBot_token",a.token)}_.replace("/")}catch(a){const L=(e=(l=a==null?void 0:a.response)==null?void 0:l.data)==null?void 0:e.detail;n.value=L||"操作失败,请重试"}finally{t.value=!1}})}return(l,e)=>(d(),u("div",A,[s("div",E,[e[6]||(e[6]=T('<div class="login-brand" data-v-03224fec><div class="brand-icon" data-v-03224fec><img src="'+j+'" alt="CountBot Logo" data-v-03224fec></div><h1 class="brand-name" data-v-03224fec><span class="brand-count" data-v-03224fec>Count</span><span class="brand-bot" data-v-03224fec>Bot</span></h1><p class="brand-tagline" data-v-03224fec>654321, AI Delivers</p></div>',1)),s("p",H,g(C.value),1),s("form",{onSubmit:q(I,["prevent"]),class:"login-form",autocomplete:"on"},[s("div",X,[e[3]||(e[3]=s("label",{for:"username"},"账号",-1)),y(s("input",{id:"username","onUpdate:modelValue":e[0]||(e[0]=a=>i.value=a),type:"text",placeholder:o.value?"设置管理员账号":"请输入账号",autocomplete:"username",required:""},null,8,z),[[k,i.value]])]),s("div",F,[e[4]||(e[4]=s("label",{for:"password"},"密码",-1)),y(s("input",{id:"password","onUpdate:modelValue":e[1]||(e[1]=a=>c.value=a),type:"password",placeholder:o.value?"设置密码":"请输入密码",autocomplete:o.value?"new-password":"current-password",required:""},null,8,G),[[k,c.value]])]),o.value?(d(),u("div",J,[e[5]||(e[5]=s("label",{for:"confirmPassword"},"确认密码",-1)),y(s("input",{id:"confirmPassword","onUpdate:modelValue":e[2]||(e[2]=a=>f.value=a),type:"password",placeholder:"再次输入密码",autocomplete:"new-password",required:""},null,512),[[k,f.value]])])):m("",!0),o.value?(d(),u("div",K," 密码要求:至少 8 位,必须同时包含大写字母、小写字母和数字 ")):m("",!0),r.value?(d(),u("div",O," 管理员尚未在本机完成初始化。请先在 CountBot 所在机器本地打开页面设置管理员账号和密码,然后再进行远程登录。 ")):m("",!0),n.value?(d(),u("div",Q,g(n.value),1)):m("",!0),s("button",{type:"submit",class:"submit-btn",disabled:t.value||r.value},[t.value?(d(),u("span",Y)):m("",!0),D(" "+g(t.value?"请稍候...":o.value?"设置并登录":"登录"),1)],8,W)],32),s("div",Z,[o.value?(d(),u("span",ee,"设置完成后将自动登录")):(d(),u("span",$,"密码要求:至少 8 位,包含大写字母、小写字母和数字"))])])]))}}),le=R(ae,[["__scopeId","data-v-03224fec"]]);export{le as default};
var h=(x,_,v)=>new Promise((o,i)=>{var c=t=>{try{n(v.next(t))}catch(r){i(r)}},f=t=>{try{n(v.throw(t))}catch(r){i(r)}},n=t=>t.done?o(t.value):Promise.resolve(t.value).then(c,f);n((v=v.apply(x,_)).next())});import{d as M,o as N,a as b,c as u,b as s,e as T,t as g,w as q,f as y,v as k,g as m,h as D,u as P,r as p,i as S,j as U,k as d,_ as R}from"./index-XQkOl0bk.js";import{_ as j}from"./countbot-logo-CNglRKg-.js";const A={class:"login-page"},E={class:"login-card"},H={class:"login-hint"},X={class:"field"},z=["placeholder"],F={class:"field"},G=["placeholder","autocomplete"],J={key:0,class:"field"},K={key:1,class:"password-rules"},O={key:2,class:"error-box",role:"alert"},Q={key:3,class:"error-box",role:"alert"},W=["disabled"],Y={key:0,class:"spinner"},Z={class:"login-footer"},$={key:0},ee={key:1},ae=M({__name:"LoginView",setup(x){const _=P(),v=U(),o=p(!1),i=p(""),c=p(""),f=p(""),n=p(""),t=p(!1),r=p(!1),w=S(()=>{const l=v.params.setupSecret;return typeof l=="string"?l:""}),V=S(()=>w.value?"初始化入口无效、已过期,或系统已经完成初始化":"远程初始化需要专用入口,请查看本机控制台输出的初始化路径"),C=S(()=>r.value?w.value?"初始化入口不可用":"远程初始化需要专用入口":o.value?"首次初始化,请设置管理员账号和密码":"远程访问需要身份验证");function B(){return w.value?{"X-Setup-Secret":w.value}:void 0}N(()=>h(this,null,function*(){try{const{data:l}=yield b.get("/api/auth/status",{headers:B()});if(l.authenticated){_.replace("/");return}o.value=!!l.setup_allowed,r.value=!l.auth_enabled&&!l.setup_allowed}catch(l){}}));function I(){return h(this,null,function*(){var l,e;if(n.value="",r.value){n.value=V.value;return}t.value=!0;try{if(o.value){if(c.value!==f.value){n.value="两次输入的密码不一致";return}const{data:a}=yield b.post("/api/auth/setup",{username:i.value,password:c.value},{headers:B()});a.token&&localStorage.setItem("CountBot_token",a.token)}else{const{data:a}=yield b.post("/api/auth/login",{username:i.value,password:c.value});a.token&&localStorage.setItem("CountBot_token",a.token)}_.replace("/")}catch(a){const L=(e=(l=a==null?void 0:a.response)==null?void 0:l.data)==null?void 0:e.detail;n.value=L||"操作失败,请重试"}finally{t.value=!1}})}return(l,e)=>(d(),u("div",A,[s("div",E,[e[6]||(e[6]=T('<div class="login-brand" data-v-a71ef6e0><div class="brand-icon" data-v-a71ef6e0><img src="'+j+'" alt="CountBot Logo" data-v-a71ef6e0></div><h1 class="brand-name" data-v-a71ef6e0><span class="brand-count" data-v-a71ef6e0>Count</span><span class="brand-bot" data-v-a71ef6e0>Bot</span></h1><p class="brand-tagline" data-v-a71ef6e0>countbot.cn, AI Delivers</p></div>',1)),s("p",H,g(C.value),1),s("form",{onSubmit:q(I,["prevent"]),class:"login-form",autocomplete:"on"},[s("div",X,[e[3]||(e[3]=s("label",{for:"username"},"账号",-1)),y(s("input",{id:"username","onUpdate:modelValue":e[0]||(e[0]=a=>i.value=a),type:"text",placeholder:o.value?"设置管理员账号":"请输入账号",autocomplete:"username",required:""},null,8,z),[[k,i.value]])]),s("div",F,[e[4]||(e[4]=s("label",{for:"password"},"密码",-1)),y(s("input",{id:"password","onUpdate:modelValue":e[1]||(e[1]=a=>c.value=a),type:"password",placeholder:o.value?"设置密码":"请输入密码",autocomplete:o.value?"new-password":"current-password",required:""},null,8,G),[[k,c.value]])]),o.value?(d(),u("div",J,[e[5]||(e[5]=s("label",{for:"confirmPassword"},"确认密码",-1)),y(s("input",{id:"confirmPassword","onUpdate:modelValue":e[2]||(e[2]=a=>f.value=a),type:"password",placeholder:"再次输入密码",autocomplete:"new-password",required:""},null,512),[[k,f.value]])])):m("",!0),o.value?(d(),u("div",K," 密码要求:至少 8 位,必须同时包含大写字母、小写字母和数字 ")):m("",!0),r.value?(d(),u("div",O," 管理员尚未在本机完成初始化。请先在 CountBot 所在机器本地打开页面设置管理员账号和密码,然后再进行远程登录。 ")):m("",!0),n.value?(d(),u("div",Q,g(n.value),1)):m("",!0),s("button",{type:"submit",class:"submit-btn",disabled:t.value||r.value},[t.value?(d(),u("span",Y)):m("",!0),D(" "+g(t.value?"请稍候...":o.value?"设置并登录":"登录"),1)],8,W)],32),s("div",Z,[o.value?(d(),u("span",ee,"设置完成后将自动登录")):(d(),u("span",$,"密码要求:至少 8 位,包含大写字母、小写字母和数字"))])])]))}}),le=R(ae,[["__scopeId","data-v-a71ef6e0"]]);export{le as default};
@@ -1 +1 @@
import{e as x,c as O,g as m,k as P,h as p,j as w,l as c,m as A,n as I,t as N,o as _}from"./_baseUniq-BMpdCPXY.js";import{aT as g,at as $,aU as E,aV as F,aW as M,aX as l,aY as T,aZ as B,a_ as y,a$ as S}from"./mermaid.core-ebcTsjwG.js";var G=/\s/;function H(n){for(var r=n.length;r--&&G.test(n.charAt(r)););return r}var L=/^\s+/;function R(n){return n&&n.slice(0,H(n)+1).replace(L,"")}var o=NaN,W=/^[-+]0x[0-9a-f]+$/i,X=/^0b[01]+$/i,Y=/^0o[0-7]+$/i,q=parseInt;function z(n){if(typeof n=="number")return n;if(x(n))return o;if(g(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=g(r)?r+"":r}if(typeof n!="string")return n===0?n:+n;n=R(n);var t=X.test(n);return t||Y.test(n)?q(n.slice(2),t?2:8):W.test(n)?o:+n}var v=1/0,C=17976931348623157e292;function K(n){if(!n)return n===0?n:0;if(n=z(n),n===v||n===-v){var r=n<0?-1:1;return r*C}return n===n?n:0}function U(n){var r=K(n),t=r%1;return r===r?t?r-t:r:0}function fn(n){var r=n==null?0:n.length;return r?O(n):[]}var b=Object.prototype,Z=b.hasOwnProperty,dn=$(function(n,r){n=Object(n);var t=-1,i=r.length,a=i>2?r[2]:void 0;for(a&&E(r[0],r[1],a)&&(i=1);++t<i;)for(var f=r[t],e=F(f),s=-1,d=e.length;++s<d;){var u=e[s],h=n[u];(h===void 0||M(h,b[u])&&!Z.call(n,u))&&(n[u]=f[u])}return n});function un(n){var r=n==null?0:n.length;return r?n[r-1]:void 0}function D(n){return function(r,t,i){var a=Object(r);if(!l(r)){var f=m(t);r=P(r),t=function(s){return f(a[s],s,a)}}var e=n(r,t,i);return e>-1?a[f?r[e]:e]:void 0}}var J=Math.max;function Q(n,r,t){var i=n==null?0:n.length;if(!i)return-1;var a=t==null?0:U(t);return a<0&&(a=J(i+a,0)),p(n,m(r),a)}var hn=D(Q);function V(n,r){var t=-1,i=l(n)?Array(n.length):[];return w(n,function(a,f,e){i[++t]=r(a,f,e)}),i}function gn(n,r){var t=T(n)?c:V;return t(n,m(r))}var j=Object.prototype,k=j.hasOwnProperty;function nn(n,r){return n!=null&&k.call(n,r)}function mn(n,r){return n!=null&&A(n,r,nn)}function rn(n,r){return n<r}function tn(n,r,t){for(var i=-1,a=n.length;++i<a;){var f=n[i],e=r(f);if(e!=null&&(s===void 0?e===e&&!x(e):t(e,s)))var s=e,d=f}return d}function on(n){return n&&n.length?tn(n,B,rn):void 0}function an(n,r,t,i){if(!g(n))return n;r=I(r,n);for(var a=-1,f=r.length,e=f-1,s=n;s!=null&&++a<f;){var d=N(r[a]),u=t;if(d==="__proto__"||d==="constructor"||d==="prototype")return n;if(a!=e){var h=s[d];u=void 0,u===void 0&&(u=g(h)?h:y(r[a+1])?[]:{})}S(s,d,u),s=s[d]}return n}function vn(n,r,t){for(var i=-1,a=r.length,f={};++i<a;){var e=r[i],s=_(n,e);t(s,e)&&an(f,I(e,n),s)}return f}export{rn as a,tn as b,V as c,vn as d,on as e,fn as f,hn as g,mn as h,dn as i,U as j,un as l,gn as m,K as t};
import{e as x,c as O,g as m,k as P,h as p,j as w,l as c,m as A,n as I,t as N,o as _}from"./_baseUniq-BmBO8S86.js";import{aT as g,at as $,aU as E,aV as F,aW as M,aX as l,aY as T,aZ as B,a_ as y,a$ as S}from"./mermaid.core-I0hlAH9H.js";var G=/\s/;function H(n){for(var r=n.length;r--&&G.test(n.charAt(r)););return r}var L=/^\s+/;function R(n){return n&&n.slice(0,H(n)+1).replace(L,"")}var o=NaN,W=/^[-+]0x[0-9a-f]+$/i,X=/^0b[01]+$/i,Y=/^0o[0-7]+$/i,q=parseInt;function z(n){if(typeof n=="number")return n;if(x(n))return o;if(g(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=g(r)?r+"":r}if(typeof n!="string")return n===0?n:+n;n=R(n);var t=X.test(n);return t||Y.test(n)?q(n.slice(2),t?2:8):W.test(n)?o:+n}var v=1/0,C=17976931348623157e292;function K(n){if(!n)return n===0?n:0;if(n=z(n),n===v||n===-v){var r=n<0?-1:1;return r*C}return n===n?n:0}function U(n){var r=K(n),t=r%1;return r===r?t?r-t:r:0}function fn(n){var r=n==null?0:n.length;return r?O(n):[]}var b=Object.prototype,Z=b.hasOwnProperty,dn=$(function(n,r){n=Object(n);var t=-1,i=r.length,a=i>2?r[2]:void 0;for(a&&E(r[0],r[1],a)&&(i=1);++t<i;)for(var f=r[t],e=F(f),s=-1,d=e.length;++s<d;){var u=e[s],h=n[u];(h===void 0||M(h,b[u])&&!Z.call(n,u))&&(n[u]=f[u])}return n});function un(n){var r=n==null?0:n.length;return r?n[r-1]:void 0}function D(n){return function(r,t,i){var a=Object(r);if(!l(r)){var f=m(t);r=P(r),t=function(s){return f(a[s],s,a)}}var e=n(r,t,i);return e>-1?a[f?r[e]:e]:void 0}}var J=Math.max;function Q(n,r,t){var i=n==null?0:n.length;if(!i)return-1;var a=t==null?0:U(t);return a<0&&(a=J(i+a,0)),p(n,m(r),a)}var hn=D(Q);function V(n,r){var t=-1,i=l(n)?Array(n.length):[];return w(n,function(a,f,e){i[++t]=r(a,f,e)}),i}function gn(n,r){var t=T(n)?c:V;return t(n,m(r))}var j=Object.prototype,k=j.hasOwnProperty;function nn(n,r){return n!=null&&k.call(n,r)}function mn(n,r){return n!=null&&A(n,r,nn)}function rn(n,r){return n<r}function tn(n,r,t){for(var i=-1,a=n.length;++i<a;){var f=n[i],e=r(f);if(e!=null&&(s===void 0?e===e&&!x(e):t(e,s)))var s=e,d=f}return d}function on(n){return n&&n.length?tn(n,B,rn):void 0}function an(n,r,t,i){if(!g(n))return n;r=I(r,n);for(var a=-1,f=r.length,e=f-1,s=n;s!=null&&++a<f;){var d=N(r[a]),u=t;if(d==="__proto__"||d==="constructor"||d==="prototype")return n;if(a!=e){var h=s[d];u=void 0,u===void 0&&(u=g(h)?h:y(r[a+1])?[]:{})}S(s,d,u),s=s[d]}return n}function vn(n,r,t){for(var i=-1,a=r.length,f={};++i<a;){var e=r[i],s=_(n,e);t(s,e)&&an(f,I(e,n),s)}return f}export{rn as a,tn as b,V as c,vn as d,on as e,fn as f,hn as g,mn as h,dn as i,U as j,un as l,gn as m,K as t};
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{a0 as ln,a1 as an,a2 as H,a3 as q,a4 as B,a5 as un,a6 as y,a7 as tn,a8 as L,a9 as _,aa as rn,ab as o,ac as on,ad as sn,ae as fn}from"./mermaid.core-ebcTsjwG.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function dn(l){return l.endAngle}function mn(l){return l&&l.padAngle}function pn(l,h,I,D,v,A,C,a){var O=I-l,i=D-h,n=C-v,d=a-A,u=d*O-n*i;if(!(u*u<y))return u=(n*(h-A)-d*(l-v))/u,[l+u*O,h+u*i]}function W(l,h,I,D,v,A,C){var a=l-I,O=h-D,i=(C?A:-A)/L(a*a+O*O),n=i*O,d=-i*a,u=l+n,s=h+d,f=I+n,c=D+d,F=(u+f)/2,t=(s+c)/2,m=f-u,g=c-s,R=m*m+g*g,T=v-A,P=u*c-f*s,S=(g<0?-1:1)*L(on(0,T*T*R-P*P)),j=(P*g-m*S)/R,z=(-P*m-g*S)/R,w=(P*g+m*S)/R,p=(-P*m+g*S)/R,x=j-F,e=z-t,r=w-F,G=p-t;return x*x+e*e>r*r+G*G&&(j=w,z=p),{cx:j,cy:z,x01:-n,y01:-d,x11:j*(v/T-1),y11:z*(v/T-1)}}function hn(){var l=cn,h=yn,I=B(0),D=null,v=gn,A=dn,C=mn,a=null,O=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-un,c=A.apply(this,arguments)-un,F=rn(c-f),t=c>f;if(a||(a=n=O()),s<u&&(d=s,s=u,u=d),!(s>y))a.moveTo(0,0);else if(F>tn-y)a.moveTo(s*H(f),s*q(f)),a.arc(0,0,s,f,c,!t),u>y&&(a.moveTo(u*H(c),u*q(c)),a.arc(0,0,u,c,f,t));else{var m=f,g=c,R=f,T=c,P=F,S=F,j=C.apply(this,arguments)/2,z=j>y&&(D?+D.apply(this,arguments):L(u*u+s*s)),w=_(rn(s-u)/2,+I.apply(this,arguments)),p=w,x=w,e,r;if(z>y){var G=sn(z/u*q(j)),M=sn(z/s*q(j));(P-=G*2)>y?(G*=t?1:-1,R+=G,T-=G):(P=0,R=T=(f+c)/2),(S-=M*2)>y?(M*=t?1:-1,m+=M,g-=M):(S=0,m=g=(f+c)/2)}var J=s*H(m),K=s*q(m),N=u*H(T),Q=u*q(T);if(w>y){var U=s*H(g),V=s*q(g),X=u*H(R),Y=u*q(R),E;if(F<an)if(E=pn(J,K,X,Y,U,V,N,Q)){var Z=J-E[0],$=K-E[1],b=U-E[0],k=V-E[1],nn=1/q(fn((Z*b+$*k)/(L(Z*Z+$*$)*L(b*b+k*k)))/2),en=L(E[0]*E[0]+E[1]*E[1]);p=_(w,(u-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}S>y?x>y?(e=W(X,Y,J,K,s,x,t),r=W(U,V,N,Q,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),!t),a.arc(r.cx,r.cy,x,o(r.y11,r.x11),o(r.y01,r.x01),!t))):(a.moveTo(J,K),a.arc(0,0,s,m,g,!t)):a.moveTo(J,K),!(u>y)||!(P>y)?a.lineTo(N,Q):p>y?(e=W(N,Q,U,V,u,-p,t),r=W(J,K,X,Y,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,u,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),t),a.arc(r.cx,r.cy,p,o(r.y11,r.x11),o(r.y01,r.x01),!t))):a.arc(0,0,u,T,R,t)}if(a.closePath(),n)return a=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,d=(+v.apply(this,arguments)+ +A.apply(this,arguments))/2-an/2;return[H(d)*n,q(d)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:B(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:B(+n),i):h},i.cornerRadius=function(n){return arguments.length?(I=typeof n=="function"?n:B(+n),i):I},i.padRadius=function(n){return arguments.length?(D=n==null?null:typeof n=="function"?n:B(+n),i):D},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:B(+n),i):v},i.endAngle=function(n){return arguments.length?(A=typeof n=="function"?n:B(+n),i):A},i.padAngle=function(n){return arguments.length?(C=typeof n=="function"?n:B(+n),i):C},i.context=function(n){return arguments.length?(a=n==null?null:n,i):a},i}export{hn as d};
import{a0 as ln,a1 as an,a2 as H,a3 as q,a4 as B,a5 as un,a6 as y,a7 as tn,a8 as L,a9 as _,aa as rn,ab as o,ac as on,ad as sn,ae as fn}from"./mermaid.core-I0hlAH9H.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function dn(l){return l.endAngle}function mn(l){return l&&l.padAngle}function pn(l,h,I,D,v,A,C,a){var O=I-l,i=D-h,n=C-v,d=a-A,u=d*O-n*i;if(!(u*u<y))return u=(n*(h-A)-d*(l-v))/u,[l+u*O,h+u*i]}function W(l,h,I,D,v,A,C){var a=l-I,O=h-D,i=(C?A:-A)/L(a*a+O*O),n=i*O,d=-i*a,u=l+n,s=h+d,f=I+n,c=D+d,F=(u+f)/2,t=(s+c)/2,m=f-u,g=c-s,R=m*m+g*g,T=v-A,P=u*c-f*s,S=(g<0?-1:1)*L(on(0,T*T*R-P*P)),j=(P*g-m*S)/R,z=(-P*m-g*S)/R,w=(P*g+m*S)/R,p=(-P*m+g*S)/R,x=j-F,e=z-t,r=w-F,G=p-t;return x*x+e*e>r*r+G*G&&(j=w,z=p),{cx:j,cy:z,x01:-n,y01:-d,x11:j*(v/T-1),y11:z*(v/T-1)}}function hn(){var l=cn,h=yn,I=B(0),D=null,v=gn,A=dn,C=mn,a=null,O=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-un,c=A.apply(this,arguments)-un,F=rn(c-f),t=c>f;if(a||(a=n=O()),s<u&&(d=s,s=u,u=d),!(s>y))a.moveTo(0,0);else if(F>tn-y)a.moveTo(s*H(f),s*q(f)),a.arc(0,0,s,f,c,!t),u>y&&(a.moveTo(u*H(c),u*q(c)),a.arc(0,0,u,c,f,t));else{var m=f,g=c,R=f,T=c,P=F,S=F,j=C.apply(this,arguments)/2,z=j>y&&(D?+D.apply(this,arguments):L(u*u+s*s)),w=_(rn(s-u)/2,+I.apply(this,arguments)),p=w,x=w,e,r;if(z>y){var G=sn(z/u*q(j)),M=sn(z/s*q(j));(P-=G*2)>y?(G*=t?1:-1,R+=G,T-=G):(P=0,R=T=(f+c)/2),(S-=M*2)>y?(M*=t?1:-1,m+=M,g-=M):(S=0,m=g=(f+c)/2)}var J=s*H(m),K=s*q(m),N=u*H(T),Q=u*q(T);if(w>y){var U=s*H(g),V=s*q(g),X=u*H(R),Y=u*q(R),E;if(F<an)if(E=pn(J,K,X,Y,U,V,N,Q)){var Z=J-E[0],$=K-E[1],b=U-E[0],k=V-E[1],nn=1/q(fn((Z*b+$*k)/(L(Z*Z+$*$)*L(b*b+k*k)))/2),en=L(E[0]*E[0]+E[1]*E[1]);p=_(w,(u-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}S>y?x>y?(e=W(X,Y,J,K,s,x,t),r=W(U,V,N,Q,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),!t),a.arc(r.cx,r.cy,x,o(r.y11,r.x11),o(r.y01,r.x01),!t))):(a.moveTo(J,K),a.arc(0,0,s,m,g,!t)):a.moveTo(J,K),!(u>y)||!(P>y)?a.lineTo(N,Q):p>y?(e=W(N,Q,U,V,u,-p,t),r=W(J,K,X,Y,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,u,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),t),a.arc(r.cx,r.cy,p,o(r.y11,r.x11),o(r.y01,r.x01),!t))):a.arc(0,0,u,T,R,t)}if(a.closePath(),n)return a=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,d=(+v.apply(this,arguments)+ +A.apply(this,arguments))/2-an/2;return[H(d)*n,q(d)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:B(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:B(+n),i):h},i.cornerRadius=function(n){return arguments.length?(I=typeof n=="function"?n:B(+n),i):I},i.padRadius=function(n){return arguments.length?(D=n==null?null:typeof n=="function"?n:B(+n),i):D},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:B(+n),i):v},i.endAngle=function(n){return arguments.length?(A=typeof n=="function"?n:B(+n),i):A},i.padAngle=function(n){return arguments.length?(C=typeof n=="function"?n:B(+n),i):C},i.context=function(n){return arguments.length?(a=n==null?null:n,i):a},i}export{hn as d};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
import{aq as o,ar as n}from"./mermaid.core-I0hlAH9H.js";const t=(r,a)=>o.lang.round(n.parse(r)[a]);export{t as c};
-1
View File
@@ -1 +0,0 @@
import{aq as o,ar as n}from"./mermaid.core-ebcTsjwG.js";const t=(r,a)=>o.lang.round(n.parse(r)[a]);export{t as c};
@@ -1 +1 @@
import{_ as l}from"./mermaid.core-ebcTsjwG.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p};
import{_ as l}from"./mermaid.core-I0hlAH9H.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p};
@@ -1 +1 @@
import{_ as a,d as o}from"./mermaid.core-ebcTsjwG.js";var d=a((t,e)=>{let n;return e==="sandbox"&&(n=o("#i"+t)),(e==="sandbox"?o(n.nodes()[0].contentDocument.body):o("body")).select(`[id="${t}"]`)},"getDiagramElement");export{d as g};
import{_ as a,d as o}from"./mermaid.core-I0hlAH9H.js";var d=a((t,e)=>{let n;return e==="sandbox"&&(n=o("#i"+t)),(e==="sandbox"?o(n.nodes()[0].contentDocument.body):o("body")).select(`[id="${t}"]`)},"getDiagramElement");export{d as g};
@@ -1,4 +1,4 @@
import{_ as e}from"./mermaid.core-ebcTsjwG.js";var l=e(()=>`
import{_ as e}from"./mermaid.core-I0hlAH9H.js";var l=e(()=>`
/* Font Awesome icon styling - consolidated */
.label-icon {
display: inline-block;
@@ -1 +1 @@
import{_ as n,d as l,U as d,j as o}from"./mermaid.core-ebcTsjwG.js";var x=n((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),p=n((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(r,e).lower()},"drawBackgroundRect"),y=n((r,t)=>{const e=t.text.replace(d," "),s=r.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);const a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),s},"drawText"),m=n((r,t,e,s)=>{const a=r.append("image");a.attr("x",t),a.attr("y",e);const i=o(s);a.attr("xlink:href",i)},"drawImage"),g=n((r,t,e,s)=>{const a=r.append("use");a.attr("x",t),a.attr("y",e);const i=o(s);a.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),h=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),f=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),w=n(()=>{let r=l(".mermaidTooltip");return r.empty()&&(r=l("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");export{p as a,f as b,w as c,x as d,g as e,m as f,h as g,y as h};
import{_ as n,d as l,U as d,j as o}from"./mermaid.core-I0hlAH9H.js";var x=n((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),p=n((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(r,e).lower()},"drawBackgroundRect"),y=n((r,t)=>{const e=t.text.replace(d," "),s=r.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);const a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),s},"drawText"),m=n((r,t,e,s)=>{const a=r.append("image");a.attr("x",t),a.attr("y",e);const i=o(s);a.attr("xlink:href",i)},"drawImage"),g=n((r,t,e,s)=>{const a=r.append("use");a.attr("x",t),a.attr("y",e);const i=o(s);a.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),h=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),f=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),w=n(()=>{let r=l(".mermaidTooltip");return r.empty()&&(r=l("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");export{p as a,f as b,w as c,x as d,g as e,m as f,h as g,y as h};
@@ -1 +1 @@
import{_ as a,e as w,l as x}from"./mermaid.core-ebcTsjwG.js";var d=a((e,t,i,o)=>{e.attr("class",i);const{width:r,height:h,x:n,y:c}=u(e,t);w(e,h,r,o);const s=l(n,c,r,h,t);e.attr("viewBox",s),x.debug(`viewBox configured: ${s} with padding: ${t}`)},"setupViewPortForSVG"),u=a((e,t)=>{var o;const i=((o=e.node())==null?void 0:o.getBBox())||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),l=a((e,t,i,o,r)=>`${e-r} ${t-r} ${i} ${o}`,"createViewBox");export{d as s};
import{_ as a,e as w,l as x}from"./mermaid.core-I0hlAH9H.js";var d=a((e,t,i,o)=>{e.attr("class",i);const{width:r,height:h,x:n,y:c}=u(e,t);w(e,h,r,o);const s=l(n,c,r,h,t);e.attr("viewBox",s),x.debug(`viewBox configured: ${s} with padding: ${t}`)},"setupViewPortForSVG"),u=a((e,t)=>{var o;const i=((o=e.node())==null?void 0:o.getBBox())||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),l=a((e,t,i,o,r)=>`${e-r} ${t-r} ${i} ${o}`,"createViewBox");export{d as s};
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{_ as s}from"./mermaid.core-ebcTsjwG.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I};
import{_ as s}from"./mermaid.core-I0hlAH9H.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I};
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
import{s as a,c as s,a as e,C as t}from"./chunk-WL4C6EOR-fwTQAIUT.js";import{_ as i}from"./mermaid.core-ebcTsjwG.js";import"./chunk-FMBD7UC4-DAaP1ZnZ.js";import"./chunk-JSJVCQXG-DpJy55vz.js";import"./chunk-55IACEB6-DxPvBQgU.js";import"./chunk-KX2RTZJC-CEBux3HK.js";import"./index-AC8USqNB.js";import"./ChatWindow-ByeMnlai.js";import"./countbot-logo-CNglRKg-.js";var b={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{b as diagram};
@@ -0,0 +1 @@
import{s as a,c as s,a as e,C as t}from"./chunk-WL4C6EOR-phBqiw0c.js";import{_ as i}from"./mermaid.core-I0hlAH9H.js";import"./chunk-FMBD7UC4-Br_JMMnU.js";import"./chunk-JSJVCQXG-CRmGWKqe.js";import"./chunk-55IACEB6-Bydi-WSM.js";import"./chunk-KX2RTZJC-BE-4iInN.js";import"./index-XQkOl0bk.js";import"./ChatWindow-N4atnSdm.js";import"./countbot-logo-CNglRKg-.js";var b={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{b as diagram};
@@ -1 +0,0 @@
import{s as a,c as s,a as e,C as t}from"./chunk-WL4C6EOR-fwTQAIUT.js";import{_ as i}from"./mermaid.core-ebcTsjwG.js";import"./chunk-FMBD7UC4-DAaP1ZnZ.js";import"./chunk-JSJVCQXG-DpJy55vz.js";import"./chunk-55IACEB6-DxPvBQgU.js";import"./chunk-KX2RTZJC-CEBux3HK.js";import"./index-AC8USqNB.js";import"./ChatWindow-ByeMnlai.js";import"./countbot-logo-CNglRKg-.js";var b={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{b as diagram};
@@ -0,0 +1 @@
import{s as a,c as s,a as e,C as t}from"./chunk-WL4C6EOR-phBqiw0c.js";import{_ as i}from"./mermaid.core-I0hlAH9H.js";import"./chunk-FMBD7UC4-Br_JMMnU.js";import"./chunk-JSJVCQXG-CRmGWKqe.js";import"./chunk-55IACEB6-Bydi-WSM.js";import"./chunk-KX2RTZJC-BE-4iInN.js";import"./index-XQkOl0bk.js";import"./ChatWindow-N4atnSdm.js";import"./countbot-logo-CNglRKg-.js";var b={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{b as diagram};
-1
View File
@@ -1 +0,0 @@
import{b as r}from"./_baseUniq-BMpdCPXY.js";var e=4;function a(o){return r(o,e)}export{a as c};
+1
View File
@@ -0,0 +1 @@
import{b as r}from"./_baseUniq-BmBO8S86.js";var e=4;function a(o){return r(o,e)}export{a as c};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
var T=Object.defineProperty;var w=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var v=(e,t,a)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,b=(e,t)=>{for(var a in t||(t={}))z.call(t,a)&&v(e,a,t[a]);if(w)for(var a of w(t))E.call(t,a)&&v(e,a,t[a]);return e};var x=(e,t,a)=>new Promise((i,n)=>{var d=s=>{try{o(a.next(s))}catch(l){n(l)}},r=s=>{try{o(a.throw(s))}catch(l){n(l)}},o=s=>s.done?i(s.value):Promise.resolve(s.value).then(d,r);o((a=a.apply(e,t)).next())});import{_ as m,E as y,I as F,e as P,l as $,b as A,a as W,p as _,q as N,g as I,s as L,F as M,G as Y,z as G}from"./mermaid.core-ebcTsjwG.js";import{p as O}from"./chunk-4BX2VUAB-BL2IvNEH.js";import{p as j}from"./treemap-KZPCXAKY-Uj5kshfw.js";import"./index-AC8USqNB.js";import"./ChatWindow-ByeMnlai.js";import"./countbot-logo-CNglRKg-.js";import"./_baseUniq-BMpdCPXY.js";import"./_basePickBy-BeCKKOqs.js";import"./clone-Bg8sT_xf.js";var q=M.packet,u,B=(u=class{constructor(){this.packet=[],this.setAccTitle=A,this.getAccTitle=W,this.setDiagramTitle=_,this.getDiagramTitle=N,this.getAccDescription=I,this.setAccDescription=L}getConfig(){const t=y(b(b({},q),Y().packet));return t.showBits&&(t.paddingY+=10),t}getPacket(){return this.packet}pushWord(t){t.length>0&&this.packet.push(t)}clear(){G(),this.packet=[]}},m(u,"PacketDB"),u),H=1e4,K=m((e,t)=>{O(e,t);let a=-1,i=[],n=1;const{bitsPerRow:d}=t.getConfig();for(let{start:r,end:o,bits:s,label:l}of e.blocks){if(r!==void 0&&o!==void 0&&o<r)throw new Error(`Packet block ${r} - ${o} is invalid. End must be greater than start.`);if(r!=null||(r=a+1),r!==a+1)throw new Error(`Packet block ${r} - ${o!=null?o:r} is not contiguous. It should start from ${a+1}.`);if(s===0)throw new Error(`Packet block ${r} is invalid. Cannot have a zero bit field.`);for(o!=null||(o=r+(s!=null?s:1)-1),s!=null||(s=o-r+1),a=o,$.debug(`Packet block ${r} - ${a} with label ${l}`);i.length<=d+1&&t.getPacket().length<H;){const[p,c]=R({start:r,end:o,bits:s,label:l},n,d);if(i.push(p),p.end+1===n*d&&(t.pushWord(i),i=[],n++),!c)break;({start:r,end:o,bits:s,label:l}=c)}}t.pushWord(i)},"populate"),R=m((e,t,a)=>{if(e.start===void 0)throw new Error("start should have been set during first phase");if(e.end===void 0)throw new Error("end should have been set during first phase");if(e.start>e.end)throw new Error(`Block start ${e.start} is greater than block end ${e.end}.`);if(e.end+1<=t*a)return[e,void 0];const i=t*a-1,n=t*a;return[{start:e.start,end:i,label:e.label,bits:i-e.start},{start:n,end:e.end,label:e.label,bits:e.end-n}]},"getNextFittingBlock"),C={parser:{yy:void 0},parse:m(e=>x(void 0,null,function*(){var i;const t=yield j("packet",e),a=(i=C.parser)==null?void 0:i.yy;if(!(a instanceof B))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");$.debug(t),K(t,a)}),"parse")},U=m((e,t,a,i)=>{const n=i.db,d=n.getConfig(),{rowHeight:r,paddingY:o,bitWidth:s,bitsPerRow:l}=d,p=n.getPacket(),c=n.getDiagramTitle(),h=r+o,g=h*(p.length+1)-(c?0:r),k=s*l+2,f=F(t);f.attr("viewBox",`0 0 ${k} ${g}`),P(f,g,k,d.useMaxWidth);for(const[S,D]of p.entries())X(f,D,S,d);f.append("text").text(c).attr("x",k/2).attr("y",g-h/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),X=m((e,t,a,{rowHeight:i,paddingX:n,paddingY:d,bitWidth:r,bitsPerRow:o,showBits:s})=>{const l=e.append("g"),p=a*(i+d)+d;for(const c of t){const h=c.start%o*r+1,g=(c.end-c.start+1)*r-n;if(l.append("rect").attr("x",h).attr("y",p).attr("width",g).attr("height",i).attr("class","packetBlock"),l.append("text").attr("x",h+g/2).attr("y",p+i/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(c.label),!s)continue;const k=c.end===c.start,f=p-2;l.append("text").attr("x",h+(k?g/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(c.start),k||l.append("text").attr("x",h+g).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(c.end)}},"drawWord"),J={draw:U},Q={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},V=m(({packet:e}={})=>{const t=y(Q,e);return`
var T=Object.defineProperty;var w=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var v=(e,t,a)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,b=(e,t)=>{for(var a in t||(t={}))z.call(t,a)&&v(e,a,t[a]);if(w)for(var a of w(t))E.call(t,a)&&v(e,a,t[a]);return e};var x=(e,t,a)=>new Promise((i,n)=>{var d=s=>{try{o(a.next(s))}catch(l){n(l)}},r=s=>{try{o(a.throw(s))}catch(l){n(l)}},o=s=>s.done?i(s.value):Promise.resolve(s.value).then(d,r);o((a=a.apply(e,t)).next())});import{_ as m,E as y,I as F,e as P,l as $,b as A,a as W,p as _,q as N,g as I,s as L,F as M,G as Y,z as G}from"./mermaid.core-I0hlAH9H.js";import{p as O}from"./chunk-4BX2VUAB-B2pNyGEj.js";import{p as j}from"./treemap-KZPCXAKY-B9TZtgs7.js";import"./index-XQkOl0bk.js";import"./ChatWindow-N4atnSdm.js";import"./countbot-logo-CNglRKg-.js";import"./_baseUniq-BmBO8S86.js";import"./_basePickBy-Czakf3o4.js";import"./clone-FNhPvOrp.js";var q=M.packet,u,B=(u=class{constructor(){this.packet=[],this.setAccTitle=A,this.getAccTitle=W,this.setDiagramTitle=_,this.getDiagramTitle=N,this.getAccDescription=I,this.setAccDescription=L}getConfig(){const t=y(b(b({},q),Y().packet));return t.showBits&&(t.paddingY+=10),t}getPacket(){return this.packet}pushWord(t){t.length>0&&this.packet.push(t)}clear(){G(),this.packet=[]}},m(u,"PacketDB"),u),H=1e4,K=m((e,t)=>{O(e,t);let a=-1,i=[],n=1;const{bitsPerRow:d}=t.getConfig();for(let{start:r,end:o,bits:s,label:l}of e.blocks){if(r!==void 0&&o!==void 0&&o<r)throw new Error(`Packet block ${r} - ${o} is invalid. End must be greater than start.`);if(r!=null||(r=a+1),r!==a+1)throw new Error(`Packet block ${r} - ${o!=null?o:r} is not contiguous. It should start from ${a+1}.`);if(s===0)throw new Error(`Packet block ${r} is invalid. Cannot have a zero bit field.`);for(o!=null||(o=r+(s!=null?s:1)-1),s!=null||(s=o-r+1),a=o,$.debug(`Packet block ${r} - ${a} with label ${l}`);i.length<=d+1&&t.getPacket().length<H;){const[p,c]=R({start:r,end:o,bits:s,label:l},n,d);if(i.push(p),p.end+1===n*d&&(t.pushWord(i),i=[],n++),!c)break;({start:r,end:o,bits:s,label:l}=c)}}t.pushWord(i)},"populate"),R=m((e,t,a)=>{if(e.start===void 0)throw new Error("start should have been set during first phase");if(e.end===void 0)throw new Error("end should have been set during first phase");if(e.start>e.end)throw new Error(`Block start ${e.start} is greater than block end ${e.end}.`);if(e.end+1<=t*a)return[e,void 0];const i=t*a-1,n=t*a;return[{start:e.start,end:i,label:e.label,bits:i-e.start},{start:n,end:e.end,label:e.label,bits:e.end-n}]},"getNextFittingBlock"),C={parser:{yy:void 0},parse:m(e=>x(void 0,null,function*(){var i;const t=yield j("packet",e),a=(i=C.parser)==null?void 0:i.yy;if(!(a instanceof B))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");$.debug(t),K(t,a)}),"parse")},U=m((e,t,a,i)=>{const n=i.db,d=n.getConfig(),{rowHeight:r,paddingY:o,bitWidth:s,bitsPerRow:l}=d,p=n.getPacket(),c=n.getDiagramTitle(),h=r+o,g=h*(p.length+1)-(c?0:r),k=s*l+2,f=F(t);f.attr("viewBox",`0 0 ${k} ${g}`),P(f,g,k,d.useMaxWidth);for(const[S,D]of p.entries())X(f,D,S,d);f.append("text").text(c).attr("x",k/2).attr("y",g-h/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),X=m((e,t,a,{rowHeight:i,paddingX:n,paddingY:d,bitWidth:r,bitsPerRow:o,showBits:s})=>{const l=e.append("g"),p=a*(i+d)+d;for(const c of t){const h=c.start%o*r+1,g=(c.end-c.start+1)*r-n;if(l.append("rect").attr("x",h).attr("y",p).attr("width",g).attr("height",i).attr("class","packetBlock"),l.append("text").attr("x",h+g/2).attr("y",p+i/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(c.label),!s)continue;const k=c.end===c.start,f=p-2;l.append("text").attr("x",h+(k?g/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(c.start),k||l.append("text").attr("x",h+g).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(c.end)}},"drawWord"),J={draw:U},Q={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},V=m(({packet:e}={})=>{const t=y(Q,e);return`
.packetByte {
font-size: ${t.byteFontSize};
}
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
var $t=Object.defineProperty,te=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var zt=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var Wt=(s,i,a)=>i in s?$t(s,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[i]=a,it=(s,i)=>{for(var a in i||(i={}))se.call(i,a)&&Wt(s,a,i[a]);if(zt)for(var a of zt(i))ie.call(i,a)&&Wt(s,a,i[a]);return s},rt=(s,i)=>te(s,ee(i));var jt=(s,i,a)=>new Promise((n,u)=>{var o=g=>{try{c(a.next(g))}catch(r){u(r)}},p=g=>{try{c(a.throw(g))}catch(r){u(r)}},c=g=>g.done?n(g.value):Promise.resolve(g.value).then(o,p);c((a=a.apply(s,i)).next())});import{g as re}from"./chunk-FMBD7UC4-DAaP1ZnZ.js";import{_ as T,n as Kt,l as e1,c as k1,d as M1,o as ae,r as ne,u as nt,b as ue,s as oe,p as le,a as ce,g as he,q as de,k as pe,t as fe,J as ge,v as be,x as at,y as Ae,z as ke,A as me,B as Te}from"./mermaid.core-ebcTsjwG.js";import{c as Ce}from"./chunk-JSJVCQXG-DpJy55vz.js";import{g as Se}from"./chunk-55IACEB6-DxPvBQgU.js";import{s as De}from"./chunk-KX2RTZJC-CEBux3HK.js";import{c as xe}from"./channel-C0ZXt0Pb.js";import"./index-AC8USqNB.js";import"./ChatWindow-ByeMnlai.js";import"./countbot-logo-CNglRKg-.js";var ye="flowchart-",P1,Ee=(P1=class{constructor(){this.vertexCounter=0,this.config=k1(),this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=ue,this.setAccDescription=oe,this.setDiagramTitle=le,this.getAccTitle=ce,this.getAccDescription=he,this.getDiagramTitle=de,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return pe.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}lookUpDomId(i){for(const a of this.vertices.values())if(a.id===i)return a.domId;return i}addVertex(i,a,n,u,o,p,c={},g){var U,y;if(!i||i.trim().length===0)return;let r;if(g!==void 0){let h;g.includes(`
var $t=Object.defineProperty,te=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var zt=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var Wt=(s,i,a)=>i in s?$t(s,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[i]=a,it=(s,i)=>{for(var a in i||(i={}))se.call(i,a)&&Wt(s,a,i[a]);if(zt)for(var a of zt(i))ie.call(i,a)&&Wt(s,a,i[a]);return s},rt=(s,i)=>te(s,ee(i));var jt=(s,i,a)=>new Promise((n,u)=>{var o=g=>{try{c(a.next(g))}catch(r){u(r)}},p=g=>{try{c(a.throw(g))}catch(r){u(r)}},c=g=>g.done?n(g.value):Promise.resolve(g.value).then(o,p);c((a=a.apply(s,i)).next())});import{g as re}from"./chunk-FMBD7UC4-Br_JMMnU.js";import{_ as T,n as Kt,l as e1,c as k1,d as M1,o as ae,r as ne,u as nt,b as ue,s as oe,p as le,a as ce,g as he,q as de,k as pe,t as fe,J as ge,v as be,x as at,y as Ae,z as ke,A as me,B as Te}from"./mermaid.core-I0hlAH9H.js";import{c as Ce}from"./chunk-JSJVCQXG-CRmGWKqe.js";import{g as Se}from"./chunk-55IACEB6-Bydi-WSM.js";import{s as De}from"./chunk-KX2RTZJC-BE-4iInN.js";import{c as xe}from"./channel-BE4sbfsA.js";import"./index-XQkOl0bk.js";import"./ChatWindow-N4atnSdm.js";import"./countbot-logo-CNglRKg-.js";var ye="flowchart-",P1,Ee=(P1=class{constructor(){this.vertexCounter=0,this.config=k1(),this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=ue,this.setAccDescription=oe,this.setDiagramTitle=le,this.getAccTitle=ce,this.getAccDescription=he,this.getDiagramTitle=de,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return pe.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}lookUpDomId(i){for(const a of this.vertices.values())if(a.id===i)return a.domId;return i}addVertex(i,a,n,u,o,p,c={},g){var U,y;if(!i||i.trim().length===0)return;let r;if(g!==void 0){let h;g.includes(`
`)?h=g+`
`:h=`{
`+g+`
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
var g=(a,t,e)=>new Promise((o,s)=>{var v=r=>{try{i(e.next(r))}catch(n){s(n)}},d=r=>{try{i(e.throw(r))}catch(n){s(n)}},i=r=>r.done?o(r.value):Promise.resolve(r.value).then(v,d);i((e=e.apply(a,t)).next())});import{_ as p,l as m,I as c,e as l}from"./mermaid.core-ebcTsjwG.js";import{p as f}from"./treemap-KZPCXAKY-Uj5kshfw.js";import"./index-AC8USqNB.js";import"./ChatWindow-ByeMnlai.js";import"./countbot-logo-CNglRKg-.js";import"./_baseUniq-BMpdCPXY.js";import"./_basePickBy-BeCKKOqs.js";import"./clone-Bg8sT_xf.js";var u={parse:p(a=>g(void 0,null,function*(){const t=yield f("info",a);m.debug(t)}),"parse")},x={version:"11.13.0"},_=p(()=>x.version,"getVersion"),b={getVersion:_},w=p((a,t,e)=>{m.debug(`rendering info diagram
var g=(a,t,e)=>new Promise((o,s)=>{var v=r=>{try{i(e.next(r))}catch(n){s(n)}},d=r=>{try{i(e.throw(r))}catch(n){s(n)}},i=r=>r.done?o(r.value):Promise.resolve(r.value).then(v,d);i((e=e.apply(a,t)).next())});import{_ as p,l as m,I as c,e as l}from"./mermaid.core-I0hlAH9H.js";import{p as f}from"./treemap-KZPCXAKY-B9TZtgs7.js";import"./index-XQkOl0bk.js";import"./ChatWindow-N4atnSdm.js";import"./countbot-logo-CNglRKg-.js";import"./_baseUniq-BmBO8S86.js";import"./_basePickBy-Czakf3o4.js";import"./clone-FNhPvOrp.js";var u={parse:p(a=>g(void 0,null,function*(){const t=yield f("info",a);m.debug(t)}),"parse")},x={version:"11.13.0"},_=p(()=>x.version,"getVersion"),b={getVersion:_},w=p((a,t,e)=>{m.debug(`rendering info diagram
`+a);const o=c(t);l(o,100,400,!0),o.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${e}`)},"draw"),y={draw:w},B={parser:u,db:b,renderer:y};export{B as diagram};
@@ -1,4 +1,4 @@
import{_ as l,c as ot,N as ut,I as dt,as as yt,z as ft,k as pt,p as it,a as gt,b as kt,g as mt,s as wt,q as _t,e as bt}from"./mermaid.core-ebcTsjwG.js";import"./index-AC8USqNB.js";import"./ChatWindow-ByeMnlai.js";import"./countbot-logo-CNglRKg-.js";var tt=function(){var e=l(function(T,t,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=t);return s},"o"),o=[1,4],a=[1,14],n=[1,12],r=[1,13],y=[6,7,8],f=[1,20],u=[1,18],w=[1,19],h=[6,7,11],x=[1,6,13,14],k=[1,23],g=[1,24],S=[1,6,7,11,13,14],O={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:l(function(t,s,i,d,p,c,$){var b=c.length-1;switch(p){case 6:case 7:return d;case 15:d.addNode(c[b-1].length,c[b].trim());break;case 16:d.addNode(0,c[b].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:o},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:o},{6:a,7:[1,10],9:9,12:11,13:n,14:r},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:a,12:15,13:n,14:r},{6:a,9:16,12:11,13:n,14:r},{6:f,7:u,10:17,11:w},e(h,[2,18],{14:[1,21]}),e(h,[2,16]),e(h,[2,17]),{6:f,7:u,10:22,11:w},{1:[2,7],6:a,12:15,13:n,14:r},e(x,[2,14],{7:k,11:g}),e(S,[2,8]),e(S,[2,9]),e(S,[2,10]),e(h,[2,15]),e(x,[2,13],{7:k,11:g}),e(S,[2,11]),e(S,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:l(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:l(function(t){var s=this,i=[0],d=[],p=[null],c=[],$=this.table,b="",v=0,M=0,E=2,L=1,N=c.slice.call(arguments,1),m=Object.create(this.lexer),V={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(V.yy[F]=this.yy[F]);m.setInput(t,V.yy),V.yy.lexer=m,V.yy.parser=this,typeof m.yylloc=="undefined"&&(m.yylloc={});var j=m.yylloc;c.push(j);var X=m.options&&m.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(B){i.length=i.length-2*B,p.length=p.length-B,c.length=c.length-B}l(Y,"popStack");function Z(){var B;return B=d.pop()||m.lex()||L,typeof B!="number"&&(B instanceof Array&&(d=B,B=d.pop()),B=s.symbols_[B]||B),B}l(Z,"lex");for(var A,W,_,P,D={},z,C,et,q;;){if(W=i[i.length-1],this.defaultActions[W]?_=this.defaultActions[W]:((A===null||typeof A=="undefined")&&(A=Z()),_=$[W]&&$[W][A]),typeof _=="undefined"||!_.length||!_[0]){var Q="";q=[];for(z in $[W])this.terminals_[z]&&z>E&&q.push("'"+this.terminals_[z]+"'");m.showPosition?Q="Parse error on line "+(v+1)+`:
import{_ as l,c as ot,N as ut,I as dt,as as yt,z as ft,k as pt,p as it,a as gt,b as kt,g as mt,s as wt,q as _t,e as bt}from"./mermaid.core-I0hlAH9H.js";import"./index-XQkOl0bk.js";import"./ChatWindow-N4atnSdm.js";import"./countbot-logo-CNglRKg-.js";var tt=function(){var e=l(function(T,t,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=t);return s},"o"),o=[1,4],a=[1,14],n=[1,12],r=[1,13],y=[6,7,8],f=[1,20],u=[1,18],w=[1,19],h=[6,7,11],x=[1,6,13,14],k=[1,23],g=[1,24],S=[1,6,7,11,13,14],O={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:l(function(t,s,i,d,p,c,$){var b=c.length-1;switch(p){case 6:case 7:return d;case 15:d.addNode(c[b-1].length,c[b].trim());break;case 16:d.addNode(0,c[b].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:o},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:o},{6:a,7:[1,10],9:9,12:11,13:n,14:r},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:a,12:15,13:n,14:r},{6:a,9:16,12:11,13:n,14:r},{6:f,7:u,10:17,11:w},e(h,[2,18],{14:[1,21]}),e(h,[2,16]),e(h,[2,17]),{6:f,7:u,10:22,11:w},{1:[2,7],6:a,12:15,13:n,14:r},e(x,[2,14],{7:k,11:g}),e(S,[2,8]),e(S,[2,9]),e(S,[2,10]),e(h,[2,15]),e(x,[2,13],{7:k,11:g}),e(S,[2,11]),e(S,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:l(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:l(function(t){var s=this,i=[0],d=[],p=[null],c=[],$=this.table,b="",v=0,M=0,E=2,L=1,N=c.slice.call(arguments,1),m=Object.create(this.lexer),V={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(V.yy[F]=this.yy[F]);m.setInput(t,V.yy),V.yy.lexer=m,V.yy.parser=this,typeof m.yylloc=="undefined"&&(m.yylloc={});var j=m.yylloc;c.push(j);var X=m.options&&m.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(B){i.length=i.length-2*B,p.length=p.length-B,c.length=c.length-B}l(Y,"popStack");function Z(){var B;return B=d.pop()||m.lex()||L,typeof B!="number"&&(B instanceof Array&&(d=B,B=d.pop()),B=s.symbols_[B]||B),B}l(Z,"lex");for(var A,W,_,P,D={},z,C,et,q;;){if(W=i[i.length-1],this.defaultActions[W]?_=this.defaultActions[W]:((A===null||typeof A=="undefined")&&(A=Z()),_=$[W]&&$[W][A]),typeof _=="undefined"||!_.length||!_[0]){var Q="";q=[];for(z in $[W])this.terminals_[z]&&z>E&&q.push("'"+this.terminals_[z]+"'");m.showPosition?Q="Parse error on line "+(v+1)+`:
`+m.showPosition()+`
Expecting `+q.join(", ")+", got '"+(this.terminals_[A]||A)+"'":Q="Parse error on line "+(v+1)+": Unexpected "+(A==L?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(Q,{text:m.match,token:this.terminals_[A]||A,line:m.yylineno,loc:j,expected:q})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+A);switch(_[0]){case 1:i.push(A),p.push(m.yytext),c.push(m.yylloc),i.push(_[1]),A=null,M=m.yyleng,b=m.yytext,v=m.yylineno,j=m.yylloc;break;case 2:if(C=this.productions_[_[1]][1],D.$=p[p.length-C],D._$={first_line:c[c.length-(C||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(C||1)].first_column,last_column:c[c.length-1].last_column},X&&(D._$.range=[c[c.length-(C||1)].range[0],c[c.length-1].range[1]]),P=this.performAction.apply(D,[b,M,v,V.yy,_[1],p,c].concat(N)),typeof P!="undefined")return P;C&&(i=i.slice(0,-1*C*2),p=p.slice(0,-1*C),c=c.slice(0,-1*C)),i.push(this.productions_[_[1]][0]),p.push(D.$),c.push(D._$),et=$[i[i.length-2]][i[i.length-1]],i.push(et);break;case 3:return!0}}return!0},"parse")},R=function(){var T={EOF:1,parseError:l(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),setInput:l(function(t,s){return this.yy=s||this.yy||{},this._input=t,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:l(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:l(function(t){var s=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var d=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),i.length-1&&(this.yylineno-=i.length-1);var p=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:i?(i.length===d.length?this.yylloc.first_column:0)+d[d.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:l(function(t){this.unput(this.match.slice(t))},"less"),pastInput:l(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
@@ -1,4 +1,4 @@
import{g as gt}from"./chunk-FMBD7UC4-DAaP1ZnZ.js";import{a as mt,g as lt,h as xt,d as kt}from"./chunk-JSJVCQXG-DpJy55vz.js";import{g as _t,s as vt,a as bt,b as wt,q as Tt,p as St,_ as n,c as R,d as G,e as $t,z as Mt}from"./mermaid.core-ebcTsjwG.js";import{d as et}from"./arc-bY7MzGGW.js";import"./index-AC8USqNB.js";import"./ChatWindow-ByeMnlai.js";import"./countbot-logo-CNglRKg-.js";var U=function(){var t=n(function(h,i,a,l){for(a=a||{},l=h.length;l--;a[h[l]]=i);return a},"o"),e=[6,8,10,11,12,14,16,17,18],s=[1,9],c=[1,10],r=[1,11],f=[1,12],d=[1,13],y=[1,14],g={trace:n(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:n(function(i,a,l,u,p,o,b){var k=o.length-1;switch(p){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 13:u.addTask(o[k-1],o[k]),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:r,16:f,17:d,18:y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:s,12:c,14:r,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:n(function(i,a){if(a.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=a,l}},"parseError"),parse:n(function(i){var a=this,l=[0],u=[],p=[null],o=[],b=this.table,k="",C=0,K=0,dt=2,Q=1,yt=o.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(i,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc=="undefined"&&(_.yylloc={});var Y=_.yylloc;o.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,p.length=p.length-w,o.length=o.length-w}n(pt,"popStack");function D(){var w;return w=u.pop()||_.lex()||Q,typeof w!="number"&&(w instanceof Array&&(u=w,w=u.pop()),w=a.symbols_[w]||w),w}n(D,"lex");for(var v,A,T,q,F={},N,M,tt,z;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((v===null||typeof v=="undefined")&&(v=D()),T=b[A]&&b[A][v]),typeof T=="undefined"||!T.length||!T[0]){var X="";z=[];for(N in b[A])this.terminals_[N]&&N>dt&&z.push("'"+this.terminals_[N]+"'");_.showPosition?X="Parse error on line "+(C+1)+`:
import{g as gt}from"./chunk-FMBD7UC4-Br_JMMnU.js";import{a as mt,g as lt,h as xt,d as kt}from"./chunk-JSJVCQXG-CRmGWKqe.js";import{g as _t,s as vt,a as bt,b as wt,q as Tt,p as St,_ as n,c as R,d as G,e as $t,z as Mt}from"./mermaid.core-I0hlAH9H.js";import{d as et}from"./arc-CA2vDbrM.js";import"./index-XQkOl0bk.js";import"./ChatWindow-N4atnSdm.js";import"./countbot-logo-CNglRKg-.js";var U=function(){var t=n(function(h,i,a,l){for(a=a||{},l=h.length;l--;a[h[l]]=i);return a},"o"),e=[6,8,10,11,12,14,16,17,18],s=[1,9],c=[1,10],r=[1,11],f=[1,12],d=[1,13],y=[1,14],g={trace:n(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:n(function(i,a,l,u,p,o,b){var k=o.length-1;switch(p){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 13:u.addTask(o[k-1],o[k]),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:r,16:f,17:d,18:y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:s,12:c,14:r,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:n(function(i,a){if(a.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=a,l}},"parseError"),parse:n(function(i){var a=this,l=[0],u=[],p=[null],o=[],b=this.table,k="",C=0,K=0,dt=2,Q=1,yt=o.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(i,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc=="undefined"&&(_.yylloc={});var Y=_.yylloc;o.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,p.length=p.length-w,o.length=o.length-w}n(pt,"popStack");function D(){var w;return w=u.pop()||_.lex()||Q,typeof w!="number"&&(w instanceof Array&&(u=w,w=u.pop()),w=a.symbols_[w]||w),w}n(D,"lex");for(var v,A,T,q,F={},N,M,tt,z;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((v===null||typeof v=="undefined")&&(v=D()),T=b[A]&&b[A][v]),typeof T=="undefined"||!T.length||!T[0]){var X="";z=[];for(N in b[A])this.terminals_[N]&&N>dt&&z.push("'"+this.terminals_[N]+"'");_.showPosition?X="Parse error on line "+(C+1)+`:
`+_.showPosition()+`
Expecting `+z.join(", ")+", got '"+(this.terminals_[v]||v)+"'":X="Parse error on line "+(C+1)+": Unexpected "+(v==Q?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(X,{text:_.match,token:this.terminals_[v]||v,line:_.yylineno,loc:Y,expected:z})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+v);switch(T[0]){case 1:l.push(v),p.push(_.yytext),o.push(_.yylloc),l.push(T[1]),v=null,K=_.yyleng,k=_.yytext,C=_.yylineno,Y=_.yylloc;break;case 2:if(M=this.productions_[T[1]][1],F.$=p[p.length-M],F._$={first_line:o[o.length-(M||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(M||1)].first_column,last_column:o[o.length-1].last_column},ft&&(F._$.range=[o[o.length-(M||1)].range[0],o[o.length-1].range[1]]),q=this.performAction.apply(F,[k,K,C,I.yy,T[1],p,o].concat(yt)),typeof q!="undefined")return q;M&&(l=l.slice(0,-1*M*2),p=p.slice(0,-1*M),o=o.slice(0,-1*M)),l.push(this.productions_[T[1]][0]),p.push(F.$),o.push(F._$),tt=b[l[l.length-2]][l[l.length-1]],l.push(tt);break;case 3:return!0}}return!0},"parse")},m=function(){var h={EOF:1,parseError:n(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:n(function(i,a){return this.yy=a||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.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),i},"input"),unput:n(function(i){var a=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+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 p=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=[p[0],p[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(i){this.unput(this.match.slice(i))},"less"),pastInput:n(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
@@ -1,4 +1,4 @@
var le=(e,p,g)=>new Promise((i,b)=>{var S=m=>{try{f(g.next(m))}catch(h){b(h)}},u=m=>{try{f(g.throw(m))}catch(h){b(h)}},f=m=>m.done?i(m.value):Promise.resolve(m.value).then(S,u);f((g=g.apply(e,p)).next())});import{_ as c,l as ne,c as z,I as ye,af as be,ag as me,ah as _e,V as ke,F as J,i as G,t as Ee,J as Se,W as Ne,X as ce,Y as he}from"./mermaid.core-ebcTsjwG.js";import{g as xe}from"./chunk-FMBD7UC4-DAaP1ZnZ.js";import"./index-AC8USqNB.js";import"./ChatWindow-ByeMnlai.js";import"./countbot-logo-CNglRKg-.js";var ee=function(){var e=c(function(y,s,t,a){for(t=t||{},a=y.length;a--;t[y[a]]=s);return t},"o"),p=[1,4],g=[1,13],i=[1,12],b=[1,15],S=[1,16],u=[1,20],f=[1,19],m=[6,7,8],h=[1,26],O=[1,24],L=[1,25],k=[6,7,11],I=[1,31],r=[6,7,11,24],V=[1,6,13,16,17,20,23],M=[1,35],U=[1,36],w=[1,6,7,11,13,16,17,20,23],j=[1,38],B={trace:c(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:c(function(s,t,a,l,d,n,T){var o=n.length-1;switch(d){case 6:case 7:return l;case 8:l.getLogger().trace("Stop NL ");break;case 9:l.getLogger().trace("Stop EOF ");break;case 11:l.getLogger().trace("Stop NL2 ");break;case 12:l.getLogger().trace("Stop EOF2 ");break;case 15:l.getLogger().info("Node: ",n[o-1].id),l.addNode(n[o-2].length,n[o-1].id,n[o-1].descr,n[o-1].type,n[o]);break;case 16:l.getLogger().info("Node: ",n[o].id),l.addNode(n[o-1].length,n[o].id,n[o].descr,n[o].type);break;case 17:l.getLogger().trace("Icon: ",n[o]),l.decorateNode({icon:n[o]});break;case 18:case 23:l.decorateNode({class:n[o]});break;case 19:l.getLogger().trace("SPACELIST");break;case 20:l.getLogger().trace("Node: ",n[o-1].id),l.addNode(0,n[o-1].id,n[o-1].descr,n[o-1].type,n[o]);break;case 21:l.getLogger().trace("Node: ",n[o].id),l.addNode(0,n[o].id,n[o].descr,n[o].type);break;case 22:l.decorateNode({icon:n[o]});break;case 27:l.getLogger().trace("node found ..",n[o-2]),this.$={id:n[o-1],descr:n[o-1],type:l.getType(n[o-2],n[o])};break;case 28:this.$={id:n[o],descr:n[o],type:0};break;case 29:l.getLogger().trace("node found ..",n[o-3]),this.$={id:n[o-3],descr:n[o-1],type:l.getType(n[o-2],n[o])};break;case 30:this.$=n[o-1]+n[o];break;case 31:this.$=n[o];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:p},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:p},{6:g,7:[1,10],9:9,12:11,13:i,14:14,16:b,17:S,18:17,19:18,20:u,23:f},e(m,[2,3]),{1:[2,2]},e(m,[2,4]),e(m,[2,5]),{1:[2,6],6:g,12:21,13:i,14:14,16:b,17:S,18:17,19:18,20:u,23:f},{6:g,9:22,12:11,13:i,14:14,16:b,17:S,18:17,19:18,20:u,23:f},{6:h,7:O,10:23,11:L},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:u,23:f}),e(k,[2,19]),e(k,[2,21],{15:30,24:I}),e(k,[2,22]),e(k,[2,23]),e(r,[2,25]),e(r,[2,26]),e(r,[2,28],{20:[1,32]}),{21:[1,33]},{6:h,7:O,10:34,11:L},{1:[2,7],6:g,12:21,13:i,14:14,16:b,17:S,18:17,19:18,20:u,23:f},e(V,[2,14],{7:M,11:U}),e(w,[2,8]),e(w,[2,9]),e(w,[2,10]),e(k,[2,16],{15:37,24:I}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:j}),e(r,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:M,11:U}),e(w,[2,11]),e(w,[2,12]),e(k,[2,15],{24:j}),e(r,[2,30]),{22:[1,41]},e(r,[2,27]),e(r,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:c(function(s,t){if(t.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=t,a}},"parseError"),parse:c(function(s){var t=this,a=[0],l=[],d=[null],n=[],T=this.table,o="",H=0,W=0,ge=2,re=1,de=n.slice.call(arguments,1),E=Object.create(this.lexer),R={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(R.yy[q]=this.yy[q]);E.setInput(s,R.yy),R.yy.lexer=E,R.yy.parser=this,typeof E.yylloc=="undefined"&&(E.yylloc={});var Q=E.yylloc;n.push(Q);var pe=E.options&&E.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fe(x){a.length=a.length-2*x,d.length=d.length-x,n.length=n.length-x}c(fe,"popStack");function ae(){var x;return x=l.pop()||E.lex()||re,typeof x!="number"&&(x instanceof Array&&(l=x,x=l.pop()),x=t.symbols_[x]||x),x}c(ae,"lex");for(var N,P,v,Z,F={},Y,C,oe,K;;){if(P=a[a.length-1],this.defaultActions[P]?v=this.defaultActions[P]:((N===null||typeof N=="undefined")&&(N=ae()),v=T[P]&&T[P][N]),typeof v=="undefined"||!v.length||!v[0]){var $="";K=[];for(Y in T[P])this.terminals_[Y]&&Y>ge&&K.push("'"+this.terminals_[Y]+"'");E.showPosition?$="Parse error on line "+(H+1)+`:
var le=(e,p,g)=>new Promise((i,b)=>{var S=m=>{try{f(g.next(m))}catch(h){b(h)}},u=m=>{try{f(g.throw(m))}catch(h){b(h)}},f=m=>m.done?i(m.value):Promise.resolve(m.value).then(S,u);f((g=g.apply(e,p)).next())});import{_ as c,l as ne,c as z,I as ye,af as be,ag as me,ah as _e,V as ke,F as J,i as G,t as Ee,J as Se,W as Ne,X as ce,Y as he}from"./mermaid.core-I0hlAH9H.js";import{g as xe}from"./chunk-FMBD7UC4-Br_JMMnU.js";import"./index-XQkOl0bk.js";import"./ChatWindow-N4atnSdm.js";import"./countbot-logo-CNglRKg-.js";var ee=function(){var e=c(function(y,s,t,a){for(t=t||{},a=y.length;a--;t[y[a]]=s);return t},"o"),p=[1,4],g=[1,13],i=[1,12],b=[1,15],S=[1,16],u=[1,20],f=[1,19],m=[6,7,8],h=[1,26],O=[1,24],L=[1,25],k=[6,7,11],I=[1,31],r=[6,7,11,24],V=[1,6,13,16,17,20,23],M=[1,35],U=[1,36],w=[1,6,7,11,13,16,17,20,23],j=[1,38],B={trace:c(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:c(function(s,t,a,l,d,n,T){var o=n.length-1;switch(d){case 6:case 7:return l;case 8:l.getLogger().trace("Stop NL ");break;case 9:l.getLogger().trace("Stop EOF ");break;case 11:l.getLogger().trace("Stop NL2 ");break;case 12:l.getLogger().trace("Stop EOF2 ");break;case 15:l.getLogger().info("Node: ",n[o-1].id),l.addNode(n[o-2].length,n[o-1].id,n[o-1].descr,n[o-1].type,n[o]);break;case 16:l.getLogger().info("Node: ",n[o].id),l.addNode(n[o-1].length,n[o].id,n[o].descr,n[o].type);break;case 17:l.getLogger().trace("Icon: ",n[o]),l.decorateNode({icon:n[o]});break;case 18:case 23:l.decorateNode({class:n[o]});break;case 19:l.getLogger().trace("SPACELIST");break;case 20:l.getLogger().trace("Node: ",n[o-1].id),l.addNode(0,n[o-1].id,n[o-1].descr,n[o-1].type,n[o]);break;case 21:l.getLogger().trace("Node: ",n[o].id),l.addNode(0,n[o].id,n[o].descr,n[o].type);break;case 22:l.decorateNode({icon:n[o]});break;case 27:l.getLogger().trace("node found ..",n[o-2]),this.$={id:n[o-1],descr:n[o-1],type:l.getType(n[o-2],n[o])};break;case 28:this.$={id:n[o],descr:n[o],type:0};break;case 29:l.getLogger().trace("node found ..",n[o-3]),this.$={id:n[o-3],descr:n[o-1],type:l.getType(n[o-2],n[o])};break;case 30:this.$=n[o-1]+n[o];break;case 31:this.$=n[o];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:p},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:p},{6:g,7:[1,10],9:9,12:11,13:i,14:14,16:b,17:S,18:17,19:18,20:u,23:f},e(m,[2,3]),{1:[2,2]},e(m,[2,4]),e(m,[2,5]),{1:[2,6],6:g,12:21,13:i,14:14,16:b,17:S,18:17,19:18,20:u,23:f},{6:g,9:22,12:11,13:i,14:14,16:b,17:S,18:17,19:18,20:u,23:f},{6:h,7:O,10:23,11:L},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:u,23:f}),e(k,[2,19]),e(k,[2,21],{15:30,24:I}),e(k,[2,22]),e(k,[2,23]),e(r,[2,25]),e(r,[2,26]),e(r,[2,28],{20:[1,32]}),{21:[1,33]},{6:h,7:O,10:34,11:L},{1:[2,7],6:g,12:21,13:i,14:14,16:b,17:S,18:17,19:18,20:u,23:f},e(V,[2,14],{7:M,11:U}),e(w,[2,8]),e(w,[2,9]),e(w,[2,10]),e(k,[2,16],{15:37,24:I}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:j}),e(r,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:M,11:U}),e(w,[2,11]),e(w,[2,12]),e(k,[2,15],{24:j}),e(r,[2,30]),{22:[1,41]},e(r,[2,27]),e(r,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:c(function(s,t){if(t.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=t,a}},"parseError"),parse:c(function(s){var t=this,a=[0],l=[],d=[null],n=[],T=this.table,o="",H=0,W=0,ge=2,re=1,de=n.slice.call(arguments,1),E=Object.create(this.lexer),R={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(R.yy[q]=this.yy[q]);E.setInput(s,R.yy),R.yy.lexer=E,R.yy.parser=this,typeof E.yylloc=="undefined"&&(E.yylloc={});var Q=E.yylloc;n.push(Q);var pe=E.options&&E.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fe(x){a.length=a.length-2*x,d.length=d.length-x,n.length=n.length-x}c(fe,"popStack");function ae(){var x;return x=l.pop()||E.lex()||re,typeof x!="number"&&(x instanceof Array&&(l=x,x=l.pop()),x=t.symbols_[x]||x),x}c(ae,"lex");for(var N,P,v,Z,F={},Y,C,oe,K;;){if(P=a[a.length-1],this.defaultActions[P]?v=this.defaultActions[P]:((N===null||typeof N=="undefined")&&(N=ae()),v=T[P]&&T[P][N]),typeof v=="undefined"||!v.length||!v[0]){var $="";K=[];for(Y in T[P])this.terminals_[Y]&&Y>ge&&K.push("'"+this.terminals_[Y]+"'");E.showPosition?$="Parse error on line "+(H+1)+`:
`+E.showPosition()+`
Expecting `+K.join(", ")+", got '"+(this.terminals_[N]||N)+"'":$="Parse error on line "+(H+1)+": Unexpected "+(N==re?"end of input":"'"+(this.terminals_[N]||N)+"'"),this.parseError($,{text:E.match,token:this.terminals_[N]||N,line:E.yylineno,loc:Q,expected:K})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+N);switch(v[0]){case 1:a.push(N),d.push(E.yytext),n.push(E.yylloc),a.push(v[1]),N=null,W=E.yyleng,o=E.yytext,H=E.yylineno,Q=E.yylloc;break;case 2:if(C=this.productions_[v[1]][1],F.$=d[d.length-C],F._$={first_line:n[n.length-(C||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(C||1)].first_column,last_column:n[n.length-1].last_column},pe&&(F._$.range=[n[n.length-(C||1)].range[0],n[n.length-1].range[1]]),Z=this.performAction.apply(F,[o,W,H,R.yy,v[1],d,n].concat(de)),typeof Z!="undefined")return Z;C&&(a=a.slice(0,-1*C*2),d=d.slice(0,-1*C),n=n.slice(0,-1*C)),a.push(this.productions_[v[1]][0]),d.push(F.$),n.push(F._$),oe=T[a[a.length-2]][a[a.length-1]],a.push(oe);break;case 3:return!0}}return!0},"parse")},X=function(){var y={EOF:1,parseError:c(function(t,a){if(this.yy.parser)this.yy.parser.parseError(t,a);else throw new Error(t)},"parseError"),setInput:c(function(s,t){return this.yy=t||this.yy||{},this._input=s,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:c(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var t=s.match(/(?:\r\n?|\n).*/g);return t?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:c(function(s){var t=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var l=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 d=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===l.length?this.yylloc.first_column:0)+l[l.length-a.length].length-a[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:c(function(){return this._more=!0,this},"more"),reject:c(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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:c(function(s){this.unput(this.match.slice(s))},"less"),pastInput:c(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:c(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:c(function(){var s=this.pastInput(),t=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
var L=(e,r,p)=>new Promise((h,i)=>{var c=a=>{try{t(p.next(a))}catch(o){i(o)}},l=a=>{try{t(p.throw(a))}catch(o){i(o)}},t=a=>a.done?h(a.value):Promise.resolve(a.value).then(c,l);t((p=p.apply(e,r)).next())});import{a4 as y,a7 as z,aJ as q,g as J,s as Z,a as H,b as K,q as Q,p as X,_ as g,l as F,c as Y,E as ee,I as te,N as ae,e as re,z as ne,F as ie}from"./mermaid.core-ebcTsjwG.js";import{p as se}from"./chunk-4BX2VUAB-BL2IvNEH.js";import{p as le}from"./treemap-KZPCXAKY-Uj5kshfw.js";import{d as W}from"./arc-bY7MzGGW.js";import{o as oe}from"./ordinal-Cboi1Yqb.js";import"./index-AC8USqNB.js";import"./ChatWindow-ByeMnlai.js";import"./countbot-logo-CNglRKg-.js";import"./_baseUniq-BMpdCPXY.js";import"./_basePickBy-BeCKKOqs.js";import"./clone-Bg8sT_xf.js";import"./init-Gi6I4Gst.js";function ce(e,r){return r<e?-1:r>e?1:r>=e?0:NaN}function pe(e){return e}function ue(){var e=pe,r=ce,p=null,h=y(0),i=y(z),c=y(0);function l(t){var a,o=(t=q(t)).length,d,S,x=0,u=new Array(o),s=new Array(o),m=+h.apply(this,arguments),w=Math.min(z,Math.max(-z,i.apply(this,arguments)-m)),v,$=Math.min(Math.abs(w)/o,c.apply(this,arguments)),T=$*(w<0?-1:1),f;for(a=0;a<o;++a)(f=s[u[a]=a]=+e(t[a],a,t))>0&&(x+=f);for(r!=null?u.sort(function(D,C){return r(s[D],s[C])}):p!=null&&u.sort(function(D,C){return p(t[D],t[C])}),a=0,S=x?(w-o*T)/x:0;a<o;++a,m=v)d=u[a],f=s[d],v=m+(f>0?f*S:0)+T,s[d]={data:t[d],index:a,value:f,startAngle:m,endAngle:v,padAngle:$};return s}return l.value=function(t){return arguments.length?(e=typeof t=="function"?t:y(+t),l):e},l.sortValues=function(t){return arguments.length?(r=t,p=null,l):r},l.sort=function(t){return arguments.length?(p=t,r=null,l):p},l.startAngle=function(t){return arguments.length?(h=typeof t=="function"?t:y(+t),l):h},l.endAngle=function(t){return arguments.length?(i=typeof t=="function"?t:y(+t),l):i},l.padAngle=function(t){return arguments.length?(c=typeof t=="function"?t:y(+t),l):c},l}var ge=ie.pie,N={sections:new Map,showData:!1},E=N.sections,G=N.showData,de=structuredClone(ge),fe=g(()=>structuredClone(de),"getConfig"),me=g(()=>{E=new Map,G=N.showData,ne()},"clear"),he=g(({label:e,value:r})=>{if(r<0)throw new Error(`"${e}" has invalid value: ${r}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);E.has(e)||(E.set(e,r),F.debug(`added new section: ${e}, with value: ${r}`))},"addSection"),ve=g(()=>E,"getSections"),xe=g(e=>{G=e},"setShowData"),ye=g(()=>G,"getShowData"),_={getConfig:fe,clear:me,setDiagramTitle:X,getDiagramTitle:Q,setAccTitle:K,getAccTitle:H,setAccDescription:Z,getAccDescription:J,addSection:he,getSections:ve,setShowData:xe,getShowData:ye},Se=g((e,r)=>{se(e,r),r.setShowData(e.showData),e.sections.map(r.addSection)},"populateDb"),we={parse:g(e=>L(void 0,null,function*(){const r=yield le("pie",e);F.debug(r),Se(r,_)}),"parse")},Ae=g(e=>`
var L=(e,r,p)=>new Promise((h,i)=>{var c=a=>{try{t(p.next(a))}catch(o){i(o)}},l=a=>{try{t(p.throw(a))}catch(o){i(o)}},t=a=>a.done?h(a.value):Promise.resolve(a.value).then(c,l);t((p=p.apply(e,r)).next())});import{a4 as y,a7 as z,aJ as q,g as J,s as Z,a as H,b as K,q as Q,p as X,_ as g,l as F,c as Y,E as ee,I as te,N as ae,e as re,z as ne,F as ie}from"./mermaid.core-I0hlAH9H.js";import{p as se}from"./chunk-4BX2VUAB-B2pNyGEj.js";import{p as le}from"./treemap-KZPCXAKY-B9TZtgs7.js";import{d as W}from"./arc-CA2vDbrM.js";import{o as oe}from"./ordinal-Cboi1Yqb.js";import"./index-XQkOl0bk.js";import"./ChatWindow-N4atnSdm.js";import"./countbot-logo-CNglRKg-.js";import"./_baseUniq-BmBO8S86.js";import"./_basePickBy-Czakf3o4.js";import"./clone-FNhPvOrp.js";import"./init-Gi6I4Gst.js";function ce(e,r){return r<e?-1:r>e?1:r>=e?0:NaN}function pe(e){return e}function ue(){var e=pe,r=ce,p=null,h=y(0),i=y(z),c=y(0);function l(t){var a,o=(t=q(t)).length,d,S,x=0,u=new Array(o),s=new Array(o),m=+h.apply(this,arguments),w=Math.min(z,Math.max(-z,i.apply(this,arguments)-m)),v,$=Math.min(Math.abs(w)/o,c.apply(this,arguments)),T=$*(w<0?-1:1),f;for(a=0;a<o;++a)(f=s[u[a]=a]=+e(t[a],a,t))>0&&(x+=f);for(r!=null?u.sort(function(D,C){return r(s[D],s[C])}):p!=null&&u.sort(function(D,C){return p(t[D],t[C])}),a=0,S=x?(w-o*T)/x:0;a<o;++a,m=v)d=u[a],f=s[d],v=m+(f>0?f*S:0)+T,s[d]={data:t[d],index:a,value:f,startAngle:m,endAngle:v,padAngle:$};return s}return l.value=function(t){return arguments.length?(e=typeof t=="function"?t:y(+t),l):e},l.sortValues=function(t){return arguments.length?(r=t,p=null,l):r},l.sort=function(t){return arguments.length?(p=t,r=null,l):p},l.startAngle=function(t){return arguments.length?(h=typeof t=="function"?t:y(+t),l):h},l.endAngle=function(t){return arguments.length?(i=typeof t=="function"?t:y(+t),l):i},l.padAngle=function(t){return arguments.length?(c=typeof t=="function"?t:y(+t),l):c},l}var ge=ie.pie,N={sections:new Map,showData:!1},E=N.sections,G=N.showData,de=structuredClone(ge),fe=g(()=>structuredClone(de),"getConfig"),me=g(()=>{E=new Map,G=N.showData,ne()},"clear"),he=g(({label:e,value:r})=>{if(r<0)throw new Error(`"${e}" has invalid value: ${r}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);E.has(e)||(E.set(e,r),F.debug(`added new section: ${e}, with value: ${r}`))},"addSection"),ve=g(()=>E,"getSections"),xe=g(e=>{G=e},"setShowData"),ye=g(()=>G,"getShowData"),_={getConfig:fe,clear:me,setDiagramTitle:X,getDiagramTitle:Q,setAccTitle:K,getAccTitle:H,setAccDescription:Z,getAccDescription:J,addSection:he,getSections:ve,setShowData:xe,getShowData:ye},Se=g((e,r)=>{se(e,r),r.setShowData(e.showData),e.sections.map(r.addSection)},"populateDb"),we={parse:g(e=>L(void 0,null,function*(){const r=yield le("pie",e);F.debug(r),Se(r,_)}),"parse")},Ae=g(e=>`
.pieCircle{
stroke: ${e.pieStrokeColor};
stroke-width : ${e.pieStrokeWidth};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
import{s as r,b as e,a,S as s}from"./chunk-NQ4KR5QH-Cxoxl-CK.js";import{_ as i}from"./mermaid.core-I0hlAH9H.js";import"./chunk-55IACEB6-Bydi-WSM.js";import"./chunk-KX2RTZJC-BE-4iInN.js";import"./index-XQkOl0bk.js";import"./ChatWindow-N4atnSdm.js";import"./countbot-logo-CNglRKg-.js";var n={parser:a,get db(){return new s(2)},renderer:e,styles:r,init:i(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")};export{n as diagram};
@@ -1 +0,0 @@
import{s as r,b as e,a,S as s}from"./chunk-NQ4KR5QH-BLIucQ7c.js";import{_ as i}from"./mermaid.core-ebcTsjwG.js";import"./chunk-55IACEB6-DxPvBQgU.js";import"./chunk-KX2RTZJC-CEBux3HK.js";import"./index-AC8USqNB.js";import"./ChatWindow-ByeMnlai.js";import"./countbot-logo-CNglRKg-.js";var n={parser:a,get db(){return new s(2)},renderer:e,styles:r,init:i(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")};export{n as diagram};
@@ -1,4 +1,4 @@
import{_ as s,c as xt,l as T,d as U,V as kt,W as vt,X as _t,Y as bt,C as wt,$ as St,z as Et}from"./mermaid.core-ebcTsjwG.js";import{d as nt}from"./arc-bY7MzGGW.js";import"./index-AC8USqNB.js";import"./ChatWindow-ByeMnlai.js";import"./countbot-logo-CNglRKg-.js";var X=function(){var n=s(function(f,r,a,h){for(a=a||{},h=f.length;h--;a[f[h]]=r);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],i=[1,11],d=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline: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,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",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",20:"period",21:"event"},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,1],[9,1],[18,1],[19,1]],performAction:s(function(r,a,h,u,y,o,E){var v=o.length-1;switch(y){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.getCommonDb().setDiagramTitle(o[v].substr(6)),this.$=o[v].substr(6);break;case 9:this.$=o[v].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[v].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[v].substr(8)),this.$=o[v].substr(8);break;case 15:u.addTask(o[v],0,""),this.$=o[v];break;case 16:u.addEvent(o[v].substr(2)),this.$=o[v];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:i,16:d,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:i,16:d,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(r,a){if(a.recoverable)this.trace(r);else{var h=new Error(r);throw h.hash=a,h}},"parseError"),parse:s(function(r){var a=this,h=[0],u=[],y=[null],o=[],E=this.table,v="",$=0,A=0,B=2,K=1,O=o.slice.call(arguments,1),_=Object.create(this.lexer),L={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(L.yy[z]=this.yy[z]);_.setInput(r,L.yy),L.yy.lexer=_,L.yy.parser=this,typeof _.yylloc=="undefined"&&(_.yylloc={});var F=_.yylloc;o.push(F);var j=_.options&&_.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function H(N){h.length=h.length-2*N,y.length=y.length-N,o.length=o.length-N}s(H,"popStack");function w(){var N;return N=u.pop()||_.lex()||K,typeof N!="number"&&(N instanceof Array&&(u=N,N=u.pop()),N=a.symbols_[N]||N),N}s(w,"lex");for(var k,I,S,C,P={},G,M,et,q;;){if(I=h[h.length-1],this.defaultActions[I]?S=this.defaultActions[I]:((k===null||typeof k=="undefined")&&(k=w()),S=E[I]&&E[I][k]),typeof S=="undefined"||!S.length||!S[0]){var Q="";q=[];for(G in E[I])this.terminals_[G]&&G>B&&q.push("'"+this.terminals_[G]+"'");_.showPosition?Q="Parse error on line "+($+1)+`:
import{_ as s,c as xt,l as T,d as U,V as kt,W as vt,X as _t,Y as bt,C as wt,$ as St,z as Et}from"./mermaid.core-I0hlAH9H.js";import{d as nt}from"./arc-CA2vDbrM.js";import"./index-XQkOl0bk.js";import"./ChatWindow-N4atnSdm.js";import"./countbot-logo-CNglRKg-.js";var X=function(){var n=s(function(f,r,a,h){for(a=a||{},h=f.length;h--;a[f[h]]=r);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],i=[1,11],d=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline: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,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",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",20:"period",21:"event"},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,1],[9,1],[18,1],[19,1]],performAction:s(function(r,a,h,u,y,o,E){var v=o.length-1;switch(y){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.getCommonDb().setDiagramTitle(o[v].substr(6)),this.$=o[v].substr(6);break;case 9:this.$=o[v].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[v].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[v].substr(8)),this.$=o[v].substr(8);break;case 15:u.addTask(o[v],0,""),this.$=o[v];break;case 16:u.addEvent(o[v].substr(2)),this.$=o[v];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:i,16:d,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:i,16:d,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(r,a){if(a.recoverable)this.trace(r);else{var h=new Error(r);throw h.hash=a,h}},"parseError"),parse:s(function(r){var a=this,h=[0],u=[],y=[null],o=[],E=this.table,v="",$=0,A=0,B=2,K=1,O=o.slice.call(arguments,1),_=Object.create(this.lexer),L={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(L.yy[z]=this.yy[z]);_.setInput(r,L.yy),L.yy.lexer=_,L.yy.parser=this,typeof _.yylloc=="undefined"&&(_.yylloc={});var F=_.yylloc;o.push(F);var j=_.options&&_.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function H(N){h.length=h.length-2*N,y.length=y.length-N,o.length=o.length-N}s(H,"popStack");function w(){var N;return N=u.pop()||_.lex()||K,typeof N!="number"&&(N instanceof Array&&(u=N,N=u.pop()),N=a.symbols_[N]||N),N}s(w,"lex");for(var k,I,S,C,P={},G,M,et,q;;){if(I=h[h.length-1],this.defaultActions[I]?S=this.defaultActions[I]:((k===null||typeof k=="undefined")&&(k=w()),S=E[I]&&E[I][k]),typeof S=="undefined"||!S.length||!S[0]){var Q="";q=[];for(G in E[I])this.terminals_[G]&&G>B&&q.push("'"+this.terminals_[G]+"'");_.showPosition?Q="Parse error on line "+($+1)+`:
`+_.showPosition()+`
Expecting `+q.join(", ")+", got '"+(this.terminals_[k]||k)+"'":Q="Parse error on line "+($+1)+": Unexpected "+(k==K?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(Q,{text:_.match,token:this.terminals_[k]||k,line:_.yylineno,loc:F,expected:q})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+k);switch(S[0]){case 1:h.push(k),y.push(_.yytext),o.push(_.yylloc),h.push(S[1]),k=null,A=_.yyleng,v=_.yytext,$=_.yylineno,F=_.yylloc;break;case 2:if(M=this.productions_[S[1]][1],P.$=y[y.length-M],P._$={first_line:o[o.length-(M||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(M||1)].first_column,last_column:o[o.length-1].last_column},j&&(P._$.range=[o[o.length-(M||1)].range[0],o[o.length-1].range[1]]),C=this.performAction.apply(P,[v,A,$,L.yy,S[1],y,o].concat(O)),typeof C!="undefined")return C;M&&(h=h.slice(0,-1*M*2),y=y.slice(0,-1*M),o=o.slice(0,-1*M)),h.push(this.productions_[S[1]][0]),y.push(P.$),o.push(P._$),et=E[h[h.length-2]][h[h.length-1]],h.push(et);break;case 3:return!0}}return!0},"parse")},x=function(){var f={EOF:1,parseError:s(function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},"parseError"),setInput:s(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:s(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:s(function(r){var a=r.length,h=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),h.length-1&&(this.yylineno-=h.length-1);var y=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:h?(h.length===u.length?this.yylloc.first_column:0)+u[u.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(r){this.unput(this.match.slice(r))},"less"),pastInput:s(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:s(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:s(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="CountBot" />
<title>CountBot</title>
<script type="module" crossorigin src="/assets/js/index-AC8USqNB.js"></script>
<script type="module" crossorigin src="/assets/js/index-XQkOl0bk.js"></script>
<link rel="stylesheet" crossorigin href="/assets/css/index-BzB5QACF.css">
</head>
+1 -1
View File
@@ -66,7 +66,7 @@
},
"app": {
"title": "CountBot",
"welcome": "CountBot - 654321, AI Delivers",
"welcome": "CountBot - countbot.cn, AI Delivers",
"status": "Status",
"connected": "Connected",
"disconnected": "Disconnected",
+1 -1
View File
@@ -61,7 +61,7 @@
},
"app": {
"title": "CountBot",
"welcome": "CountBot - 654321AI 即可达成",
"welcome": "CountBot - countbot.cn",
"status": "状态",
"connected": "已连接",
"disconnected": "未连接",
@@ -7,7 +7,7 @@
</h3>
<div class="header-actions">
<a
href="https://654321.ai/docs/getting-started/ChannelConfig"
href="https://countbot.cn/docs/getting-started/ChannelConfig"
target="_blank"
rel="noopener noreferrer"
class="action-btn btn-secondary"
@@ -120,7 +120,7 @@
<component :is="ExternalLinkIcon" :size="14" class="external-icon" />
</a>
<a
href="https://654321.ai"
href="https://countbot.cn"
target="_blank"
rel="noopener noreferrer"
class="project-link"
@@ -128,12 +128,12 @@
<component :is="GlobeIcon" :size="18" />
<div class="project-link-content">
<span class="project-link-title">{{ $t('sidebar.website') || '官网' }}</span>
<span class="project-link-desc">654321.ai</span>
<span class="project-link-desc">countbot.cn</span>
</div>
<component :is="ExternalLinkIcon" :size="14" class="external-icon" />
</a>
<a
href="https://654321.ai/docs/"
href="https://countbot.cn/docs/"
target="_blank"
rel="noopener noreferrer"
class="project-link"
@@ -147,7 +147,7 @@
</a>
</div>
<div class="project-tagline">
<p>654321, AI Delivers</p>
<p>countbot.cn, AI Delivers</p>
</div>
</div>
+1 -1
View File
@@ -9,7 +9,7 @@
<h1 class="brand-name">
<span class="brand-count">Count</span><span class="brand-bot">Bot</span>
</h1>
<p class="brand-tagline">654321, AI Delivers</p>
<p class="brand-tagline">countbot.cn, AI Delivers</p>
</div>
<!-- Mode hint -->